-
Notifications
You must be signed in to change notification settings - Fork 1
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
How to run it? #1
Comments
The readme shows an example of how you can run the scripts on Linux. If you are running Windows, you would need to install a Python 2.x release. Ex: https://www.python.org/ftp/python/2.7.13/python-2.7.13.amd64.msi Download the .py files from this github repository and save to: From a windows command prompt, change directories to the save games folder mentioned above. Then run the desired script from the command prompt. Ex: Note, if you are running on Windows, you will get "Error 183: Cannot create a file when that file already exists". The script actually is working aside from the final step of replacing the original save file with the modified one. So just look for "outFile.hoi3" as the new save game file that has the modifications. |
thanks |
I know this thread is old but I'm new to modding, I got error syntax everything , could you make a video on how to run these scripts? |
Can you post the specific error message, and confirm what operating system you're using? |
I made some updates to the readme and the previous Error 183 issue should be fixed, give it another try and let me know how it goes. |
Hey I know this thread il very old but I have the same error syntax everytime. (I am on Windows 10) C:\Users\lchan\OneDrive\Bureau\save games>"C:\Users\lchan\OneDrive\Bureau\save games\hoiiiicheats-master\industry.py" Allemagne C.hoi3 GER 10" |
My command line is The Error information just like @skud38000 , can you help, plz. |
@peace-dove @skud38000 You get this error because you have Python3 installed instead of Python2. One way to resolve this is to uninstall Python3 and install Python2 on your system. Alternatively you can delete any of these "print" lines that it complains about from the script and it may still work with Python3 (haven't tested it). Python3 uses a different syntax for "print" statements than Python2 but it is just giving some user feedback in this case and not essential to the running of the script. |
Yes I have tested the solution to change "print" to python3-version, it works.(I only test some *.py) |
I am on python3, i have commented all the print commands, but i am getting an other issue now. Traceback (most recent call last): Any ideas? |
No description provided.
The text was updated successfully, but these errors were encountered: