asm-differ and autodecomp added as submodules (#48)

* Added auto decompiler.

* Added asm-differ.

* Delete diff.py

* Delete diff_settings.py

* Update README.md
This commit is contained in:
CoderStig 2021-10-30 13:49:17 -06:00 committed by GitHub
parent dc1525c157
commit 48f2c2fdde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 10 additions and 1028 deletions

6
.gitmodules vendored Normal file
View File

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

View File

@ -1,6 +1,6 @@
# Mario Kart 64
This repo contains a work-in-progress decompilation of Mario Kart 64 (U). The project pursues historical and educational elements within the game found via taking it apart and putting it back together. Inspiration to do so not only emanates from the game's hardware and technology but also its immensely positive effects on the cultures and families of nearly every nationality. See [progress](#Progress) for more information.
This repo contains a work-in-progress decompilation of Mario Kart 64 (U). The project pursues historical and educational elements within the game found via taking it apart and putting it back together. Inspiration to do so not only emanates from the game's hardware and technology but also its immensely positive effects on the cultures and families of nearly every nationality. See [progress](#Progress) for more information. The project is around 15% complete.
It builds the following ROM:
@ -38,7 +38,7 @@ Run the following commands after pulling:
## Progress
The Mario Kart 64 code-base contains thirty-five C files, around twenty-six files remain for decompilation. This does not account for other kinds of files such as data. The source is in a 'shiftable' state that may allow modding but glitches may exist. Keep in-mind the code-base will alter significantly overtime. Feedback that raises awareness of new shift issues are welcome as a comment on issue #6. Note that some segments must be moved manually to prevent them colliding into each other.
The Mario Kart 64 code-base contains thirty-five C files, around twenty-five files remain for decompilation. This does not account for other kinds of files such as data. The source is in a 'shiftable' state that may allow modding but glitches may exist. Keep in-mind the code-base will alter significantly overtime. Feedback that raises awareness of new shift issues are welcome as a comment on issue #6. Note that some segments must be moved manually to prevent them colliding into each other.
Some menu textures are compressed using a format called tkmk00. A byte-matching compressor/decompressor does not yet exist.

1
autodecompiler Submodule

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

1
diff Submodule

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

1012
diff.py

File diff suppressed because it is too large Load Diff

View File

@ -1,14 +0,0 @@
#!/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'] = ['src', 'include']