Homebrew Discussion SNES Online - Mod Discussion

Status
Not open for further replies.

Falo

Well-Known Member
Member
Joined
Jul 22, 2012
Messages
680
Trophies
2
XP
2,627
Country
Germany
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

  • games_eng.txt
    1.8 KB · Views: 213
  • games_jpn.txt
    2.1 KB · Views: 154

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,009
Trophies
2
Age
36
XP
4,571
Country
United States
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?
 

Falo

Well-Known Member
Member
Joined
Jul 22, 2012
Messages
680
Trophies
2
XP
2,627
Country
Germany
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.
 

arthur_bleme

Active Member
Newcomer
Joined
Jun 18, 2018
Messages
30
Trophies
0
Age
35
Location
France
XP
259
Country
France
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,

18Phoenix

Well-Known Member
OP
Member
Joined
Nov 21, 2005
Messages
766
Trophies
1
XP
2,298
Country
Germany
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,

arthur_bleme

Active Member
Newcomer
Joined
Jun 18, 2018
Messages
30
Trophies
0
Age
35
Location
France
XP
259
Country
France
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
 

ZachyCatGames

Well-Known Member
Member
Joined
Jun 19, 2018
Messages
3,398
Trophies
1
Location
Hell
XP
4,209
Country
United States
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.
 

18Phoenix

Well-Known Member
OP
Member
Joined
Nov 21, 2005
Messages
766
Trophies
1
XP
2,298
Country
Germany
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

18Phoenix

Well-Known Member
OP
Member
Joined
Nov 21, 2005
Messages
766
Trophies
1
XP
2,298
Country
Germany
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,

18Phoenix

Well-Known Member
OP
Member
Joined
Nov 21, 2005
Messages
766
Trophies
1
XP
2,298
Country
Germany
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,

18Phoenix

Well-Known Member
OP
Member
Joined
Nov 21, 2005
Messages
766
Trophies
1
XP
2,298
Country
Germany
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,

ZachyCatGames

Well-Known Member
Member
Joined
Jun 19, 2018
Messages
3,398
Trophies
1
Location
Hell
XP
4,209
Country
United States
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

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Well start walking towards them +1