Hi there everyone - just a simple question,
I was wondering if there was something I could run, like Lint, which can detect unused files.
I've been working on my first project, and it's been a little bit messy. I'm almost certain that I have at least a few images that are never used in the actual game - if possible, I'd like to run something simple like Lint, which would allow me to find and delete the unnecessary files, to slim down the size of the final project.
(Of course, I could try to do this manually, but that would take longer and could lead to more mess - like accidentally deleting files that ARE needed.)
If there isn't something like this, then that's fine, I just thought I'd ask. It's something I could see existing.
Have a nice day!
Is there something I can run, like Lint, which can detect unused files?
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
- dragondatingsim
- Regular
- Posts: 115
- Joined: Sat Feb 14, 2015 10:22 am
- Tumblr: angelswithscalywings
- Contact:
Re: Is there something I can run, like Lint, which can detect unused files?
Seconded, this would be really useful for creating demos too.
- Ocelot
- Lemma-Class Veteran
- Posts: 2437
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: Is there something I can run, like Lint, which can detect unused files?
First of all, making such a tool, which will accurately work for any kind of RenPy game, is mathematically impossible (it is equivalent to solving halting problem).
On the other hand, if your game does not use DynamicImage, loading from external files, dynamically constructed paths and similar things, it would be possible, but I don't know about such a tool made.
On the other hand, if your game does not use DynamicImage, loading from external files, dynamically constructed paths and similar things, it would be possible, but I don't know about such a tool made.
< < insert Rick Cook quote here > >
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot], mosiuwu