Darklord DLC on NAND emu

Discussion in 'Wii - Hacking' started by hotsammysliz, Nov 3, 2009.

Nov 3, 2009

Darklord DLC on NAND emu by hotsammysliz at 11:47 AM (5,612 Views / 0 Likes) 21 replies

  1. hotsammysliz
    OP

    Newcomer hotsammysliz Member

    Joined:
    Mar 31, 2009
    Messages:
    29
    Country:
    United States
    Ive been trying this over and over with failure every time. I have FFCC life as a darklord installed on my usb nand and that works fine using triiforce mrc v6. but when i try to install the dlc with wad manager 1.5 i get an error ret = -1024 every time. i have the correct ios (53 & 55) installed on both the usb nand and my wii nand and when i install the dlc to my usb nand on my pc through ShowMiiWads i get the "error accessing wii memory" screen when i try to load up ffcc: my life as a darklord. can anyone help on this?

    my wii is 4.1u, cios38 rev14.
     


  2. hotsammysliz
    OP

    Newcomer hotsammysliz Member

    Joined:
    Mar 31, 2009
    Messages:
    29
    Country:
    United States
    bump.... anyone please??
     
  3. giantpune

    Member giantpune GBAtemp Addict

    Joined:
    Apr 10, 2009
    Messages:
    2,860
    Country:
    United States
     
  4. hotsammysliz
    OP

    Newcomer hotsammysliz Member

    Joined:
    Mar 31, 2009
    Messages:
    29
    Country:
    United States
    i did give it a day lol
     
  5. papermanzero

    Member papermanzero GBAtemp Fan

    Joined:
    Nov 20, 2009
    Messages:
    327
    Country:
    Germany
    Got the same problem, with Triiforce beta 7 and Wad Manager 1.5 (System 4.2E).

    I installed FFCC Darklord and MLAAK.
    But if I try to install DLC with Wadmanager 1.5 I will get the ret -1024 error.
    Usually this error means "Memory allocation failure".

    First I thought it's the DLC.
    But I tested to install the DLC of Megaman9 and it worked.

    Therefore, I am at a loss.
    What could be the issue?
     
  6. vigilantez

    Newcomer vigilantez Newbie

    Joined:
    Nov 19, 2009
    Messages:
    9
    Country:
    Canada
    i cant use triiforce since it only gives em errors and or black screen and locks up my wii but if your using emu on sd or hdd take it to your pc download and execute ShowMiiWads set your nand emu location and open folder where your dlc wad is right click on that wad and Extract -> to NAND
    now goto your wii and see if it works
     
  7. papermanzero

    Member papermanzero GBAtemp Fan

    Joined:
    Nov 20, 2009
    Messages:
    327
    Country:
    Germany
    I tried showmiiwad and wad2nand.

    Showmiiwad is a useful tool, but has one issue. Showmiiwad will destroy the nand dump.
    I tested to extract the wad files to the nand, but after all my nand was corrupted so that every game showed a black screen.

    wad2nand will create two folders (a ticket and a title folder) with the content.
    But some Games are creating more files and links. For example in the shared folder of the nand.

    The best and safest method to install games to a nand dump is imo the wad Manager.
    But as I described, the only problem is, that the wad manager will get an error during the install process.
    (the wad files are okay and not damaged)
     
  8. longtom1

    Member longtom1 Keep an eye on my posts cause I quick edit frequen

    Joined:
    Jan 12, 2009
    Messages:
    2,641
    Location:
    Honey Oils inc.
    Country:
    Antarctica
    have used wad2nand and never had any other folders apart from ticket and title when extracted from a wad
     
  9. papermanzero

    Member papermanzero GBAtemp Fan

    Joined:
    Nov 20, 2009
    Messages:
    327
    Country:
    Germany
    And this is the problem.
    Wad2nand just creates 2 Folders.
    But in this case the DLC of FFCC need more files to run.

    I tested to extract the DLC wad file with wad2nand and copied the files to an usb drive (folder structurs are correct).
    But FFCC Darklord / MLAAK don't recognize the DLC Content.
    Means, there have to be more in the wad.
     
  10. Slimmmmmm

    Member Slimmmmmm GBAtemp MoNkEeE

    Joined:
    Nov 1, 2007
    Messages:
    1,687
    Location:
    the land of lol
    Country:
    United Kingdom
    What you need to do is install the game, DLC and save to your REAL nand first. Then move them over manually to your emulated NAND. You must also add the entries to your uid file.
     
  11. papermanzero

    Member papermanzero GBAtemp Fan

    Joined:
    Nov 20, 2009
    Messages:
    327
    Country:
    Germany
    I see.
    So it's impossible to add the DLC on the emulated Nand?
    Where is the difference between the real and the emulated nand (concerning this issue)?
    And why can I add the dlc of Megaman9?

    The UID.sys contains the IDs. So far as I know the dlc won't add an UID entry.
     
  12. Slimmmmmm

    Member Slimmmmmm GBAtemp MoNkEeE

    Joined:
    Nov 1, 2007
    Messages:
    1,687
    Location:
    the land of lol
    Country:
    United Kingdom
    No in theory it is 100% possible to add DLC to emulated NAND, but you must copy over everything that has been changed to the emulated NAND, including the shared contents, data, tik and add the relevant changes to any file that is altered when installing the title.

    I've not tried this myself, but all anyone needs to do to check this out is install the wad+DLC to the real NAND, check all works as it should, then dump that NAND, try that NAND dump in triiforce and it *should* work. I'd bet it'll work. If you kept your other nand dump with all your games on it you'd then just make the relevant changes to it and have all you other games, plus the new one that has DLC.

    There is no reson it wont work.

    The steps would be this....

    Someone that hasn't tried to install DLC to emulated NAND would need to try this as someone that has may have corrupt files.

    Go to Wii (it can't have had DLC installed yet)
    Backup NAND to EG: PC > "no_DLC_NAND" folder. This should be a full NAND dump, not stripped down.
    Go to Wii install wad+DLC, check all works and dump that NAND, again a FULL NAND dump.
    Back this up as EG: PC > "DLC_NAND" folder"

    Kinda crap you'd need to swap NAND dumps to play the game so.....

    If you want to go back to using your NAND dump with your other games on it, do this.

    Compare "DLC_NAND" folder" + "no_DLC_NAND" note the changes.
    Get your old NAND dump with all your games on it and make the changes, you should now have a NAND dump with everything on it.

    I really cant see why it wont work, I have no time to test this myself but am 110% sure someone that understands what I mean can get it working.
     
  13. papermanzero

    Member papermanzero GBAtemp Fan

    Joined:
    Nov 20, 2009
    Messages:
    327
    Country:
    Germany
    I believe it's a bug in the cios emulator.
    That's why you cannot install some (or special) wads with wad manager 1.5.

    The Data comparison is a good idea. Got a similar idea yesterday.
    I wanted to compare the installation of magaman9 dlc with "non megaman9 dlc" nand.
    After, I would install the dlc of FFCC manually to the nand (by adding files, folders and file changes) in an analogous way.

    But it's hard to find out which folders/files are affected.
    Following files/folders were changed:
    -tickets folder (tik file was added in new folder 00010005)
    -title folder (data and content folder were added in new folder 00010005)
    -shared1 folder (new app files)
    -uid.sys in the system folder

    I also extracted the wad file (showmiiwads) to check which files are in the wad.
    I got
    - app files
    - a tik file
    - a tmd file
    - a trailer file
    - a cert file

    I was wondering about the tmd, trailer and cert file.
    I didn't find any of these 3 files on the nand.
    The cert file could be the certification of the game (which will be checked once during installation), but the other two files are a mystery.
    The next problem is. I got an "new" app file in the title folder on the nand which wasn't in the wad file. So the question is, where does this file come from.

    And here I stopped. ^^

    Your idea to install FFCC DLC directly to the real nand and compare it with the emulated nand is great. But this is what I wanted to avoid.
    The problem I see is the logging of Nintendo (especially the msg files) if you use some Nintendo services/channels.
     
  14. hany

    Newcomer hany Member

    Joined:
    Aug 2, 2009
    Messages:
    23
    Country:
    Sweden
    Wad2nand don't extract DLC, update uid.sys or add shared content. Use ShowMiiWads 1.2! (it won't destroy your NAND dump)

    DLC have its own ID in uid.sys, for MLaaK DLC PAL it's wFCP and the game has WFCP.

    So far I haven't found any DLC that adds content in the shared1 folder. MLaak and Darklord don't.

    The tmd file is in the content folder of the game along with all the app files. The trailer is just garbage?! (usually a copy of the 00000000.app file) and the cert is some nintendo certificate file and is the same for all games and in the sys/cert.sys on NAND.

    The "error accessing wii memory" screen when trying to run Darklord after installing the DLC is because there are to many content files in the DLC (about 40 files) which I'm guessing is a cIOS issue, try and delete files from the DLC directory on emu NAND (not 00000000.app and title.tmd) so you have less than ~20 files and the game will run. But the DLC won't show upp!

    Finally, the reason the DLC from Darklord and most (not all) DLC from MLaaK won't show upp is because the DLC app files, which are U8 compressed archives, have empty recursive folders in them. For some reason they don't get extracted properly if they do. A fix for this is to extract the app files, add a garbage-file in the empty folder and repack it. This can be done with Wii.cs Tools. While this works with MLaaK, Darklord is still limited to ~20 app files. And if you edit the contents of the extracted Darklord app files to have all content in one or fewer files, the game gets unstable and crashes almost randomly.
     
  15. papermanzero

    Member papermanzero GBAtemp Fan

    Joined:
    Nov 20, 2009
    Messages:
    327
    Country:
    Germany

    Thanks !!!
    This is the info which I need.

    Every time I installed the dlc of darklord the memory error appeared.
    So I thought my nand crashed.
    But I haven't thought that the reason is the file capability. (Dlc of darklord are 41 files ^^)

    But @Fixing this issue.
    Can you give me more details?
    Extracting the DLC app on the nand dump?
    which garbage file have to be created?

    Other questions are:
    Why is it working on a real Nand?
    Where are the differences between the real nand installation and the emu nand installation?
    This issue could be fixed. ^^
     
  16. papermanzero

    Member papermanzero GBAtemp Fan

    Joined:
    Nov 20, 2009
    Messages:
    327
    Country:
    Germany
    Okay.
    I tested to extract the app files with u8 decoding and to create a "new" filesystem.
    Didn't help.

    He doesn't recognize the dlc content.
     
  17. Slimmmmmm

    Member Slimmmmmm GBAtemp MoNkEeE

    Joined:
    Nov 1, 2007
    Messages:
    1,687
    Location:
    the land of lol
    Country:
    United Kingdom
    Thanks for the info hany, so it wont work unless the cIOS and/or triiforce provides a fix. Oh well.
     
  18. papermanzero

    Member papermanzero GBAtemp Fan

    Joined:
    Nov 20, 2009
    Messages:
    327
    Country:
    Germany
    Yes it's a cIOS / Nand Emulator issue.

    Tested Slimmmmmm proposal.
    I installed both games to the real NAND, created a savegame and installed the DLC Content.
    Everything is working perfect on the real Nand.

    SimpleFS dump isn't extracting all necessary files (it jumps over the 100005 folder in the ticket folder)
    So I tested to create a whole nand dump with fs tools.
    After a very long dump, I started both games with the usb nand emulator and triiforce.

    Same errors as every time. xD
    Darklord told me, that the wii has not enough memory.
    Life as a King didn't show any Download Content.

    So the problem is still the same.
    The real nand is working with triiforce, means it's a cios / emulator issue.
    That's why the wad manager also gives the error code -1024, if you want to install dlc to a nand dump.


    Conclusion:
    At the moment, it's impossible to run the dlc content of Darklord and Life as a King on an emulated nand.
    Until somebody fixed this issue in the nand emulator / cIOS, dlc can only be played on the real nand.
     
  19. hany

    Newcomer hany Member

    Joined:
    Aug 2, 2009
    Messages:
    23
    Country:
    Sweden
    FFCC DLC Guide
    A quick guide how to make DLC work in MLaaK and partly work in Darklord.

    1. Install the game and DLC to emulated nand with ShowMiiWads 1.2

    2. Move all the DLC .app-files from emu nand (\title0010005\77463250\content for darklord) except 00000000.app for darklord or 0000000d.app for MLaaK to a temp-folder on your HDD.

    3. Extract the .app-files in the temp-folder with ShowMiiWads (Tools/Unpack U8 Archive).

    4. In the newly created folders (000000??_app_OUT) you create dummy-files in the script and packages folders (for example a new text-file named text.txt with the word text in it).

    5. Repack the folders with ShowMiiWads (Tools/Pack U8 Archive/Without Header) overwriting the old file and choosing to not LZ77 compress the file.

    6. Copy the new .app-files (max ~20 for darklord) back to the content-folder of the DLC on emu nand.

    7. Enjoy the game in TriiForce with DLC.

    One drawback is that Darklord sometimes gets (more) unstable and gives the memory read error but MLaaK should work flawlessly.

    When fixing MLaaK DLC you only need to edit .app-files 2, 3, 4, 5, 6, 7, a and b. Also .app-files 12 and e are empty(garbage) so you can delete them.


    Are you sure? Infinity Spire, Castle Renovations, Library and King/Minister Costume 3 should work anyway.
     
  20. papermanzero

    Member papermanzero GBAtemp Fan

    Joined:
    Nov 20, 2009
    Messages:
    327
    Country:
    Germany
    Jeah, I am sure.
    I tested the real nand with triiforce and every content (new levels, Costume, etc) were available.
    If I choose the usb-nand, I won't see any content. No Library, no Costumes, nothing.

    But it's the same nand (nand dump with fstoolbox)
     

Share This Page