Fs3ds: Difference between revisions

From GameBrew
No edit summary
m (Text replacement - "Category:PC utilities for 3DS homebrew" to "")
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox-3DS-Homebrews
{{Infobox 3DS Homebrews
| title = fs3ds
|title=fs3ds
| type = PC Utilities
|image=3dspc.png
| version=v1.0
|description=A rust library to access the romfs of unencrypted 3ds file without decompression.
| lastupdated = 2020/02/13
|author=marius851000
| licence = Mixed
|lastupdated=2020/02/13
| author = marius851000
|type=File Operation
| website = https://crates.io/crates/fs3ds
|version=1.0
| download = https://dlhb.gamebrew.org/3dshomebrew/fs3ds-master.zip
|license=Mixed
| source = https://crates.io/crates/fs3ds
|download=https://docs.rs/fs3ds/1.0.0/fs3ds
|website=https://docs.rs/fs3ds/1.0.0/fs3ds
|source=https://crates.io/crates/fs3ds
}}
}}
fs3ds is a rust library to access the romfs of unencrypted 3ds file without decompression, allowing you to read unencrypted .3ds file.


==fs3ds==
==User guide==
This library allows you to:
<source lang="bash">
let file = File::open(""rom.3ds"").unwrap(); // get an access to an unencrypted romfs file
let _romfs_vfs = get_romfs_vfs(file).unwrap(); // get a vfs::VFS object to access the rom read only
</source>


Library to read unencrypted .3ds file
For more information on how to use the returned vfs object, read it's [https://docs.rs/vfs/0.2.1/vfs/trait.VFS.html documentation].


This library allow you
==External links==
 
* Official website - https://docs.rs/fs3ds/1.0.0/fs3ds
* let file = File::open(""rom.3ds"").unwrap(); // get an access to an unencrypted romfs file
* GitHub - https://github.com/marius851000/fs3ds
* let _romfs_vfs = get_romfs_vfs(file).unwrap(); // get a vfs::VFS object to access the rom read only
* Reddit - https://www.reddit.com/r/3dshacks/comments/f383l5/fs3ds_a_rust_library_to_access_the_romfs_of
 
For more information on how to use the returned vfs object, read it's documentation: https://docs.rs/vfs/0.2.1/vfs/trait.VFS.html.
 
A crate that allow you to access the romfs of an unencrypted romfs.
 
It contain the function get_romfs_vfs, that accept a File (or similar Read + Seek + some stuff) object, and return an object that implement vfs::VFS
 
It also contain some additional function that can be usefull while handling decrypted .3ds file.
 
This library should never crash, and always return an error.
 
==Examples==
 
* use std::fs::File;
* use fs3ds::get_romfs_vfs;
* let file = File::open(""rom.3ds"").unwrap(); // get an access to an unencrypted romfs file
* let _romfs_vfs = get_romfs_vfs(file).unwrap(); // get a vfs::VFS object to access the rom read only

Latest revision as of 04:31, 6 May 2024

fs3ds
3dspc.png
General
Authormarius851000
TypeFile Operation
Version1.0
LicenseMixed
Last Updated2020/02/13
Links
Download
Website
Source

fs3ds is a rust library to access the romfs of unencrypted 3ds file without decompression, allowing you to read unencrypted .3ds file.

User guide

This library allows you to:

 let file = File::open(""rom.3ds"").unwrap(); // get an access to an unencrypted romfs file
 let _romfs_vfs = get_romfs_vfs(file).unwrap(); // get a vfs::VFS object to access the rom read only

For more information on how to use the returned vfs object, read it's documentation.

External links

Advertising: