*Edit: I've downloaded your new versions and see that you've included credits. Which makes what I wrote previously almost completely void. Just make sure that the LICENSE file is also included as part of the decompiler. This will cover any stray files that doesn't have the license at the top of the file. (like util.py)*
You must be registered to see the links
Just out of curiosity, how did you plan to use an app to automatically generate .rps/rpl files for different games? Or did you plan to just generate it for rogue-like?
I don't even know if there is even a point in making those comments, because finally I will use compiled files that are striped from comments to make it run faster.
I didn't plan on any auto updating files. Because after injecting, all injecting scripts are deleted with a single use.
Only newly generated rpy files out of rpl/rps files remain that are the cheat/mod itself,
and to remove them you just need to delete 'ZLZK' folder from 'game' folder.
The app would be just for people that want to do injector files for a game.
Yeah, I can do injector for any game with any cheat/mod, but so do you.
I especially made it in that way that anyone can use my injector to apply theirs modifications to ren'py games.
It's just another way of applying modifications to original rpy files.
Which I made it very universal or I think that way.
It should work on any operating system,
because I made it in ren'py and python,
which are used in every ren'py game.
And I did this injector, because I didn't ever seen internal injectors,
every other was external, like the one from this thread that is only for windows.
So the only thing now to do is for you users to test it
on different games and on different systems and report any bugs to me.
The question is if my injecting is that good, and if it really is easier to apply.
Doing my injector I tried to edit game files the least I could.
So injector only edit Label/Screen part of the file that you want to edit
and place it in a new rpy file, and it doesn't reuse whole files like others do.
Because seriously, it's so sloppy to just edit original files and post them.
To update cheats/mods injected by my injector,
you need to remove them from the 'game/ZLZK' folder
in case if new version doesn't include all the Labels/Screens used before,
and unzip injector again.
(I guess I could just add option to remove them before injecting,
but not sure if that is right thing to do.)
I was working on auto updating,
but there is no simple way to detect changes in the game and it's so stupid to try to.
Because what's the point of checking every time you launch the game if there is a change in it.
It's just unnecessary. I decided that you would need to reinject it manually.
The cheats/mods made via my injector should work in a new game versions.
But they are depended on Label/Screen name and the part being edited.
So if those would get changed, you would need to update your cheat/mod.
(This function is only in older version of injector.)
(In newest version you probably need to inject it again with every game update.)
So what's better? Single inject that doesn't leave injector,
or injecting every time you launch the game?
I don't like the second option, because game will always run with libraries
that are no longer needed after launch, but they will be open in ram for nothing.
For me and this game it is ~10% more use in ram by game, and it doesn't go away until you close the game.
Alternative is to detect if game needs another injecting, but this takes also ram
and I don't even have a good way to do it anyway.
So I chose manual injecting over auto.
So my injector is just a tool for mod developers of ren'py games,
to apply their work into a game.
And this game was just a testing ground.
So if the author of this thread doesn't wish
for his work to be used through my injector,
then I can just remove it from here.
But originally I just wanted for thread author to use my injector too or just to include it in his thread.
But didn't got any reaction from him, and now it doesn't matter to me anymore.