Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Mario Rabbids .sdfdata, .sdftoc

Featured Replies

  • Author
  • Localization

aluigi, posted Sun Oct 14, 2018 7:17 pm (39572)


@Qnoops
The only changes regarding the script are about the weird "ch3 == 0" problem that didn't affect South Park, and a fix for a bug introduced in the previous version of the script few days ago.
  • Author
  • Localization

CosmicDreams, posted Mon Oct 15, 2018 7:43 pm (39600)


Okay so, i think a solution would be to extract each SDFDATA that has actual data in it to their own directories. Should avoid issues with file conflicts but means files would have to manually be merged, better than what it is currently i suppose.

Not sure if QuickBMS can support such a thing though.
  • Author
  • Localization

CosmicDreams, posted Tue Oct 16, 2018 4:08 pm (39620)


Never mind, just tried that manually and there's still issues.
Weird.
  • Author
  • Localization

CosmicDreams, posted Thu Oct 18, 2018 11:39 pm (39704)


So Starlink: Battle For Atlas came out and uses the Snowdrop engine too.

Thought i'd try that out with the current script aand well...
It worked perfectly!
No issues at all dumping every single file from the game SDFDATA.
Image
All the characters are pre-rendered bink video files, not sure what else i expected.
Anywho the files inside the archives are very similar in layout and formats to Mario Rabbids so it isn't too hard to look around the game after looking at the other game for so long.
  • Author
  • Localization

aluigi, posted Fri Oct 19, 2018 9:18 am (39710)


So, just to recap, the script works correctly with all the games except Mario Rabbids, right?
  • Author
  • Localization

CosmicDreams, posted Fri Oct 19, 2018 9:52 am (39714)


Yep.
Pretty much.
  • Author
  • Localization

KillzXGaming, posted Fri Feb 15, 2019 11:17 pm (43536)


Incase you need to detect zstd as i checked the comments in the script, it uses magic which is always 0x28B52FFD
  • Author
  • Localization

CosmicDreams, posted Mon Jun 17, 2019 7:44 am (48860)


.
Me and someone else figured out the problem with the script.
3 lines at around the middle of the script that go something like:
Code:
If ver <=0x16
get fileId long MEMORY_FILE
endif

Completely broke it for some reason.
It seems like Mario Rabbids doesn't use fileIds but rather only packageIds.
The issue now is that files split across archives are extracted as separate files.
  • Author
  • Localization

LolHacksRule, posted Sun Jun 23, 2019 10:11 pm (48998)


You delete the line in it right? I'm getting somewhere...
  • Author
  • Localization

LolHacksRule, posted Fri Sep 20, 2019 4:23 am (50811)


Quick bump, I cannot extract update v1.9 with the fixed script. The script stops on the file shd_icecream_c_01_n.dds in: moria\sdf\nx\data\sdf-B-1098.sdfdata. This also affects the original script. Will a solution come?

Code:
- enter in folder RKB\UPDATE\1.9\EXT\ROMFS\moria\sdf\nx\data
- open input file RKB\UPDATE\1.9\EXT\ROMFS\moria\sdf\nx\data\sdf-B-1098.sdfdata
  00000000 0          moria\baked\art\environments\sherbetdesert\props\icecream\textures\shd_icecream_c_01_n.dds
009ec439 65536      moria\baked\art\environments\sherbetdesert\props\icecream\textures\shd_icecream_c_01_n.dds
Info:  algorithm   478
       offset      009ec439
       input size  0x0000b320 45856
       output size 0x00010000 65536
       result      0xffffffb8 -72

Error: the uncompressed data (-72) is bigger than the allocated buffer (5416311)

Last script line before the error or that produced the error:
  159 clog name packageOffset compSize CHUNK_SIZE 1
  • Author
  • Localization

CosmicDreams, posted Fri Sep 20, 2019 11:41 am (50819)


Was the game updated recently? I dumped the game around 2 or 3 weeks ago and it works perfectly fine.
  • Author
  • Localization

LolHacksRule, posted Fri Sep 20, 2019 4:37 pm (50823)


September 19, 2018. Ver. 1.9.58692.
  • Author
  • Localization

aluigi, posted Fri Sep 27, 2019 5:57 am (50954)


Just checked the file and it seems correct regarding the compression algorithm since it tries to use zstd on zstd compressed data.
Even extracting the files from the first filecutted data works perfectly.
I don't have the full sdf-B-1098.sdfdata so that's the max I can say at the moment, don't know why you get that error at offset 0x009ec439 (and don't know if your UPDATE was referred to the filecutted samples or to the error)
  • Author
  • Localization

LolHacksRule, posted Fri Sep 27, 2019 3:49 pm (50990)


The update was related to the cut file that was supposedly incorrect due to hashes mismatching, so I replaced it and the game extracted successfully.
  • Author
  • Localization

costelabr, posted Sun Jan 26, 2020 9:52 pm (53530)


LolHacksRule wrote:
The update was related to the cut file that was supposedly incorrect due to hashes mismatching, so I replaced it and the game extracted successfully.

i have same issue but don't understand what file you replaced
  • Author
  • Localization

LolHacksRule, posted Mon Jan 27, 2020 4:25 am (53534)


What SDFDATA file gives you errors?
  • Author
  • Localization

costelabr, posted Tue Jan 28, 2020 1:03 am (53549)


LolHacksRule wrote:
What SDFDATA file gives you errors?

is the script i find one os Cosmic and works fine now to extract... but in reimport have issues, i trying to translate this game
  • Author
  • Localization

LolHacksRule, posted Tue Jan 28, 2020 2:00 am (53550)


I don't think the script works with that...
  • Author
  • Localization

costelabr, posted Thu Jan 30, 2020 11:59 pm (53610)


script is for extract files, now i can extract perfect, but if try use same script to reimport shows error in game no work
  • Author
  • Localization

LolHacksRule, posted Fri Jan 31, 2020 12:01 am (53611)


Yeah I know that
  • Author
  • Localization

XDM Inc, posted Tue Mar 07, 2023 9:06 am (75732)


did anyone ever get to the root of this? also would this be applicable to sparks of hope? im trying to get models from that game.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.