Is it possible to convert a text file to a .CT?

Post your topics and discussions here that you can't find a good section for.
Post Reply
jackalj
What is cheating?
What is cheating?
Posts: 2
Joined: Mon May 22, 2017 3:10 pm
Reputation: 0

Is it possible to convert a text file to a .CT?

Post by jackalj »

Hi,

I tried finding a table for a game for awhile now, but I only could find the file in text format. So now I have a text document that I cant do anything with.

I am wondering if I could convert this somehow, or copy the text/code into Cheat Engine to make it work?

User avatar
GreenHouse
GreenHouse!
GreenHouse!
Posts: 862
Joined: Fri Oct 12, 2018 10:25 pm
Reputation: 874

Re: Is it possible to convert a text file to a .CT?

Post by GreenHouse »

If you mean a script, then yes. Go to 'Memory View' > 'Tools' > 'Auto Assemble', paste it there and then do 'File' > 'Assign to current cheat table'.

User avatar
bittman.07@gmail.com
Noobzor
Noobzor
Posts: 7
Joined: Mon Jan 23, 2023 10:02 pm
Reputation: 0

Re: Is it possible to convert a text file to a .CT?

Post by bittman.07@gmail.com »

GreenHouse wrote:
Sat Mar 16, 2019 2:13 pm
If you mean a script, then yes. Go to 'Memory View' > 'Tools' > 'Auto Assemble', paste it there and then do 'File' > 'Assign to current cheat table'.
"The code needs an [ENABLE] and [DISABLE] if you want to use this script as a table entry." How do I code that?

User avatar
Rhark
Shogun
Shogun
Posts: 1964
Joined: Tue Apr 16, 2019 1:27 am
Reputation: 832

Re: Is it possible to convert a text file to a .CT?

Post by Rhark »

bittman.07@gmail.com wrote:
Mon Jan 23, 2023 10:04 pm
"The code needs an [ENABLE] and [DISABLE] if you want to use this script as a table entry." How do I code that?
If you paste the code here it would be easier to show you.

User avatar
SunBeam
RCE Fanatics
RCE Fanatics
Posts: 4369
Joined: Sun Feb 04, 2018 7:16 pm
Reputation: 3254

Re: Is it possible to convert a text file to a .CT?

Post by SunBeam »

jackalj wrote:
Sat Mar 16, 2019 2:07 pm
Hi,

I tried finding a table for a game for awhile now, but I only could find the file in text format. So now I have a text document that I cant do anything with.

I am wondering if I could convert this somehow, or copy the text/code into Cheat Engine to make it work?
Would be useful if you actually opened a .CT file with Notepad++ and checked its format/framework. Then you'd have the answer to your question.

User avatar
bittman.07@gmail.com
Noobzor
Noobzor
Posts: 7
Joined: Mon Jan 23, 2023 10:02 pm
Reputation: 0

Re: Is it possible to convert a text file to a .CT?

Post by bittman.07@gmail.com »

<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="38">
<CheatEntries>
<CheatEntry>
<ID>5</ID>
<Description>"Lives"</Description>
<LastState Value="9" Activated="1" RealAddress="0450E5A4"/>
<VariableType>4 Bytes</VariableType>
<Address>"THREADSTACK0"-00000994</Address>
<Offsets>
<Offset>568</Offset>
<Offset>C</Offset>
<Offset>254</Offset>
<Offset>8</Offset>
</Offsets>
</CheatEntry>
</CheatEntries>
<UserdefinedSymbols/>
</CheatTable>

User avatar
bittman.07@gmail.com
Noobzor
Noobzor
Posts: 7
Joined: Mon Jan 23, 2023 10:02 pm
Reputation: 0

Re: Is it possible to convert a text file to a .CT?

Post by bittman.07@gmail.com »

Nevermind, I found the memory address for the amount of lives. I don't need this anymore.

Post Reply

Who is online

Users browsing this forum: No registered users