Skip to content

A fork of Supermodel, a Sega Model 3 emulator, with a focus on netplay features, replay, and training options for competitive play.

Notifications You must be signed in to change notification settings

blueminder/supermodel-dojo

Repository files navigation

Supermodel Dojo Logo
Logo Credit: @Frosted_Moontips

Supermodel Dojo

Supermodel Dojo is a fork of Supermodel, a Sega Model 3 emulator, with a focus on netplay features, replay, and training options for competitive play. We intend to keep Supermodel Dojo updated with the latest downstream changes made to the parent project.

In addition to the features described above, Supermodel Dojo also contains a frontend for the emulator to make launching your favorite games and adjusting settings easier than ever.

Netplay & Replay Supported Games

Currently, Supermodel Dojo's netplay & replay functionality only supports games with 2 joysticks and digital buttons. These games include:

  • Virtua Fighter 3
  • Virtua Fighter 3 Team Battle
  • Fighting Vipers 2
  • Virtua Striker 2

Replay and netplay functionality is planned for all games with local multiplayer on the same physical cabinet.

Frontend

Open dojo.exe to start the frontend. You may select any game and a menu will po up with available options.

GAtgHsxWUAAN2Q7

To adjust Supermodel settings, click on the "Settings" button to show and hide the window.

GAtgZA_XYAAUIKQ

Replays

Session replay recording is enabled by default. To disable, be sure to disable the RecordSession option in Supermode.ini, or in the frontend's Settings Menu.

To load a replay via the frontend, click on your game of choice and select "Open Replay File". To open via the command line, add the -replay-file= argument with the replay path included.

Replay Takeover

You can watch your old replays and drop in at any time as either character to experiment with your strategy and execution.

When watching a replay, you can assume control over a player by pressing Shift + 1 for player 1 o Shift + 2 for Player 2. This will transfer you to Training Mode with the remainder of the replay playing out.

Training Mode

Supermodel Dojo's Training Mode lets you record, playback, and loop movements on training dummies you can cycle through with a "Switch Player" button.

Switch Player: Shift + F7 Record Slot (1-3): Shift + (F1-F3) Record Slot (1-3): Shift + (F4-F6) Toggle Playback Loop: Shift + F9

Netplay

Starting Netplay Session

Hosting

  1. Select a game and click Host Netplay Session.
  2. Confirm Port & Input Delay
  3. Press Start

image

Joining

  1. Select a game and click Join Netplay Session.
  2. Enter Host IP & Port
  3. Press Start

image

Netplay Session Notes

The following settings should be identical between host & guest player to prevent desyncs:

  • PowerPC Frequency
  • Refresh Rate
  • Delay

A wired connection is preferred, and guarantees a smoother connection between you and your opponent.

Command Line Examples

Hosting Netplay Session

supermodel.exe ROMs/vf3.zip -netplay -delay=1 -target-port=6000 -host

Joining Netplay Session

supermodel.exe ROMs/vf3.zip -netplay -delay=1 -target-port=6000 -target-ip="127.0.0.1"

Manual Delay Calculation

To calculate delay, we would use the following formula:

Ceiling( Ping / 2 * FrameDuration (16 ms) ) = Delay #

For instance, if my opponent’s average ping is 42 ms, I would divide it by 32 ms (2 * 16 ms) and round it up to 2.

= Ceiling( 42 ms / 2*16 ms )
= Ceiling( 42 ms / 32 ms )
= Ceiling( 1.3125 )
= 2

If you or your opponent are on WiFi, or you have a fluctuating connection, be sure to bump the delay up a little bit to compensate for this.

Build Instructions

Windows

The preferred method for building Supermodel is to use GCC and MSYS2. After installing MSYS2, open the MSYS2 shell and install the required dependencies using the pacman package manager:

  • GCC (mingw64/mingw-w64-x86_64-gcc)
  • Make (mingw64/mingw-w64-x86_64-make)
  • SDL2 (mingw64/mingw-w64-x86_64-SDL2, mingw64/mingw-w64-x86_64-SDL2_net)

This can be done using the following commands:

pacman -S mingw64/mingw-w64-x86_64-gcc
pacman -S mingw64/mingw-w64-x86_64-make
pacman -S mingw64/mingw-w64-x86_64-SDL2
pacman -S mingw64/mingw-w64-x86_64-SDL2_net

At this point, you can continue using either the MSYS2 shell or Windows Command Prompt but ensure that both gcc and mingw32-make are in your path. In MSYS2, the location of these binaries will be /mingw64/bin and for Command Prompt, assuming MSYS2 was installed in the default location, add C:\msys64\mingw64\bin to your Windows PATH variable.

Build the Supermodel Dojo emulator:

mingw32-make -f Makefiles/Makefile.Win32 NET_BOARD=1

You will find supermodel in the bin folder.

Build the frontend:

cd Frontend
make

Make sure dojo.exe and supermodel.exe are placed together in the same folder, following the same structure found in the latest Release archive.

Linux

Ensure SDL2 is installed. Most package managers ought to have this available. For example, on Ubuntu, it should be sufficient to run:

sudo apt install libsdl2-dev
sudo apt install libsdl2-net-dev

Build the Supermodel Dojo emulator:

make -f Makefiles/Makefile.UNIX NET_BOARD=1

You will find supermodel in the bin folder.

Build the frontend:

cd Frontend
make

Make sure the dojo and supermodel binaries are placed together in the same folder, following the same structure found in the latest Release archive.

About

A fork of Supermodel, a Sega Model 3 emulator, with a focus on netplay features, replay, and training options for competitive play.

Resources

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 11