Stepmania File Writer for the Stepmania Note Generator by cpuguy96 for Stepmania by VR0. Used in conjunction with the Stepmania File Parser. Converts all .txt file generated by either Stepmania File Parser or Stepmania Note Generator to .sm files playable by Stepmania.
NOTICE: Project moved to Stepmania Data Tools
- Place the output files into the input folder and run the script. The default input folder is
writeIn
. - Successfully converted files will be generated in the output folder. The default output folder is
writeOut
. - If different folders are used, specify them by appending
--input inputfolder
and/or--output outputfolder
. Example:python smfile_writer.py --input inputfolder --output outputfolder
If the specified output folder is not found, the script will automatically generate the missing folder.
Changelog
Sorted by most recent:
- rewrote the output function to use write to file only once, reducing avg. runtime by 50% (200 sets: 30s to 17s)
- refactored code
- rewrote algorithms, reducing average runtime by 25% (on a data set of 200 pairs of txt/ogg files: 40s to 30s)
- added auto-create folder for each successfully parsed file; allows easier drag/drop to Stepmania's songs
- updated to match smfile_parser's multiple difficulty support
- implemented code changes from smfile_parser
- reorganized code for readability and added folders
- removed some redundant code
- successfully compressed 1/256th measures to as low as 1/4th
- corrected 1/192th note timings to 1/256th
- fixed a bug where notes that intersect multiple measures appeared in both measures, resulting in extra notes