Bunch of driver work, and json-based patching

This commit is contained in:
Bottersnike
2022-06-14 13:30:36 +09:00
parent 331710e239
commit 463d94f1ee
41 changed files with 1348 additions and 469 deletions

View File

@@ -0,0 +1,93 @@
[
{
"name": "LOG_EN_DONGLE",
"at": "004f48b0",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_PCP",
"at": "004f989c",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_EEPROM",
"at": "004f7d04",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_BACKUP",
"at": "004f7d08",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_RTC",
"at": "004f8118",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_GFETCHER",
"at": "004f96dc",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_NETWORK",
"at": "004f8338",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_MASTER",
"at": "004f88c0",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_HM",
"at": "004f88b0",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_SRAM",
"at": "004f8330",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_PLATFORM",
"at": "004f9728",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_ASSERTS (We use ALPB_LOG_LEVEL instead)",
"at": "004f9e7c",
"from": "00000000",
"to": "01000000",
"count": 0
},
{
"name": "ALPB_LOG_LEVEL (0=None, 1=Error, 2=Warning, 3=Most, 4=Debug)",
"at": "004e884c",
"from": "01000000",
"to": "0a000000",
"count": 4
}
]

View File

@@ -0,0 +1,98 @@
[
{
"at": "008717a0",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"at": "00871728",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"at": "00871cd8",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"at": "00872660",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"at": "0087297c",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"at": "00872980",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"at": "00872988",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"at": "00873540",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"at": "00873538",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"at": "0087f890",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"at": "00882ce4",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"at": "00882cec",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"at": "00883018",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"at": "00886ff8",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"at": "0088b1b8",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"at": "0088b1c0",
"from": "00000000",
"to": "01000000",
"count": 4
}
]

View File

@@ -0,0 +1,149 @@
[
{
"name": "LOG_EN_SRAM",
"at": "00c8ab7c",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_CABINET_DL",
"at": "00f406f0",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_INSTALL",
"at": "00c88680",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_EEPROM",
"at": "00c8ab78",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_PLATFORM",
"at": "00c88608",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_STORAGE",
"at": "00c88dd0",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_PCP",
"at": "00ca25ec",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_HM",
"at": "00c96ed0",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_HTTP",
"at": "00f406ec",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_DIPSW",
"at": "00c89ca8",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_DONGLE",
"at": "00c96ed8",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_JVSP",
"at": "00c9a83c",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_NETWORK",
"at": "00c89730",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_JVST_THREAD",
"at": "00c9a440",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_JVS",
"at": "00c8ab80",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_MASTER",
"at": "00c89fc8",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_RTC",
"at": "00c88bb8",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_JVST_DRIVER",
"at": "00c9e420",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_BACKUP",
"at": "00c89320",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_HWRESET",
"at": "00c88bb4",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN",
"at": "00c830e8",
"from": "00000000",
"to": "01000000",
"count": 4
}
]

View File

@@ -0,0 +1,16 @@
[
{
"name": "LOG_EN_PCP",
"at": "004438e0",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_UTL",
"at": "004433f8",
"from": "00000000",
"to": "01000000",
"count": 4
}
]

View File

@@ -0,0 +1,163 @@
[
{
"name": "LOG_EN_JVS_DRIVER",
"at": "0054fcd8",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_DIPSW",
"at": "00538810",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_ATA",
"at": "0054afc8",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_DONGLE",
"at": "00544b78",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_EEPROM",
"at": "00536c98",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_GCATCHER",
"at": "00537834",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_GDELIVER",
"at": "00537d4c",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_GFETCHER",
"at": "0053828c",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_HWRESET",
"at": "00547fd0",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_PLATFORM",
"at": "00547fd8",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_HM",
"at": "00548268",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_BACKUP",
"at": "00536f30",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_CMOS",
"at": "00547fcc",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_INSTALL",
"at": "005382d8",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_JVS",
"at": "00538818",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_JVSP",
"at": "00544b68",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_MASTER",
"at": "0054b3d8",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_NETWORK",
"at": "00548280",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_RTC",
"at": "00548050",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_SRAM",
"at": "00536c94",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_STORAGE",
"at": "005487f8",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_SYS",
"at": "00536c90",
"from": "00000000",
"to": "01000000",
"count": 4
},
{
"name": "LOG_EN_PCPT",
"at": "00536c70",
"from": "00000000",
"to": "01000000",
"count": 4
}
]

51
src/patches/patches.json Normal file
View File

@@ -0,0 +1,51 @@
[
{
"name": "maimai Finale logs",
"description": "Enable logging facilities",
"binary_name": "maimai_dump_.exe",
"apply": true,
"patches_file": "maimai_dump_.patch.json"
},
{
"name": "mxnetwork logs",
"description": "Enable logging facilities",
"binary_name": "mxnetwork.exe",
"apply": true,
"patches_file": "mxnetwork.patch.json"
},
{
"name": "maimai 1.00 logs",
"description": "Enable logging facilities",
"binary_name": "Game.exe",
"apply": true,
"patches_file": "Game.patch.json"
},
{
"name": "ALLNetProc logs",
"description": "Enable logging facilities",
"binary_name": "ALLNetProc.exe",
"apply": true,
"patches_file": "ALLNetProc.patch.json"
},
{
"name": "ALLNetProc logs",
"description": "Enable logging facilities (alt filename)",
"binary_name": "ALLNetProc_win.exe",
"apply": true,
"patches_file": "ALLNetProc.patch.json"
},
{
"name": "mxsegaboot logs",
"description": "Enable logging facilities",
"binary_name": "mxsegaboot.exe",
"apply": true,
"patches_file": "mxsegaboot.patch.json"
},
{
"name": "mxsegaboot logs",
"description": "Enable logging facilities (alt filename)",
"binary_name": "ORIG_mxsegaboot.exe",
"apply": true,
"patches_file": "mxsegaboot.patch.json"
}
]