u/D41BY

New version of the custom game mode gecko code generator tool (v1.1.0). Now compatible with Slippi replays!
▲ 12 r/SSBM

New version of the custom game mode gecko code generator tool (v1.1.0). Now compatible with Slippi replays!

Hey all. I've made some improvements to the tool, so that the codes it generates should now be compatible with Slippi replays (thanks to Fizzi & the Slippi discord for the help with that).

In addition, the generated codes are quite a bit shorter and more efficient (using a single injection site where possible).

See the original post for details about what the tool is and how it works.

Enjoy!

github.com
u/D41BY — 4 days ago
▲ 159 r/SSBM

https://github.com/AlexMiddletonDalby/SSBM-Custom-Game-Mode-Generator

I've been working for a while on a little tool that generates Slippi compatible gecko codes for custom rulesets/game modes

Simply specify what options you would like to use (time, stocks, stages, items, etc), and the tool will generate a gecko code for that configuration. Ever wanted a code for 99 stocks, very high Pokeballs on Pokefloats? Well now you can make it!

Features

  • Build any ruleset you can think of- choose your stocks, time limit, items and stages
  • Generate codes for either Direct or Teams modes
  • Configure metadata for the code, including name, description and author. These will show up in Dolphin's UI!
  • Copy the created gecko code to the clipboard, ready to be pasted into the Dolphin config file
  • Lightweight command line tool, built in Rust
  • Easy to use TUI powered by ratatui
  • Works on Windows, Mac, and Linux

How to use

ssbm-custom-game-mode-generator is a command line tool, but it uses ratatui to show a simple, easy to use UI.

Most people should just be able to download the pre-built binaries from the latest github release, and double click the executable to run it up in a terminal. From there, using the tool should be self explanatory (there are controls listed at the bottom).

There is also an option to download and install the tool with a script to make it available on your system more permanently.

Combine with the FFA code

You may have seen my post last week that allows you to play free-for-all over Slippi Teams mode. Since this tool lets you choose to generate a code that works in Teams, you should be able to combine these together create custom free-for-all rulesets too (great for silly Around the World style games with friends).

u/D41BY — 10 days ago
▲ 38 r/SSBM

TL;DR

I made a code to play free-for-all matches using Slippi's Teams mode. All 4 players need to have the code installed, but then you can just use teams mode to play free-for-all. There are also codes for enabling items and random stages. Enjoy!

Background

My friends and I often play silly free-for-all gamemodes in melee (items on, random stages, around the world challenges, that sort of thing) and, until recently, we've always had to fall back to r18 dolphin netplay to do that. It's laggy, it breaks sometimes, it's annoying to set up. It sucks. We've always said it would be amazing if we could just use Slippi instead.

So I took it upon myself to learn how to write gecko codes, and created a code to make that work. We've been using it for a few months now with very few issues, so I'm ready to share it more widely!

How does it work?

The code does a few things:

  • Modifies the game-end rules for Slippi teams mode to act like free for all (it just redirects to the singles logic internally)
  • Disables stock-stealing
  • Makes some modifications to the CSS to allow you to pick colours as you would in singles

So it's a bit of a hack, but in my experience it works pretty reliably. It's good enough to fill the gap until we get native free-for-all support in Slippi (fizzi pls).

How do I use it?

  1. Gather 3 of your friends.
  2. Get everyone to add and enable the gecko code in Slippi dolphin, same as for any other code.
  3. Go to Teams. You should see that the team selector is missing, and you can change colour with X/Y like in singles.
  4. Pick your characters and colours
  5. Join a game like you normally would for teams. Enjoy!

If you see desyncs or other issues, the most likely problem is that one of the players doesn't have the code installed and enabled correctly, so double check that!

The code shouldn't affect Unranked or Direct modes, so you can leave it enabled all the time if you like. Of course if you want to play regular Teams again, you'll need to disable it.

Items and random stages

Additionally, I have made some codes that allow you to enable items and random stages in doubles mode, since I couldn't find those online anywhere. With those combined, you can experience some proper casual 4 player free for all chaos over Slippi.

Items: https://github.com/AlexMiddletonDalby/gecko-codes/blob/main/items-in-teams.ini
Stages: https://github.com/AlexMiddletonDalby/gecko-codes/blob/main/random-stages-in-teams.ini

Any downsides?

Not really! The only thing we've found is that the CSS-altering parts of the code are liable to break when Slippi gets updated, but I will endeavour to update the code to fix it when that happens (luckily the gecko code parts of slippi are pretty stable and don't change all that often).

Additionally, you do need a full complement of 4 players- no 3 player free for all I'm afraid.
Edit: with the new version of Slippi this is now possible by adding %3 to the end of your connect code!

If you have any issues with the code, feel free to report them here (although please bear in mind that I'm pretty new to melee hacking, and this is just something I made for myself and my friends, so no guarantees!)

Edit: I've updated the code to be compatible with the new Slippi 3.6.0 update, so make sure you're using the latest if you have issues.

The new party mode is only for random matchmaking right now, so the code still has it's use if you want to play with specific people =)

u/D41BY — 17 days ago