Skip to content

Commit

Permalink
zipping the converter
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchapin committed Jul 12, 2019
1 parent e376c22 commit 24f9948
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ This version is a complete re-write, and features full bi-directional conversion

[Project page on the GBATemp Forum](https://gbatemp.net/threads/undertale-save-game-converter-v2-with-full-bi-directional-pc-switch-conversion-ability.542897/)


## Requirements
- Undertale
- A Modded Nintendo Switch
Expand All @@ -15,28 +16,29 @@ This version is a complete re-write, and features full bi-directional conversion
1. Download the latest release from https://github.com/tomchapin/undertale-save-converter/releases
2. Save it to a folder on your local computer.
3. Copy your game save files to the same folder.
4. Make sure you have Python3 installed


### Converting from PC to Switch
1. Make sure you have copied your game's file0, file9, and undertale.ini files into the folder with the converter.py file.
1. Make sure you have copied your game's file0, file9, and undertale.ini files into the folder with the undertale_save_converter.exe file.
(These files are typically located in your system's %LocalAppData%\UNDERTALE\ folder)
2. Use your command prompt to browse to the folder, then execute `python converter.py` and select the first menu option.
2. Use your command prompt to browse to the folder, then execute `undertale_save_converter.exe` and select the first menu option.
3. Alternately (if you want to run the script via python), execute `python undertale_save_converter.py` (requires Python 3 to be installed).


### Converting from Switch to PC
1. Make sure you have the undertale.sav file copied from your Nintendo Switch placed in the folder with the converter.py file.
1. Make sure you have the undertale.sav file copied from your Nintendo Switch placed in the folder with the undertale_save_converter.exe file.
This file can be obtained from a modded switch by using tools such as Checkpoint or JKSM.
- Checkpoint: https://gbatemp.net/threads/checkpoint-a-simple-and-fast-save-manager.485591
- JKSM: https://github.com/J-D-K/JKSM
2. Use your command prompt to browse to the folder, then execute `python converter.py` and select the second menu option.
2. Use your command prompt to browse to the folder, then execute `undertale_save_converter.exe` and select the second menu option.
3. Alternately (if you want to run the script via python), execute `python undertale_save_converter.py` (requires Python 3 to be installed).


### Compiling the executable (if you don't want to download and use the supplied converter.exe file)
1. Install Python 3.4 (x86) on a Windows computer, making sure you select the option to add Python to your path.
2. Install the Py2Exe utility (`pip install py2exe`) - https://pypi.org/project/py2exe/
2. Install the Py2Exe utility (`py -3.4 -m pip install py2exe`) - https://pypi.org/project/py2exe/
3. Install pywin32-221.win32-py3.4.exe from https://sourceforge.net/projects/pywin32/files/pywin32/Build%20221/
4. Check out this git repo to a folder on your local computer.
5. Browse to the folder and execute `pip install -r requirements.txt` (to install dependencies).
6. Execute `py -3.4 -m py2exe.build_exe converter.py` to compile the converter.py file to an .exe file.
7. Look inside the `dist` folder for your newly created `converter.exe` file!
6. Execute `py -3.4 -m py2exe.build_exe undertale_save_converter.py` to compile the converter.py file to an .exe file.
7. Look inside the `dist` folder for your newly created `undertale_save_converter.exe` file!
Binary file removed converter.exe
Binary file not shown.
Binary file added undertale_save_converter.zip
Binary file not shown.

0 comments on commit 24f9948

Please sign in to comment.