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 


CTCleaner - Slim your CT files

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming -> Binaries
View previous topic :: View next topic  
Author Message
Hatschi
Master Cheater
Reputation: 2

Joined: 28 Jan 2010
Posts: 327

PostPosted: Fri Aug 01, 2014 7:49 am    Post subject: CTCleaner - Slim your CT files Reply with quote

It removes all dissect structure elements from any CT file (or multiple CT files = batch process). In many many cases these elements are not needed anymore but they increase the size of a CT file a lot.
You can either delete them manually via CE or use my tool. I had for example around 700 CT files and I don't felt very well to delete the structures from each CT file manually so I've created a tool.

It slimed down my CT folder from 370MB to 21MB only.

.NET Framework 4.5 required.
It is only compatible to newer CE tables (only tables that are stored as plain text). Older tables or none CT files will result in an 'Error', see result screenshot for an example.

Main:


Batch:


Result:


Virustotal.com:
https://www.virustotal.com/de/file/15ce35b60ffd6897704a0d99c3e89754a350b895170503e9ffd48da96b4f8cb5/analysis/1406894458/
Download:
http://www1.zippyshare.com/v/5402315/file.html
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Fri Aug 01, 2014 9:04 am    Post subject: Reply with quote

or structure dissect->file->delete all structures
_________________
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
Hatschi
Master Cheater
Reputation: 2

Joined: 28 Jan 2010
Posts: 327

PostPosted: Fri Aug 01, 2014 11:25 am    Post subject: Reply with quote

Quote:
You can either delete them manually via CE or use my tool.


My tool is especially useful if you want to batch process CT files.
Back to top
View user's profile Send private 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: Sat Aug 02, 2014 4:59 am    Post subject: Reply with quote

XMLStarlet Command Line XML Toolkit (http://xmlstar.sourceforge.net)

and this script:
Code:
@echo off
for /R %%I IN (*.CT) do (
  xml.exe ed --inplace --delete /CheatTable/Structures "%%I"
)

pause

_________________
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 -> General programming -> Binaries 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