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 


Simple Autorun Subdirectory Loader

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Extensions
View previous topic :: View next topic  
Author Message
FreeER
Grandmaster Cheater Supreme
Reputation: 53

Joined: 09 Aug 2013
Posts: 1091

PostPosted: Fri Jul 22, 2022 11:54 pm    Post subject: Simple Autorun Subdirectory Loader This post has 1 review(s) Reply with quote

So I noticed mece's title extension and thought it looked nice, then I got annoyed by how many "random" lua files I had in autorun/ and decided to move them into more organized folders for what comes with CE vs what's from the forum and my own. CE doesn't auto load from subdirectories however and I wasn't going to just explicitly load every single file, hence I wrote a quick script that will load all lua files from any subdirectories in autorun, excluding ceshare since it had issues. If an init.lua file exists then only that file will be loaded to offer some customizability for larger projects. To exclude a folder you can either add it to the excludeDirs table like ceshare, though this would have to be redone if this extension ever updates, or simply create an empty init.lua file in the directory (since it'd be the only one called and then would do nothing).

https://github.com/FreeER/CE-Extensions/blob/master/loader.lua

_________________
https://github.com/FreeER/ has a few CE related repos
Back to top
View user's profile Send private message
AylinCE
Grandmaster Cheater Supreme
Reputation: 31

Joined: 16 Feb 2017
Posts: 1234

PostPosted: Sat Jul 23, 2022 12:21 am    Post subject: Reply with quote

Thanks for the beautiful and rich archive. I owe +1 when the time is up.

PS: You took a long break. I'm still relying on your coding ideas.
Greetings from CTG. Wink

_________________
Hi Hitler Different Trainer forms for you!
https://forum.cheatengine.org/viewtopic.php?t=619279
Enthusiastic people: Always one step ahead
Do not underestimate me Master: You were a beginner in the past
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
FreeER
Grandmaster Cheater Supreme
Reputation: 53

Joined: 09 Aug 2013
Posts: 1091

PostPosted: Sat Jul 23, 2022 6:17 am    Post subject: This post has 1 review(s) Reply with quote

It's enjoyable to create so no problem Smile

and yeah, I got a bit bored of many of the same questions being repeated and then my computer broke, ended up getting an actual job working overnights as a cashier to earn some money for a decent new one but with so much less time to play around now I tend to just enjoy some casual rocket league, reading (random web novel content mainly though A Thing Of Vikings is finally releasing new content as well), and playing with https://www.udemy.com/course/kotling-android-jetpack-compose-/ (picked up on sale, kinda hit or miss on what's explained and whether I understand what's happening or just blindly copying the magic code. UI design is definitely not my forte). Maybe one day I'll have a job as a developer earning more while enjoying what I do (without being pressured to overwork and burn out which sounds common in the industry).

I did notice you've continued improving yourself, that's great to see especially with the loss of Chris it's good to be reminded that there's always people still here

_________________
https://github.com/FreeER/ has a few CE related repos
Back to top
View user's profile Send private message
AylinCE
Grandmaster Cheater Supreme
Reputation: 31

Joined: 16 Feb 2017
Posts: 1234

PostPosted: Sat Jul 23, 2022 11:34 am    Post subject: Reply with quote

I felt sorry for Chris. Mayspaghetti monstergive strength to those left behind.

You are in the adventurous part of life now. I hope you live a more productive life.

And me; Thanks to you, @Corroder, @mgrInzPlayer and @atomOs, I like Lua even more. I follow the traces you leave.

Thanks to you and the other Masters.

_________________
Hi Hitler Different Trainer forms for you!
https://forum.cheatengine.org/viewtopic.php?t=619279
Enthusiastic people: Always one step ahead
Do not underestimate me Master: You were a beginner in the past
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
DeRol
Newbie cheater
Reputation: 0

Joined: 26 Aug 2009
Posts: 18

PostPosted: Fri Nov 11, 2022 9:07 pm    Post subject: Reply with quote

Thanks for this. Organizing and updating to new cheat engine versions will be much more convenient.

I also like the blank init.lua idea you mentioned. I'll be leveraging that by making a folder called _disabled in various sub folders, throw in a blank init.lua, then just drag in scripts Very Happy
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