Skip to content

A script that converts Stepmania's *.sm files into Psych Engine compatible *.json files

Notifications You must be signed in to change notification settings

UncertainProd/SMtoPsychFNF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A script that converts Stepmania's *.sm files into Psych Engine compatible *.json files

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages