# Castle of Illusion Switch port 1.0.2 adds SaltyNX FPS reading

> coi_nx 1.0.2 reports FPS and resolution to SaltyNX, adds an xbox_layout option and drops the built-in FPS counter.

- Published: 2026-11-04T11:22:22Z
- Score: 9/10
- Tags: switch, port
- Port / platforms: Mega Drive / Genesis -> Switch (Port)
- Web page: https://emu-radar.customfw.xyz/news/castle-of-illusion-switch-coi-nx-1-0-2/
- Sources: https://github.com/NaGaa95/coi_nx

The Switch port of Castle of Illusion, the Disney and SEGA platformer, received version 1.0.2 on November 3. The project is coi_nx by NaGaa95. It runs the Android version (v1.4.5) of the game on the Switch using a wrapper, requiring your own copy of the APK files.

The update adds support for SaltyNX. The port publishes FPS and render resolution to SaltyNX shared memory for compatible overlays. The built-in FPS counter and its `show_fps` setting are removed. Old `show_fps` lines in `config.txt` are ignored. The port runs without SaltyNX. The author notes that this reports presentation timing and resolution and does not change the frame cap. `unlock_fps` controls the 30 or 60 fps limit.

The second addition is the `xbox_layout` config option. Set it to `1` to swap A/B and X/Y. B sits at the bottom and jumps or confirms in menus, while A on the right throws apples and cancels. The default keeps the Nintendo layout. Restart the game after changing `config.txt`.

Installation steps:

1. Build `coi_nx.nro` with devkitA64 and the devkitPro packages `switch-mesa` and `switch-libdrm_nouveau`.
2. Extract `libViewer_GP.so` and `libfmodex.so` from the APK under `lib/arm64-v8a/`.
3. Place everything in `/switch/coi/` on the SD card: `coi_nx.nro`, both `.so` files and `main.154.com.disney.castleofillusion_goo.obb`.
4. Launch via a title override by holding R on an installed game, or use a forwarder. Applet and album mode do not work.

A `config.txt` file appears on the first run, and saves reside in `/switch/coi/`. The port is based on fgsfds's max_nx wrapper, using the so-loader lineage from [TheOfficialFloW](https://github.com/TheOfficialFloW) / Andy Nguyen. The repository contains no game assets or original code, so you must provide a legally obtained copy.
