Need testing on N64 VC injection (64DD)

Discussion in 'Wii U - Hacking & Backup Loaders' started by LuigiBlood, May 21, 2016.

  1. LuigiBlood
    OP

    LuigiBlood SNES and 64DD Savior

    Member
    170
    70
    Jun 23, 2009
    France
    So, after asking around without success, I end up asking here, hoping to get people who cares about this.

    To sum it up, I found 64DD emulation code in the N64 Virtual Console emulator for Wii U. And I actually mean in what seems to be in working state. Mario Kart 64 also has tons of config files, one of them for Sim City 64, which is a 64DD only game.

    But I'm not able to test it out. So I'm looking for someone who can inject 64DD games AND be able to capture footage of it.

    I want to satisfy my curiosity.

    EDIT: I don't care if the footage is captured on a camera.

    EDIT2: Also yes I would explain how to inject 64DD games. While I know how to do it, I don't know the 64DD disk format it expects.
     
    Last edited by LuigiBlood, May 21, 2016
    KiiWii likes this.
  2. VinsCool

    VinsCool Detached from Reality

    Member
    GBAtemp Patron
    VinsCool is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    12,075
    29,430
    Jan 7, 2014
    Canada
    Another World
    That picked my cutiosity. Could you tell me more?
     
    KiiWii likes this.
  3. KiiWii

    KiiWii GBAtemp Psycho!

    Member
    3,919
    1,433
    Nov 17, 2008
    United Kingdom
    I'm definitely interested. Give us some more info and we will give it a test :)
     
  4. LuigiBlood
    OP

    LuigiBlood SNES and 64DD Savior

    Member
    170
    70
    Jun 23, 2009
    France
    Eh, I guess I should explain how it works.

    So basically, to get a 64DD game to run, the config file should have "RomType = 1" in the [RomOption] settings.
    One of the config files is UDSCJ0.004.ini, DSCJ being the ID for Sim City 64.
    I assume the disk file should be put in the /content/rom folder as "UDSCJ0.004" for Sim City 64. However I do not know which disk dump format it expects. I tried to figure it out but I'm not very experienced at looking at PPC disassembly of Wii U binaries. I was still able to see 64DD emulation code though.

    Also the 64DD IPL ROM should be put as /content/DDROM/iplrom.n64, else it won't work.

    EDIT: I seriously feel like my post was a bit confusing, so let me put it simply what I want to do:
    - Put 64DD IPL ROM in /content/DDROM/iplrom.n64
    - Make sure config file UDSCJ0.004.ini is present (if not, I can provide it, I guess?)
    - Put Sim City 64 Disk Dump in /content/rom/UDSCJ0.004 (and remove other roms I guess?)
    - Run it. Try different disk dump formats unless somehow it works fine. (I only know 3 different formats)
     
    Last edited by LuigiBlood, May 21, 2016
    KiiWii and VinsCool like this.
  5. KiiWii

    KiiWii GBAtemp Psycho!

    Member
    3,919
    1,433
    Nov 17, 2008
    United Kingdom
    Any idea which IPL we need? Or just try all in combination with rom?
    Code:
    "64DD IPL (JPN)" (Retail) [v1.2] NDDJ No-Intro
    "64DD IPL (JPN)" DISK (cartridge) [v1.0] NDDJ NESWorld
    "64DD IPL (JPN)" DISK (cartridge) [v1.1] NDDJ Zoinkity
    
     
  6. LuigiBlood
    OP

    LuigiBlood SNES and 64DD Savior

    Member
    170
    70
    Jun 23, 2009
    France
    Only the retail one. The others cannot be used for emulation at all, it's just there for posterity.
     
    KiiWii likes this.
  7. KiiWii

    KiiWii GBAtemp Psycho!

    Member
    3,919
    1,433
    Nov 17, 2008
    United Kingdom
    I figured this would be the one to use straight after posting, derp.

    Also what is the third dump?

    I have original dump and cartridge port 1.1 rom (converted for ED64), but no third one?
     
  8. duffmmann

    duffmmann GBAtemp Psycho!

    Member
    3,880
    1,613
    Mar 11, 2009
    United States
    Very interesting. I'd be fascinated if a 64DD game were made playable on the Wii U.
     
  9. LuigiBlood
    OP

    LuigiBlood SNES and 64DD Savior

    Member
    170
    70
    Jun 23, 2009
    France
    Cartridge Ports are not a disk dump format. It's just a 64DD game ported to N64 cartridge, it's not a disk format.
    Basically that website you're looking at only provides one disk format, the one that my dumper outputs.
    There's also the MAME disk format (use ddconvert for that), and then the official N64 SDK output format (*.d64). There's no tools to convert to d64 format but it's pretty easy to do.
     
    Last edited by LuigiBlood, May 21, 2016
    KiiWii likes this.
  10. VinsCool

    VinsCool Detached from Reality

    Member
    GBAtemp Patron
    VinsCool is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    12,075
    29,430
    Jan 7, 2014
    Canada
    Another World
    I remember @gamesquest1 was poking at this once, or was it @pedro702 ?

    Anyhow, they could help I think.
     
  11. Wishi

    Wishi Rareware Gamer

    Member
    189
    152
    Nov 24, 2015
    Mexico
    Sounds pretty cool that you found that type of code in Wii U 64 Emulation , hope it works but nothing really excites for me at least not till Conker Bad fur Day or pretty much all rareware games run in the Wii U (BJ and Goldeneye works perfectly ,Perfect dark it's somewhat great though :P )
     
  12. LuigiBlood
    OP

    LuigiBlood SNES and 64DD Savior

    Member
    170
    70
    Jun 23, 2009
    France
    Don't be too excited, because as far as I know, there's no saving support for 64DD. Disk writing doesn't seem to be supported. But it would still be interesting to look at.
     
    VinsCool likes this.
  13. KiiWii

    KiiWii GBAtemp Psycho!

    Member
    3,919
    1,433
    Nov 17, 2008
    United Kingdom
    Ok so using the disc dump .ndd and the iplrom.n64 I have:

    1, Mario kart N64 VC dump.
    2, Replaced rom with NUD-DSCJ-JPN.N64 as UDSCJ0.004
    3, Removed all ini's except for UDSCJ0.004.ini.
    4, Made folder ddrom in content
    5, Put IPL as IPLROM.n64 into <game folder>/content/ddrom/IPLROM.n64
    I think I'm ready to test.

    Anything else you can think of?

    The ini file only contains:
    Code:
    ;SimCity 64
    [RomOption]
    RomType = 1
    UseTimer = 1
    
    I can try various other options from other configs if required.

    FYI: I might need help converting to mame and then to d64 if required, so hold tight.....
     
  14. LuigiBlood
    OP

    LuigiBlood SNES and 64DD Savior

    Member
    170
    70
    Jun 23, 2009
    France
    Check the MAME tutorial on my site for how to use ddconvert, and for d64 format, we'll see about that later.
     
  15. KiiWii

    KiiWii GBAtemp Psycho!

    Member
    3,919
    1,433
    Nov 17, 2008
    United Kingdom
    @LuigiBlood OMG it boots and hangs on the n64 logo coming up from the liquid!

    I have a few pics ill upload. No video yet as I missed it: it was that quick!

    EDIT:

    I can reset the emu and do it again and again, it never boots further... yet:

    [​IMG]

    [​IMG]

    The N64 log twists about 90 degrees anti clockwise and it freezes.
     
    Last edited by KiiWii, May 21, 2016
  16. VinsCool

    VinsCool Detached from Reality

    Member
    GBAtemp Patron
    VinsCool is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    12,075
    29,430
    Jan 7, 2014
    Canada
    Another World
    Wow that's a start!
     
  17. KiiWii

    KiiWii GBAtemp Psycho!

    Member
    3,919
    1,433
    Nov 17, 2008
    United Kingdom
    What a great start!

    While I test I'm making iconTex and bootTvTex tgas.... :)
     
  18. gamesquest1

    gamesquest1 Nabnut

    Member
    GBAtemp Patron
    gamesquest1 is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    14,161
    9,523
    Sep 23, 2013
    yeah i mentioned it a while back, tried adding all the different ipl files but couldn't get any of them to work, nice to know others are looking into it :)
     
    VinsCool likes this.
  19. LuigiBlood
    OP

    LuigiBlood SNES and 64DD Savior

    Member
    170
    70
    Jun 23, 2009
    France
    Usually that means it failed reading the System Area it wants to check.

    So I think MAME format will not work (again, my site has a tutorial for converting it). Try it anyway but I expect the reaction to be same.

    Of course the different IPL files will not work, everything else that's not retail will not even boot at all.
     
    Last edited by LuigiBlood, May 21, 2016
  20. KiiWii

    KiiWii GBAtemp Psycho!

    Member
    3,919
    1,433
    Nov 17, 2008
    United Kingdom
    I will test this in a bit. But I wanted to ask if you think any other config settings might be useful?

    Have you had a look through them? There are a lot of ones that define image size, effects on or off, and then there are ones that are game specific looking at certain regions of games code. Obviously the latter is not of use to us here, but the 1/0 options might be worth testing?