Reverse Engineering Kirby's Dream Collection VC

Discussion in 'Wii - Hacking' started by CatmanFan, Apr 7, 2017.

?

What do you think?

  1. This is really interesting!

    14 vote(s)
    87.5%
  2. I'd rather use VBA GX.

    0 vote(s)
    0.0%
  3. Both

    2 vote(s)
    12.5%
  1. CatmanFan
    OP

    CatmanFan nope

    Member
    1,285
    408
    Aug 14, 2016
    Morocco
    I managed to extract the Virtual Console partition of Kirby's Dream Collection. It was simply just a folder named "vc" located in the ISO's file directory, and this is what I found:

    [​IMG]

    Each game folder contains an emulator .dol and a ROM. While all of this may seem uninteresting, what I'm really concerned about is the Game Boy Virtual Console. The ROMs are in the same format as the Game Boy Virtual Console on 3DS, meaning that they can be renamed to .gb files and vice versa without issues. I got the Game Boy ROMs from this partition and renamed them to .gb extension, and they run perfectly fine on the Visual Boy Advance emulator. Color palettes even work, mind you. I did try to run the .dol files on Dolphin, but none of them worked. This special kind of Virtual Console does support 16:9, Wii Remote input with SNES/N64, and custom borders, so it's a win-win. And it's not just me, either. @SuperrSonic has managed to make the Game Boy games into injectable WADs using a more complicated form of reverse engineering. Watch it for yourself:


    I just need help on how to make the games into WADs. If you have any questions or solutions, answer them here.
     
    Last edited by CatmanFan, Apr 15, 2017
    8BitWonder and DarthDub like this.
  2. CeeDee

    CeeDee hm?~

    Member
    3,827
    5,384
    May 4, 2014
    United States
    somewhere
    This is an interesting idea. Especially because they take Wii Remote input, whereas VC doesn't.
     
    CatmanFan likes this.
  3. CatmanFan
    OP

    CatmanFan nope

    Member
    1,285
    408
    Aug 14, 2016
    Morocco
    Thanks, but how do you think they're taking Wii Remote input?
    EDIT: I get it now, you're talking about SNES/N64 Wii Remote input.
     
    Last edited by CatmanFan, Apr 7, 2017
    CeeDee likes this.
  4. eduall

    eduall GBAtemp Regular

    Member
    254
    56
    May 29, 2014
    I was playing KIRBYDC days ago and I was curious to see the ISO files, I wondered if could revive the N64 by applying reverse engineering to those data ... so someone did it (The user in youtube than made VC wad), just try and dedicate yourself. I hope to someday play N64 without problems in my wii
     
    boomerang42 and CatmanFan like this.
  5. DarthDub

    DarthDub Amateur Hacker

    Member
    1,068
    815
    Jan 26, 2016
    United States
    Your mom's basement.
    Makes me wanna rip my own copy of that game and fiddle around with the filesystem.
     
    CatmanFan and eduall like this.
  6. CatmanFan
    OP

    CatmanFan nope

    Member
    1,285
    408
    Aug 14, 2016
    Morocco
    Especially considering this "Kirby" N64 VC uses Wii Remote input, 16:9 format and custom borders, but I doubt it has better compatibility with injecting N64 games. "Kirby" Game Boy VC would fare off better though.
     
  7. eduall

    eduall GBAtemp Regular

    Member
    254
    56
    May 29, 2014
    OMG this works! i run the "ROM" of the N64 kirby from this game to another emulator and runs without problem, it means than can RUN N64 ROMS... im goin to make test of this!! :D
     
    CatmanFan likes this.
  8. CatmanFan
    OP

    CatmanFan nope

    Member
    1,285
    408
    Aug 14, 2016
    Morocco
    Oh, wow. I'm not surprised actually, as I did the same thing with the Game Boy Kirby games and they run flawlessly. Check the OP for more details.
     
    KiiWii likes this.
  9. eduall

    eduall GBAtemp Regular

    Member
    254
    56
    May 29, 2014
    for me not work.
    Rom was changed by 2 differents n64 roms (Same REGION ntsc) and after logo "N64" it turns black screen and wii freeze :S

    i try with:
    *Doom 64
    *Mario party 3
     
    Last edited by eduall, Apr 16, 2017
    CatmanFan likes this.
  10. maciek12305

    maciek12305 Newbie

    Newcomer
    3
    4
    Aug 12, 2011
    Poland
    Played a bit with it and got it to run n64 games.

    The emulator needs roms with different endianness for injection. I wrote a small programm that changes those for every 2-byte pair.
    Compatibility isn't great, but this standalone emulator version lets you play with the normal wiimote like said before so maybe its useful to someone out there.

    Tested a few games on dolphin emulator because i'm lazy :sleep:
    Pilotwings 64 - works with small glitches
    Super Mario 64 - works
    Mario Party - glitches, crashes after a while
    F-Zero - works
    Doom 64 - crash/black screen
    F-1 World Grand Prix - crash after title screen
    Micro Machines 64 - works
    Quake 64 - crash/black screen
    Destruction Derby 64 - hangs before menu reached
    Bomberman 64 - crash/black screen
    Turok - crash/black screen

     
    eduall, DarthDub and CatmanFan like this.
  11. CatmanFan
    OP

    CatmanFan nope

    Member
    1,285
    408
    Aug 14, 2016
    Morocco
    How did you do this? And also can you send me the program you made in a PM please?
     
  12. maciek12305

    maciek12305 Newbie

    Newcomer
    3
    4
    Aug 12, 2011
    Poland
    Just replaced the "rom" file from "\files\vc\64_k64\" with the fixed file from my tool. The programm is uploaded as an attachment, maybe someone else will try it out. :D
    I've also replaced the main.dol from Kirby with the n64 emulator ".dol" so that it boots directly to the emulator and skips all menus.
     

    Attached Files:

    Last edited by maciek12305, Sep 17, 2017
    eduall likes this.
  13. eduall

    eduall GBAtemp Regular

    Member
    254
    56
    May 29, 2014
    someone please make a compatibility list for this! :unsure:
     
  14. dAVID_

    dAVID_ GBATemp Enthusiast

    Member
    646
    503
    Oct 23, 2016
    Mexico
    Your basement
    This could be the future of N64 on the Wii!
     
    CandraSoftware and eduall like this.
  15. CatmanFan
    OP

    CatmanFan nope

    Member
    1,285
    408
    Aug 14, 2016
    Morocco
    I was able to inject Pokémon: Red Version into the Kirby's Dream Land GB emulator. I think there were a few graphical glitches, but it plays perfectly.
    I also injected Tom and Jerry: Fists of Furry into the Kirby 64 emulator using the N64 Wii Romfixer @maciek12305 provided me. Crashed at character select screen.
     
    eduall likes this.
  16. eduall

    eduall GBAtemp Regular

    Member
    254
    56
    May 29, 2014
    Last edited by eduall, Sep 24, 2017
    CatmanFan likes this.