Build with Windows ‐ MSYS2 - AngeDieu/SuperOS GitHub Wiki

First, download MSYS2 from msys2.org and run the executable.
Then open a terminal (for exemple UCRT64) and install the different dependancies:

pacman -S mingw-w64-x86_64-gcc mingw-w64-x86_64-freetype mingw-w64-x86_64-pkg-config mingw-w64-x86_64-libusb make mingw-w64-x86_64-python3 mingw-w64-x86_64-libjpeg-turbo mingw-w64-x86_64-libpng mingw-w64-x86_64-imagemagick mingw-w64-x86_64-librsvg mingw-w64-x86_64-inkscape mingw-w64-x86_64-python3-pip mingw-w64-x86_64-python-lz4 zip unzip mingw-w64-x86_64-wget git mingw-w64-x86_64-arm-none-eabi-toolchain
echo "export PATH=/mingw64/bin:$PATH" >> .bashrc
pip install pypng stringcase

This is enouth to compile Upsilon for the device and windows simulator.

web simulator
For the web simulator, you need to setup emsdk environment:
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
./emsdk install 1.40.1
./emsdk activate 1.40.1
echo "source $HOME/emsdk/emsdk_env.sh" >> .bashrc
linux simulator -error I didn't add any package
CC      ion/src/simulator/external/sdl/src/core/unix/SDL_poll.o
ion/src/simulator/external/sdl/src/core/unix/SDL_poll.c:28:10: fatal error: poll.h: No such file or directory
   28 | #include <poll.h>
      |          ^~~~~~~~
compilation terminated.
make: *** [build/rules.mk:10: output/release/simulator/linux/ion/src/simulator/external/sdl/src/core/unix/SDL_poll.o] Error 1
3ds simulator
You need to setup the DevkitPRO environment: more info at devkitPro_pacman .
pacman-key --recv BC26F752D25B92CE272E0F44F7FD5492264BB9D0 --keyserver keyserver.ubuntu.com
pacman-key --lsign BC26F752D25B92CE272E0F44F7FD5492264BB9D0
wget https://pkg.devkitpro.org/devkitpro-keyring.pkg.tar.xz
pacman -U --no-check devkitpro-keyring.pkg.tar.xz

Edit /etc/pacman.conf nano /etc/pacman.conf and add at the end of the file:

[dkp-libs]
Server = https://pkg.devkitpro.org/packages
[dkp-windows]
Server = https://pkg.devkitpro.org/packages/windows/$arch/

Save the file and update the database from the bash interface:

pacman -Syu

You can now compile 3ds simulator:

make PLATFORM=simulator TARGET=3ds

To have a cia rom, do:
wget --no-check https://github.com/3DSGuy/Project_CTR/releases/download/makerom-v0.18.3/makerom-v0.18.3-win_x86_64.zip
unzip makerom-v0.18.3-win_x86_64.zip
rm makerom-v0.18.3-win_x86_64.zip
export PATH=".:$PATH"
make PLATFORM=simulator TARGET=3ds epsilon.cia
TI Nspire -impossible Ndless SDK doesn't work on MSYS2. You need to install WSL or Cygwin: Install Ndless SDK .
⚠️ **GitHub.com Fallback** ⚠️