You will need:
wsl --install
and press Enter.Download and install Visual Studio Code (VSCode), a code editor that works well with DX:
This manual assumes you are using Visual Studio Code, but it is possible to use another editor. However, you will need to adapt instructions to your editor and be confident using the command line.
For Step 4, to run the game, use nix develop –profile .nix-profile –command ./run
.
On Windows, open WSL. On macOS, open Terminal.
Carefully type the following command and press Enter:
Then follow the instructions to set up DX.
Type DX_DIR=~/my-folder
, then run the setup script as above.
You must own a copy of Paper Mario (USA) to use DX. The European and Japanese versions of the game are not currently supported.
There are a variety of tools you can use to dump a backup from your own cartridge or Virtual Console copy. If you do have a clean NTSC-U ROM, but it is in another format, convert it to z64.
When the script finishes successfully, it should open DX in VSCode. You can close the terminal now.
With VSCode open, press Ctrl+Shift+B (Cmd+Shift+B on macOS) to build the game.
DX will automatically try to run the game in a known emulator after building. If you don't have an emulator already, I recommend using ares because it is very accurate. If you don't regularly test with ares and/or real hardware, your mod may not work correctly for others.
If DX did not find your emulator, you can load the ROM manually. The output ROM is located at ver/us/build/papermario.z64
.
If you prefer real hardware, you can copy the output ROM ver/us/build/papermario.z64
to a flashcart.
If you've made it this far, congratulations! You've successfully set up Paper Mario DX.
You're almost ready to start making changes to the game. To do that, you need to learn about the asset stack.
You can reopen it by using the 'Recent' menu on the VSCode Welcome screen.
If you can't find it, you can open VSCode from a terminal. Open a terminal and run code ~/papermario-dx
. Note that you should use WSL if you're on Windows.
If you run into any issues during setup, ask for help in the #papermario-dx
channel in the Star Haven Discord.