Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.65 KB

Readme.md

File metadata and controls

37 lines (28 loc) · 1.65 KB

SM to Psych-engine JSON converter

This is a python script which converts Stepmania/Etterna Charts (*.sm files) into FNF JSON files, which are compatible with the Psych-engine (as of v0.6.2)

Note: Does not support *.ssc files or json to sm conversion just yet

The program allows pretty much any chart in any *.sm file to be converted into Psych-engine. Just answer the questions that the program asks you when you run it and it should generate the JSON file in the same folder where you ran it.

Made in Python 3.10.6 but should work with versions as old as 3.6 (although I haven't tested that yet)

To run the script in interactive mode just type

python SMtoPsychFNF.py

This script also supports taking inputs from configuration-json files. Just use the following command

python SMtoPsychFNF.py --useconfig "path/to/config.json"

Config files must be in json format like so:

{
    "sm_path": "path/to/simfile.sm",
    "chart_index": chart-number-you-want-to-convert-starting-at-1,
    "songname": "Name of the song",
    "songspeed": song-speed,
    "p1": "player 1 name",
    "p2": "player 2 name",
    "gfVersion": "gf-version",
    "flipsides": "y/n"
}

Warning : This program will generate charts for any game mode (dance-single, dance-double, pump-single etc) although for Stepmania game modes that do not have 4 or 8 keys, the resulting json chart may not work as intended, so best stick to dance-single (only bf/opponent gets notes) or dance-double (for both bf and the opponent) charts alone. Currently does not support negBPM charts (They seem to get de-synced) but can handle bpm changes