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 


Export to text

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

Joined: 27 Jul 2014
Posts: 1

PostPosted: Sun Jul 27, 2014 11:43 pm    Post subject: Export to text Reply with quote

Hey i'm new. im looking for a way to export a value to a .txt file once every second.

im trying to grab vehicle speed from test drive unlimited (ive found it) but i want to export to txt and make a simple batch file that will read that file and work as a trip computer.

Cheers
Back to top
View user's profile Send private message
661089799107
Expert Cheater
Reputation: 3

Joined: 25 Jan 2009
Posts: 186

PostPosted: Mon Jul 28, 2014 12:03 am    Post subject: Reply with quote

Write a Lua script in CE.

Use readInteger to read from the address, and then use the Lua IO library to write to a file.

Example:
Code:

local file = io.open("example.txt", "w")
local val = readInteger(0x00000000) -- address
file:write(val)
file:close()
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