Jump to content


Photo

Patch to force campaign gamespeed option to be enabled in RA2


  • Please log in to reply
3 replies to this topic

#1 Iran

Iran

    Seal

  • Members
  • PipPipPipPip
  • 133 posts

Posted 01 January 2014 - 04:52 PM

Normally it's only possible to change the game speed in the campaign by running the game with the -SPEEDCONTROL command line argument. This patch removes the check whether you supplied the -SPEEDCONTROL arg and always enables the option.

 

You can enable the gamespeed slider in campaign by opening game.exe with a hex editor and at offset 0x115439 changing bytes "74 07" to "90 90"

 

Original assembly instructions:

 

.text:00515429                 push    offset aSpeedcontrol ; "-SPEEDCONTROL"
.text:0051542E                 push    esi             ; Str
.text:0051542F                 call    _strstr
.text:00515434                 add     esp, 8
.text:00515437                 test    eax, eax
.text:00515439                 jz      short loc_515442
.text:0051543B                 mov     SpeedControl, 1
 
The patch NOPs out:
 
.text:00515439                 jz      short loc_515442


#2 FReQuEnZy

FReQuEnZy

    Retired

  • Members
  • PipPipPipPipPipPipPip
  • 7986 posts

Posted 04 January 2014 - 11:47 AM

Thanks for posting this. I'll try to get it into the next patch. 



#3 kacknoobz

kacknoobz

    GAME ON!

  • Members
  • PipPipPipPip
  • 241 posts

Posted 05 January 2014 - 04:06 AM

people still play missions?



#4 ExpaNd

ExpaNd

    RanDoMiZer

  • Members
  • PipPipPipPipPipPip
  • 3828 posts
  • Location:Merrillville, IN
  • XWIS Name: ExpaNd

Posted 05 January 2014 - 07:15 AM

when i play people who are most likely ez win, i like to make up my own missions =D




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users