Fast game, normal-speed music. Is it possible?

Discussion in 'NDS - Emulation and Homebrew' started by GanonZD, Jun 24, 2014.

  1. GanonZD
    OP

    GanonZD Newbie

    Newcomer
    4
    0
    Jun 24, 2014
    Is it possible with a DS emulator (preferably DeSmuME, which I'm currently using) to make the game go faster, but still have normal-speed music?
     
  2. FAST6191

    FAST6191 Techromancer

    pip Reporter
    23,868
    9,780
    Nov 21, 2005
    United Kingdom
    Am I to assume this is a pokemon speedup related thread?

    Anyway how would that work? When you got back to normal speed you would either be behind the emulator or need to skip a bunch to catch up and that sounds awful.

    Your best bet is to drop whatever channels (or music hack the game) to eliminate the music and put the background music (it is easy to rip, moreover it probably has been ripped already) in an external player and set it to loop. If you were really invested then desmume has the option to send lua commands (lua is an easy to learn programming language) and I am sure you could make a pause music/switch track command for your external player. Sound effects might be harder to sort properly but if you did the lua thing then you could probably handle that too.
     
  3. GanonZD
    OP

    GanonZD Newbie

    Newcomer
    4
    0
    Jun 24, 2014
    Actually, the game is the fan translation of Gyakuten Kenji 2, but the issue is pretty much the same; the text and game play is too slow. That external player idea is perhaps a good thing for Pokémon, but considering the amount of tracks in GK2, I think getting it to work in my case would be rather difficult, unfortunately. :-(

    Anyway, thanks for the suggestion. :-)
     
  4. FAST6191

    FAST6191 Techromancer

    pip Reporter
    23,868
    9,780
    Nov 21, 2005
    United Kingdom
    I have not looked at this game specifically but Phoenix Wright/Comeback courtroom games do not actually have the most tracks when it comes down to it. Given how it probably changes during the case at tense moments and whatever else that could be harder to do manually. If you could find a way to read the track calling part of the game and feed that to lua/have lua handle it then you could probably get something done.

    That said the hackers probably had a look at the text rendering engine as part of the translation, several frequent GBAtemp if you wanted to ask them if a speed patch is possible. Normally you get to handle all kinds of sprite animations and the like but for just text it could be a bit more doable.
     
  5. Foxi4

    Foxi4 On the hunt...

    pip Reporter
    23,671
    21,712
    Sep 13, 2009
    Poland
    Gaming Grotto
    Music is often times connected with the CPU timer - increasing the frequency to speed up the game will result in increasing the speed of sampling and in effect also the speed the music is played at. I would think that the only thing you could do would be trying to hack the speed the text is printed at, as FAST6191 mentions.
     
  6. FailName

    FailName ░▒▓█▓▒░

    Member
    159
    66
    Sep 26, 2011
    United States
    Well, on the topic of speeding up games without affecting music and pokemon, there's this action replay code for HG/SS that pretty much does exactly that. It only speeds up certain things such as battles, the movement of those little pokemon sprites in the menu, and Ho-oh/Lugia in the title screen. I recall reading that it works by making things that normally run at 30 fps run at 60 fps, even though the code is usually labeled with "High speed processing," and nothing else.
    Code:
    12000104 00000000
    B21D1594 00000000
    DA000000 00000004
    D3000000 00000000
    D6000000 02000100
    D3000000 00000000
    92000100 00001C1C
    12000E1E 000046F0
    12000E20 000046F0
    12000104 00008080
    D2000000 00000000
    92000100 0000071C
    12000E1E 000046C0
    12000E20 000046C0
    12000104 00008080
    D2000000 00000000
    A2000104 00008080
    12000E1E 0000F0D0
    12000E20 0000E826
    D2000000 00000000
     
  7. GanonZD
    OP

    GanonZD Newbie

    Newcomer
    4
    0
    Jun 24, 2014
    Do you think it will also work for my game, Gyakuten Kenji 2? (I'm going to test it, but I might as well ask, too.)

    EDIT: I tried to add the code in the Cheats section, and nothing happened.
     
  8. Arras

    Arras GBAtemp Guru

    Member
    5,881
    2,713
    Sep 14, 2010
    Netherlands
    Cheats are pretty much always game-specific with some really rare exceptions like the DS Lite brightness change cheat.
     
  9. GanonZD
    OP

    GanonZD Newbie

    Newcomer
    4
    0
    Jun 24, 2014
    I also expected as much, but you never know. ;-)
     
  10. BORTZ

    BORTZ You get a hat, and YOU get a hat!

    Supervisor
    GBAtemp Patron
    BORTZ is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    11,758
    14,909
    Dec 2, 2007
    United States
    Pittsburgh
    If you have the cheats on, maybe check to see if there are game enhancement cheats you can enable. I know larger games with bigger fanbases tend to have better cheats but its possible. I know pokemon has a movement multiplier that increases walk, loading, and battle speeds without touching the sound.