Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


xxx

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
rasbayri
How do I cheat?
Reputation: 0

Joined: 10 Dec 2022
Posts: 2

PostPosted: Sat Dec 10, 2022 7:09 pm    Post subject: xxx Reply with quote

Hi this is the only place I know where to ask if I broke the rules guide me where else I can ask about it

I wanted to get the text out of the lua game and I tried looking myself by using hex, array of bytes in UTF-8 and also using a CE (My CE's version is 6.7) plugin Hook Any Text but every time I did so it always search for a new memory address for each text line

Can somebody help me get the text out of this game at the same time as it appears on the screen, I have no idea how to do that... any help much appreciated

pastebin com/UKMhsh9F
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 204

Joined: 25 Jan 2006
Posts: 8579
Location: 127.0.0.1

PostPosted: Sun Dec 11, 2022 8:30 pm    Post subject: Reply with quote

This is a general game made with the LOVE engine. It's self-contained meaning they pack the resources into a zip file and append it to the exe.

You can extract the assets, including all the Lua scripts, by pulling the zip from the exe.

Quick steps to do that with this file:

- 1. Download a hex editor.
- 2. Open the TEST.exe file in the hex editor.
- 3. Go to offset: 0xD800 (hex) (You should see the letters 'PK' here in the data.)
- 4. Copy everything from 0xD800 to the end of the file.
- 5. Create a new file in the hex editor and paste what you just copied.
- 6. Save the new file as test.zip

At that point you should have a valid .zip file with all the games assets. All the Lua scripts are non-compiled for this game so you can just open them in a text editor to view them.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
rasbayri
How do I cheat?
Reputation: 0

Joined: 10 Dec 2022
Posts: 2

PostPosted: Sat Dec 17, 2022 8:28 pm    Post subject: Reply with quote

atom0s wrote:
At that point you should have a valid .zip file with all the games assets. All the Lua scripts are non-compiled for this game so you can just open them in a text editor to view them.


This is great but... what do I have do with "dialog.lua" it cannot be displayed at the same time as I play... this doesn't answer my question
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites