Convert SW - lemocha7/Mod-The-Coaster GitHub Wiki

[TO DO: re-write things in here, finish G-ZIP CHARTS section]

Convert Charts to SW

Requirements

Folder Structure

On your Switch's SD card, make a folder following the structure shown below. I recommend copying files to it only when this guide is finished.

atmosphere/contents/0100EB500D92E000/romfs/
	boot/
		stage_param.dat
	stage/
		2d/
			[.bntx jacket files]
		data_gz/
			[.dat.gz chart files]
		sound/
			[.wav.opus song files]

Converting Stage Param

SW uses a different Stage Param version than AC. We will be using Groove Coaster Converter to convert it.

  1. Copy stage_param.dat from source and put it in romfs/boot/.
  2. In Groove Coaster Converter, input stage_param.dat at the top and set the stage_param version.
  3. Click Load Stage Param, then click the (SWITCH) Update to 1.0.10 button in the bottom-left.
  4. Done! The program will automatically overwrite the entered stage_param.dat with changes.

If the program freezes, wait ~30s for it to finish.

Converting Audio (.wav.opus)

This will take a while. It took me around an hour per 100 songs. Songs in SW use .wav.opus format. More specifically, SW uses LOPUS (.opus with a trimmed header).

  1. In Groove Coaster Converter, open Stage Param Converter (EXPERIMENTAL).
  2. Select all the AC songs in data/stage/sound/ as Song BPM folder, and romfs/stage/sound/ as your Output folder.
  3. On the right, set the Destination as Switch, and press Convert Files.
  4. Songs will slowly be converted to .wav.opus.

Converting Jackets / Logo

AC jackets use a different layout than SW, and need to be converted to display properly. Song title and artist name are also stored in jacket.

Before After
Before After

[...]

AC SW
Resolution 512x256 512x512
Jacket Image 196x196 336x336
  1. Convert all .dds files into .png (or any other image format).
  2. In Mod The Coaster, open Jacket Converter and select your .png image files to convert.
  3. Save the zip the program spits out and re-convert the .png images in there back into .dds.

Convert Format (.dds.bntx)

Switch's .bntx texture format [...].

  1. In Switch-Toolbox, click File/New From File/BNTX From Image, then select all .dds jackets you want to convert.
  2. Once done, put all the .bntx files in romfs/stage/2d.

G-Zip Charts (.dat.dat.gz)

[put this in batch script and run: for %%f in (*.dat) do 7z a -tgzip data_gz/%%f.gz %f ]

Mod The Coaster ♡ lemocha 2024