Anyone wanna help get this game running on Visual Boy Advance?

Discussion in 'Other Handhelds' started by Mr.ButtButt, Jan 10, 2017.

  1. froggestspirit

    Member froggestspirit D/P/Pt Demix Guy

    Joined:
    Jul 28, 2011
    Messages:
    946
    Country:
    United States
    It was mainly patches for pokemon, but for larger scale things, I coded in the ASM language (which get's converted to hex)
    If you know GBz80 asm, it isnt hard to step through it with BGB to see what hiccups
     


  2. Logan Pockrus

    Member Logan Pockrus Knawledge is key.

    Joined:
    Jan 1, 2016
    Messages:
    1,305
    Country:
    United States
    I don't know GBx80 asm, but what you're saying makes sense (thinking about assembling, well, assembly and dumping the executable's opcodes to create shellcode...which is in hex).

    Anyway, I thought you meant you literally opened up a hex editor and drafted a full-scale application solely in hex. And you should've stuck with it. You could've had superpowers in my eyes. :lol:
     
    Mr.ButtButt likes this.
  3. Mr.ButtButt
    OP

    Member Mr.ButtButt The Cancer Of Gbatemp <3

    Joined:
    Sep 22, 2015
    Messages:
    1,446
    Country:
    United States
    Yeah, that Taizou, guy!
    Or maybe the guys who made Hhugboy
     
  4. Robert McCoy

    Member Robert McCoy GBAtemp Regular

    Joined:
    Apr 9, 2015
    Messages:
    255
    Country:
    United States
    I emailed Taizou and asked if he could explain unlicensed games and why they only run in his emulator.
     
    Mr.ButtButt likes this.
  5. Mr.ButtButt
    OP

    Member Mr.ButtButt The Cancer Of Gbatemp <3

    Joined:
    Sep 22, 2015
    Messages:
    1,446
    Country:
    United States
    I'm looking through the source of hhugboy, to see if I can see exactly how it determines to patch the code.
     
    Robert McCoy likes this.
  6. Mr.ButtButt
    OP

    Member Mr.ButtButt The Cancer Of Gbatemp <3

    Joined:
    Sep 22, 2015
    Messages:
    1,446
    Country:
    United States
    I got the rom info for each version if anyone's interested as well
    I got this from the hhugboy emulator.
    rom info.png
     
    SahierKHLover and Robert McCoy like this.
  7. Robert McCoy

    Member Robert McCoy GBAtemp Regular

    Joined:
    Apr 9, 2015
    Messages:
    255
    Country:
    United States
    I feel like I'm about to give up. This is only an issue for Unlicensed games in general. There's not enough interest on the web for running unlicensed games via emulators or otherwise being as the actual cartridge will run it on the said console. This is an issue for bootleg games as homebrew games are coded by users and run just fine because most of them are hacks of licensed games so you'd have to edit each individual unlicensed game to run on virtual consoles. There's not much support for these issues and the only one that can run it is Taizou's emulator. So someone would need to port his emulator to the 3ds to make these types of games run.
     
    Mr.ButtButt likes this.
  8. Mr.ButtButt
    OP

    Member Mr.ButtButt The Cancer Of Gbatemp <3

    Joined:
    Sep 22, 2015
    Messages:
    1,446
    Country:
    United States
    so they're hard-coded? meaning you can't just edit it out?
    This blows. I thought we were really onto something..
     
  9. Robert McCoy

    Member Robert McCoy GBAtemp Regular

    Joined:
    Apr 9, 2015
    Messages:
    255
    Country:
    United States
    it is possible to edit the rom because Taizou said,

    "the major thing with this emulator is it supports Sintax and Li Cheng mappers on unmodified copies of their roms (ie the "raw dump" versions I've posted previously). I've been hacking these games to make them work on standard emulators, but this has proved a little difficult with a few games, which got me thinking - why not try and emulate their mappers instead? and so.. I did. Those two, anyway. Li Cheng's was easy, Sintax's was a bit more work and isn't 100% perfect (new dumps may or may not run, but most should). Also, for any other emu authors or other interested parties, I'm going to document those two as much as I can at some point soon."

    in regards to why he made an emulator.


    edit: what he did was fix the header of the game so it could be read by a normal emulator

    edit2: i just really REALLY want to get bootleg games running on the VC of the 3DS lol
     
    Last edited by Robert McCoy, Jan 10, 2017
    Mr.ButtButt likes this.
  10. Mr.ButtButt
    OP

    Member Mr.ButtButt The Cancer Of Gbatemp <3

    Joined:
    Sep 22, 2015
    Messages:
    1,446
    Country:
    United States
    Did he every succeed with Hitek? because that's the type of encryption that he, himself, called this one. It's in the code for him emulator, but I couldn't find anything further? Maybe it's similar to the Li Cheng games, and just needs its header fixed?
     
  11. zfreeman

    Member zfreeman GBAtemp Regular

    Joined:
    Mar 9, 2013
    Messages:
    251
    Location:
    Pennsylvania
    Country:
    United States
    In reference to the original Chinese version; quotes from ROM sites:

    "Terrifying 911. What an interesting cart. Certainly the most advanced bootleg i've seen. I dumped the cart and fixed up a few lines of code that were triggering bank switching at the wrong time. Attached the ROM. Edit: Bounced back from your email server, I'll upload it some place.

    Not sure if you tried to dump with my Joey but the cart header says its only 64kbytes so thats all that gets dumped. If you dump under the BV cart it'll do a full 8mbyte dump. Look in a hex editor for a repeat of the header and crop the ROM. In this case it was 2mbytes.

    Fixed up the header, it clearly has an MBC, I selected MBC5 which makes sense with the bank switching at address 0x2000/0x2001

    It still wouldn't boot so I trapped all writes to the carts MBCs. I found two rouge writes at around 0x2500. I nop'd these two writes and we're good to go!"

    "The original cart utilizes a custom mapper which is not an MBC5 as the header states. What Ben has done is dumped the first 32Kb and placed code breaks at mapper calls in an emulator, then replaced the custom addresses with MBC5 addresses. By doing this, he was able to dump each 32Kb bank one-by-one until we have this complete ROM. Now the cart will run in emulators and on real hardware."

    "Their protection is almost identical to BBD's, but they make much better use of it (they switch modes while the game is running, while BBD just sets one at the beginning and that's it; also the cart initialises in a mode that prevents the entire ROM from being read, similar to VF's GBA games), so it's not so easy to hack out. Hence why only Li Cheng ever did it, I guess. So, for now, these games will only run in hhugboy v1.1.8 and up."
     
    Last edited by zfreeman, Jan 10, 2017
    Mr.ButtButt likes this.
  12. Sonic Angel Knight

    Member Sonic Angel Knight GBAtemp Guru

    Joined:
    May 27, 2016
    Messages:
    5,555
    Location:
    New York
    Country:
    United States
    Us americans aren't smart enough to compete with chinese tech. TOO STRONK! ABANDON SHIP! :blink:

    Those pirate rom hackers bootleggers are on another level! :wtf:

    Joking aside, is only possible to either hack the rom to work on the emulator, or mod the emulator itself. Try finding other versions of the emulator to see if it work or something. This is the same issue with Pier solar genesis rom. A unlicensed homebrew project that is 8MB File size, only some emulators can play it. Kega fusion can't play it, cause it doesn't support roms over 5MB, which a lot of the emulators don't do for obvious reasons. But Genesis plus cores can, also this game plays on real genesis like normal so is just how some emulators are. Unless you tried it on a actual gamboy color (Or GBA) maybe buy a everdrive for the GBC or something.:ninja:
     
    Mr.ButtButt likes this.
  13. sarkwalvein

    Member sarkwalvein GBAtemp Addict

    Joined:
    Jun 29, 2007
    Messages:
    2,757
    Country:
    Argentina
    I am amazed how a pervert morbid fascination can work as fuel for making such an amazing piece of software.
    Hell, a FMV intro and a quite good reproduction of Metal Slug... On the Gameboy color?!
    These guys were really motivated for all the wrong reasons, but nonetheless what an interesting resulting product.
     
    Mr.ButtButt likes this.
  14. Mr.ButtButt
    OP

    Member Mr.ButtButt The Cancer Of Gbatemp <3

    Joined:
    Sep 22, 2015
    Messages:
    1,446
    Country:
    United States
    so do you think if those guys had the new English ver., they'd be able to eventually get the English ver. working too?
     
  15. Mr.ButtButt
    OP

    Member Mr.ButtButt The Cancer Of Gbatemp <3

    Joined:
    Sep 22, 2015
    Messages:
    1,446
    Country:
    United States
    I just tweeted to Taizou, and i'll wait till he responds.
     
  16. SahierKHLover

    Member SahierKHLover GBAtemp Regular

    Joined:
    Feb 9, 2016
    Messages:
    189
    Location:
    Guess
    Country:
    United States
    so Mr.ButtButt how is going for terrifying 9/11 any progress I am in school so yeah
     
    Mr.ButtButt likes this.
  17. Mr.ButtButt
    OP

    Member Mr.ButtButt The Cancer Of Gbatemp <3

    Joined:
    Sep 22, 2015
    Messages:
    1,446
    Country:
    United States
    No luck so far with anything. However, we may have some good pointers? Maybe editing/patching/or swapping the game header would work? But this is purely speculation at this point..
     
  18. Mr.ButtButt
    OP

    Member Mr.ButtButt The Cancer Of Gbatemp <3

    Joined:
    Sep 22, 2015
    Messages:
    1,446
    Country:
    United States
    Taizou responded:
    hack.png
     
  19. sarkwalvein

    Member sarkwalvein GBAtemp Addict

    Joined:
    Jun 29, 2007
    Messages:
    2,757
    Country:
    Argentina
    So Mr. ButtButt, how are you doing with the Chinese classes?
     
    Mr.ButtButt likes this.
  20. Mr.ButtButt
    OP

    Member Mr.ButtButt The Cancer Of Gbatemp <3

    Joined:
    Sep 22, 2015
    Messages:
    1,446
    Country:
    United States
    haven't gotten around to it, unfortunately. Been working on Japanese LOL
     

Share This Page