dimok789 / loadiine_gx2

A WiiU SD Loader with GX2 GUI
GNU General Public License v3.0
287 stars 78 forks source link

Crash when loading a single title of Yakuza 1 & 2 HD #146

Open Nuxx5 opened 7 years ago

Nuxx5 commented 7 years ago

Hi there,

I used DDD to dump this game and the dumping process seemed to be going smoothly. Process finished successfully and the whole thing took 20 GB of space on my HDD.

I then tried to boot it in 3 different ways, but they all gave errors at the same point exactly, just after a few logo screens and when I see the title selection screen where I have to choose between the two games, whenever I Choose one of them, it gives a short loading screen and then a different error:

Running it directly with DDD as part of the dumping process - no error code, just sends me back to the wii u home screen.

Loadiine 0.3 latest build Mii Maker Mode - "there is a problem with the system memory" error

Loadiine 0.3 latest build Smash Mode - "error reading from game disc"

Just to make sure everyone is aware, the game is Japanese and console is US (5.5.1)

Any ideas how to fix this one?

Thanks in advance!

CreeperMario commented 7 years ago

Have you performed the region-cross patches for your game? Not sure what these are for Yakuza, but in terms of Super Mario 3D World, you need to change two folders somewhere called US_en to EU_en to jump from US to EUR.

Nuxx5 commented 7 years ago

I didn't find any folders with JP or other region specific marks. It seems as two RPLs are missing, one for each title, and I cannot dump them because I would need to enter the actual titles from the menu while DDD is still dumping in order to for it to access those. So I'm not sure how to proceed from here.

Maschell commented 7 years ago

The rpl will dumped when the game is loading them. Simply start ddd, start the game and select the actual game.

Nuxx5 commented 7 years ago

the initial/general RPL was dumped, the other two are only available when you play further in one of the titles. The game is actually a compilation of two games. Since I cannot boot any of them without crashing, there is not enough access or time for DDD to dump those.

Maschell commented 7 years ago

Do you know the name of rpl files?

Nuxx5 commented 7 years ago

Yes, I was only able to dump the standard launcher.rpl the ones missing are Ogre1.rpl and Ogre2.rpl

This is what I have in the dumped folders:

/CODE: app.xml, cos.xml, launcher.rpl, OgreBoot.rpx /CONTENT/OGRE1: Ogre1_Debug.cpk, Ogre1_Media1.cpk, Ogre1_Media2.cpk, Ogre1_Media3_1.cpk, Ogre1_Media3_2.cpk, Ogre1_Media3_3.cpk /CONTENT/OGRE2: Ogre2_Media1.cpk, Ogre2_Media2.cpk, Ogre2_Media3_2.cpk, Ogre2_Media3.cpk, Ogre2_Media5.cpk

I also dumped /META and /SAVE but they aren't relevant for booting it successfully

Maschell commented 7 years ago

It would possible to aquire the rpl files without actually beeing loaded from the game, then it should be loaded. If you need help with this, I could build you a special version for dumping rpl's tomorrow

Nuxx5 commented 7 years ago

Thank you so much! I am very interested, I imported this game in hopes to be able to play it here in the states on a US console :)

Might be worth mentioning that I'm using the Mac OS X version of DDD.

I also have Loadiine's TCP Server logs if that helps

Another question - is there any way to utilize DDD to boot and play out of region games like this one and serve as a region-free solution? would be nice to play the original disc rather than a backup

Nuxx5 commented 7 years ago

Ok, so I finally managed to dump these rpl's using a different build of DDD, but still getting the same errors... With that particular build DDD dumped the CODE folder and closed connection, the white splash screen remained even after that, I wasn't able to get into the game and try to enter menus etc in order to dump more files, if there are any, so that might be the issue, not sure?

Maschell commented 7 years ago

"the game still is not working normally but renaming ogre1.rpl into launcher.rpl makes it to launch in loadiine !" The problem is the launcher.rpl.

ddd version that forces the game to aquire the "Ogre1.rpl" and "Ogre2.rpl" before dumping the code folder is attached.

I only changed the if statement in the following line: https://github.com/dimok789/ddd/blob/ca33ad1c759a0b67db33eedcf7fc4537198aad9c/src/discdumper.c#L398

 if(strncasecmp(pPath, "/vol/code", strlen("/vol/code")) == 0)
     {
        unsigned int rpl_handle = 0;
        OSDynLoad_Acquire("Ogre1.rpl", &rpl_handle);
        unsigned int rpl_handle_2 = 0;
        OSDynLoad_Acquire("Ogre2.rpl", &rpl_handle_2);
        u8DumpingPaths = 1;
         DumpCodeXmls(sendData);
         DumpRpxRpl(sendData);
     }

The issue will be open until the actual problem is solved.