Skip to content

Convert a .3dsx to .cia via MSYS2

Mark Street edited this page Aug 28, 2020 · 3 revisions

Introduction

The following assumes:

  • You have successfully compiled sm64.us.f3dex2e.3dsx via MSYS2

It is a 2-step process

  1. Create a cxi from the 3dsx
  2. Create a cia from the cxi.

Build Instructions

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

Clone this wiki locally