Emulator Issues #1016
closed
Please support WAD installation and fix a small reported bug that prevents loading FF4:TAY DLC (once installed)
Added by itsnotmailmail over 15 years ago.
Relates to performance:
No
Relates to maintainability:
No
Description
WAD installation :
seems to be as easy as:
-
place the WAD file in:
<Dolphin Directory>\User\Wii\title<title1><title2>
and call it CONTENT
-
copy the ticket section from the WAD to
<Dolphin Directory>\User\Wii\ticket<title1>
and call it <title2>.tik
FF4:TAY DLC:
FF4:TAY will read from indices that may or may not exist in the DLC
(depending on the amount of content on the DLC).
If it reads from an index that doesn't exist in the DLC, DOlphin should
probably return some sort of an error (0xffffffff seems to work fine,
http://uploading.com/files/CMLD4QE6/patch.patch.html )
Currently, it simply crashes once the game begins reading from an
non-existant index.
Thanks.
And incase you're wondering, FF4:TAY's DLC is indeed recognized and runs fine once
the DLC is installed and the bug is corrected.
- Status changed from New to Work started
BTW, if someone wants to automate DLC installation, let's track that in this issue and
close it as Fixed when that's done.
Thanks itsnotmailmail.
Well, sadly I tried to do the same thing with my MegaMan9's DLC and Bubble Bobble's
DLC and neither worked. Maybe other things are needed for those games (Having the
shop channel installed? Other stuff?).
Anyway, here are more precise instructions on how to manually install FF4's DLC
(specifically):
copy the DLC WAD to "...\User\Wii\title\00010005\77463445" and rename it to CONTENT
(no extension!)
copy the 676 (0x2a4) bytes from offset 0xa40 in the file into a new file which is to
be put in "...\User\Wii\ticket\00010005" (notice the "ticket" instead of the
"title") and to be named "77463445.tik".
That should work for FF4:DLC.
so what is a good way to automate that?
i'm assuming:
dolphin is handed a wad,
identifies it as a DLC package,
extracts ticket,
copies files to correct places.
see any roadbumps there?
Yeah that's what i was thinking.
the problem is that it doesn't work with other wads :( (not DLC I presume)
Okay, I got Megaman's and Bubble Bobble's DLCs working:
Alongside the previous instructions:
Create two files - each must be 32 bytes in size (contents seem irrelevant).
Place one in "\User\Wii\shared2\succession", and call it "shop.log"
Place the other in "\User\Wii\shared2\ec", and call it "shopsetu.log"
(I suppose you could also get those from your NAND, but they're nothing special, it
seems)
Apply the following patch:
http://pastebin.com/mbcb106
This implements the StoredTmd commands. (it also initializes some variables that
weren't initialized before, but that's unrelated)
Xtra.KrazzY - does it still not work? If so, which WADs does it not work with?
- Status changed from Work started to Accepted
Thanks itsmailmail. I gave you commit access, feel free to commit your patch, as well
as some code that creates the two log files if they're not there, if you like.
Whoops - After looking at the actual directory structure of a NAND, I realized that
dolphin has a small bug in CWII_IPC_HLE_Device_es::CreateTitleContentPath that makes
it read installed content from the file ".../content" instead of from the directory
".../content/".
SO in order to really install WADs (and thus allow content in real NAND dumps to be
regarded as installed), one has to write portions of the WAD to various files in the
content directory (Dolphin already has a function that reads those files from a
directory - CNANDContentLoader::CreateFromDirectory).
Can you please elaborate more on what to do with the patch and basically really
really simplify the method to get the Final fantsay 4 Dlc to work on dolphin.
I have no idea how to code and I must play this game.
I am now trying to figure out my way through the first method posted above and I
have no clue what I am doing ,When you say place the .WAD file user\wii\title1
\title2 do you mean the main game .wad or the dlc .wad?
Like I said I have no clue where to begin,Also I am using the already compiled
version of dolphin.
Thanks
- Status changed from Accepted to Fixed
Dolphin revisions r3474 and above will automaticly install DLC WADs.
Don't follow the instructions in this topic as they are not fully correct.
And where can I get a compiled version of 3474 or later?
And is there anything else I need to do to it?
I appreciate the reply as you just saved me a ton of headache.
the latest build I see on there is 3402
Also available in: Atom
PDF