Skip to content

Instantly share code, notes, and snippets.

@jhw
Last active May 28, 2023 00:58
Show Gist options
  • Save jhw/700a0100bbd11e71ef7056c97a6facaa to your computer and use it in GitHub Desktop.
Save jhw/700a0100bbd11e71ef7056c97a6facaa to your computer and use it in GitHub Desktop.
bin
include
lib
share
data
*.pyc
patch-decompiler-output
.sunvox*

run

justin@justin-XPS-13-9360:~/work$ python decompiler.py city_dreams.sunvox 
WARNING - Gen-Loo-Del-Dis/0 is inaudible
WARNING - Gen-Loo-Del-Dis/896 is inaudible
WARNING - Kic-Dis-Dis/896 is inaudible
WARNING - Gen-Loo-Del-Dis/2144 is inaudible
WARNING - Gen-Loo-Del-Dis/2144 is inaudible
WARNING - Kic-Dis-Dis/2144 is inaudible
INFO - dumping 11 patches [45 versions] to patch-decompiler-output/city_dreams

radiant-voices

sunvox

virtualenv

  • virtualenv -p /usr/bin/python3.6 .
  • source bin/activate
  • pip install -r requirements.txt
  • {...}
  • deactivate
from rv.tools.patch_decompiler import *
if __name__ == "__main__":
main()
attrs==19.1.0 # https://stackoverflow.com/questions/58189683/typeerror-attrib-got-an-unexpected-keyword-argument-convert
git+https://github.com//metrasynth/radiant-voices@jhw-fix-reader
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment