kemcbride / itg_tools Goto Github PK
View Code? Open in Web Editor NEWTools and thingies that I use to make playing ITG (especially with customs and weird software limits) easier
Tools and thingies that I use to make playing ITG (especially with customs and weird software limits) easier
hey hey, did you know? that your non-careful loop iterating over items?? is dangeorus and scary? beacuse sometimes packs have banners and stuff. and then it'll error every time. jeesh.
...
Traceback (most recent call last):
File "prep.py", line 19, in <module>
main(args.path)
File "prep.py", line 11, in main
patch_audio_quality('/'.join([path, song]))
File "/home/kelly/github/itg_usb_prep/file_size.py", line 16, in patch_audio_quality
f for f in os.listdir(sm_path)
OSError: [Errno 20] Not a directory: 'SV2/banner.png'
did you know? that if your subprocess has a nonzero return code? python raises an exception?
this basically means my dumb if statement for a nonzero code is useless.
kelly:itg_usb_prep$ python prep.py dog
SKIPPING: One.ogg // 2261923b
Fancy.ogg
True
Traceback (most recent call last):
File "prep.py", line 19, in <module>
main(args.path)
File "prep.py", line 11, in main
patch_audio_quality('/'.join([path, song]))
File "/home/kelly/github/itg_usb_prep/file_size.py", line 26, in patch_audio_quality
passes_check = call_avconv(sm_path, af)
File "/home/kelly/github/itg_usb_prep/file_size.py", line 50, in call_avconv
stdout=FNULL, stderr=FNULL)
File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['avconv', '-i', 'dog/Fancy/Fancy.ogg', '-c:a:0', 'libvorbis', '-qscale:a', '3', 'dog/Fancy/temp', '-y']' retur
ned non-zero exit status 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.