View previous topic :: View next topic |
Author |
Message |
FreeER Grandmaster Cheater Supreme
Reputation: 53
Joined: 09 Aug 2013 Posts: 1091
|
Posted: Fri Jul 22, 2022 11:54 pm Post subject: Simple Autorun Subdirectory Loader |
|
|
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
_________________
|
|
Back to top |
|
 |
AylinCE Grandmaster Cheater Supreme
Reputation: 34
Joined: 16 Feb 2017 Posts: 1462
|
Posted: Sat Jul 23, 2022 12:21 am Post subject: |
|
|
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.
_________________
|
|
Back to top |
|
 |
FreeER Grandmaster Cheater Supreme
Reputation: 53
Joined: 09 Aug 2013 Posts: 1091
|
Posted: Sat Jul 23, 2022 6:17 am Post subject: |
|
|
It's enjoyable to create so no problem
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
_________________
|
|
Back to top |
|
 |
AylinCE Grandmaster Cheater Supreme
Reputation: 34
Joined: 16 Feb 2017 Posts: 1462
|
Posted: Sat Jul 23, 2022 11:34 am Post subject: |
|
|
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.
_________________
|
|
Back to top |
|
 |
DeRol Newbie cheater
Reputation: 0
Joined: 26 Aug 2009 Posts: 18
|
Posted: Fri Nov 11, 2022 9:07 pm Post subject: |
|
|
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
|
|
Back to top |
|
 |
|