├── .gitignore ├── Makefile ├── README.md ├── agbcc_exceptions.mk ├── asm ├── crt0.s ├── data.s ├── defines.s ├── game.s ├── macros.s ├── main.s ├── mka0.s ├── mka1.s ├── mka2.s ├── mka3.s ├── mka4.s ├── mka5.s ├── mka6.s ├── mobile_adapter_gb0.s ├── mobile_adapter_gb1.s ├── mobile_adapter_gb_intro.s ├── ram.s ├── rom_header.s └── swi.s ├── graphics └── mobile_adapter_gb │ ├── intro │ ├── extra │ │ ├── mgb_intro_logo(correct_spacing).4bpp │ │ └── mgb_intro_logo(correct_spacing).png │ ├── intro.mk │ ├── mgb_intro_logo.4bpp │ ├── mgb_intro_logo.gbapal │ ├── mgb_intro_logo.lz │ ├── mgb_intro_logo.pal │ └── mgb_intro_logo.png │ └── mgb.mk ├── graphics_file_rules.mk ├── include ├── gba │ ├── defines.h │ └── gba.h ├── mgb_profile.h ├── mgb_save.h ├── mgb_unk1.h └── mgb_unk2.h ├── ld_script.ld ├── mka.map ├── mka.sha1 ├── src ├── mgb_profile.c ├── mgb_save.c ├── mgb_save_080577f8.c ├── mgb_unk1.c └── mgb_unk2.c ├── sym_bss.txt ├── sym_ewram.txt └── tools ├── gbagfx ├── .gitignore ├── LICENSE ├── Makefile ├── _gbagfx ├── convert_png.c ├── convert_png.h ├── font.c ├── font.h ├── gfx.c ├── gfx.h ├── global.h ├── huff.c ├── huff.h ├── jasc_pal.c ├── jasc_pal.h ├── lz.c ├── lz.h ├── main.c ├── options.h ├── rl.c ├── rl.h ├── util.c └── util.h ├── ramscrgen ├── .gitignore ├── LICENSE ├── Makefile ├── _ramscrgen ├── char_util.h ├── elf.cpp ├── elf.h ├── main.cpp ├── ramscrgen.h ├── sym_file.cpp └── sym_file.h └── scaninc ├── .gitignore ├── LICENSE ├── Makefile ├── _scaninc ├── asm_file.cpp ├── asm_file.h ├── c_file.cpp ├── c_file.h ├── scaninc.cpp ├── scaninc.h ├── source_file.cpp └── source_file.h /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/.gitignore -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/README.md -------------------------------------------------------------------------------- /agbcc_exceptions.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/agbcc_exceptions.mk -------------------------------------------------------------------------------- /asm/crt0.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/asm/crt0.s -------------------------------------------------------------------------------- /asm/data.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/asm/data.s -------------------------------------------------------------------------------- /asm/defines.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/asm/defines.s -------------------------------------------------------------------------------- /asm/game.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/asm/game.s -------------------------------------------------------------------------------- /asm/macros.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/asm/macros.s -------------------------------------------------------------------------------- /asm/main.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/asm/main.s -------------------------------------------------------------------------------- /asm/mka0.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/asm/mka0.s -------------------------------------------------------------------------------- /asm/mka1.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/asm/mka1.s -------------------------------------------------------------------------------- /asm/mka2.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/asm/mka2.s -------------------------------------------------------------------------------- /asm/mka3.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/asm/mka3.s -------------------------------------------------------------------------------- /asm/mka4.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/asm/mka4.s -------------------------------------------------------------------------------- /asm/mka5.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/asm/mka5.s -------------------------------------------------------------------------------- /asm/mka6.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/asm/mka6.s -------------------------------------------------------------------------------- /asm/mobile_adapter_gb0.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/asm/mobile_adapter_gb0.s -------------------------------------------------------------------------------- /asm/mobile_adapter_gb1.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/asm/mobile_adapter_gb1.s -------------------------------------------------------------------------------- /asm/mobile_adapter_gb_intro.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/asm/mobile_adapter_gb_intro.s -------------------------------------------------------------------------------- /asm/ram.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/asm/ram.s -------------------------------------------------------------------------------- /asm/rom_header.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/asm/rom_header.s -------------------------------------------------------------------------------- /asm/swi.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/asm/swi.s -------------------------------------------------------------------------------- /graphics/mobile_adapter_gb/intro/extra/mgb_intro_logo(correct_spacing).4bpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/graphics/mobile_adapter_gb/intro/extra/mgb_intro_logo(correct_spacing).4bpp -------------------------------------------------------------------------------- /graphics/mobile_adapter_gb/intro/extra/mgb_intro_logo(correct_spacing).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/graphics/mobile_adapter_gb/intro/extra/mgb_intro_logo(correct_spacing).png -------------------------------------------------------------------------------- /graphics/mobile_adapter_gb/intro/intro.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/graphics/mobile_adapter_gb/intro/intro.mk -------------------------------------------------------------------------------- /graphics/mobile_adapter_gb/intro/mgb_intro_logo.4bpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/graphics/mobile_adapter_gb/intro/mgb_intro_logo.4bpp -------------------------------------------------------------------------------- /graphics/mobile_adapter_gb/intro/mgb_intro_logo.gbapal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/graphics/mobile_adapter_gb/intro/mgb_intro_logo.gbapal -------------------------------------------------------------------------------- /graphics/mobile_adapter_gb/intro/mgb_intro_logo.lz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/graphics/mobile_adapter_gb/intro/mgb_intro_logo.lz -------------------------------------------------------------------------------- /graphics/mobile_adapter_gb/intro/mgb_intro_logo.pal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/graphics/mobile_adapter_gb/intro/mgb_intro_logo.pal -------------------------------------------------------------------------------- /graphics/mobile_adapter_gb/intro/mgb_intro_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/graphics/mobile_adapter_gb/intro/mgb_intro_logo.png -------------------------------------------------------------------------------- /graphics/mobile_adapter_gb/mgb.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/graphics/mobile_adapter_gb/mgb.mk -------------------------------------------------------------------------------- /graphics_file_rules.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/graphics_file_rules.mk -------------------------------------------------------------------------------- /include/gba/defines.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/include/gba/defines.h -------------------------------------------------------------------------------- /include/gba/gba.h: -------------------------------------------------------------------------------- 1 | #include "defines.h" -------------------------------------------------------------------------------- /include/mgb_profile.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/include/mgb_profile.h -------------------------------------------------------------------------------- /include/mgb_save.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/include/mgb_save.h -------------------------------------------------------------------------------- /include/mgb_unk1.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/include/mgb_unk1.h -------------------------------------------------------------------------------- /include/mgb_unk2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/include/mgb_unk2.h -------------------------------------------------------------------------------- /ld_script.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/ld_script.ld -------------------------------------------------------------------------------- /mka.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/mka.map -------------------------------------------------------------------------------- /mka.sha1: -------------------------------------------------------------------------------- 1 | 88ffde363b05264a99a4d5ada0c80a00196a94d7 mka.gba -------------------------------------------------------------------------------- /src/mgb_profile.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/src/mgb_profile.c -------------------------------------------------------------------------------- /src/mgb_save.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/src/mgb_save.c -------------------------------------------------------------------------------- /src/mgb_save_080577f8.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/src/mgb_save_080577f8.c -------------------------------------------------------------------------------- /src/mgb_unk1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/src/mgb_unk1.c -------------------------------------------------------------------------------- /src/mgb_unk2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/src/mgb_unk2.c -------------------------------------------------------------------------------- /sym_bss.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/sym_bss.txt -------------------------------------------------------------------------------- /sym_ewram.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/sym_ewram.txt -------------------------------------------------------------------------------- /tools/gbagfx/.gitignore: -------------------------------------------------------------------------------- 1 | gbagfx 2 | -------------------------------------------------------------------------------- /tools/gbagfx/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/gbagfx/LICENSE -------------------------------------------------------------------------------- /tools/gbagfx/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/gbagfx/Makefile -------------------------------------------------------------------------------- /tools/gbagfx/_gbagfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/gbagfx/_gbagfx -------------------------------------------------------------------------------- /tools/gbagfx/convert_png.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/gbagfx/convert_png.c -------------------------------------------------------------------------------- /tools/gbagfx/convert_png.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/gbagfx/convert_png.h -------------------------------------------------------------------------------- /tools/gbagfx/font.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/gbagfx/font.c -------------------------------------------------------------------------------- /tools/gbagfx/font.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/gbagfx/font.h -------------------------------------------------------------------------------- /tools/gbagfx/gfx.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/gbagfx/gfx.c -------------------------------------------------------------------------------- /tools/gbagfx/gfx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/gbagfx/gfx.h -------------------------------------------------------------------------------- /tools/gbagfx/global.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/gbagfx/global.h -------------------------------------------------------------------------------- /tools/gbagfx/huff.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/gbagfx/huff.c -------------------------------------------------------------------------------- /tools/gbagfx/huff.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/gbagfx/huff.h -------------------------------------------------------------------------------- /tools/gbagfx/jasc_pal.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/gbagfx/jasc_pal.c -------------------------------------------------------------------------------- /tools/gbagfx/jasc_pal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/gbagfx/jasc_pal.h -------------------------------------------------------------------------------- /tools/gbagfx/lz.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/gbagfx/lz.c -------------------------------------------------------------------------------- /tools/gbagfx/lz.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/gbagfx/lz.h -------------------------------------------------------------------------------- /tools/gbagfx/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/gbagfx/main.c -------------------------------------------------------------------------------- /tools/gbagfx/options.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/gbagfx/options.h -------------------------------------------------------------------------------- /tools/gbagfx/rl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/gbagfx/rl.c -------------------------------------------------------------------------------- /tools/gbagfx/rl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/gbagfx/rl.h -------------------------------------------------------------------------------- /tools/gbagfx/util.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/gbagfx/util.c -------------------------------------------------------------------------------- /tools/gbagfx/util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/gbagfx/util.h -------------------------------------------------------------------------------- /tools/ramscrgen/.gitignore: -------------------------------------------------------------------------------- 1 | ramscrgen 2 | -------------------------------------------------------------------------------- /tools/ramscrgen/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/ramscrgen/LICENSE -------------------------------------------------------------------------------- /tools/ramscrgen/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/ramscrgen/Makefile -------------------------------------------------------------------------------- /tools/ramscrgen/_ramscrgen: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/ramscrgen/_ramscrgen -------------------------------------------------------------------------------- /tools/ramscrgen/char_util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/ramscrgen/char_util.h -------------------------------------------------------------------------------- /tools/ramscrgen/elf.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/ramscrgen/elf.cpp -------------------------------------------------------------------------------- /tools/ramscrgen/elf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/ramscrgen/elf.h -------------------------------------------------------------------------------- /tools/ramscrgen/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/ramscrgen/main.cpp -------------------------------------------------------------------------------- /tools/ramscrgen/ramscrgen.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/ramscrgen/ramscrgen.h -------------------------------------------------------------------------------- /tools/ramscrgen/sym_file.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/ramscrgen/sym_file.cpp -------------------------------------------------------------------------------- /tools/ramscrgen/sym_file.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/ramscrgen/sym_file.h -------------------------------------------------------------------------------- /tools/scaninc/.gitignore: -------------------------------------------------------------------------------- 1 | scaninc 2 | -------------------------------------------------------------------------------- /tools/scaninc/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/scaninc/LICENSE -------------------------------------------------------------------------------- /tools/scaninc/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/scaninc/Makefile -------------------------------------------------------------------------------- /tools/scaninc/_scaninc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/scaninc/_scaninc -------------------------------------------------------------------------------- /tools/scaninc/asm_file.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/scaninc/asm_file.cpp -------------------------------------------------------------------------------- /tools/scaninc/asm_file.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/scaninc/asm_file.h -------------------------------------------------------------------------------- /tools/scaninc/c_file.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/scaninc/c_file.cpp -------------------------------------------------------------------------------- /tools/scaninc/c_file.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/scaninc/c_file.h -------------------------------------------------------------------------------- /tools/scaninc/scaninc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/scaninc/scaninc.cpp -------------------------------------------------------------------------------- /tools/scaninc/scaninc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/scaninc/scaninc.h -------------------------------------------------------------------------------- /tools/scaninc/source_file.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/scaninc/source_file.cpp -------------------------------------------------------------------------------- /tools/scaninc/source_file.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XOlifreX/mksc-decompilation/HEAD/tools/scaninc/source_file.h --------------------------------------------------------------------------------