-
Notifications
You must be signed in to change notification settings - Fork 685
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RPA checks + scripts.rpa handling #10212
base: content
Are you sure you want to change the base?
Conversation
43ad2f4
to
27dd257
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ThePotatoGuy I am a terrible reviewer because this was done almost a year ago, but could you remind me why we need this? We should build scripts.rpa ourselves and users will overwrite the files (or it will do our installer). We don't use anything from the original archive anymore, so it should work. This is much simpler than relying on py2 code and doing this handling and maintaining extra overrides.
This is also legal because we still check for
- the scripts.rpa being present when the game starts
- the scripts.rpa being present when the installer runs
- other rpa from the original game when the game starts
I believe we should just uncomment the check and stop deleting rpa in our CI
@multimokia am I wrong?
I remember I think deleting was my call due to removing the dependency and it causing issues. I agree, if we can simplify the process by replacing the files, that may be a better call. |
Changes
renpy.game.script.initcode
so it doesnt load later. (see override function comment for more info)Testing
loading with no rpas
loading with scripts.rpa