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 


[Lua]The History of opened files list(Ver 2.4.1)

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Extensions
View previous topic :: View next topic  
Author Message
xxhehe
Expert Cheater
Reputation: 0

Joined: 11 Mar 2015
Posts: 169

PostPosted: Fri Jul 17, 2026 6:12 am    Post subject: [Lua]The History of opened files list(Ver 2.4.1) Reply with quote

The core functionality of recentFiles.lua is only one: universal automatic loading of CT tables.
(Auto-Load Corresponding Cheat Table On Attach)

Install the script
Place recentFiles.lua in CE's autorun or autorun\custom folder, then restart Cheat Engine.

Open your game and its CT table
Attach CE to the game process and load the corresponding CT file (e.g., VampireSurvivors1.1.4.CT).

Save that CT table once
Use CE's "Save" or "Save As" (even if you don't change anything, just save it).

The script learns the association
From then on, whenever you open that game process again, the script loads the most recent CT for that process.


Frequently Asked Questions

Q1: Why do I always get a "File already exists" prompt when saving?
A: This is intended behaviour to prevent accidental overwrites. You could modify the logic inside customSave to skip it, but we do not recommend that.

Q2: Why is the default save name sometimes the window title and sometimes the current file name?
A: When you have a CT table loaded, clicking Save will default to overwriting that file; if no table is loaded (new table), the window title is used as the suggestion. This is the optimised behaviour since Ver 2.1.59.

Q3: How do I completely disable automatic loading?
A: Set ENABLE_AUTO_LOAD_ON_ATTACH = false – only the manual "Switch CT" menu will remain.
Dependencies & Compatibility

CE version: ≥ 7.5 (requires extractFilePath and fileExists support).

Operating System: Windows (relies on user32 API)


--------------------------------------------------------
Ver 2.4.1
Dice coefficient patch.
Added support for Japanese kana, full‑width characters, and full‑width normalization.
Optimization: full‑width mapping table constantized, debug logging encapsulated.

Ver 2.3.1
Removed cache, fixed scoring errors; added SCORE_MODE and FUZZY_MIN_WORDS adjustments
Forced camel case splitting, stable support for mixed Chinese/English titles



recentFiles.lua
 Description:
2.4.1

Download
 Filename:  recentFiles.lua
 Filesize:  68.99 KB
 Downloaded:  1 Time(s)


recentFiles.lua
 Description:
2.3.1

Download
 Filename:  recentFiles.lua
 Filesize:  70.25 KB
 Downloaded:  4 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 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