Project

General

Profile

Actions

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 almost 15 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

WAD installation :

seems to be as easy as:

  1. place the WAD file in:
    <Dolphin Directory>\User\Wii\title&lt;title1>&lt;title2>
    and call it CONTENT

  2. copy the ticket section from the WAD to
    <Dolphin Directory>\User\Wii\ticket&lt;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.

Actions #1

Updated by itsnotmailmail almost 15 years ago

And here's the patch uploaded in a place with less garbageware in it:
http://pastebin.com/m6339a5ae, whoops.

Actions #2

Updated by itsnotmailmail almost 15 years ago

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.

Actions #3

Updated by hrydgard almost 15 years ago

  • Status changed from New to Work started

applied.

Actions #4

Updated by hrydgard almost 15 years ago

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.

Actions #5

Updated by XTra.KrazzY almost 15 years ago

do want.

Actions #6

Updated by itsnotmailmail almost 15 years ago

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.

Actions #7

Updated by Anonymous almost 15 years ago

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?

Actions #8

Updated by death2droid almost 15 years ago

Yeah that's what i was thinking.

Actions #9

Updated by XTra.KrazzY almost 15 years ago

the problem is that it doesn't work with other wads :( (not DLC I presume)

Actions #10

Updated by itsnotmailmail almost 15 years ago

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?

Actions #11

Updated by hrydgard almost 15 years ago

  • 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.

Actions #12

Updated by itsnotmailmail almost 15 years ago

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).

Actions #13

Updated by dannyphantom1303 almost 15 years ago

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

Actions #14

Updated by itsnotmailmail almost 15 years ago

  • 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.

Actions #15

Updated by dannyphantom1303 almost 15 years ago

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

Actions

Also available in: Atom PDF