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

How to use #2

Open
Lucas559-noob opened this issue Aug 11, 2019 · 6 comments
Open

How to use #2

Lucas559-noob opened this issue Aug 11, 2019 · 6 comments

Comments

@Lucas559-noob
Copy link

Lucas559-noob commented Aug 11, 2019

I'm new in the area of python and not sure how to use the pythom, you could make a video or recommend any video?

@ezzinekaemel
Copy link

I second that, I have a trouble finding out a tutorial on how to use the python script on the savegame.
Please include a noob-friendly guide on how to input the commands and where.

@ezzinekaemel
Copy link

Sooo mah dude.
you go ahead and install the latest python x32 for windows (mine is v3.7).
You get your save file savegame_000,dat in the same folder the editor here.
You press on SHIFT keyboard and right click then "Open Command Window Here".
Copy paste this into the cmd and press enter:

swh_savegame.py savegame_000.dat -o savegame_001.dat -i

(the i should add all inventory items into your inventory and save it to a new 001 slot.

From there you can continue on by yourself.

@ezzinekaemel
Copy link

and here is a multi one that sets all inventory items and hats and experience (for all unlocked characters) and water to 999999

swh_savegame.py savegame_000.dat -o savegame_001.dat -i -e -t -w 999999

( a lil bit of trial and error and logic goes a long way !! Never opened a python before in my life. 30 minutes later I managed it just fine ! Don't give up next time !)

@Lucas559-noob
Copy link
Author

thanks this helped, i was downloading various things to python as if i need it like it was the editors that opens a window where i can edit.
I also had to download a file for the registry, which only appeared to open powershell, now I can open cmd

@apocalyptech
Copy link
Owner

Ah, thanks for the report, I'm going to re-open this until I get the README updated. I'm usually better at having at least some instructions in there, and you're right that it should really have at least something in there about usage. I'll get that updated later today. Thanks for the report!

@Nevrai
Copy link

Nevrai commented Aug 14, 2024

I cannot get it to work. I tried the commands @ezzinekaemel provided. I also tried --check. However, nothing happens. It does not create a new save file, nor does it print anything.

Edit: Never mind. On Windows, you have to prefix the command with python.

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

No branches or pull requests

4 participants