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 


Custom Templates Extension

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting -> Lua Extensions
View previous topic :: View next topic  
Author Message
dl748
Advanced Cheater
Reputation: 0

Joined: 05 Mar 2016
Posts: 54

PostPosted: Wed Jul 12, 2017 8:42 am    Post subject: Custom Templates Extension Reply with quote

Used a little of mgr.inz.Player 's idea. Its a crude script that doesn't do search and replace but allows you to add scripts without modifying this script.

Installation:

Place in autorun folder in the Cheat Engine installation directory.

Create a new directory called templates in the Cheat Engine installation directory.

Place any CEA files that you want as a template into that folder.

When starting Cheat Engine and opening the Auto Assembler, it adds a menu item called "Custom" and underneath it will create a menu option that corresponds to the file name of the CEA script.

Note: adding/changing/removing template files require a restart of Cheat Engine.

Edit: 1.1 Added subdirectories (they become submenus) Only drawback is that you cannot have a script file with the same name as a directory, if there is a conflict the script will override creating a submenu.

so if you have

templates/MyLibrary/Script.cea
templates/MyTest.cea

it will create a menus

Code:

Custom
|-MyLibrary
| |- Script
|- MyTest



customscripts.lua
 Description:
1.1

Download
 Filename:  customscripts.lua
 Filesize:  3.45 KB
 Downloaded:  253 Time(s)


customscripts.lua
 Description:
1.0

Download
 Filename:  customscripts.lua
 Filesize:  2.27 KB
 Downloaded:  221 Time(s)

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 Lua Scripting -> Lua Extensions 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