Extracting savegames without trucha August 19, 2010 12:40AM | Registered: 13 years ago Posts: 9 |
Re: Extracting savegames without trucha August 19, 2010 04:15AM | Admin Registered: 14 years ago Posts: 5,132 |
Re: Extracting savegames without trucha August 20, 2010 05:54PM | Registered: 13 years ago Posts: 9 |
Re: Extracting savegames without trucha August 21, 2010 12:16AM | Registered: 13 years ago Posts: 234 |
Re: Extracting savegames without trucha August 21, 2010 09:41AM | Registered: 13 years ago Posts: 9 |
Quote
giantpune
you dont need trucha bug to read files from the nand. you will need to do some trickery to get the IOS to let you access those files. most of the stuff you are trying needs really old IOS or patched up IOS to work like you are expecting it to... ES_Identify, ES_SetUID, ISFS_Open( some random file ). there is, however a really simple way that will work on the newest of IOS with no patches.
just open the game partition of that game. that it, put the disc in your wii, open the partition at 0xf800000 and you get access to that game's save data. basically it just tells the DI in the IOS to do its own ES_Identify(). you can test this by doing ES_GetTitleID(). it will usually give you nothing, error, or using the latest HBC & libogc, it will give you the TID of HBC. then open the game partition and check the TID again.
other possible options includes reading the nand directly from the PPC. you can use the MINI and ppcskel/brickmii as a template. the code is enough to read the entire contents of the nand without dealing with permissions. the drawbacks of doing it this way are
1) if you use the MINI route, there is not libogc and all the nice framework libraries. youre stuck with basic GFX and no ubs/network/etc
2) with the ahbprot given by HBC now, it is possible to read the nand directly from PPC and have no permission issues. But as of now, I dont think there is publicly available a library made for this. you would have to write one, convert the one from MINI, or something like this.
given the available options, the easiest that is guaranteed to always work is just opening the game partition.
Re: Extracting savegames without trucha August 23, 2010 10:18AM | Registered: 13 years ago Posts: 234 |
Re: Extracting savegames without trucha August 24, 2010 10:12AM | Registered: 13 years ago Posts: 9 |
Re: Extracting savegames without trucha August 27, 2010 10:05PM | Registered: 12 years ago Posts: 1 |
Does anyone have sample code for opening the game partition? I'm writing an application to deal with the SMG2 save file and I can't find it anywhere.Quote
giantpune
just open the game partition of that game. that it, put the disc in your wii, open the partition at 0xf800000 and you get access to that game's save data. basically it just tells the DI in the IOS to do its own ES_Identify(). you can test this by doing ES_GetTitleID(). it will usually give you nothing, error, or using the latest HBC & libogc, it will give you the TID of HBC. then open the game partition and check the TID again.
Re: Extracting savegames without trucha August 28, 2010 10:31AM | Registered: 13 years ago Posts: 234 |