Merge pull request #82 from gamemasterplc/main

Split 4 minigames
This commit is contained in:
gamemasterplc 2023-12-30 23:21:41 -06:00 committed by GitHub
commit 5fbb84a490
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 121 additions and 95 deletions

View file

@ -5,3 +5,18 @@ Sections:
.rodata type:rodata align:8 .rodata type:rodata align:8
.data type:data align:8 .data type:data align:8
.bss type:bss align:8 .bss type:bss align:8
REL/executor.c:
.text start:0x00000000 end:0x000000A0
REL/m401Dll/main.c:
.text start:0x000000A0 end:0x00010240
.rodata start:0x00000000 end:0x00000450
.data start:0x00000000 end:0x00000478
.bss start:0x00000000 end:0x00000120
REL/m401Dll/main_ex.c:
.text start:0x00010240 end:0x00014E14
.rodata start:0x00000450 end:0x000005E8
.data start:0x00000478 end:0x00000498
.bss start:0x00000120 end:0x00000254

View file

@ -1,6 +1,6 @@
_prolog = .text:0x00000000; // type:function size:0x54 scope:global _prolog = .text:0x00000000; // type:function size:0x54 scope:global
_epilog = .text:0x00000054; // type:function size:0x4C scope:global _epilog = .text:0x00000054; // type:function size:0x4C scope:global
fn_2_A0 = .text:0x000000A0; // type:function size:0x66C ModuleProlog = .text:0x000000A0; // type:function size:0x66C
fn_2_70C = .text:0x0000070C; // type:function size:0x304 fn_2_70C = .text:0x0000070C; // type:function size:0x304
fn_2_A10 = .text:0x00000A10; // type:function size:0x88 fn_2_A10 = .text:0x00000A10; // type:function size:0x88
fn_2_A98 = .text:0x00000A98; // type:function size:0x54 fn_2_A98 = .text:0x00000A98; // type:function size:0x54

View file

@ -5,3 +5,9 @@ Sections:
.rodata type:rodata align:8 .rodata type:rodata align:8
.data type:data align:8 .data type:data align:8
.bss type:bss align:8 .bss type:bss align:8
REL/m402Dll/main.c:
.text start:0x00000000 end:0x00009BC4
.rodata start:0x00000000 end:0x0000018C
.data start:0x00000000 end:0x000004C6
.bss start:0x00000000 end:0x00000210

View file

@ -5,3 +5,18 @@ Sections:
.rodata type:rodata align:8 .rodata type:rodata align:8
.data type:data align:8 .data type:data align:8
.bss type:bss align:8 .bss type:bss align:8
REL/executor.c:
.text start:0x00000000 end:0x000000A0
REL/m403Dll/main.c:
.text start:0x000000A0 end:0x0000650C
.rodata start:0x00000000 end:0x000001A8
.data start:0x00000000 end:0x00000158
.bss start:0x00000000 end:0x00000058
REL/m403Dll/scene.c:
.text start:0x0000650C end:0x00008F6C
.rodata start:0x000001A8 end:0x00000250
.data start:0x00000158 end:0x00000BBC
.bss start:0x00000058 end:0x000000B8

View file

@ -1,6 +1,6 @@
_prolog = .text:0x00000000; // type:function size:0x54 scope:global _prolog = .text:0x00000000; // type:function size:0x54 scope:global
_epilog = .text:0x00000054; // type:function size:0x4C scope:global _epilog = .text:0x00000054; // type:function size:0x4C scope:global
fn_1_A0 = .text:0x000000A0; // type:function size:0x384 ModuleProlog = .text:0x000000A0; // type:function size:0x384
fn_1_424 = .text:0x00000424; // type:function size:0x20 fn_1_424 = .text:0x00000424; // type:function size:0x20
fn_1_444 = .text:0x00000444; // type:function size:0x3E8 fn_1_444 = .text:0x00000444; // type:function size:0x3E8
fn_1_82C = .text:0x0000082C; // type:function size:0x9E8 fn_1_82C = .text:0x0000082C; // type:function size:0x9E8

View file

@ -5,3 +5,12 @@ Sections:
.rodata type:rodata align:8 .rodata type:rodata align:8
.data type:data align:8 .data type:data align:8
.bss type:bss align:8 .bss type:bss align:8
REL/executor.c:
.text start:0x00000000 end:0x000000A0
REL/m404Dll/main.c:
.text start:0x000000A0 end:0x00006C88
.rodata start:0x00000000 end:0x00000140
.data start:0x00000000 end:0x00000A0C
.bss start:0x00000000 end:0x0000005C

View file

@ -1,6 +1,6 @@
_prolog = .text:0x00000000; // type:function size:0x54 scope:global _prolog = .text:0x00000000; // type:function size:0x54 scope:global
_epilog = .text:0x00000054; // type:function size:0x4C scope:global _epilog = .text:0x00000054; // type:function size:0x4C scope:global
fn_1_A0 = .text:0x000000A0; // type:function size:0x2DC ModuleProlog = .text:0x000000A0; // type:function size:0x2DC
fn_1_37C = .text:0x0000037C; // type:function size:0x10 fn_1_37C = .text:0x0000037C; // type:function size:0x10
fn_1_38C = .text:0x0000038C; // type:function size:0x10 fn_1_38C = .text:0x0000038C; // type:function size:0x10
fn_1_39C = .text:0x0000039C; // type:function size:0x64 fn_1_39C = .text:0x0000039C; // type:function size:0x64

View file

@ -758,88 +758,69 @@ config.libs = [
Object(NonMatching, "msm/msmstream.c"), Object(NonMatching, "msm/msmstream.c"),
], ],
}, },
{ Rel('_minigameDLL',
"lib": "_minigameDLL", objects = {
"mw_version": config.linker_version,
"cflags": cflags_rel,
"host": False,
"objects": [
Object(Matching, "REL/executor.c"), Object(Matching, "REL/executor.c"),
Object(Matching, "REL/_minigameDLL/_minigameDLL.c"), Object(Matching, "REL/_minigameDLL/_minigameDLL.c"),
], }
}, ),
{ Rel('bootDll',
"lib": "bootDll", objects = {
"mw_version": config.linker_version,
"cflags": cflags_rel,
"host": False,
"objects": [
Object(Matching, "REL/executor.c"), Object(Matching, "REL/executor.c"),
Object(NonMatching, "REL/bootDll/bootDll.c"), Object(NonMatching, "REL/bootDll/bootDll.c"),
Object(Matching, "REL/bootDll/nintendo_data.c"), Object(Matching, "REL/bootDll/nintendo_data.c"),
], }
}, ),
{ Rel('E3setupDLL',
"lib": "subchrselDll", objects = {
"mw_version": config.linker_version,
"cflags": cflags_rel,
"host": False,
"objects": [
Object(Matching, "REL/executor.c"),
Object(Matching, "REL/subchrselDll/subchrselDll.c"),
],
},
{
"lib": "staffDll",
"mw_version": config.linker_version,
"cflags": cflags_rel,
"host": False,
"objects": [
Object(Matching, "REL/executor.c"),
Object(NonMatching, "REL/staffDll/staffDll.c"),
],
},
{
"lib": "E3setupDLL",
"mw_version": config.linker_version,
"cflags": cflags_rel,
"host": False,
"objects": [
Object(NonMatching, "REL/E3setupDLL/mgselect.c"), Object(NonMatching, "REL/E3setupDLL/mgselect.c"),
Object(Matching, "REL/executor.c"), Object(Matching, "REL/executor.c"),
Object(NonMatching, "REL/E3setupDLL/main.c"), Object(NonMatching, "REL/E3setupDLL/main.c"),
], }
}, ),
{ Rel('instDll',
"lib": "instDll", objects = {
"mw_version": config.linker_version,
"cflags": cflags_rel,
"host": False,
"objects": [
Object(Matching, "REL/executor.c"), Object(Matching, "REL/executor.c"),
Object(NonMatching, "REL/instDll/main.c"), Object(NonMatching, "REL/instDll/main.c"),
Object(NonMatching, "REL/instDll/font.c"), Object(NonMatching, "REL/instDll/font.c"),
], }
}, ),
{ Rel('m401Dll',
"lib": "modeseldll", objects = {
"mw_version": config.linker_version, Object(Matching, "REL/executor.c"),
"cflags": cflags_rel, Object(NonMatching, "REL/m401Dll/main.c"),
"host": False, Object(NonMatching, "REL/m401Dll/main_ex.c"),
"objects": [ }
),
Rel('m402Dll',
objects = {
Object(NonMatching, "REL/m402Dll/main.c"),
}
),
Rel('m403Dll',
objects = {
Object(Matching, "REL/executor.c"),
Object(NonMatching, "REL/m403Dll/main.c"),
Object(NonMatching, "REL/m403Dll/scene.c"),
}
),
Rel('m404Dll',
objects = {
Object(Matching, "REL/executor.c"),
Object(NonMatching, "REL/m404Dll/main.c"),
}
),
Rel('modeseldll',
objects = {
Object(Matching, "REL/executor.c"), Object(Matching, "REL/executor.c"),
Object(NonMatching, "REL/modeseldll/main.c"), Object(NonMatching, "REL/modeseldll/main.c"),
Object(NonMatching, "REL/modeseldll/modesel.c"), Object(NonMatching, "REL/modeseldll/modesel.c"),
Object(NonMatching, "REL/modeseldll/filesel.c"), Object(NonMatching, "REL/modeseldll/filesel.c"),
Object(NonMatching, "REL/modeseldll/datalist.c"), Object(NonMatching, "REL/modeseldll/datalist.c"),
], }
}, ),
{ Rel('option',
"lib": "option", objects = {
"mw_version": config.linker_version,
"cflags": cflags_rel,
"host": False,
"objects": [
Object(Matching, "REL/executor.c"), Object(Matching, "REL/executor.c"),
Object(NonMatching, "REL/option/scene.c"), Object(NonMatching, "REL/option/scene.c"),
Object(NonMatching, "REL/option/camera.c"), Object(NonMatching, "REL/option/camera.c"),
@ -850,45 +831,45 @@ config.libs = [
Object(NonMatching, "REL/option/sound.c"), Object(NonMatching, "REL/option/sound.c"),
Object(NonMatching, "REL/option/record.c"), Object(NonMatching, "REL/option/record.c"),
Object(NonMatching, "REL/option/window.c"), Object(NonMatching, "REL/option/window.c"),
], }
}, ),
{ Rel('present',
"lib": "present", objects = {
"mw_version": config.linker_version,
"cflags": cflags_rel,
"host": False,
"objects": [
Object(Matching, "REL/executor.c"), Object(Matching, "REL/executor.c"),
Object(NonMatching, "REL/present/init.c"), Object(NonMatching, "REL/present/init.c"),
Object(NonMatching, "REL/present/camera.c"), Object(NonMatching, "REL/present/camera.c"),
Object(NonMatching, "REL/present/present.c"), Object(NonMatching, "REL/present/present.c"),
Object(NonMatching, "REL/present/main.c"), Object(NonMatching, "REL/present/main.c"),
Object(NonMatching, "REL/present/common.c"), Object(NonMatching, "REL/present/common.c"),
], }
}, ),
{ Rel('selmenuDll',
"lib": "selmenuDll", objects = {
"mw_version": config.linker_version,
"cflags": cflags_rel,
"host": False,
"objects": [
Object(Matching, "REL/executor.c"), Object(Matching, "REL/executor.c"),
Object(NonMatching, "REL/selmenuDll/selmenuDll.c"), Object(NonMatching, "REL/selmenuDll/selmenuDll.c"),
], }
}, ),
{ Rel('staffDll',
"lib": "w10Dll", objects = {
"mw_version": config.linker_version, Object(Matching, "REL/executor.c"),
"cflags": cflags_rel, Object(NonMatching, "REL/staffDll/staffDll.c"),
"host": False, }
"objects": [ ),
Rel('subchrselDll',
objects = {
Object(Matching, "REL/executor.c"),
Object(NonMatching, "REL/subchrselDll/subchrselDll.c"),
}
),
Rel('subchrselDll',
objects = {
Object(Matching, "REL/w10Dll/w10Dll_init.c"), Object(Matching, "REL/w10Dll/w10Dll_init.c"),
Object(Matching, "REL/w10Dll/w10Dll.c"), Object(Matching, "REL/w10Dll/w10Dll.c"),
Object(Matching, "REL/w10Dll/w10Dll2.c"), Object(Matching, "REL/w10Dll/w10Dll2.c"),
Object(Matching, "REL/w10Dll/w10Dll3.c"), Object(Matching, "REL/w10Dll/w10Dll3.c"),
Object(Matching, "REL/w10Dll/w10Dll4.c"), Object(Matching, "REL/w10Dll/w10Dll4.c"),
], }
}, ),
] ]
if args.mode == "configure": if args.mode == "configure":