Altered submodules (#50)

* Adjusted asm-differ and removed autodecompiler

* Added permuter as submodule
This commit is contained in:
CoderStig 2021-11-05 14:12:08 -06:00 committed by GitHub
parent 8ab4557b39
commit 67549c6061
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 34 additions and 4 deletions

7
.gitmodules vendored
View File

@ -1,6 +1,9 @@
[submodule "autodecompiler"]
path = autodecompiler
url = https://github.com/farisawan-2000/auto-decompiler
[submodule "diff"]
path = diff
[submodule "asm-differ"]
path = tools/asm-differ
url = https://github.com/simonlindholm/asm-differ
[submodule "tools/decomp-permuter"]
path = tools/decomp-permuter
url = https://github.com/simonlindholm/decomp-permuter

@ -1 +0,0 @@
Subproject commit 0c069ace4939c3814c4bced74f410be995966eac

1
diff

@ -1 +0,0 @@
Subproject commit c379de7d88c37204f8a96fbc4b98abc700c5ae28

3
diff Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
python3 tools/asm-differ/diff.py $1

16
diff_settings.py Normal file
View File

@ -0,0 +1,16 @@
#!/usr/bin/env python3
def add_custom_arguments(parser):
group = parser.add_mutually_exclusive_group(required=False)
group.add_argument('-u', dest='lang', action='store_const', const='us',
help="Set version to US.")
def apply(config, args):
lang = args.lang or 'us'
config['mapfile'] = f'build/{lang}/mk64.{lang}.map'
config['myimg'] = f'build/{lang}/mk64.{lang}.z64'
config['baseimg'] = f'baserom.{lang}.z64'
config['makeflags'] = [f'VERSION={lang}']
config['source_directories'] = ['.']

4
import Normal file
View File

@ -0,0 +1,4 @@
#!/bin/bash
python3 tools/decomp-permuter/import.py $1

4
permuter Normal file
View File

@ -0,0 +1,4 @@
#!/bin/bash
python3 tools/decomp-permuter/permuter.py $1

1
tools/asm-differ Submodule

@ -0,0 +1 @@
Subproject commit c379de7d88c37204f8a96fbc4b98abc700c5ae28

1
tools/decomp-permuter Submodule

@ -0,0 +1 @@
Subproject commit 2420458ba7ed130df82e4393b8e0ba3d222aa336