3DS Virtual Console: Difference between revisions

Add SNES VC documentation
No edit summary
Line 45: Line 45:


===data.bin structure===
===data.bin structure===
All header values are little-endian.
The file begins with a header (all values are little-endian):
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 110: Line 110:
| 0x35
| 0x35
| 0x3
| 0x3
| Size of the converted PCM audio samples region (starting after ROM). 0 is PCM data is missing
| Size of the converted PCM audio samples region (starting after ROM). 0 if PCM data is missing
|-
|-
| 0x38
| 0x38
Line 118: Line 118:
| 0x39
| 0x39
| 0x2
| 0x2
| Footer region size
| Footer region size. 0 if PCM data is missing
|-
|-
| 0x3B
| 0x3B
Line 162: Line 162:


==Savedata==
==Savedata==
The savedata can contain:
The savedata contains:
* "KTR-XXXX.cfg": Appears to contain the "preset ID" and possibly more game/save information.
* "KTR-XXXX.cfg": Appears to contain the "preset ID" and possibly more game/save information.
* "KTR-XXXX.vea": Current emulator save-state, for storing/loading state at VC-title launch/exit.
* "KTR-XXXX.vea": Current emulator save-state, for storing/loading state at VC-title launch/exit.