Code Monkey home page Code Monkey logo

ddr-datatools's Introduction

GST and StepMania conversions

ddr-render.py mass converts xwb and ssq files to mp3 and ogg/.sm

Choose between scharfrichter (default), rhythmcodex, ddrcharttool, or none (GST only)

USAGE:

Arguments:
'-i', '--input', help='Input folder', default="contents/data"
'-o', '--output', help='Output folder', default="output"
'-c', '--sm-converter', help='StepMania tool', default=None, choices=["scharfrichter", "rhythmcodex", "ddrcharttool"]
'-s', '--series', help='Series to process (multiple ex: 19,20)', default='20'
'-t', '--threads', help='Maximum workers for thread pool', default=10

External dependencies for processing GST:

External dependencies for also processing SM:

A mixture of tools are used:

  • three sm converter options because each have their quirks
  • unxwb because all other tools extract to normal uncompressed wav instead of the game's raw lossy ADPCM
  • sox for converting to ogg because all other tools seem to add padding which introduces an offset requirement
  • ffmpeg for mp3 tags
  • series prior to A20 are untested, but imagemagick may be required for converting old .dds jackets where RhythmCodex and Pillow break

Merge music databases

merge-mdb.py merges two mdbs and makes a diff (with omni songs only for example)

USAGE:

  1. Run arcutils_extract.py to get musicdb_omni.xml and musicdb_new.xml
  2. Run merge-mdb.py
  • Uncomment lines 82-85 to add " (OmniMIX)" to artist names in the merged output
  1. Run arcutils_create.py to repack the output musicdb_merged.xml or musicdb_diff.xml (copy to data\gamedata\musicdb.xml first)

Import system573 songs to A20+ (old)

USAGE:

  1. Extract packages folder from ddrextreme_omnimix.rar to here

  2. Enable dotnet3

  • (offline) mount windows iso ADMIN CMD: dism.exe /online /enable-feature /featurename:NetFX3 /Source:D:\sources\sxs /LimitAccess
  1. Extract dxsdk_aug2007.exe\Utilities\bin\x86 folder with 7-zip(Open Inside) to here
  1. Extract magick.exe and ffmpeg.exe to here
  1. pip install lxml typing-extensions

  2. Copy contents\data\arc\startup.arc and contents\data\arc\thumbnail\jacket_thumbnails_ja_8.arc to here

  3. Run python3 573-to-a20.py

  4. Copy the resulting contents\ over your original

Note:

  • this is useless now
  • artist name is set to OMNIMIX for all added songs because artists are not in the Extreme package.json
  • background stage is set to 3 for all added songs
  • the diff levels may not be accurate (old_diff * 1.5 rounded down)
  • jacket aspect ratios are messed up
  • most preview volume is deep fried (tried to match original preview levels)

Thanks:

  • WF for extracted packages
  • DM for original arc tool and lz77 (extract)

ddr-datatools's People

Contributors

drmext avatar

Stargazers

 avatar

Watchers

rupan sansei avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.