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 


NFOWindow for CE6.4

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
mgr.inz.Player
I post too much
Reputation: 218

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Tue Sep 02, 2014 1:33 pm    Post subject: NFOWindow for CE6.4 Reply with quote

- move nfoWindow.lua into autorun folder

- add nfo file into your CheatTable

- lua script example. Be sure you edited file name and window caption.
Code:

ms = findTableFile('yourinfo.nfo').Stream -- edit the file name to your own.
bt = ms.read(ms.Size)
NFO=byteTableToString(bt)


NFOWindow:Init( {windowCaption='NFO window caption',
                 fontSize = 12,
                 scrollLines = 4,
                 nfo=NFO,
                 button=CETrainer.ABOUTBUTTON} )



another example:
Code:

ms = findTableFile('yourinfo.nfo').Stream
bt = ms.read(ms.Size)
NFO=byteTableToString(bt)


NFOWindow:Init( {windowCaption='NFO window caption',
                 fontSize = 12,
                 scrollLines = 4,
                 windowMaximumHeight = 400,
                 nfo=NFO} )


NFOWindow:ShowWindow()



nfoWindow.lua
 Description:

Download
 Filename:  nfoWindow.lua
 Filesize:  8.26 KB
 Downloaded:  408 Time(s)


_________________
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting 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