Emulator (software) overclocking, is there an easy way?

Discussion in 'General Gaming' started by 47iscool, Aug 7, 2014.

  1. 47iscool

    47iscool Rapidly Rising Member

    Joined:
    Nov 19, 2013
    Messages:
    90
    Likes Received:
    2
    I know WinKawaks has the ability to do it.

    My question basically is, is there any converter for Mhz to Hex? I'm talking about emulators for older stuff such as the Genesis.

    If a Genesis emulator such as Fusion or Gens could be clocked to about 12 MHz games like Sonic wouldn't slow down on losing a lot of rings at once would it? I know it's not accurate but slowdowns would probably never occur.
     
  2. Lionheart

    Lionheart Robust Member

    Joined:
    Dec 19, 2010
    Messages:
    273
    Likes Received:
    15
    Megasis allows you to emulate overclocking

    As for converting i wouldnt know
     
  3. Pusscat

    Pusscat Member

    Joined:
    Jul 6, 2014
    Messages:
    21
    Likes Received:
    0
    if you overclocked a console without understanding it, you'd probably have issues with other aspects of play when there was no slowdown. For example, reading input from a controller into an nes relies on the clocking - the same memory area is checked at different intervals to determine if a button is pressed. I suspect you'd need to take all that into account when trying to get rid of lag. As for converting decimal mhz to hex, I'm not sure why you'd need to do this, but mhz is 10^6 hz, so 12mhz so a quick way to covert in python would be:

    hex(12 * 10**6) == 0xb71b00
     
  4. 47iscool

    47iscool Rapidly Rising Member

    Joined:
    Nov 19, 2013
    Messages:
    90
    Likes Received:
    2
    Okay thanks for the info. But what would be 7.67 MHz in hex? In there an online calculator to do this?
     
    Last edited: Aug 7, 2014
  5. MottZilla

    MottZilla Champion of the Forum

    Joined:
    Feb 1, 2006
    Messages:
    5,066
    Likes Received:
    102
    You're not going to "hexedit" an emulator to do overclocking.

    Very few emulators allow for overclocking. But there are some that do. You'll just have to find one that supports it for the system you are interested in. Some have the ability but it's hidden. Nesticle can have frame timing altered which essentially leads to overclocking. ZSNES has some parameter about instruction execution which again can be ramped up to essentially run games at an overclocked rate. It sounds like you should try Megasis.
     
  6. 47iscool

    47iscool Rapidly Rising Member

    Joined:
    Nov 19, 2013
    Messages:
    90
    Likes Received:
    2
    Already did.

    Searched for 00989680 (10MHz ) on Street Fighter 2 (M68000) MAME and changed it to 001E8480 (2MHZ) and it slowed down to a crawl.
    Then changed it to 05B8D800 (96MHz) and it loaded and ran faster than it should have.

    Using Cheat Engine of course. Got some values from WinKawaks, all I had to do was search for 12 MHz value B71B00 and then change the Winkawaks clock speed to get more values. Still trying to find the 7.67 MHz value for MD emulators.
     
  7. coal stepping

    coal stepping Site Supporter 2014

    Joined:
    Oct 15, 2012
    Messages:
    345
    Likes Received:
    25
    i actually know a better way of doing this ill make a vid tut for you when i get done with errands.
    i have a video series which i overclock games and raise the fps from 60 to 90 to make all turbo.

    this is battletoads arcade 90 fps cpu overclock @300%
     
    Last edited by a moderator: May 25, 2015
  8. 47iscool

    47iscool Rapidly Rising Member

    Joined:
    Nov 19, 2013
    Messages:
    90
    Likes Received:
    2
    Found it

    7.67 MHz hex value is 00750AB5, or at least I think it is. Correct me if I'm wrong.
     
    Last edited: Aug 7, 2014
  9. 47iscool

    47iscool Rapidly Rising Member

    Joined:
    Nov 19, 2013
    Messages:
    90
    Likes Received:
    2
    Just underclocked Dolphin and SA2B ran a bit faster on my 2.10 GHz DCP.

    Search for 1CF7C580>486 MHz and change it to 0BEBC200>200MHz
     
    Last edited: Aug 8, 2014
  10. MottZilla

    MottZilla Champion of the Forum

    Joined:
    Feb 1, 2006
    Messages:
    5,066
    Likes Received:
    102
    I didn't think about how some emulators are programmed, I was thinking more about NES which I have experience with. But that's true that many arcade games just pass a cpu speed parameter to the core. But you'd need to know the exact number to look for as you've found.

    Have you found any good examples of games that suffered badly from slowdown that you've noticed benefiting greatly from this? I know on NES that T.M.N.T. benefits alot.
     
  11. 47iscool

    47iscool Rapidly Rising Member

    Joined:
    Nov 19, 2013
    Messages:
    90
    Likes Received:
    2
    Hmm... I could try MESS. I was able to overclock a few games on it by speeding up the Genesis core to 12-16 MHz. Of course since I use QMC2 I had to search each time I started a game and change it while on the screen that shows the emulated machine specs just before starting the game. Setting the Genesis core to 16MHz for Sonic 2 cut the level loading speed in half. The only emulators that I've been able to modify clock speed is MAME,MESS and Dolphin.

    One thing I found out also is that the YM2612 also runs at the same speed of the 68k. So changing it doesn't really help.

    If you have MAMEUI32 0.146 (May 21 2012), here is a cheat table for cheat engine 6.4 that has the MegaDrive M680000 and the Midway TMS32031 clock speed added into it.
    View attachment MAMEUI32.7z
     
    Last edited: Aug 8, 2014
  12. StriderVM

    StriderVM Peppy Member

    Joined:
    Jan 15, 2014
    Messages:
    302
    Likes Received:
    28
    I also asked something like this before in this site as well. The only answer I got is MESS.

    Since it's documented that one of the weaker sides of the SNES is the processor I tried overclocking it. Had some awesome results.

    For example Wrestlemania runs like molasses on a stock SNES, overclocking the SNES CPU in MESS to 200% causes the game to not slow down at all, making it as fast as the Genesis/Arcade version.

    Gradius 3 is another game that suffers from bad slowdown. Like before overclocking solved all slowdown. Pretty nice. :)

    Certain games however get some timing related issues/bugs. For example in Top Gear, now the game runs beautifully, however it seems that how the game does it's fuel consumption routine is tied to the SNES CPU, so this means if the SNES CPU is running at 200%, fuel consumption is also twice as fast. Making the game unplayable due to running out of fuel in tracks that normally wouldn't run out of fuel.

    I also remember being documentation/videos that overclocks the SuperFX chip making games like Starfox / Dirt Trax FX much faster and smoother.
     
    Last edited: Aug 9, 2014
  13. 47iscool

    47iscool Rapidly Rising Member

    Joined:
    Nov 19, 2013
    Messages:
    90
    Likes Received:
    2
    Here are some hex clock rates if anyone would like to experiment. May not be exactly correct.

    00186A00->1.6MHz
    001B4F4C->1.8MHz (NES/Famicom NTSC)
    001E8480->2MHz
    0036A060->3.58MHz (SNES/Super Famicom?)
    003D0900->4MHz
    004C4B40->5MHz
    00750AB5->7.67MHz (MegaDrive/Genesis)
    007A1200->8MHz
    00989680->10Mhz (CPS1)
    00B71B00->12Mhz (NeoGeo)
    00F42400->16MHz (CPS2)
    01312D00->20MHz
    016E3600->24Mhz
    017D7840->25MHz (CPS3)
    01AB3F00->28MHz
    020238A0->33.7MHz (PSX?)
    00255100->36Mhz
    02DC6C00->48Mhz
    02FAF080->50MHz
    03938700->60MHz
    059682F0->93.75MHz (N64)
    05B8D800->96Mhz
    05F5E100->100MHz
    08F0D180->150MHz
    09A7EC80->162MHz (GameCube GPU)
    0BEBC200->200Mhz (Dreamcast)
    039EF8B0->243MHz
    11E1A300->300MHz (PS2 Slim, some not all run at this rate)
    04D3F640->486MHz (GameCube CPU)
    2B73A840->729MHz (Wii)
    2BB0B140->733MHz (Original Xbox)
    3B9ACA00->1GHz
    77359400->2GHz
     
    Last edited: Aug 9, 2014
  14. StriderVM

    StriderVM Peppy Member

    Joined:
    Jan 15, 2014
    Messages:
    302
    Likes Received:
    28
    I'm kinda not that versed in regards to PAR(?) codes?

    How can I use them? For example in ZSNES?
     
  15. 47iscool

    47iscool Rapidly Rising Member

    Joined:
    Nov 19, 2013
    Messages:
    90
    Likes Received:
    2
    They're not PAR codes. You can only use them if you can find a particular value while the emulator is running. Cheat Engine can be used to search for a value and change it.
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page