diff --git a/.gitignore b/.gitignore index 41c8752..ac92f41 100644 --- a/.gitignore +++ b/.gitignore @@ -18,4 +18,6 @@ test_emu/ *.pyc dcc_test.py old_stuff/ -.out/ \ No newline at end of file +.out/ +*.tar +*.zip \ No newline at end of file diff --git a/tools/riffHASDis.py b/tools/riffHASDis.py index 7325b92..70a05c1 100644 --- a/tools/riffHASDis.py +++ b/tools/riffHASDis.py @@ -8,101 +8,179 @@ if __name__ == "__main__": fp = f.read(4) if len(fp) < 4: break - cmd = int.from_bytes(fp, "little", signed=True) - if cmd == -1: - offset, data = struct.unpack("