Homebrew Discussion SNES Online - Mod Discussion

  • Thread starter Thread starter 18Phoenix
  • Start date Start date
  • Views Views 133,964
  • Replies Replies 459
  • Likes Likes 17
Status
Not open for further replies.
SNES Footer:

RomSize - 4 = Magic Value "Can1", is checked in sub_1EB50
RomSize - 8 = FooterSize
RomSize - (8 + FooterSize) = StartOfFooter

StartOfFooter:
4 Byte = some Magic? always 0x247
2 Byte = PresetId, unique for each game and region
x Byte = rom settings?, unique for each game, but not region
x = the settings range from 6 to 12 bytes

PresetId's are used to identify the game and load more indvidual settings / patches, see sub_21440

Known Preset ID list from WiiU/3DS:
https://docs.google.com/spreadsheet...49aR3FSuBTY3r-ajpTq3dP3GnQ/edit#gid=490971147

This is also used for the PlayReport, example Zelda: the emulator knows how much Rupees you have and if you're done with the Ice Palace.

I attached a text file with all footer from the english and japanese version.
 

Attachments

SNES Footer:

RomSize - 4 = Magic Value "Can1", is checked in sub_1EB50
RomSize - 8 = FooterSize
RomSize - (8 + FooterSize) = StartOfFooter

StartOfFooter:
4 Byte = some Magic? always 0x247
2 Byte = PresetId, unique for each game and region
x Byte = rom settings?, unique for each game, but not region
x = the settings range from 6 to 12 bytes

PresetId's are used to identify the game and load more indvidual settings / patches, see sub_21440

Known Preset ID list from WiiU/3DS:
https://docs.google.com/spreadsheet...49aR3FSuBTY3r-ajpTq3dP3GnQ/edit#gid=490971147

This is also used for the PlayReport, example Zelda: the emulator knows how much Rupees you have and if you're done with the Ice Palace.

I attached a text file with all footer from the english and japanese version.
Thanks for the info. I copied the footer from another ROM, modified the PresetId, used your signature patcher, but it still fails to launch, so either there's more to discover in the rom setting bytes or there's a list of allowed PresetIds maybe?
 
Thanks for the info. I copied the footer from another ROM, modified the PresetId, used your signature patcher, but it still fails to launch, so either there's more to discover in the rom setting bytes or there's a list of allowed PresetIds maybe?
No, but i think that it fails because it can't load the correct settings.
sub_21440 is a giant "switch(preset_id)" table which loads individual settings, if a preset_id is not in the list (the default case), then it returns 0 instead of a pointer to the settings.

So for now only roms with similar settings to the known roms should be used.
 
Does anyone know what the new? Autoplay: []
In lclassics.titlesdb
 
Last edited by AlanLC,
How, which rom you have taken for Zelda in the S-2024_e folder ?
I tried it with the German PAL version, too. Without success despite disabeling check by cheat, without and with adding the footer from the original sfrom.
I used the rom "...(G) [!].sfc" . Didn't you use a sfc file ? There exist a lot different sfc versions of each game.


--------------------- MERGED ---------------------------



Thanks, but I'm just looking for solutions, too :D
But the others here are the clever people :lol:

i just converted my .sfc rom with sfromtool and renamed it 2024_e, it works for the German pal version too :

2019090807325300-05-DC14-F80-A13996-B94160-CD375-AFD506.jpg
 
Last edited by arthur_bleme,
i just converted my .sfc rom with sfromtool and renamed it 2024_e, it works for the German pal version too :
Damned, it doesn't work for me, what do I make wrong ? :cry:

I take the file <Legend of Zelda, The - A Link to the Past (G) [!].sfc> and convert it with DarkAkuma's sfrom Tool SFROM_Tool_v1.1.3.1.
Therefore I just open the sfc-rom into the tool and choose "save sfrom". Or must I edit here something?
Then I rename the result file <Legend of Zelda, The - A Link to the Past (G) [!].sfrom> to <2024_e.sfrom>.
Then I place this file on my SD card here: 01008D300C50C000\romfs\titles\S-2024_e\
But starting the game lead immediately back to the menu. The cover just "flickers" for a sec after pressing A, that's it.

Of course I turned of the signature check by cheat function:
enabled.jpg

So what's wrong :( Do you use a different tool ?
The original sfrom works fine with the SNES9X emu, the generated sfrom doesn't.
That only normally shows that this generated sfrom file can't work at all.
 
Last edited by 18Phoenix,
Damned, it doesn't work for me, what do I make wrong ? :cry:

I take the file <Legend of Zelda, The - A Link to the Past (G) [!].sfc> and convert it with DarkAkuma's sfrom Tool SFROM_Tool_v1.1.3.1.
Therefore I just open the sfc-rom into the tool and choose "save sfrom". Or must I edit here something?
Then I rename the result file <Legend of Zelda, The - A Link to the Past (G) [!].sfrom> to <2024_e.sfrom>.
Then I place this file on my SD card here: 01008D300C50C000\romfs\titles\S-2024_e\
But starting the game lead immediately back to the menu. The cover just "flickers" for a sec after pressing A, that's it.

Of course I turned of the signature check by cheat function:
View attachment 178850

So what's wrong :( Do you use a different tool ?
The original sfrom works fine with the SNES9X emu, the generated sfrom doesn't.
That only normally shows that this generated sfrom file can't work at all.

that's exactly what I did, except that I'm on Atmosphere and I used Edizon to turn off signature check,
but it should also work that way
 
It does collect data and saves them most likely in the SNES app Savegame, but i meant, never go online with that app ^^
Mhmm. But it’s a Nintendo Switch Online exclusive app that requires going online once a week to be able to use it.
 
Mhmm. But it’s a Nintendo Switch Online exclusive app that requires going online once a week to be able to use it.
No, you never need to be online when using CFW.
But you need a linked Nin tendo account. Without no chance.
To link it you have to go online once, no problem after starting OFW.
 
  • Like
Reactions: Subtle Demise
Thanks to @arthur_bleme , I now can use the German roms of Zelda, too.
Therefore I just used DarkAkuma's sfrom Tool to generate a sfrom out of a sfc.
It first didn't work because I had downloaded all rom patches for this tool, that seem to be used automatically.
After deleting the patches it finally works, of course only with removed Signature Check, but without adding any footer.
 
Last edited by 18Phoenix,
Adding detail text for new roms works as for NES Online fine,
I just made a small but essential mistake in the lclassics.titlesdb
so that the details screen appearing when pressing Y didn't appear.
SORRY :shy:
"S-2501_e": {
"code": "2501_e",
"rom": "/titles/S-2501_e/2501_e.sfrom",
"sort_title": "actraiser",
"details_screen": "/titles/S-2501_e/S-2501_e-details.xtx.z",
"copyright": "©1995 Nintendo",
"title": "ActRaiser",
"armet_threshold": 0,
"lcla6_release_date": "2019-09-01",
"armet_version": "off",
"sort_publisher": "nintendo",
"title_zhHant": "ー",
"save_count": 1,
"volume": 87,
"title_zhHans": "ー",
"publisher": "Nintendo",
"title_ko": "ActRaiser",
"rewind_interval": 1.5,
"release_date": "1995-10-04",
"players_count": 1,
"cover": "/titles/S-2501_e/S-2501_e.xtx.z",
"simultaneous": false,
"autoplay": []
}
"S-2501_e": {
"code": "S-2501_e",
"rom": "/titles/S-2501_e/2501_e.sfrom",
"sort_title": "actraiser",
"details_screen": "/titles/S-2501_e/S-2501_e-details.xtx.z",
"copyright": "©1995 Nintendo",
"title": "ActRaiser",
"armet_threshold": 0,
"lcla6_release_date": "2019-09-01",
"armet_version": "off",
"sort_publisher": "nintendo",
"title_zhHant": "ー",
"save_count": 1,
"volume": 87,
"title_zhHans": "ー",
"publisher": "Nintendo",
"title_ko": "ActRaiser",
"rewind_interval": 1.5,
"release_date": "1995-10-04",
"players_count": 1,
"cover": "/titles/S-2501_e/S-2501_e.xtx.z",
"simultaneous": false,
"autoplay": []
}

So adding detail text for new games in the string.lng works fine.
string.lng file location: 01008D300C50C000\romfs\bootapp\resources\strings\<lang>\
....
"strings": {
"META_TITLE_COMMENT_S_2099_e": "Test for ActRaiser",
"META_TITLE_COMMENT_S_2002_e": "People are going missing in Bayside City, .....",
....

added cover - small.jpg
added detail text - small.jpg
 
Last edited by 18Phoenix,
Ok, I could replace some games by translated roms or European version with multiple languages using DarkAkuma's sfrom Tool.

That has worked for:
- Breath of Fire (German translation)
- Demon's Crest (German translation)
- Super Metroid (European M3 version incl. German & French)

That hasn't worked for:
- StarFox (German version called StarWing)
- Super Mario World (German translation)
- Super Mario World 2: Yoshi's Island (European M3 version incl. German & French)
- Super Puyo Puyo 2 (English translation)
 
Last edited by 18Phoenix,
@Falo
Is there any chance that a new added rom will work ?
Or is it a futile effort to test?
If so, what is still checked ?
 
Last edited by 18Phoenix,
I don't think so.

I didn't go online way over a week and I'm playing the SNES online app
No, you never need to be online when using CFW.
But you need a linked Nin tendo account. Without no chance.
To link it you have to go online once, no problem after starting OFW.
So you’re using pirated copies. Ok.
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum