Skip to content
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

Add cmds for new cheats (big head, big fist, mirror, no textures, etc) #26

Merged
merged 5 commits into from
Aug 21, 2022

Conversation

dallmeyer
Copy link
Collaborator

No description provided.

Comment on lines +3 to +6
python -c "import sysconfig; print(sysconfig.get_path('purelib') + '\\ahk')" > tmpFile
set /p PYSITEPKG_DIR= < tmpFile
DEL tmpFile
pyinstaller --onefile resources\twitchcommands.py --add-data %PYSITEPKG_DIR%;ahk --icon resources\appicon.ico
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My site-packages folder was in a different location, this should be more generic - I needed to make a similar change for the launcher here

Comment on lines +9 to +10
DEL /S /Q "%mypath%OPENGOALTWITCHv0.1.backup.exe"
RENAME "%mypath%OPENGOALTWITCHv0.1.exe" "OPENGOALTWITCHv0.1.backup.exe"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it kept failing to overwrite the old exe for me, so I just moved it to a backup file

Comment on lines 25 to 28
if(exists(".env")):
shutil.remove(".env")
os.replace(".env.txt", ".env")
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think my VSCode must've done some whitespace stuff...


if PREFIX + "mirror" == str(args[0]).lower() and on_check("mirror") and cd_check("mirror"):
active_check("mirror",
"(begin (logior! (-> *pc-settings* cheats) (pc-cheats mirror)) (logclear! (-> *pc-settings* cheats-known) (pc-cheats mirror)))",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this turns on the cheat, and also hides it from the cheat menu so player can't go and turn it off 😈

@dallmeyer dallmeyer requested a review from MikeGamePro August 21, 2022 16:57
@MikeGamePro MikeGamePro merged commit 2220795 into main Aug 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants