Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
The main server is currently down. We are running on a backup server, so editing and search functionality are temporarily disabled. Please check back in a few hours.

Fs3ds: Difference between revisions

From GameBrew
Created page with "{{Infobox 3DS homebrew | title = fs3ds | image = https://dlhb.gamebrew.org/3dshomebrew/|250px | type = PC Utilities | version = v1.0 | licence = Mixed | author = marius851000..."
 
No edit summary
Line 1: Line 1:
{{Infobox 3DS homebrew
{{Infobox 3DS homebrew
| title = fs3ds
| title = fs3ds
| image = https://dlhb.gamebrew.org/3dshomebrew/|250px
| type = PC Utilities
| type = PC Utilities
| version = v1.0
| version = v1.0
Line 7: Line 6:
| author = marius851000
| author = marius851000
| website = https://crates.io/crates/fs3ds
| website = https://crates.io/crates/fs3ds
| download = https://dlhb.gamebrew.org/3dshomebrew/fs3ds-master.zip
| source = https://dlhb.gamebrew.org/3dshomebrew/fs3ds-master.zip
| source = https://dlhb.gamebrew.org/3dshomebrew/fs3ds-master.zip
}}
}}
<youtube></youtube>


Library to read unencrypted .3ds file This library allow you let file = File::open(&quot;rom.3ds&quot;).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: 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(&quot;rom.3ds&quot;).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
=fs3ds=
 
Library to read unencrypted .3ds file
 
This library allow you
<pre>
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
</pre>
 
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

Revision as of 12:08, 28 April 2020

Template:Infobox 3DS homebrew

fs3ds

Library to read unencrypted .3ds file

This library allow you

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: 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
Contents

Advertising: