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 


How can I open files *.CT or *.CETRAINER from the Lua consol

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
GH*master
Expert Cheater
Reputation: 8

Joined: 10 Jan 2008
Posts: 159

PostPosted: Fri May 11, 2012 10:10 am    Post subject: How can I open files *.CT or *.CETRAINER from the Lua consol Reply with quote

Hello!

How I can open files *.CT or *.CETRAINER from the Lua console in current CE process? I need it.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25294
Location: The netherlands

PostPosted: Fri May 11, 2012 1:12 pm    Post subject: Reply with quote

Not possible yet, for now, just parse the xml data manually (or use an external lua xml library)

but what do you need that for ?

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
GH*master
Expert Cheater
Reputation: 8

Joined: 10 Jan 2008
Posts: 159

PostPosted: Sat May 12, 2012 12:36 am    Post subject: Reply with quote

Well I'll try to write in English language. I do not want parse the xml data manually.
I have already Lua ListBox with list of files name (*.CT in *.CETRAINER). And I wont if line set focus then Open the file immediately.

I need three Lua function:

Code:

1) OpenCEFile(fullPath) -- for new stringline focus
2) SaveCEFile(fullPath, extension) --extension can be *.CT, *.CETRAINER -- for  stringline last focus
3) OpenEditorAAScript(itemMenuIndex) -- for open AA-code


-------
P.S. These functions are very necessary to me. I can write Lazarus code in LuaHandler.pas, but I must be sure that you accept my Lazarus(pascale) code.

I'm almost finished Lua plugin for CE 6.2 RC2



LuaPlagin.png
 Description:
 Filesize:  38.02 KB
 Viewed:  18046 Time(s)

LuaPlagin.png


Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25294
Location: The netherlands

PostPosted: Sat May 12, 2012 5:56 am    Post subject: Reply with quote

Hmm ok. I'll see if i can add that (although OpenEditorAAScript(itemMenuIndex) can't be added like that as it doesn't confirm to the rest of the coding style)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
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