forked from sm64-port/sm64-port
-
Notifications
You must be signed in to change notification settings - Fork 33
Convert a .3dsx to .cia via MSYS2
Mark Street edited this page Aug 28, 2020
·
3 revisions
The following assumes:
- You have successfully compiled
sm64.us.f3dex2e.3dsx
via MSYS2
It is a 2-step process
- Create a
cxi
from the3dsx
- Create a
cia
from thecxi
.
Download 3dstools repo and checkout cxi-stuff branch
git clone https://github.com/devkitPro/3dstools.git
cd 3dstools
git checkout cxi-stuff
Install dependencies:
pacman -Syu autoconf automake unzip --noconfirm
Compile 3dstools:
./autogen.sh
./configure
make
Convert your pre-built .3dsx file into a .cxi file:
./cxitool ../sm64-port/build/us_3ds/sm64.us.f3dex2e.3dsx sm64.cxi
Download/extract makerom:
wget https://github.com/3DSGuy/Project_CTR/releases/download/makerom-v0.17/makerom-v0.17-win_x86_64.zip
unzip makerom-v0.17-win_x86_64.zip
Convert the .cxi to a .cia file:
./makerom -f cia -o sm64.cia -target t -i sm64.cxi:0:0 -ignoresign
You can then find the .cia at C:\msys2\home\<username>\3dstools\sm64.cia