Difference between revisions of "Nintendo 64 - Nintendo Switch Online"

From Nintendo Switch Brew
Jump to navigation Jump to search
 
(19 intermediate revisions by the same user not shown)
Line 47: Line 47:
 
The struct passed as the InBuffer to [[JIT_services#Control|Control]] is now 0xE00-bytes instead of 0xEB0-bytes. The internal workmem offsets / layout changed. Various funcs were updated etc.
 
The struct passed as the InBuffer to [[JIT_services#Control|Control]] is now 0xE00-bytes instead of 0xEB0-bytes. The internal workmem offsets / layout changed. Various funcs were updated etc.
  
The 0xE00-byte controldata struct has the following structure (all addrs/data are from the emulator user-process):
+
With v2.9.0 the controldata is now 0xE08-bytes.
 +
 
 +
The controldata struct has the following structure (all addrs/data are from the emulator user-process):
  
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
Line 113: Line 115:
 
| 0x96C || 0x4 || Array count for the the following array.
 
| 0x96C || 0x4 || Array count for the the following array.
 
|-
 
|-
| 0x970 || 0x280 (0x20*0x14) || Array data with the above count, each entry is 0x14-bytes. The emulator loads this from config array "SpecialInst". +0 = u32 emu_pc_addr (config "Addr"), +4 = u32 instruction_value (config "Inst"), +8 = u32 flags. The emulator sets the flags to 0 by default, then compares config "Type" with various strings to determine the value. Flags: bit0 = Type "BreakLoop", bit5 = Type "LoadFrameBuffer", bit6 = Type "Lua_BeforeInst", bit7 = Type "Lua_AfterInst".
+
| 0x970 || 0x280 (0x20*0x14) || Array data with the above count, each entry is 0x14-bytes. The emulator loads this from config array "SpecialInst". +0 = u32 emu_pc_addr (config "Addr"), +4 = u32 instruction_value (config "Inst"), +8 = u32 flags. The emulator sets the flags to 0 by default, then compares config "Type" with various strings to determine the value. Flags: bit0 = Type "BreakLoop", bit5 = Type "LoadFrameBuffer", bit6 = Type "Lua_BeforeInst", bit7 = Type "Lua_AfterInst", bit9 (v2.9.0+) = unknown.
  
 
When the config for {any of the previously mentioned Type strings} is set to value 1, the emulator will also enable the corresponding flags bit mentioned above. Likewise with config "Return", which sets flags bit8.
 
When the config for {any of the previously mentioned Type strings} is set to value 1, the emulator will also enable the corresponding flags bit mentioned above. Likewise with config "Return", which sets flags bit8.
Line 132: Line 134:
 
|-
 
|-
 
| 0xDFC || 0x4 || Set to 0 by default by the emulator. With config <code>"Cmp", "CodeMultiAddr"</code> this is set to 1. Config <code>"Cmp", "BlockDynamicPC"</code> from [[Super_Mario_3D_All-Stars|SM3DAS]] is not supported. The plugin doesn't use this field, since support for "BlockDynamicPC" was removed. All code which used to use this now assumes val!=2, with code for ==2 being removed.
 
| 0xDFC || 0x4 || Set to 0 by default by the emulator. With config <code>"Cmp", "CodeMultiAddr"</code> this is set to 1. Config <code>"Cmp", "BlockDynamicPC"</code> from [[Super_Mario_3D_All-Stars|SM3DAS]] is not supported. The plugin doesn't use this field, since support for "BlockDynamicPC" was removed. All code which used to use this now assumes val!=2, with code for ==2 being removed.
 +
|-
 +
| 0xE00 || 0x4 || Added with v2.9.0, see below.
 
|}
 
|}
  
Line 242: Line 246:
 
** Updated "lclassics.titlesdb" and added "N-4868_e/" + "N-4868_p/".
 
** Updated "lclassics.titlesdb" and added "N-4868_e/" + "N-4868_p/".
  
== v2.0.0 ===
+
== v2.0.0 ==
The SDK version was updated to 13.3.0.
+
The SDK version was updated to 13.3.0. The Pia* versions were updated to v5.38.0, previously it was v5.36.0. The version for Pia itself was changed to v5.38.0.59024 from v5.36.0.57074.
  
 
ExeFs:
 
ExeFs:
Line 285: Line 289:
 
* "/bootapp/resources/strings/": Localization strings were updated.
 
* "/bootapp/resources/strings/": Localization strings were updated.
 
* "/bootapp/resources.json" updated
 
* "/bootapp/resources.json" updated
* "/nro/libHovercraftJITPlugin.nro" updated
+
* "/nro/libHovercraftJITPlugin.nro" updated. This appears to be just a rebuild / minor changes?
 
* "/.nrr/": The NRRs were updated, and NRRs added for the additional game.
 
* "/.nrr/": The NRRs were updated, and NRRs added for the additional game.
 
* "/shader_p2_frag.spv" added
 
* "/shader_p2_frag.spv" added
Line 305: Line 309:
 
** "N-3038_e/N-3038_e.dtz" and "N-3038_p/N-3038_p.dtz" updated
 
** "N-3038_e/N-3038_e.dtz" and "N-3038_p/N-3038_p.dtz" updated
 
** "N-4868_e/N-4868_e.dtz" and "N-4868_p/N-4868_p.dtz" updated
 
** "N-4868_e/N-4868_e.dtz" and "N-4868_p/N-4868_p.dtz" updated
 +
 +
dtz archives changes:
 +
* Various .lua, .nro, .pcb, and .spv files were updated.
 +
** The lua files are now in bytecode form (like the scripts under /bootapp already were), instead of being plaintext.
 +
* The "FogFactor" line in the .cfg for N-3030_e/N-3030_p (Star Fox 64) was removed.
 +
* N-3007_e (Dr. Mario 64) had .rpt texture files added.
 +
* N-3038_e/N-3038_p (OOT) had rendering config updated.
 +
* N-4868_e/N-4868_p (Banjo-Kazooie) had a new patch added ("Lua_AfterInst").
 +
 +
== v2.1.0 ==
 +
ExeFs:
 +
* NPDM only had the usual ACID pubkey/signature update.
 +
* main: updated
 +
 +
RomFs:
 +
* "/bootapp/init.json" updated
 +
* "/bootapp/resources/scripts/states/ui/stateload.lua" updated
 +
* "/bootapp/resources/scripts/states/ui/statepause.lua" updated
 +
* "/bootapp/resources/scripts/states/ui/stateplay.lua" updated
 +
* "/bootapp/resources/strings/" Various localization data updated.
 +
* "/.nrr/": The NRRs were updated, and a NRR added for the additional game.
 +
* "/Pipeline.cache" updated
 +
* "/titles/":
 +
** "lclassics.titlesdb" updated
 +
** "N-1407_e/N-1407_e.dtz"/"N-1407_p/N-1407_p.dtz" updated (Majora's Mask)
 +
*** The .ppl file in the .dtz archive was updated.
 +
** "N-2456_e/" added
 +
** "N-4868_e/N-4868_e.dtz"/"N-4868_p/N-4868_p.dtz" updated (Banjo-Kazooie)
 +
*** In the .dtz archive, the following files were updated: .cfg, .pcb (N-4868_e only), .nro, .lua. This added a "Lua_AfterInst" patch, with the Comment field "Halt Emu when too many eggs".
 +
 +
== v2.2.0 ==
 +
ExeFs:
 +
* NPDM only had the usual ACID pubkey/signature update.
 +
* main: updated
 +
 +
RomFs:
 +
* "/bootapp/init.json" updated
 +
* "/bootapp/resources/scripts/states/ui/statecheckcontroller.lua" updated
 +
* "/bootapp/resources/scripts/states/ui/statelocalmenu.lua" updated
 +
* "/bootapp/resources/scripts/states/ui/staterootmenu.lua" updated
 +
* The localization data under "/bootapp/resources/strings/" was updated.
 +
* "/nro/libHovercraftJITPlugin.nro" updated. Just a rebuild, only the buildid changed.
 +
* "/.nrr/": The NRRs were updated, and a NRR added for the additional game.
 +
* "/Pipeline.cache" updated
 +
* "/titles/lclassics.titlesdb" updated
 +
* "/titles/N-4371_e/" added (Mario Golf)
 +
 +
 +
== v2.3.0 ==
 +
ExeFs:
 +
* NPDM only had the usual ACID pubkey/signature update.
 +
* main: updated
 +
 +
RomFs:
 +
* "/bootapp/init.json" updated
 +
* "/bootapp/resources/fonts/": various font data updated
 +
* "/bootapp/resources/scripts/":
 +
** "states/network/stateonline.lua" updated
 +
** "states/ui/stateingame.lua" updated
 +
** "system/networkevents.lua" updated
 +
* "/bootapp/resources/strings/": Various localization data updated.
 +
* "/.nrr/": The NRRs were updated, and a NRR added for the additional game.
 +
* "/Pipeline.cache" updated
 +
* "/titles/lclassics.titlesdb" updated
 +
* "/titles/N-3007_e/N-3007_e.dtz" updated (Dr. Mario)
 +
** .cfg, .pcb, and .nro updated. In the .cfg a field for "ConstValue_0" under "RendererSetting" was added.
 +
* "/titles/N-3030_e/N-3030_e.dtz" / "/titles/N-3030_p/N-3030_p.dtz" updated (Star Fox 64)
 +
** .cfg, .pcb, .nro, and .spv updated. In the .cfg fields "GammaEnable" and "GammaValue" under "RendererSetting" were added.
 +
* "/titles/N-4371_e/N-4371_e.dtz" updated (Mario Golf)
 +
** .cfg updated. In the .cfg a field for "ConstValue_1" under "RendererSetting" was added.
 +
* "/titles/N-3052_e/" added (Kirby 64)
 +
 +
== v2.3.1 ==
 +
ExeFs:
 +
* NPDM only had the usual ACID pubkey/signature update.
 +
 +
RomFs:
 +
* "/bootapp/init.json" updated
 +
* "/.nrr/": The NRRs were updated.
 +
* "/titles/N-3052_e/N-3052_e.dtz" updated (Kirby 64)
 +
** .cfg, .pcb, and .nro updated. Only formatting was changed in the .cfg, content is otherwise the same.
 +
 +
== v2.4.0 ==
 +
ExeFs:
 +
* NPDM only had the usual ACID pubkey/signature update.
 +
* main: updated
 +
 +
RomFs:
 +
* "/bootapp/init.json" updated
 +
* "/bootapp/resources/fonts/": Various fonts updated.
 +
* "/bootapp/resources/strings/": Various localization data updated.
 +
* "/.nrr/": The NRRs were updated, and added "N-3240_e.nrr"/"N-3240_p.nrr".
 +
* "/Pipeline.cache" updated
 +
* "/titles/":
 +
** "lclassics.titlesdb" updated
 +
** "N-2456_e/N-2456_e.dtz" updated (F-Zero X)
 +
*** .cfg, .pcb, and .nro updated.
 +
** "N-3030_e/N-3030_e.dtz" updated (Star Fox 64)
 +
*** .cfg, .pcb, .nro, and .lua updated. In addition to the .cfg changes below, an additional "Lua_AfterInst" patch was added.
 +
** "N-3030_p/N-3030_p.dtz" updated
 +
*** .cfg, .nro, and .lua updated (see above)
 +
** "N-3052_e/N-3052_e.dtz" updated (Kirby 64)
 +
*** .cfg, .pcb, .nro, and .ppl updated. In .cfg an entry was added under "SpecialInst" for "BreakLoop".
 +
** "N-4371_e/N-4371_e.dtz" updated
 +
*** .pcb, .nro updated
 +
** "N-3240_e", "N-3240_pd", "N-3240_pf", "N-3240_pi", "N-3240_ps": added (Pokemon Snap)
 +
 +
In each updated .cfg the value of the "Comment" fields was replaced with "" (for .cfg that has Comment fields). Tabs were replaced with spaces for indention (if the .cfg didn't already use spaces).
 +
 +
== v2.5.0 ==
 +
ExeFs:
 +
* NPDM only had the usual ACID pubkey/signature update.
 +
* main: updated
 +
 +
RomFs:
 +
* "/bootapp/init.json" updated
 +
* "/bootapp/resources/fonts/": Various fonts updated.
 +
* "/bootapp/resources/prefabs/sys/sysgamecard.scn" updated
 +
* "/bootapp/resources/scripts/states/ui/stategamepreparing.lua" updated
 +
* "/bootapp/resources/scripts/states/ui/stateplay.lua" updated
 +
* "/bootapp/resources/strings/": Various localization data updated.
 +
* "/nro/libHovercraftJITPlugin.nro" updated (just a rebuild)
 +
* "/.nrr/": The NRRs were updated, and added "N-1848_e.nrr"/"N-1848_p.nrr".
 +
* "/Pipeline.cache" updated
 +
* "titles/":
 +
** "lclassics.titlesdb" updated
 +
** "N-1848_e/", "N-1848_pd/", "N-1848_pf": added (Pokemon Puzzle League)
 +
 +
== v2.6.0 ==
 +
ExeFs:
 +
* NPDM only had the usual ACID pubkey/signature update.
 +
* main: updated
 +
 +
RomFs:
 +
* "/bootapp/init.json" updated
 +
* "/bootapp/resources/fonts/": Various fonts updated.
 +
* "/bootapp/resources/scripts/states/network/statesessionestablished.lua" updated
 +
* "/bootapp/resources/scripts/states/ui/statedisplaymode.lua" updated
 +
* "/bootapp/resources/scripts/states/ui/statemenu.lua" updated
 +
* "/bootapp/resources/scripts/sys/sysdisplaymode.lua"
 +
* "/bootapp/resources/strings/": Various localization data updated.
 +
* "/.nrr/": The NRRs were updated, and added "N-4813_e.nrr"/"N-4813_p.nrr".
 +
* "titles/":
 +
** "lclassics.titlesdb" updated
 +
** "N-1848_e/N-1848_e.dtz", "N-1848_pd/N-1848_pd.dtz", "N-1848_pf/N-1848_pf.dtz" updated (Pokemon Puzzle League)
 +
*** .cfg, .pcb, and .nro updated. In the .cfg two entries were removed from "RendererSetting".
 +
** "N-4813_e/", "N-4813_p/" added (Wave Race 64)
 +
 +
== v2.7.0 ==
 +
ExeFs:
 +
* NPDM only had the usual ACID pubkey/signature update.
 +
* main: updated
 +
 +
RomFs:
 +
* "/bootapp/init.json" updated
 +
* "/bootapp/resources/fonts/": Various fonts updated.
 +
* "/bootapp/resources/scripts/states/ui/statedisplaymode.lua" updated
 +
* "/bootapp/resources/scripts/sys/sysingame.lua" updated
 +
* "/bootapp/resources/strings/": Various localization data updated.
 +
* "/.nrr/": The NRRs were updated, and added "N-3783_e.nrr"/"N-3783_p.nrr".
 +
* "/Pipeline.cache" updated
 +
* "/shader_vulkan_v2_vert.spv" added
 +
* "titles/":
 +
** "lclassics.titlesdb" updated
 +
** "N-2456_e/N-2456_e.dtz" updated (F-Zero X)
 +
*** .cfg, .pcb, .nro, and .lua updated. In the .cfg the "MaxTaskPerFrame" field in "RSP" was removed.
 +
** "N-4371_e/N-4371_e.dtz" updated (Mario Golf)
 +
*** .cfg, .pcb, .nro, and .lua updated. In the .cfg the formatting was adjusted. Under "RSP" the "FramesPerGTask" field was removed, and fields "RDPIntDelay"/"RDPIntDelayRelative" were added. The value of all "Comment" fields are now blank ("").
 +
** "N-3783_e/", "N-3783_p/" added (Pilot Wings 64)
 +
 +
== v2.8.0 ==
 +
ExeFs:
 +
* NPDM only had the usual ACID pubkey/signature update.
 +
* main: updated
 +
 +
RomFs:
 +
* "/bootapp/init.json" updated
 +
* "/bootapp/resources/fonts/": Various fonts updated.
 +
* "/bootapp/resources/scripts/states/ui/stateingameentrance.lua" updated
 +
* "/bootapp/resources/scripts/states/ui/stateingame.lua" updated
 +
* "/bootapp/resources/scripts/sys/sysnotifier.lua" updated
 +
* "/bootapp/resources/strings/": Various localization data updated.
 +
* "/.nrr/": The NRRs were updated, and added "N-1053_e.nrr"/"N-1053_p.nrr" + "N-4737_e.nrr"/"N-4737_p.nrr".
 +
* "titles/":
 +
** "lclassics.titlesdb" updated
 +
** No existing title data was changed here, only dirs for the new games were added: "N-1053_e"/"N-1053_p" (Mario Party 2) and "N-4737_e"/"N-4737_p" (Mario Party 3).
 +
 +
== v2.9.0 ==
 +
ExeFs:
 +
* NPDM only had the usual ACID pubkey/signature update.
 +
* main: updated
 +
 +
RomFs:
 +
* "/bootapp/init.json" updated
 +
* "/bootapp/resources/fonts/": Various fonts updated.
 +
* "/bootapp/resources/scripts/sys/sysingame.lua" updated
 +
* "/bootapp/resources/scripts/sys/sysnotifier.lua" updated
 +
* "/bootapp/resources/scripts/sys/sysresidentinformation.lua" updated
 +
* "/bootapp/resources/scripts/system/inputdevicemanager.lua" updated
 +
* "/bootapp/resources/strings/": Various localization data updated.
 +
* "/nro/libHovercraftJITPlugin.nro" updated
 +
* "/.nrr/": The NRRs were updated, and added "N-4631_e.nrr".
 +
* "/Pipeline.cache" updated
 +
* "/shader_vulkan_v2_vert.spv" added
 +
* "titles/":
 +
** "lclassics.titlesdb" updated
 +
** "N-1053_e/N-1053_e.dtz" updated (Mario Party 2)
 +
*** .pcb and .nro were updated.
 +
** "N-4737_e/N-4737_e.dtz" updated (Mario Party 3)
 +
*** .pcb and .nro were updated.
 +
** "N-4631_e" added (GoldenEye 007)
 +
 +
libHovercraftJITPlugin updated two funcs:
 +
* L_1060, prev ver at L_1060: calling L_4990 (codegen func) is now skipped if u32 controldata+0xE00 is non-zero (this applies to 2 of the 3 calls to L_4990 in this func).
 +
* L_1d90, prev ver at L_1d80:
 +
** The code at 0x1ebc no longer calls L_910 from prev ver. Code was also added for handling bit9 in the array at controldata+0x970.
 +
 +
== v2.10.0 ==
 +
The module name for the main-NSO was changed from "{path}\l-classics-app.nss" to "l-classics".
 +
 +
ExeFs:
 +
* NPDM only had the usual ACID pubkey/signature update.
 +
* main: updated
 +
 +
RomFs:
 +
* "/bootapp/init.json" updated
 +
* "/bootapp/resources/anims/" Added various .spriteanim files.
 +
* "/bootapp/resources/fonts/" Various fonts updated/removed.
 +
* "/bootapp/resources/prefabs/sys/deviceconfig/sysdeviceconfig.scn" updated
 +
* "/bootapp/resources/prefabs/sys/hudguide/syshudguide.scn" removed
 +
* "/bootapp/resources/prefabs/sys/hudguide/syshudlabelgroup.scn" added
 +
* "/bootapp/resources/prefabs/sys/hudguide/syshudlabel.scn" added
 +
* "/bootapp/resources/prefabs/sys/operationguide/operationguideelements.scn" updated
 +
* "/bootapp/resources/prefabs/sys/popupguide/popupguideelements.scn" updated
 +
* "/bootapp/resources/prefabs/sys/sysdialoggeneric.scn" updated
 +
* "/bootapp/resources/prefabs/sys/sysdialogprogress.scn" updated
 +
* "/bootapp/resources/prefabs/sys/sysgamecard.scn" updated
 +
* "/bootapp/resources/prefabs/sys/syssidemenubuttoninvite.scn" removed
 +
* "/bootapp/resources/prefabs/sys/sysuserinfolist.scn" updated
 +
* "/bootapp/resources/scenes/sys/sysdisplaymodelayout.scn" updated
 +
* "/bootapp/resources/scenes/sys/": Removed "sysfingercursors.scn", "syslocalmenu.scn", "syssidemenu.scn".
 +
* "/bootapp/resources/scenes/sys/sysmain.scn" updated
 +
* "/bootapp/resources/scenes/sys/syspausemenu.scn" updated
 +
* "/bootapp/resources/scenes/sys/sysworld.scn" updated
 +
* "/bootapp/resources/scripts/": Added "constants.lua" and "constants_nuse.lua".
 +
* "/bootapp/resources/scripts/gui/gui_nine_patches.lua" updated
 +
* "/bootapp/resources/scripts/states/network/statelogin.lua" updated
 +
* "/bootapp/resources/scripts/states/network/stateonline.lua" updated
 +
* "/bootapp/resources/scripts/states/network/statesessioncreate.lua" updated
 +
* "/bootapp/resources/scripts/states/network/statesessionemusyncstatesharing.lua" updated
 +
* "/bootapp/resources/scripts/states/network/statesessionestablished.lua" updated
 +
* "/bootapp/resources/scripts/states/network/statesessionestablishedstandby.lua" updated
 +
* "/bootapp/resources/scripts/states/network/statesessionidle.lua" updated
 +
* "/bootapp/resources/scripts/states/network/statesessioninitial.lua" updated
 +
* "/bootapp/resources/scripts/states/network/statesessioninitialsharing.lua" updated
 +
* "/bootapp/resources/scripts/states/network/statesessionjoin.lua" updated
 +
* "/bootapp/resources/scripts/states/network/statesessionleave.lua" updated
 +
* "/bootapp/resources/scripts/states/network/statesessionquitconfirmation.lua" updated
 +
* "/bootapp/resources/scripts/states/network/statesessionready.lua" updated
 +
* "/bootapp/resources/scripts/states/network/statesessionrecovery.lua" updated
 +
* "/bootapp/resources/scripts/states/network/statesessionsearch.lua" updated
 +
* "/bootapp/resources/scripts/states/network/statesessionstandby.lua" updated
 +
* "/bootapp/resources/scripts/states/network/statesessionstartup.lua" updated
 +
* "/bootapp/resources/scripts/states/network/statesessionthumbnailsharing.lua" updated
 +
* "/bootapp/resources/scripts/states/network/statesuspendpointsharing.lua" updated
 +
* "/bootapp/resources/scripts/states/ui/stateboot.lua" updated
 +
* "/bootapp/resources/scripts/states/ui/statechangenetplaymode.lua" updated
 +
* "/bootapp/resources/scripts/states/ui/statecheckcontroller.lua" updated
 +
* "/bootapp/resources/scripts/states/ui/statedisplaymode.lua" updated
 +
* "/bootapp/resources/scripts/states/ui/stateerrorfailedtojoin.lua" updated
 +
* "/bootapp/resources/scripts/states/ui/stateerrorlostconnectioningame.lua" updated
 +
* "/bootapp/resources/scripts/states/ui/stategamedetails.lua" updated
 +
* "/bootapp/resources/scripts/states/ui/stategamelistedit.lua" updated
 +
* "/bootapp/resources/scripts/states/ui/stategamelist.lua" updated
 +
* "/bootapp/resources/scripts/states/ui/stategameselection.lua" updated
 +
* "/bootapp/resources/scripts/states/ui/stateingameentrance.lua" updated
 +
* {a number of lua scripts updated}
 +
* "/bootapp/resources/scripts/states/ui/statelocalmenu.lua" removed
 +
* "/bootapp/resources/scripts/states/ui/staterewind.lua" removed
 +
* "/bootapp/resources/scripts/states/ui/statestartupnewsspecial.lua" removed
 +
* "/bootapp/resources/scripts/states/ui/stateswapplayers_4p.lua" removed
 +
* "/bootapp/resources/scripts/states/ui/stateswapplayers.lua" added
 +
* "/bootapp/resources/scripts/sys/sysdialognewsspecial.lua" removed
 +
* "/bootapp/resources/scripts/sys/syshudlabelgroup.lua" added
 +
* "/bootapp/resources/scripts/sys/syslanguagelabel.lua" added
 +
* "/bootapp/resources/scripts/sys/syslocalmenu.lua" removed
 +
* "/bootapp/resources/scripts/sys/sysplayercountmenu.lua" added
 +
* "/bootapp/resources/scripts/sys/sysplayerswaplist_4p.lua" removed
 +
* "/bootapp/resources/scripts/sys/sysplayerswaplist.lua" added
 +
* "/bootapp/resources/scripts/sys/": Removed "sysrewindchapterlist.lua", "sysrewindchapter.lua", "sysrewind.lua", "syssidemenulocalbutton.lua", "sysversion.lua".
 +
* "/bootapp/resources/scripts/sys/syssidemenumultiplayerbutton.lua" added
 +
* "/bootapp/resources/scripts/system/appsettings.lua" removed
 +
* "/bootapp/resources/shaders/" Various shaders updated.
 +
* "/bootapp/resources/sprites/" Various PNGs updated.
 +
* "/bootapp/resources/strings/": Various localization data updated.
 +
* "/bootapp/resources.json" updated
 +
* "/nro/libHovercraftJITPlugin.nro" updated. Rebuilt, .nrs module path differs.
 +
* "/.nrr/": The NRRs were updated, and added "N-4590_e.nrr"/"N-4590_p.nrr".
 +
* "/Pipeline.cache" updated
 +
* "/titles/lclassics.titlesdb" updated
 +
* "/titles/": Almost all "{id}.png" files were updated.
 +
** Added "N-4590_e"/"N-4590_pd"/"N-4590_pf"/"N-4590_pi"/"N-4590_ps" (Pokemon Stadium).
 +
 +
== v2.10.1 ==
 +
ExeFs:
 +
* NPDM only had the usual ACID pubkey/signature update.
 +
* main: updated
 +
 +
RomFs:
 +
* "/bootapp/init.json" updated
 +
* "/bootapp/resources/scripts/states/ui/stateingameentrance.lua" updated
 +
* "/nro/libHovercraftJITPlugin.nro" Updated, just a rebuild.
 +
* "/.nrr/" NRRs updated.
 +
* "/Pipeline.cache" updated
 +
* "/titles/N-4590_{e/pd/pf/pi/ps}/{id}.dtz" updated (Pokemon Stadium)
 +
** .cfg, .pcb, .nro, .lua, .ppl, and .spv updated. In the .cfg two entries were added to the "SpecialInst" array, with type "Lua_AfterInst". Various renderer config was also adjusted.
 +
 +
== v2.11.0 ==
 +
The NintendoSDK version was updated from 13.3.0 to 13.3.11.
 +
 +
ExeFs:
 +
* NPDM only had the usual ACID pubkey/signature update.
 +
* main: updated
 +
* rtld/sdk/subsdk0/subsdk1: updated
 +
 +
RomFs:
 +
* "/bootapp/init.json" updated
 +
* "/bootapp/resources/fonts/" Various fonts updated.
 +
* "/bootapp/resources/scenes/sys/sysworld.scn" updated
 +
* "/bootapp/resources/scripts/" Various scripts updated.
 +
* "/bootapp/resources/shaders/":
 +
** "blur.spirv" updated
 +
** "downscale2.spirv" and "downscale5.spirv" added.
 +
* "/bootapp/resources/strings/": Various localization data updated.
 +
* "/bootapp/resources.json" updated
 +
* "/nro/libHovercraftJITPlugin.nro" updated. Only 1 func was updated, changes seem to be minor.
 +
* "/.nrr/": The NRRs were updated, and added "N-1848_pd.nrr"/"N-1848_pf.nrr". Added "N-3240_pd.nrr"/"N-3240_pf.nrr"/"N-3240_pi.nrr"/"N-3240_ps.nrr"/"N-3309_e.nrr"/"N-3309_pd.nrr"/"N-3309_pf.nrr"/"N-3309_pi.nrr"/"N-3309_ps.nrr". Added "N-4590_pd.nrr"/"N-4590_pf.nrr"/"N-4590_pi.nrr"/"N-4590_ps.nrr". Removed "N-1848_p.nrr"/"N-3240_p.nrr"/"N-4590_p.nrr".
 +
* "/Pipeline.cache" updated
 +
* "/titles":
 +
** "lclassics.titlesdb" updated
 +
** Added "N-3309_e"/"N-3309_pd"/"N-3309_pf"/"N-3309_pi"/"N-3309_ps" (Pokemon Stadium 2)
 +
** "N-4590_{e/pd/pf/pi/ps}/{id}.dtz" updated (Pokemon Stadium)
 +
*** .cfg, .pcb, .nro, .lua, .ppl, and .spv updated. In the .cfg various renderer settings were adjusted, which includes adding fields "SoftResetNeedUpdate" and "SoftResetNeedForce".
 +
 +
== v2.17.0 ==
 +
The NintendoSDK version was updated from 13.3.11 to 13.3.14.
 +
 +
In the [[CNMT]], RequiredSystemVersion was updated: [[18.1.0]] is now required, previously [[17.0.1]] was required. {other CNMT changes}
 +
 +
ExeFs:
 +
* NPDM only had the usual ACID pubkey/signature update.
 +
* main: updated
 +
* sdk/subsdk0/subsdk1: updated
 +
 +
RomFs:
 +
* Various changes, including updating "/nro/libHovercraftJITPlugin.nro" and adding "/titles/N-1226_{e|p}/" (Banjo-Tooie).

Latest revision as of 02:06, 25 October 2024

This page documents the N64 application available via Nintendo Switch Online.

The internal name is "Hovercraft".

This uses an updated version of the N64 emulator used by SM3DAS. Like SM3DAS, Vulkan is used for rendering.

This saves various PlayReports. This also uses bcat, the bcat data if available can specify a list of games which aren't allowed to be launched.

NPDM

Same as SM3DAS Mario64 (besides programId etc), except the following services are additionally accessible: audout:u, bcat:u, bsd:u, bsdcfg, friend:u, nifm:u, nsd:u, sfdnsres, ssl. Flags is 0x27.

Details

Like SM3DAS, this uses JIT for running the emulated executable. The game archives also contains an AOT NRO. A NRO does get loaded, however actual usage is currently not enabled. When the emu PC physical address is not located in DRAM (code prior to this will handle triggering a N64 exception if the PC vaddr is invalid), the code is interpreted instead of using JIT, with the code instruction being loaded with n64MemDefaultRead32 (handler funcptr is called from a table, mem-access with these use the non-WithDestLog funcs. TLB validation is done by those funcs before mem-access, triggering a N64 exception if needed). Patches are applied at runtime with the config/lua files from the game archives.

TLB validation for mem-access done by JIT'd code is only done if the corresponding flag in "g_nN64CpuCmpTLBCheckLevel" is set, see below. There are currently no games which set this config. Note that the various Read/Write funcs will do nothing if the specified address is invalid, with 0 being returned for the Read funcs.

A maximum of 0x1000-bytes are loaded from the launch-parameter, with buf[read_size]=0. Hence, this is a string. When available, this seems to be used to select which game to launch.

RomFs contains the following:

  • "/kc.dat", "/Pipeline.cache", "/shader_font_frag.spv", "/shader_p1_frag.spv", "/shader_p1_vert.spv", "/shader_p2_srgb_frag.spv", "/shader_vulkan_frag.spv", "/shader_vulkan_vert.spv".
  • "/.nrr/" contains:
    • "l-classics-app.nrr"
    • "libHovercraftJITPlugin.nrr"
    • And NRRs for each game's AOT NRO.
  • "/bootapp/" contains "init.json", "resources.json", and "resources/" which contains:
    • Various UI/graphics data is stored here under various sub-dirs. This also includes "scripts/", which contains Lua scripts in bytecode form.
      • One of these scripts at "/scripts/constants_nuse.lua" in the raw data, contains among various other data: "FirstDeliveryDate" "2019-09-01".
  • "/nro/" contains "libHovercraftJITPlugin.nro", the NRO for the JitPlugin.
  • "/sysdata/shaders/mesh.spirv", "/sysdata/shaders/sprite.spirv"
  • "/titles/" contains the data for the emulated games:
    • "lclassics.titlesdb"
    • There's a sub-dir for each game containing:
      • "{dirname}-details.png"
      • "{dirname}.bnz": ROM-image compressed directly with zlib.
      • "{dirname}.dtz": cpio archive compressed directly with zlib, containing the following (these are under "metapack_temp\"):
        • The data here has mostly the same structure/format as SM3DAS rom/{subdir}, without the unused NRR. Filenames have the same "{fileid}_{TitleCode}.ext" format. When any texture data is present, it's included directly in this directory.
          • The .meta no longer contains "DataSection", which in SM3DAS specified what files to load from here.
          • The .lua file is optional. Compared to SM3DAS, Mario64 here (regions E/P at least) no longer has a .lua file, and the only remaining patches in config are for "Idle" and "BreakLoop". There's also various config differences compared to SM3DAS. Also unlike SM3DAS, the ROM-image uses the ROM for each respective region, instead of Shindou for non-JPN.
      • "{dirname}.png"

libHovercraftJITPlugin

This section documents the JIT plugin.

This is an updated version of the plugin used by SM3DAS. Besides compiler-version differences / funcs being moved around, there were actual code changes.

The struct passed as the InBuffer to Control is now 0xE00-bytes instead of 0xEB0-bytes. The internal workmem offsets / layout changed. Various funcs were updated etc.

With v2.9.0 the controldata is now 0xE08-bytes.

The controldata struct has the following structure (all addrs/data are from the emulator user-process):

Offset Size Description
0x0 0x8 Data addr: g_pGPR
0x8 0x8 Data addr: g_pFPR
0x10 0x8 Data addr: g_pCP0
0x18 0x8 Data addr: g_nRegHi
0x20 0x8 Data addr: g_nRegLo
0x28 0x8 Data addr.
0x30 0x8 Data addr: g_nFCSR
0x38 0x8 Data addr: g_bN64CpuCmpEndCheck
0x40 0x8 Data addr: g_nN64CpuPC
0x48 0x8 Data addr: g_nN64CpuJmpPC. s32, normally -1. When not -1 this is a value which can be copied into g_nN64CpuJmpPC by the generated code, with g_nN64CpuJmpPC being reset to -1 afterwards regardless of the original value.
0x50 0x8 Data addr.
0x58 0x8 Data addr: g_nN64CpuHaveExp
0x60 0x6A8 Array of funcptrs. Called with w0=instruction_value from generated code for handling instructions' implementation, when the plugin itself doesn't handle it.
0x708 0x8 Funcptr: n64CPUProcInstCOP1Check()
0x710 0x8 Funcptr.
0x718 0x8 Funcptr.
0x720 0x8 Funcptr: n64CPUSetRegisterCP0(int, unsigned int)
0x728 0x8 Funcptr: n64CPUGetRegisterCP0(int)
0x730 0x20 Funcptrs for reading data: n64MemDefaultRead{bitsize}(unsigned int), where bitsize is {8, 16, 32, 64} (32 uses n64MemDefaultRead32WithDestLog). Unused by the plugin.
0x750 0x20 Funcptrs for reading Special data: n64MemDefaultReadSpecial{bitsize}(unsigned int), where bitsize is {8, 16, 32, 64}.
0x770 0x20 Funcptrs for writing data: n64MemDefaultWrite{bitsize}(unsigned int, ...), where bitsize is {8, 16, 32, 64} (32 uses n64MemDefaultWrite32WithDestLog). Unused by the plugin.
0x790 0x20 Funcptrs for reading data via the WithDestLog version: n64MemDefaultRead{bitsize}WithDestLog(unsigned int), where bitsize is {8, 16, 32, 64}.
0x7B0 0x20 Funcptrs for writing data via the WithDestLog version: n64MemDefaultWrite{bitsize}WithDestLog(unsigned int, ...), where bitsize is {8, 16, 32, 64}.
0x7D0 0x8 Funcptr: n64CPU_CallLuaAfterInst(unsigned int, unsigned int)
0x7D8 0x8 Funcptr: n64CPU_CallLuaBeforeInst(unsigned int, unsigned int)
0x7E0 0x8 Funcptr.
0x7E8 0x4 Array count for the the following array.
0x7EC 0x180 (0x20*0xC) Array data with the above count, each entry is 0xC-bytes. The emulator loads this from config array "Idle". +0 = u32 emu_pc_addr (config "JmpAddr"), +4 = u32 instruction_value (config "JmpInst"), +8 = u32 is_idle (config "IsIdle", 0x1 = enabled).
0x96C 0x4 Array count for the the following array.
0x970 0x280 (0x20*0x14) Array data with the above count, each entry is 0x14-bytes. The emulator loads this from config array "SpecialInst". +0 = u32 emu_pc_addr (config "Addr"), +4 = u32 instruction_value (config "Inst"), +8 = u32 flags. The emulator sets the flags to 0 by default, then compares config "Type" with various strings to determine the value. Flags: bit0 = Type "BreakLoop", bit5 = Type "LoadFrameBuffer", bit6 = Type "Lua_BeforeInst", bit7 = Type "Lua_AfterInst", bit9 (v2.9.0+) = unknown.

When the config for {any of the previously mentioned Type strings} is set to value 1, the emulator will also enable the corresponding flags bit mentioned above. Likewise with config "Return", which sets flags bit8.

When the plugin loads a funcptr from +0x790, it will load a funcptr from +0x750 instead if there's a matching entry here which has bit5 set.

0xBF0 0x4 Array count for the the following array. The plugin doesn't use this.
0xBF4 0x80 (0x10*0x8) Array data with the above count, each entry is 0x8-bytes. The emulator loads this from config array "FrameBuffer". +0 = u32 (config "Addr"), +4 = u32 (config "Length"). The plugin doesn't use this.
0xC74 0x4 Array count for the the following array.
0xC78 0x180 (0x20*0xC) Array data with the above count, each entry is 0xC-bytes. The emulator loads this from config array "SpecialBlock". +0 = u32 (config "BeginAddr"), +4 = u32 (config "BeginInst"), +8 = u32 flags.

Flags defaults to 0. If config for "NoRunTime" is value 1, flags bit0 is set.

0xDF8 0x4 Set to 0 by default, then if available the emulator sets bit flags here depending on the content of the config for "Cmp", "g_nN64CpuCmpTLBCheckLevel". Each bit corresponds to a mem-access instruction, when handling an instruction with a bit set TLB validation is done by generating code which calls the funcptr at controldata+0x710.
0xDFC 0x4 Set to 0 by default by the emulator. With config "Cmp", "CodeMultiAddr" this is set to 1. Config "Cmp", "BlockDynamicPC" from SM3DAS is not supported. The plugin doesn't use this field, since support for "BlockDynamicPC" was removed. All code which used to use this now assumes val!=2, with code for ==2 being removed.
0xE00 0x4 Added with v2.9.0, see below.

SaveData

Account savedata has the following layout:

  • "/system-save.json": .json Emulator settings/etc, padded to size 0x10000 with 0x00-bytes.
  • "/saves/", containing sub-dirs with the same dirnames as romfs:/titles/, for games with savedata stored. These sub-dirs contain:
    • "cartridge.sram": Savedata image for the emulated game.
    • "suspendpoint{N}/": When a suspend-point exists, it has this dirname, where {N} starts with 1. This contains:
      • "state": #SuspendPoint
      • "state.png": Screenshot of the emulated game.

There's also TemporaryStorage savedata, which is used for storing #SuspendPoints used with network-transfers.

SuspendPoint

The SuspendPoint is stored in a mostly standard cpio archive with a modified cpio entry header:

Offset Size Description
0x0 0x2 Magic (070707 in little-endian octal)
0x2 0x2 Dev (0x3E16 or 0x0000 if trailer block)
0x4 0x2 Flags (0x1 means file data is zlib compressed)
0x6 0x2 Mode (unused)
0x8 0x2 Checksum
0xA 0x2 DecompFileSize1 (lower half of decompressed file size)
0xC 0x2 DecompFileSize2 (higher half of decompressed file size)
0xE 0x2 Rdev (unused)
0x10 0x2 Mtime1 (unused)
0x12 0x2 Mtime2 (unused)
0x14 0x2 NameSize (size of file name)
0x16 0x2 FileSize1 (lower half of file size)
0x18 0x2 FileSize2 (higher half of file size)
0x1A NameSize FileName
0x1A + NameSize FileSize FileData

Normally the file data is used raw, but it can also be zlib compressed if flags is 0x1. The cpio parser code calculates a checksum over each file (decompressed data when compression is enabled) by XORing each u16 in the file, then comparing it with checksum. The result is stored as a flag in the output cpio file entry structure. This checksum is only set for SuspendPoints, not RomFs data - none of the cpio parser callers currently validate the checksum flag.

This archive is stored in #SaveData, and is also transferred over the network with online-play-friends when the user loads a suspend-point in the GUI. This is also done automatically when a network session is created, for emu-sync-state. Emu-sync-state only used with session-creation, after that the only way to trigger suspend-point usage is via the suspend-menu GUI.

The SuspendPoint loader code loops through the file entries, comparing the entry file extension (following '.' in the filename) with various supported extensions and handling it as needed. No files are mandatory, there are no errors thrown for missing files. The order of the files in the archive doesn't matter either. The saved files have filename ".{extension}". The following extensions are handled:

  • "json": Contains various emulator state, including CPU/IO registers etc. "g_nN64CpuPC" is used with the g_nN64CpuPC global var. IO regs are copied to/from global state directly, without calling any IO handler funcs.
  • "bin": N64 DRAM. This has the field set for enabling zlib compression in the cpio file entry.
  • "sav": Savedata image for the emulated game.
  • "imem"
  • "dmem"
  • "cpk": Data for "Controller Pak", only exists for games which have config "SIDevice_PakType" set to "Controller Pak". The code loading this will skip it if the config wasn't set to "Controller Pak".
  • "gbin"

Versions

This section documents the game-update changes. Note that the below is for the non-JPN build of N64-NSO.

v1.1.0

ExeFs:

  • NPDM only had the usual ACID pubkey/signature update.
  • main: updated

RomFs:

  • "/bootapp/init.json": updated
  • "/resources/fonts/l-ko.fnt", "/bootapp/resources/fonts/l-zh-hans.fnt": updated
  • "/bootapp/resources/scripts/states/network/statesessionstartup.lua": updated
  • "/bootapp/resources/scripts/states/ui/stateingame.lua": updated
  • "/bootapp/resources/scripts/states/ui/statepause.lua": updated
  • "/bootapp/resources/scripts/sys/sysgamedetails.lua": updated
  • "/bootapp/resources/scripts/system/playreport.lua": updated
  • "/bootapp/resources/scripts/system/titlelistmanager.lua": updated
  • The localization data under "/bootapp/resources/strings/" was updated.
  • "/nro/libHovercraftJITPlugin.nro": Rebuilt, only changes were the buildid and the path in the .nrs had a string for "build" changed to "patch".
  • "/.nrr/": NRRs were updated/added.
  • "/Pipeline.cache": updated
  • "/shader_font_frag.spv": removed
  • "/titles/":
    • "lclassics.titlesdb": Updated, entries were added for Paper Mario.
    • Added directories "N-2992_e" and "N-2992_p", for Paper Mario.
    • Updated "N-3030_e/N-3030_e.dtz" / "N-3030_p/N-3030_p.dtz" (Star Fox): the .cfg had a "VertexHack" entry added. Additionally for P-region, a new entry was added under .cfg "Idle" and the AOT NRO was updated.
    • Updated "N-3038_e/N-3038_e.dtz" (E-region-only OOT): the .meta had a field for "NerdStreamFillRatio" added, following the line for "SndSampleRate".

v1.2.0

ExeFs:

  • NPDM only had the usual ACID pubkey/signature update.
  • main: updated

RomFs:

  • "/bootapp/init.json": updated
  • "/bootapp/resources/fonts/": "l-dynamic.fnt", "l.fnt", "l-ko.fnt", "l-zh-hans.fnt", "l-zh-hant.fnt" updated
  • The localization data under "/bootapp/resources/strings/" was updated.
  • "/nro/libHovercraftJITPlugin.nro": updated
    • A func was stubbed to just "return;". The func immediately after that had code checking the instruction_id adjusted.
  • "/.nrr/": NRRs were updated/added.
  • "/Pipeline.cache" and "/shader_p1_frag.spv" updated
  • "/titles/":
    • Updated "lclassics.titlesdb" and added "N-4868_e/" + "N-4868_p/".

v2.0.0

The SDK version was updated to 13.3.0. The Pia* versions were updated to v5.38.0, previously it was v5.36.0. The version for Pia itself was changed to v5.38.0.59024 from v5.36.0.57074.

ExeFs:

  • All files in ExeFs were updated.
  • NPDM: besides the usual changes (see above), service access for mnpp:app was added.
    • The main-codebin also has code for using mnpp:app, this is also present in the February NSO NES/SNES app-updates.

RomFs:

  • "/bootapp/init.json" updated
  • "/bootapp/resources/fonts/": Various fonts updated.
  • "/bootapp/resources/prefabs/sys/popupguide/popupguideelements.scn" updated
  • ""/bootapp/resources/scenes/sys/": "sysdisplaymodelayout.scn", "sysmain.scn", "sysworld.scn": updated
  • "/bootapp/resources/scripts/constants_nuse.lua" updated
  • "/bootapp/resources/scripts/states/network/":
    • "stateonline.lua", "statesessioninitialsharing.lua", "statesessionthumbnailsharing.lua": updated
  • "/bootapp/resources/scripts/states/ui/stateboot.lua" updated
  • "/bootapp/resources/scripts/states/ui/statecheckcontroller.lua" updated
  • "/bootapp/resources/scripts/states/ui/statedisplaymode.lua" updated
  • "/bootapp/resources/scripts/states/ui/stategamedetails.lua" updated
  • "/bootapp/resources/scripts/states/ui/stategamelist.lua"
  • "/bootapp/resources/scripts/states/ui/stategamepreparing.lua" new file
  • "/bootapp/resources/scripts/states/ui/stateingameentrance.lua" updated
  • "/bootapp/resources/scripts/states/ui/stateingame.lua" updated
  • "/bootapp/resources/scripts/states/ui/statepause.lua" updated
  • "/bootapp/resources/scripts/states/ui/statepausemenuidle.lua" updated
  • "/bootapp/resources/scripts/states/ui/stateplay.lua" updated
  • "/bootapp/resources/scripts/states/ui/statesavecompletion.lua" updated
  • "/bootapp/resources/scripts/states/ui/statesaveconfirmation.lua" updated
  • "/bootapp/resources/scripts/states/ui/statesave.lua" updated
  • "/bootapp/resources/scripts/states/ui/statesavepreprocessing.lua" removed
  • "/bootapp/resources/scripts/states/ui/statesaveprocessing.lua" updated
  • "/bootapp/resources/scripts/states/ui/stateswapplayers_4p.lua" updated
  • "/bootapp/resources/scripts/sys/":
    • "sysantenna.lua", "sysdisplaymode.lua", "sysingame.lua", "sysloadingscreen.lua", "sysnotifier.lua", "syspausemenu.lua", "sysresidentinformation.lua": updated
    • "sysbuttonfilters.lua" removed
  • "/bootapp/resources/scripts/system/":
    • "playreport.lua", "saveslotmanager.lua", "titlelistmanager.lua": updated
  • "/bootapp/resources/sprites/":
    • "packed_logo4.png" added
    • "splashscreentexture.png" updated
  • "/bootapp/resources/strings/": Localization strings were updated.
  • "/bootapp/resources.json" updated
  • "/nro/libHovercraftJITPlugin.nro" updated. This appears to be just a rebuild / minor changes?
  • "/.nrr/": The NRRs were updated, and NRRs added for the additional game.
  • "/shader_p2_frag.spv" added
  • "/shader_vulkan_frag.spv" updated
  • "/sysdata/shaders/mesh.spirv" updated
  • "/sysdata/shaders/sprite.spirv" updated
  • "/titles/":
    • "lclassics.titlesdb" updated
    • Added directories "N-1407_e" and "N-1407_p" for the additional game.
    • "N-2992_e/N-2992_e.dtz" and "N-2992_p/N-2992_p.dtz" updated
    • "N-3007_e/N-3007_e.dtz" updated
    • "N-3013_e/N-3013_e.dtz" updated
    • "N-3017_e/N-3017_e.dtz" updated
    • "N-3029_e/N-3029_e.dtz" updated
    • "N-3030_e/N-3030_e.dtz" and "N-3030_p/N-3030_p.dtz" updated
    • "N-3031_e/N-3031_e.dtz" and "N-3031_p/N-3031_p.dtz" updated
    • "N-3034_e/N-3034_e.dtz" and "N-3034_p/N-3034_p.dtz" updated
    • "N-3036_e/N-3036_e.dtz" and "N-3036_p/N-3036_p.dtz" updated
    • "N-3038_e/N-3038_e.dtz" and "N-3038_p/N-3038_p.dtz" updated
    • "N-4868_e/N-4868_e.dtz" and "N-4868_p/N-4868_p.dtz" updated

dtz archives changes:

  • Various .lua, .nro, .pcb, and .spv files were updated.
    • The lua files are now in bytecode form (like the scripts under /bootapp already were), instead of being plaintext.
  • The "FogFactor" line in the .cfg for N-3030_e/N-3030_p (Star Fox 64) was removed.
  • N-3007_e (Dr. Mario 64) had .rpt texture files added.
  • N-3038_e/N-3038_p (OOT) had rendering config updated.
  • N-4868_e/N-4868_p (Banjo-Kazooie) had a new patch added ("Lua_AfterInst").

v2.1.0

ExeFs:

  • NPDM only had the usual ACID pubkey/signature update.
  • main: updated

RomFs:

  • "/bootapp/init.json" updated
  • "/bootapp/resources/scripts/states/ui/stateload.lua" updated
  • "/bootapp/resources/scripts/states/ui/statepause.lua" updated
  • "/bootapp/resources/scripts/states/ui/stateplay.lua" updated
  • "/bootapp/resources/strings/" Various localization data updated.
  • "/.nrr/": The NRRs were updated, and a NRR added for the additional game.
  • "/Pipeline.cache" updated
  • "/titles/":
    • "lclassics.titlesdb" updated
    • "N-1407_e/N-1407_e.dtz"/"N-1407_p/N-1407_p.dtz" updated (Majora's Mask)
      • The .ppl file in the .dtz archive was updated.
    • "N-2456_e/" added
    • "N-4868_e/N-4868_e.dtz"/"N-4868_p/N-4868_p.dtz" updated (Banjo-Kazooie)
      • In the .dtz archive, the following files were updated: .cfg, .pcb (N-4868_e only), .nro, .lua. This added a "Lua_AfterInst" patch, with the Comment field "Halt Emu when too many eggs".

v2.2.0

ExeFs:

  • NPDM only had the usual ACID pubkey/signature update.
  • main: updated

RomFs:

  • "/bootapp/init.json" updated
  • "/bootapp/resources/scripts/states/ui/statecheckcontroller.lua" updated
  • "/bootapp/resources/scripts/states/ui/statelocalmenu.lua" updated
  • "/bootapp/resources/scripts/states/ui/staterootmenu.lua" updated
  • The localization data under "/bootapp/resources/strings/" was updated.
  • "/nro/libHovercraftJITPlugin.nro" updated. Just a rebuild, only the buildid changed.
  • "/.nrr/": The NRRs were updated, and a NRR added for the additional game.
  • "/Pipeline.cache" updated
  • "/titles/lclassics.titlesdb" updated
  • "/titles/N-4371_e/" added (Mario Golf)


v2.3.0

ExeFs:

  • NPDM only had the usual ACID pubkey/signature update.
  • main: updated

RomFs:

  • "/bootapp/init.json" updated
  • "/bootapp/resources/fonts/": various font data updated
  • "/bootapp/resources/scripts/":
    • "states/network/stateonline.lua" updated
    • "states/ui/stateingame.lua" updated
    • "system/networkevents.lua" updated
  • "/bootapp/resources/strings/": Various localization data updated.
  • "/.nrr/": The NRRs were updated, and a NRR added for the additional game.
  • "/Pipeline.cache" updated
  • "/titles/lclassics.titlesdb" updated
  • "/titles/N-3007_e/N-3007_e.dtz" updated (Dr. Mario)
    • .cfg, .pcb, and .nro updated. In the .cfg a field for "ConstValue_0" under "RendererSetting" was added.
  • "/titles/N-3030_e/N-3030_e.dtz" / "/titles/N-3030_p/N-3030_p.dtz" updated (Star Fox 64)
    • .cfg, .pcb, .nro, and .spv updated. In the .cfg fields "GammaEnable" and "GammaValue" under "RendererSetting" were added.
  • "/titles/N-4371_e/N-4371_e.dtz" updated (Mario Golf)
    • .cfg updated. In the .cfg a field for "ConstValue_1" under "RendererSetting" was added.
  • "/titles/N-3052_e/" added (Kirby 64)

v2.3.1

ExeFs:

  • NPDM only had the usual ACID pubkey/signature update.

RomFs:

  • "/bootapp/init.json" updated
  • "/.nrr/": The NRRs were updated.
  • "/titles/N-3052_e/N-3052_e.dtz" updated (Kirby 64)
    • .cfg, .pcb, and .nro updated. Only formatting was changed in the .cfg, content is otherwise the same.

v2.4.0

ExeFs:

  • NPDM only had the usual ACID pubkey/signature update.
  • main: updated

RomFs:

  • "/bootapp/init.json" updated
  • "/bootapp/resources/fonts/": Various fonts updated.
  • "/bootapp/resources/strings/": Various localization data updated.
  • "/.nrr/": The NRRs were updated, and added "N-3240_e.nrr"/"N-3240_p.nrr".
  • "/Pipeline.cache" updated
  • "/titles/":
    • "lclassics.titlesdb" updated
    • "N-2456_e/N-2456_e.dtz" updated (F-Zero X)
      • .cfg, .pcb, and .nro updated.
    • "N-3030_e/N-3030_e.dtz" updated (Star Fox 64)
      • .cfg, .pcb, .nro, and .lua updated. In addition to the .cfg changes below, an additional "Lua_AfterInst" patch was added.
    • "N-3030_p/N-3030_p.dtz" updated
      • .cfg, .nro, and .lua updated (see above)
    • "N-3052_e/N-3052_e.dtz" updated (Kirby 64)
      • .cfg, .pcb, .nro, and .ppl updated. In .cfg an entry was added under "SpecialInst" for "BreakLoop".
    • "N-4371_e/N-4371_e.dtz" updated
      • .pcb, .nro updated
    • "N-3240_e", "N-3240_pd", "N-3240_pf", "N-3240_pi", "N-3240_ps": added (Pokemon Snap)

In each updated .cfg the value of the "Comment" fields was replaced with "" (for .cfg that has Comment fields). Tabs were replaced with spaces for indention (if the .cfg didn't already use spaces).

v2.5.0

ExeFs:

  • NPDM only had the usual ACID pubkey/signature update.
  • main: updated

RomFs:

  • "/bootapp/init.json" updated
  • "/bootapp/resources/fonts/": Various fonts updated.
  • "/bootapp/resources/prefabs/sys/sysgamecard.scn" updated
  • "/bootapp/resources/scripts/states/ui/stategamepreparing.lua" updated
  • "/bootapp/resources/scripts/states/ui/stateplay.lua" updated
  • "/bootapp/resources/strings/": Various localization data updated.
  • "/nro/libHovercraftJITPlugin.nro" updated (just a rebuild)
  • "/.nrr/": The NRRs were updated, and added "N-1848_e.nrr"/"N-1848_p.nrr".
  • "/Pipeline.cache" updated
  • "titles/":
    • "lclassics.titlesdb" updated
    • "N-1848_e/", "N-1848_pd/", "N-1848_pf": added (Pokemon Puzzle League)

v2.6.0

ExeFs:

  • NPDM only had the usual ACID pubkey/signature update.
  • main: updated

RomFs:

  • "/bootapp/init.json" updated
  • "/bootapp/resources/fonts/": Various fonts updated.
  • "/bootapp/resources/scripts/states/network/statesessionestablished.lua" updated
  • "/bootapp/resources/scripts/states/ui/statedisplaymode.lua" updated
  • "/bootapp/resources/scripts/states/ui/statemenu.lua" updated
  • "/bootapp/resources/scripts/sys/sysdisplaymode.lua"
  • "/bootapp/resources/strings/": Various localization data updated.
  • "/.nrr/": The NRRs were updated, and added "N-4813_e.nrr"/"N-4813_p.nrr".
  • "titles/":
    • "lclassics.titlesdb" updated
    • "N-1848_e/N-1848_e.dtz", "N-1848_pd/N-1848_pd.dtz", "N-1848_pf/N-1848_pf.dtz" updated (Pokemon Puzzle League)
      • .cfg, .pcb, and .nro updated. In the .cfg two entries were removed from "RendererSetting".
    • "N-4813_e/", "N-4813_p/" added (Wave Race 64)

v2.7.0

ExeFs:

  • NPDM only had the usual ACID pubkey/signature update.
  • main: updated

RomFs:

  • "/bootapp/init.json" updated
  • "/bootapp/resources/fonts/": Various fonts updated.
  • "/bootapp/resources/scripts/states/ui/statedisplaymode.lua" updated
  • "/bootapp/resources/scripts/sys/sysingame.lua" updated
  • "/bootapp/resources/strings/": Various localization data updated.
  • "/.nrr/": The NRRs were updated, and added "N-3783_e.nrr"/"N-3783_p.nrr".
  • "/Pipeline.cache" updated
  • "/shader_vulkan_v2_vert.spv" added
  • "titles/":
    • "lclassics.titlesdb" updated
    • "N-2456_e/N-2456_e.dtz" updated (F-Zero X)
      • .cfg, .pcb, .nro, and .lua updated. In the .cfg the "MaxTaskPerFrame" field in "RSP" was removed.
    • "N-4371_e/N-4371_e.dtz" updated (Mario Golf)
      • .cfg, .pcb, .nro, and .lua updated. In the .cfg the formatting was adjusted. Under "RSP" the "FramesPerGTask" field was removed, and fields "RDPIntDelay"/"RDPIntDelayRelative" were added. The value of all "Comment" fields are now blank ("").
    • "N-3783_e/", "N-3783_p/" added (Pilot Wings 64)

v2.8.0

ExeFs:

  • NPDM only had the usual ACID pubkey/signature update.
  • main: updated

RomFs:

  • "/bootapp/init.json" updated
  • "/bootapp/resources/fonts/": Various fonts updated.
  • "/bootapp/resources/scripts/states/ui/stateingameentrance.lua" updated
  • "/bootapp/resources/scripts/states/ui/stateingame.lua" updated
  • "/bootapp/resources/scripts/sys/sysnotifier.lua" updated
  • "/bootapp/resources/strings/": Various localization data updated.
  • "/.nrr/": The NRRs were updated, and added "N-1053_e.nrr"/"N-1053_p.nrr" + "N-4737_e.nrr"/"N-4737_p.nrr".
  • "titles/":
    • "lclassics.titlesdb" updated
    • No existing title data was changed here, only dirs for the new games were added: "N-1053_e"/"N-1053_p" (Mario Party 2) and "N-4737_e"/"N-4737_p" (Mario Party 3).

v2.9.0

ExeFs:

  • NPDM only had the usual ACID pubkey/signature update.
  • main: updated

RomFs:

  • "/bootapp/init.json" updated
  • "/bootapp/resources/fonts/": Various fonts updated.
  • "/bootapp/resources/scripts/sys/sysingame.lua" updated
  • "/bootapp/resources/scripts/sys/sysnotifier.lua" updated
  • "/bootapp/resources/scripts/sys/sysresidentinformation.lua" updated
  • "/bootapp/resources/scripts/system/inputdevicemanager.lua" updated
  • "/bootapp/resources/strings/": Various localization data updated.
  • "/nro/libHovercraftJITPlugin.nro" updated
  • "/.nrr/": The NRRs were updated, and added "N-4631_e.nrr".
  • "/Pipeline.cache" updated
  • "/shader_vulkan_v2_vert.spv" added
  • "titles/":
    • "lclassics.titlesdb" updated
    • "N-1053_e/N-1053_e.dtz" updated (Mario Party 2)
      • .pcb and .nro were updated.
    • "N-4737_e/N-4737_e.dtz" updated (Mario Party 3)
      • .pcb and .nro were updated.
    • "N-4631_e" added (GoldenEye 007)

libHovercraftJITPlugin updated two funcs:

  • L_1060, prev ver at L_1060: calling L_4990 (codegen func) is now skipped if u32 controldata+0xE00 is non-zero (this applies to 2 of the 3 calls to L_4990 in this func).
  • L_1d90, prev ver at L_1d80:
    • The code at 0x1ebc no longer calls L_910 from prev ver. Code was also added for handling bit9 in the array at controldata+0x970.

v2.10.0

The module name for the main-NSO was changed from "{path}\l-classics-app.nss" to "l-classics".

ExeFs:

  • NPDM only had the usual ACID pubkey/signature update.
  • main: updated

RomFs:

  • "/bootapp/init.json" updated
  • "/bootapp/resources/anims/" Added various .spriteanim files.
  • "/bootapp/resources/fonts/" Various fonts updated/removed.
  • "/bootapp/resources/prefabs/sys/deviceconfig/sysdeviceconfig.scn" updated
  • "/bootapp/resources/prefabs/sys/hudguide/syshudguide.scn" removed
  • "/bootapp/resources/prefabs/sys/hudguide/syshudlabelgroup.scn" added
  • "/bootapp/resources/prefabs/sys/hudguide/syshudlabel.scn" added
  • "/bootapp/resources/prefabs/sys/operationguide/operationguideelements.scn" updated
  • "/bootapp/resources/prefabs/sys/popupguide/popupguideelements.scn" updated
  • "/bootapp/resources/prefabs/sys/sysdialoggeneric.scn" updated
  • "/bootapp/resources/prefabs/sys/sysdialogprogress.scn" updated
  • "/bootapp/resources/prefabs/sys/sysgamecard.scn" updated
  • "/bootapp/resources/prefabs/sys/syssidemenubuttoninvite.scn" removed
  • "/bootapp/resources/prefabs/sys/sysuserinfolist.scn" updated
  • "/bootapp/resources/scenes/sys/sysdisplaymodelayout.scn" updated
  • "/bootapp/resources/scenes/sys/": Removed "sysfingercursors.scn", "syslocalmenu.scn", "syssidemenu.scn".
  • "/bootapp/resources/scenes/sys/sysmain.scn" updated
  • "/bootapp/resources/scenes/sys/syspausemenu.scn" updated
  • "/bootapp/resources/scenes/sys/sysworld.scn" updated
  • "/bootapp/resources/scripts/": Added "constants.lua" and "constants_nuse.lua".
  • "/bootapp/resources/scripts/gui/gui_nine_patches.lua" updated
  • "/bootapp/resources/scripts/states/network/statelogin.lua" updated
  • "/bootapp/resources/scripts/states/network/stateonline.lua" updated
  • "/bootapp/resources/scripts/states/network/statesessioncreate.lua" updated
  • "/bootapp/resources/scripts/states/network/statesessionemusyncstatesharing.lua" updated
  • "/bootapp/resources/scripts/states/network/statesessionestablished.lua" updated
  • "/bootapp/resources/scripts/states/network/statesessionestablishedstandby.lua" updated
  • "/bootapp/resources/scripts/states/network/statesessionidle.lua" updated
  • "/bootapp/resources/scripts/states/network/statesessioninitial.lua" updated
  • "/bootapp/resources/scripts/states/network/statesessioninitialsharing.lua" updated
  • "/bootapp/resources/scripts/states/network/statesessionjoin.lua" updated
  • "/bootapp/resources/scripts/states/network/statesessionleave.lua" updated
  • "/bootapp/resources/scripts/states/network/statesessionquitconfirmation.lua" updated
  • "/bootapp/resources/scripts/states/network/statesessionready.lua" updated
  • "/bootapp/resources/scripts/states/network/statesessionrecovery.lua" updated
  • "/bootapp/resources/scripts/states/network/statesessionsearch.lua" updated
  • "/bootapp/resources/scripts/states/network/statesessionstandby.lua" updated
  • "/bootapp/resources/scripts/states/network/statesessionstartup.lua" updated
  • "/bootapp/resources/scripts/states/network/statesessionthumbnailsharing.lua" updated
  • "/bootapp/resources/scripts/states/network/statesuspendpointsharing.lua" updated
  • "/bootapp/resources/scripts/states/ui/stateboot.lua" updated
  • "/bootapp/resources/scripts/states/ui/statechangenetplaymode.lua" updated
  • "/bootapp/resources/scripts/states/ui/statecheckcontroller.lua" updated
  • "/bootapp/resources/scripts/states/ui/statedisplaymode.lua" updated
  • "/bootapp/resources/scripts/states/ui/stateerrorfailedtojoin.lua" updated
  • "/bootapp/resources/scripts/states/ui/stateerrorlostconnectioningame.lua" updated
  • "/bootapp/resources/scripts/states/ui/stategamedetails.lua" updated
  • "/bootapp/resources/scripts/states/ui/stategamelistedit.lua" updated
  • "/bootapp/resources/scripts/states/ui/stategamelist.lua" updated
  • "/bootapp/resources/scripts/states/ui/stategameselection.lua" updated
  • "/bootapp/resources/scripts/states/ui/stateingameentrance.lua" updated
  • {a number of lua scripts updated}
  • "/bootapp/resources/scripts/states/ui/statelocalmenu.lua" removed
  • "/bootapp/resources/scripts/states/ui/staterewind.lua" removed
  • "/bootapp/resources/scripts/states/ui/statestartupnewsspecial.lua" removed
  • "/bootapp/resources/scripts/states/ui/stateswapplayers_4p.lua" removed
  • "/bootapp/resources/scripts/states/ui/stateswapplayers.lua" added
  • "/bootapp/resources/scripts/sys/sysdialognewsspecial.lua" removed
  • "/bootapp/resources/scripts/sys/syshudlabelgroup.lua" added
  • "/bootapp/resources/scripts/sys/syslanguagelabel.lua" added
  • "/bootapp/resources/scripts/sys/syslocalmenu.lua" removed
  • "/bootapp/resources/scripts/sys/sysplayercountmenu.lua" added
  • "/bootapp/resources/scripts/sys/sysplayerswaplist_4p.lua" removed
  • "/bootapp/resources/scripts/sys/sysplayerswaplist.lua" added
  • "/bootapp/resources/scripts/sys/": Removed "sysrewindchapterlist.lua", "sysrewindchapter.lua", "sysrewind.lua", "syssidemenulocalbutton.lua", "sysversion.lua".
  • "/bootapp/resources/scripts/sys/syssidemenumultiplayerbutton.lua" added
  • "/bootapp/resources/scripts/system/appsettings.lua" removed
  • "/bootapp/resources/shaders/" Various shaders updated.
  • "/bootapp/resources/sprites/" Various PNGs updated.
  • "/bootapp/resources/strings/": Various localization data updated.
  • "/bootapp/resources.json" updated
  • "/nro/libHovercraftJITPlugin.nro" updated. Rebuilt, .nrs module path differs.
  • "/.nrr/": The NRRs were updated, and added "N-4590_e.nrr"/"N-4590_p.nrr".
  • "/Pipeline.cache" updated
  • "/titles/lclassics.titlesdb" updated
  • "/titles/": Almost all "{id}.png" files were updated.
    • Added "N-4590_e"/"N-4590_pd"/"N-4590_pf"/"N-4590_pi"/"N-4590_ps" (Pokemon Stadium).

v2.10.1

ExeFs:

  • NPDM only had the usual ACID pubkey/signature update.
  • main: updated

RomFs:

  • "/bootapp/init.json" updated
  • "/bootapp/resources/scripts/states/ui/stateingameentrance.lua" updated
  • "/nro/libHovercraftJITPlugin.nro" Updated, just a rebuild.
  • "/.nrr/" NRRs updated.
  • "/Pipeline.cache" updated
  • "/titles/N-4590_{e/pd/pf/pi/ps}/{id}.dtz" updated (Pokemon Stadium)
    • .cfg, .pcb, .nro, .lua, .ppl, and .spv updated. In the .cfg two entries were added to the "SpecialInst" array, with type "Lua_AfterInst". Various renderer config was also adjusted.

v2.11.0

The NintendoSDK version was updated from 13.3.0 to 13.3.11.

ExeFs:

  • NPDM only had the usual ACID pubkey/signature update.
  • main: updated
  • rtld/sdk/subsdk0/subsdk1: updated

RomFs:

  • "/bootapp/init.json" updated
  • "/bootapp/resources/fonts/" Various fonts updated.
  • "/bootapp/resources/scenes/sys/sysworld.scn" updated
  • "/bootapp/resources/scripts/" Various scripts updated.
  • "/bootapp/resources/shaders/":
    • "blur.spirv" updated
    • "downscale2.spirv" and "downscale5.spirv" added.
  • "/bootapp/resources/strings/": Various localization data updated.
  • "/bootapp/resources.json" updated
  • "/nro/libHovercraftJITPlugin.nro" updated. Only 1 func was updated, changes seem to be minor.
  • "/.nrr/": The NRRs were updated, and added "N-1848_pd.nrr"/"N-1848_pf.nrr". Added "N-3240_pd.nrr"/"N-3240_pf.nrr"/"N-3240_pi.nrr"/"N-3240_ps.nrr"/"N-3309_e.nrr"/"N-3309_pd.nrr"/"N-3309_pf.nrr"/"N-3309_pi.nrr"/"N-3309_ps.nrr". Added "N-4590_pd.nrr"/"N-4590_pf.nrr"/"N-4590_pi.nrr"/"N-4590_ps.nrr". Removed "N-1848_p.nrr"/"N-3240_p.nrr"/"N-4590_p.nrr".
  • "/Pipeline.cache" updated
  • "/titles":
    • "lclassics.titlesdb" updated
    • Added "N-3309_e"/"N-3309_pd"/"N-3309_pf"/"N-3309_pi"/"N-3309_ps" (Pokemon Stadium 2)
    • "N-4590_{e/pd/pf/pi/ps}/{id}.dtz" updated (Pokemon Stadium)
      • .cfg, .pcb, .nro, .lua, .ppl, and .spv updated. In the .cfg various renderer settings were adjusted, which includes adding fields "SoftResetNeedUpdate" and "SoftResetNeedForce".

v2.17.0

The NintendoSDK version was updated from 13.3.11 to 13.3.14.

In the CNMT, RequiredSystemVersion was updated: 18.1.0 is now required, previously 17.0.1 was required. {other CNMT changes}

ExeFs:

  • NPDM only had the usual ACID pubkey/signature update.
  • main: updated
  • sdk/subsdk0/subsdk1: updated

RomFs:

  • Various changes, including updating "/nro/libHovercraftJITPlugin.nro" and adding "/titles/N-1226_{e|p}/" (Banjo-Tooie).