1. zaksabeast

    OP zaksabeast GBAtemp Fan
    Member

    Joined:
    May 24, 2016
    Messages:
    346
    Country:
    United States
    Hey!

    A few days ago, I was digging through a VC disassembly and found what looked like a debug menu. I'm not the first person to find these, but I had never seen it before and decided to make some patches for it.

    The best use for this is being able to speed up or slow down virtual console games. You can download the patches below. :)

    Patches:
    - Full Width Screen
    - Touch bottom screen for debug menu
    - Touch bottom Screen for debug menu, and have `Emulator Speed` patched to have a max of 10 (regular is 4)

    EDIT: If you want full width and the speed 10 debug menu in one patch, LooneyNoons has combined them into one patch that you can download here.

    Usage:
    To use these patches, you'll need the latest Luma CFW.
    1. Download the zip file below
    2. Pick out a patch you want to use and rename it to code.ips
    3. Place your code.ips in '/luma/titles/<title id>/code.ips'
    - Your title id will be different depending on the game you wish to use this patch for

    Notes:
    - Gen 1 and Gen 2 virtual console games have different patches - do not mix them up
    - Gen 1 games are Red, Blue, and Yellow
    - Gen 2 games are Gold, Silver, and Crystal
    - I have not tested them for all regions, but they should work
    - These should only work for Pokemon virtual console games

    Have fun! :D
     

    Attached Files:

    Last edited by zaksabeast, Mar 18, 2018
    OmegaXXII, DrkBeam, DarthDub and 23 others like this.
  2. AyanamiRei0

    AyanamiRei0 GBATemp's Resident Evangelion fanboy.
    Member

    Joined:
    Jan 4, 2016
    Messages:
    1,464
    Country:
    United Kingdom
    Well this is now possible the changerom feature works.

    [​IMG]
     
    Last edited by AyanamiRei0, Mar 15, 2018
  3. dman1987

    dman1987 Member
    Newcomer

    Joined:
    Mar 1, 2018
    Messages:
    12
    Country:
    United States
    • Currently on Luma 9.0-2a840f2.
    • Have the US version of Pokemon Yellow.
    • Renamed g1VC_debugSpeed10_code.ips to code.ips
    • Placed in luma/titles/0004000000171200/

    When I run the Pokemon Yellow VC, all I get is the standard VC menu (Resume Game & Reset) when I touch the bottom screen. Is there anything I could have potentially missed? Very excited to try this; I played through Yellow using RetroArch at increased speed, but my game would only save half the time, and then last week my save randomly vanished. I know if I play through official VC I won't run into any save troubles, and will be able to transfer to Gen 7 without having to use PkHex. :)
     
    Last edited by dman1987, Mar 15, 2018
  4. KunoichiZ

    KunoichiZ GBAtemp Guru
    Member

    Joined:
    Mar 16, 2012
    Messages:
    8,830
    Country:
    United States
    Did you enable "Enable game patching" in your Luma settings?
     
  5. Asia81

    Asia81 GBAtemp Guru
    Member

    Joined:
    Nov 15, 2014
    Messages:
    6,089
    Country:
    France
    That speed feature is really nice. It would be much nice if we had a way to apply it to the whole vc engine, and not have to patch every games.
    GB games was fcking slow, 2 years to start a battle, thanks to the vba speed boost also.
     
  6. soprano1

    soprano1 GBAtemp Regular
    Member

    Joined:
    Sep 16, 2016
    Messages:
    239
    Country:
    Portugal
    Well, this seem interesting. What other features does this debug menu have? Thank you.
     
  7. Asia81

    Asia81 GBAtemp Guru
    Member

    Joined:
    Nov 15, 2014
    Messages:
    6,089
    Country:
    France
    A speed boost, like what VBA has.
     
    soprano1 likes this.
  8. Hiccup

    Hiccup GBAtemp Advanced Fan
    Member

    Joined:
    Nov 21, 2009
    Messages:
    970
    Country:
    There is no "whole vc engine". Each VC title contains its own copy of the emulator.
     
    DarthDub likes this.
  9. Asia81

    Asia81 GBAtemp Guru
    Member

    Joined:
    Nov 15, 2014
    Messages:
    6,089
    Country:
    France
    I forgot that
     
  10. zaksabeast

    OP zaksabeast GBAtemp Fan
    Member

    Joined:
    May 24, 2016
    Messages:
    346
    Country:
    United States
    First, thank you for the in depth information to help troubleshooting - the more info, the better.

    As Kunoichiz mentioned, please make sure to enable game patching in your Luma settings - I tested Pokemon Yellow, and it's working nicely. :)
     
    Glazed_Belmont and dman1987 like this.
  11. dman1987

    dman1987 Member
    Newcomer

    Joined:
    Mar 1, 2018
    Messages:
    12
    Country:
    United States
    Thanks KunoichiZ and zaksabeast -- that worked. It's been forever since I've had to access the Luma menu so I totally forgot about it. :)
     
    Last edited by dman1987, Mar 15, 2018
    zaksabeast likes this.
  12. soprano1

    soprano1 GBAtemp Regular
    Member

    Joined:
    Sep 16, 2016
    Messages:
    239
    Country:
    Portugal
    Thank you.
     
  13. ExData7

    ExData7 GBAtemp Regular
    Member

    Joined:
    Jan 10, 2017
    Messages:
    158
    Country:
    United States
    will this work on non official VC Injects?
     
  14. Ryccardo

    Ryccardo watching Thames TV from London
    Member

    Joined:
    Feb 13, 2015
    Messages:
    7,380
    Country:
    Italy
    Yes, if they use the same emulator version; if you used an injector instead of replacing the rom yourself, you'd need to figure it out yourself - but the older NES injector by Asdolo most likely uses the Gen 1 emulator (assuming you selected the version with network but no savestates as base)
     
  15. LooneyNoons

    LooneyNoons Newbie
    Newcomer

    Joined:
    Dec 17, 2017
    Messages:
    6
    Country:
    Germany
    Is there a way to combine those codes? I would like to adjust the game speed AND have full width enabled
     
  16. Helix Fossil

    Helix Fossil DQ Fan Translator
    Member

    Joined:
    May 16, 2016
    Messages:
    270
    Country:
    United States
    I've gotten myself all turned around trying to research this, is there a guide I can take a look at for replacing the ROM in the RomFS instead of using the injector? I'm trying to manually replace the Crystal ROM in the official Crystal VC with a Crystal romhack instead, as there's a slight jitter before every battle if you use the injector. I know the current injectors don't use the Crystal VC as a base for GBC VC injection, hence the need to do it manually. I figured putting a Crystal hack in the Crystal VC might rectify the jittering.
     
  17. Ryccardo

    Ryccardo watching Thames TV from London
    Member

    Joined:
    Feb 13, 2015
    Messages:
    7,380
    Country:
    Italy
    Once you know about extracting and repackaging a standard 3DS application, it's easy ~

    The funny named file in the "rom" folder is (for GB/C games) just a renamed standard GBC rom;

    then you may need to adjust the patches (found in the root of the romfs with the same name as the game's rom), if code/data modified by the patch file in the original game was moved around - which is quite hard to say if you didn't make the hack completely by yourself...

    then the icon/banner (found in the exefs) ought to be edited (you can just rip them off the one you made with the injector)

    then titleid (byteswapped) ought to be changed, it's found in both header and exheader (twice); while you're there, change the uniqueid (ctr-n-xxxx) found in the header to anything you want, you have 15 characters to express yourself, no need to stick to the original format and add confusion

    ...then just reassemble the whole package, install it, and laugh at whatever error everyone's going to make the first time they try :)
     
    Helix Fossil likes this.
  18. AyanamiRei0

    AyanamiRei0 GBATemp's Resident Evangelion fanboy.
    Member

    Joined:
    Jan 4, 2016
    Messages:
    1,464
    Country:
    United Kingdom
    In fact the VC can load the roms perfectly without changing the file extenstion

    [​IMG]
     
    Chetti, DarthDub and OkazakiTheOtaku like this.
  19. Deleted User

    Deleted User Newbie

    I'm hoping this will soon lead to a generic VC emulator, where we can choose from a list of ROMs off a single title.
     
    ManuelKoegler likes this.
  20. OkazakiTheOtaku

    OkazakiTheOtaku no thanks, I don't want a custom title
    Member

    Joined:
    Jul 20, 2016
    Messages:
    1,401
    Country:
    Japan
    Do the games keep their own separate save files, or do they overwrite one another?
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - Pokemon, Virtual, Console