An instance of WebMonkeyBall is available at: https://webmonkeyball-d7e19f.purplepages.ch/
WARNING
As of now, I have no idea where to get the audio files, so this deployment will be without sound.
Building
The following steps are required to start WebMonkeyBall:
$ git clone https://github.com/sndrec/WebMonkeyBall.git
$ cd WebMonkeyBall
$ npm i
$ npm run build
# Use any web server now to serve the directory.
$ php -S 127.0.0.1:8080An example GitLab CICD configuration file is also available in the repository.
Packs
Downloading
You can find level packs to download on the Super Monkey Ball 2 Custom Level Pack Repository.
Links for other games will be added as I find them.
Unpacking
Install the Dolphin emulator and add the ISO of the level pack in the list.
Right-click it, then go in “properties”, then head into “filesystem”, right click on the root “Disk” and hit “Extract entire Disc”. Select a directory and let the tool do its thing.
Conversion
SMB2
Clone the WebMonkeyBall repository and use the provided tooling to convert the pack:
$ git clone https://github.com/sndrec/WebMonkeyBall.git
$ cd WebMonkeyBall/tools
$ python smb2_pack_builder.py --guiNow follow the instructions on screen, namely:
- ROM Folder: in the folder you extracted the ISO in, select the
filesdirectory. - Output folder: select any new folder.
- Pack ID: I set it to
1, seems to work. - Pack name: I set it to
test, seems to work. - Also emit pack.zip: true.
Once done, click “Build Pack” on the bottom of the window and hope for the best.
If successful, you should find a bunch of folders and a pack.json at the root of the out dir, and a out-folder-name.zip besides that out dir.
Loading the pack
With either the zip file or folder, head to the main page and go in “level select”.
There, click “Load Pack” and either of the options, then select either your ZIP or folder.
For the stage selection, you might have to switch to “Story” mode for some levels to show up. Once this is done, you can go back and hit “play”.