Just a simple Mac-specific script that swaps which savedcredentials.properties
document is currently active in your PokeMMO folder. This allows the user to have multiple accounts saved on a machine and to easily swap between them without logging in and out.
- Download the
swap.sh
file and put it in the directory you'd like it to live - Open the
terminal
app on your computer - Drag and drop the
swap.sh
file into the terminal window ORcd
to the file - Run the command
chmod +x swap_files.sh
in order to make it executable
- Make note of your PokeMMO directory on your computer
- You can find it by opening PokeMMO,
- Click the "Client Management button",
- Click "Open ROMs Folder" which will open Finder,
- Finally use Finder to go up 2 levels until you are in the
/com.pokeemu.macos/
folder.- Most likely here:
/Users/{YOUR COMPUTER USER HERE}/Library/Application Support/com.pokeemu.macos
- Most likely here:
- Copy this directory's path by right clicking the folder, clicking "Show Info" and copying the text in the "Where:" section
- From the
com.pokeemu.macos
folder, open thepokemmo-client-live
folder, then open theconfig
folder- There you will find your
savedcredentials.properties
file
- There you will find your
- Rename your
savedcredentials.properties
file tosavedcredentials-{YOUR USERNAME}.properties
- Open PokeMMO and click "Forget Saved Password"
- Log into your other account which will generate a new
savedcredentials.properties
file with that account's information in it - Repeat steps 3-5 with as many accounts as you'd like
- Run the
swap.sh
script by double clicking it or drag it into your Dock and click it once - You will see a list of your PokeMMO account usernames and a number to the right of them
- Type in the number of the account you want to use and hit enter. You may quit terminal if it didn't close automatically
- Relaunch PokeMMO and you will be logged into your selected account