Rogue Tower speed hack not working for me?

Add topics here with methods, analysis, code snippets, mods etc. for a certain game that normally won't make it in the Tables or Requests sections.
Post Reply
ost3g0
What is cheating?
What is cheating?
Posts: 2
Joined: Mon Jan 17, 2022 4:17 am
Reputation: 0

Rogue Tower speed hack not working for me?

Post by ost3g0 »

Tried a couple different versions - I just want to speed this game up since the developer refuses to add this.

panraven
Table Makers
Table Makers
Posts: 124
Joined: Fri Mar 03, 2017 12:03 am
Reputation: 112

Re: Rogue Tower speed hack not working for me?

Post by panraven »

NOt sure if work for your version.
Enable Mono feature 1st.
Pause to toggle 4x global time Scale. First time may need pause twice.

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>104805</ID>
      <Description>"rogue_tower_Pause2SwapTimeScale"</Description>
      <Options moHideChildren="1"/>
      <LastState/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>define(cave,Pause2SwapGlobalTimeScale)

define(h0,scale)
globalalloc(xTimeScale,16)
[ENABLE]
aobscanRegion(scale, PauseMenu:UnPause+0000,PauseMenu:UnPause+0100, D9 E8 D9 1C 24 )

alloc(Pause2SwapGlobalTimeScale,$1000,scale)
registersymbol(Pause2SwapGlobalTimeScale)

cave+80:
dq cave, scale

cave+100:
readmem(scale,32)

cave+200: // scale
// add code
mov      eax,xTimeScale
cmp      byte ptr[eax],0
jne      short @f
  mov    dword ptr[eax],0101
  mov    dword ptr[eax+04],(float)4///   speed mul
@@:
reassemble(scale)     /// fld1
reassemble(scale+2)
cmp      byte ptr[eax+1],0  /// enabled?
je       scale+5
fld      dword ptr[eax+4]
xor      byte ptr[eax+2],1 /// current toggle
mov      al,[eax+2]
test     al,1
je       short @f
  reassemble(scale+2)
  reassemble(scale)     /// fld1
@@:
  reassemble(scale+2)
  jmp  scale+5




scale: 
jmp  cave+200  //  check nops



// last 0400

[DISABLE]
{$lua}
if not syntaxcheck and readInteger'Pause2SwapGlobalTimeScale'and autoAssemble [[
[Pause2SwapGlobalTimeScale+88]:
readmem(Pause2SwapGlobalTimeScale+100,32)

]]then return[[

dealloc(Pause2SwapGlobalTimeScale)
unregistersymbol(Pause2SwapGlobalTimeScale)
]] end
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>104806</ID>
          <Description>"speed mul"</Description>
          <ShowAsSigned>1</ShowAsSigned>
          <VariableType>Float</VariableType>
          <Address>xTimeScale+4</Address>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
  </CheatEntries>
</CheatTable>

ost3g0
What is cheating?
What is cheating?
Posts: 2
Joined: Mon Jan 17, 2022 4:17 am
Reputation: 0

Re: Rogue Tower speed hack not working for me?

Post by ost3g0 »

This worked incredibly well, thank you!

Also I had 7.0, updating to 7.4 fixed it.

Post Reply

Who is online

Users browsing this forum: No registered users