@gaialabs/iog-baserom 0.2.2 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/baserom/patches/SceneLoadPatch.patch.asm +1 -1
- package/baserom/patches/SouthCapeDeliveryman.patch.asm +4 -0
- package/baserom/patches/WatermiaDeliveryman.patch.asm +2 -0
- package/dist/index.cjs +58 -63
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -8
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +6 -8
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +58 -63
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -17
- package/baserom/patches/Widescreen.patch.asm.txt +0 -843
package/dist/index.d.mts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { DbGameRomModule } from "@gaialabs/core";
|
|
2
|
-
|
|
3
2
|
//#region src/index.d.ts
|
|
4
|
-
declare const db: DbGameRomModule;
|
|
5
|
-
declare const jp: DbGameRomModule;
|
|
6
|
-
declare function extract(romPath: string, outPath: string, options
|
|
7
|
-
declare function extractJP(romPath: string, outPath: string): Promise<void>;
|
|
8
|
-
declare function rebuild(inPath: string, outPath: string, baseRomPath: string, modulePaths?: string[]): Promise<void>;
|
|
9
|
-
declare function rebuildJp(inPath: string, outPath: string, baseRomPath: string, modulePaths?: string[]): Promise<void>;
|
|
3
|
+
export declare const db: DbGameRomModule;
|
|
4
|
+
export declare const jp: DbGameRomModule;
|
|
5
|
+
export declare function extract(romPath: string, outPath: string, options?: string[]): Promise<void>;
|
|
6
|
+
export declare function extractJP(romPath: string, outPath: string): Promise<void>;
|
|
7
|
+
export declare function rebuild(inPath: string, outPath: string, baseRomPath: string, modulePaths?: string[], options?: string[]): Promise<void>;
|
|
8
|
+
export declare function rebuildJp(inPath: string, outPath: string, baseRomPath: string, modulePaths?: string[]): Promise<void>;
|
|
10
9
|
//#endregion
|
|
11
|
-
export { db, extract, extractJP, jp, rebuild, rebuildJp };
|
|
12
10
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":";;qBAoEa,IAAK;qBAuBL,IAAK;wBAmBI,QAAQ,iBAAiB,iBAAiB,qBAAkB;wBAW5D,UAAU,iBAAiB,kBAAe;wBAS1C,QAAQ,gBAAgB,iBAAiB,qBAAqB,wBAAwB,qBAAkB;wBAsCxG,UAAU,gBAAgB,iBAAiB,qBAAqB,yBAAsB"}
|
package/dist/index.mjs
CHANGED
|
@@ -5405,7 +5405,7 @@ var blocks_default$1 = {
|
|
|
5405
5405
|
"start": 884736,
|
|
5406
5406
|
"end": 897023,
|
|
5407
5407
|
"type": "scene-meta",
|
|
5408
|
-
"postProcess": "Lookup(0,1)&&Label(label)",
|
|
5408
|
+
"postProcess": "Lookup(0,1)&&Label(label,meta_label)",
|
|
5409
5409
|
"movable": true
|
|
5410
5410
|
},
|
|
5411
5411
|
"table_0E8000": {
|
|
@@ -30923,14 +30923,6 @@ var transforms_default$1 = {
|
|
|
30923
30923
|
{
|
|
30924
30924
|
"key": "`Shrine `",
|
|
30925
30925
|
"value": "`Shrine`"
|
|
30926
|
-
},
|
|
30927
|
-
{
|
|
30928
|
-
"key": "actor-spawn < #08, #0C, #03, @hidden_red_jewel >",
|
|
30929
|
-
"value": "$&\r\n actor-spawn < #0C, #2F, #00, @SouthCapeDeliveryman >"
|
|
30930
|
-
},
|
|
30931
|
-
{
|
|
30932
|
-
"key": "actor-spawn < #12, #38, #11, @hidden_red_jewel >",
|
|
30933
|
-
"value": "$&\r\n actor-spawn < #14, #23, #07, @wa78_men >"
|
|
30934
30926
|
}
|
|
30935
30927
|
],
|
|
30936
30928
|
scene_meta: [
|
|
@@ -30951,12 +30943,12 @@ var transforms_default$1 = {
|
|
|
30951
30943
|
"value": "music < #1F, #00, @bgm_illusion_of_gaia >"
|
|
30952
30944
|
},
|
|
30953
30945
|
{
|
|
30954
|
-
"key": "
|
|
30955
|
-
"value": "
|
|
30946
|
+
"key": "scene_meta_0041 \\[\\s+display-mode < #00 >",
|
|
30947
|
+
"value": "scene_meta_0041 [\r\n display-mode < #11 >"
|
|
30956
30948
|
}
|
|
30957
30949
|
],
|
|
30958
30950
|
diary_menu_window_dma: [{
|
|
30959
|
-
"key": "(
|
|
30951
|
+
"key": "(dma_channel_00BC4C\\s\\[\\s*\\])[\\s]*(dma_channel_00BC4D\\s\\[[^\\]]*\\])",
|
|
30960
30952
|
"value": "$2\r\n\r\n$1"
|
|
30961
30953
|
}],
|
|
30962
30954
|
system_strings: [
|
|
@@ -32238,36 +32230,36 @@ var names_default$1 = {
|
|
|
32238
32230
|
"254549": "DialogStringRenderer",
|
|
32239
32231
|
"254559": "DialogString_CharLoop",
|
|
32240
32232
|
"254659": "DialogStringCommandTable",
|
|
32241
|
-
"254709": "
|
|
32242
|
-
"254727": "
|
|
32243
|
-
"254735": "
|
|
32244
|
-
"254773": "
|
|
32245
|
-
"254811": "
|
|
32246
|
-
"254827": "
|
|
32247
|
-
"254831": "
|
|
32248
|
-
"254867": "
|
|
32233
|
+
"254709": "DialogCmd_EndAndWait",
|
|
32234
|
+
"254727": "DialogCmd_Return",
|
|
32235
|
+
"254735": "DialogCmd_SetPosition",
|
|
32236
|
+
"254773": "DialogCmd_InsertTemplate",
|
|
32237
|
+
"254811": "DialogCmd_SetPalette",
|
|
32238
|
+
"254827": "DialogCmd_InfiniteLoop",
|
|
32239
|
+
"254831": "DialogCmd_IndirectString",
|
|
32240
|
+
"254867": "DialogCmd_PrintNumber",
|
|
32249
32241
|
"255023": "HexDigitTileTable",
|
|
32250
|
-
"255039": "
|
|
32242
|
+
"255039": "DialogCmd_OpenDialogueBox",
|
|
32251
32243
|
"255059": "OpenDialogueBox_Body",
|
|
32252
32244
|
"255182": "DialogueBorderTiles",
|
|
32253
32245
|
"255198": "DrawDialogueBorderRow",
|
|
32254
32246
|
"255237": "DrawDialogueBodyRows",
|
|
32255
|
-
"255353": "
|
|
32256
|
-
"255467": "
|
|
32257
|
-
"255480": "
|
|
32258
|
-
"255518": "
|
|
32259
|
-
"255542": "
|
|
32260
|
-
"255574": "
|
|
32261
|
-
"255652": "
|
|
32262
|
-
"255698": "
|
|
32263
|
-
"255719": "
|
|
32264
|
-
"255724": "
|
|
32265
|
-
"255735": "
|
|
32266
|
-
"255777": "
|
|
32267
|
-
"255798": "
|
|
32268
|
-
"255811": "
|
|
32269
|
-
"255849": "
|
|
32270
|
-
"255887": "
|
|
32247
|
+
"255353": "DialogCmd_ClearDialogueBox",
|
|
32248
|
+
"255467": "DialogCmd_WaitFrames",
|
|
32249
|
+
"255480": "DialogCmd_NewLine",
|
|
32250
|
+
"255518": "DialogCmd_AdvanceCursor",
|
|
32251
|
+
"255542": "DialogCmd_InsertRemoteString",
|
|
32252
|
+
"255574": "DialogCmd_ClearBox",
|
|
32253
|
+
"255652": "DialogCmd_WaitForButton",
|
|
32254
|
+
"255698": "DialogCmd_WaitForAnyInput",
|
|
32255
|
+
"255719": "DialogCmd_JumpToAddress",
|
|
32256
|
+
"255724": "DialogCmd_SetSfx",
|
|
32257
|
+
"255735": "DialogCmd_OpenDefaultBox",
|
|
32258
|
+
"255777": "DialogCmd_SetPaletteColor",
|
|
32259
|
+
"255798": "DialogCmd_SetFrameDelay",
|
|
32260
|
+
"255811": "DialogCmd_DictionaryA",
|
|
32261
|
+
"255849": "DialogCmd_DictionaryB",
|
|
32262
|
+
"255887": "DialogCmd_PrintRawTiles",
|
|
32271
32263
|
"255922": "WaitOneFrame",
|
|
32272
32264
|
"255925": "WaitNFrames_Entry",
|
|
32273
32265
|
"255930": "WaitNFrames_PerChar",
|
|
@@ -56034,7 +56026,8 @@ function loadNotesDir(subdir) {
|
|
|
56034
56026
|
return merged;
|
|
56035
56027
|
}
|
|
56036
56028
|
function loadLocalNotes() {
|
|
56037
|
-
|
|
56029
|
+
const notesDir = join(__pkgRoot, "notes");
|
|
56030
|
+
if (!existsSync(notesDir)) return {
|
|
56038
56031
|
comments: {},
|
|
56039
56032
|
blockNotes: {},
|
|
56040
56033
|
partNotes: {}
|
|
@@ -56099,7 +56092,7 @@ async function extract(romPath, outPath, options) {
|
|
|
56099
56092
|
if (!romPath) romPath = process.env.ROM_PATH;
|
|
56100
56093
|
if (!outPath) outPath = "./extracted";
|
|
56101
56094
|
var dbRoot = DbRootUtils.fromGameModule(db);
|
|
56102
|
-
if (options
|
|
56095
|
+
if (options?.includes("linetracking")) dbRoot.config.emitLineTracking = true;
|
|
56103
56096
|
await DbRootUtils.extractAllContent(dbRoot, romPath, outPath);
|
|
56104
56097
|
}
|
|
56105
56098
|
async function extractJP(romPath, outPath) {
|
|
@@ -56108,7 +56101,7 @@ async function extractJP(romPath, outPath) {
|
|
|
56108
56101
|
var dbRoot = DbRootUtils.fromGameModule(jp);
|
|
56109
56102
|
await DbRootUtils.extractAllContent(dbRoot, romPath, outPath);
|
|
56110
56103
|
}
|
|
56111
|
-
async function rebuild(inPath, outPath, baseRomPath, modulePaths) {
|
|
56104
|
+
async function rebuild(inPath, outPath, baseRomPath, modulePaths, options) {
|
|
56112
56105
|
if (!inPath) inPath = "./extracted";
|
|
56113
56106
|
if (!outPath) outPath = `./rebuilt/${process.env.ROM_NAME ?? "Illusion of Gaia - Rebuilt"}.smc`;
|
|
56114
56107
|
if (!baseRomPath) baseRomPath = join(__pkgRoot, "baserom");
|
|
@@ -56118,23 +56111,29 @@ async function rebuild(inPath, outPath, baseRomPath, modulePaths) {
|
|
|
56118
56111
|
baseRomPath,
|
|
56119
56112
|
...modulePaths || []
|
|
56120
56113
|
], outPath);
|
|
56121
|
-
|
|
56122
|
-
|
|
56123
|
-
|
|
56124
|
-
|
|
56125
|
-
|
|
56126
|
-
|
|
56127
|
-
|
|
56128
|
-
|
|
56129
|
-
|
|
56130
|
-
|
|
56131
|
-
|
|
56132
|
-
|
|
56133
|
-
|
|
56134
|
-
|
|
56135
|
-
|
|
56136
|
-
|
|
56137
|
-
|
|
56114
|
+
if (options?.includes("artifacts")) {
|
|
56115
|
+
console.log("Generating artifacts...");
|
|
56116
|
+
const artifactPath = "./artifacts";
|
|
56117
|
+
let totalSize = 0;
|
|
56118
|
+
const fileLayoutArtifact = outData.files.filter((file) => file.size > 0).sort((a, b) => a.location - b.location).map((file) => {
|
|
56119
|
+
totalSize += file.size;
|
|
56120
|
+
return ` "${file.location.toString(16).toUpperCase().padStart(6, "0")}" : "${file.name}"`;
|
|
56121
|
+
});
|
|
56122
|
+
const fileLayoutArtifactText = `{${RomProcessingConstants.NEWLINE}${fileLayoutArtifact.join("," + RomProcessingConstants.NEWLINE)}${RomProcessingConstants.NEWLINE}}`;
|
|
56123
|
+
await saveFileAsText(join(artifactPath, "file-layout.json"), fileLayoutArtifactText);
|
|
56124
|
+
const masterArtifact = Object.entries(outData.masterLookup).filter((entry) => !entry[0].match(/[!+-]$/)).sort((a, b) => a[1].location - b[1].location).map((entry) => {
|
|
56125
|
+
return ` "${entry[0]}": "${entry[1].location.toString(16).toUpperCase().padStart(6, "0")}"`;
|
|
56126
|
+
});
|
|
56127
|
+
const masterArtifactText = `{${RomProcessingConstants.NEWLINE}${masterArtifact.join("," + RomProcessingConstants.NEWLINE)}${RomProcessingConstants.NEWLINE}}`;
|
|
56128
|
+
await saveFileAsText(join(artifactPath, "master-lookup.json"), masterArtifactText);
|
|
56129
|
+
const crc = crc32_buffer(outData.romData);
|
|
56130
|
+
const crcText = JSON.stringify({
|
|
56131
|
+
checksum: outData.header.checksum,
|
|
56132
|
+
crc,
|
|
56133
|
+
totalSize
|
|
56134
|
+
}, null, 2);
|
|
56135
|
+
await saveFileAsText(join(artifactPath, "crc.json"), crcText);
|
|
56136
|
+
}
|
|
56138
56137
|
}
|
|
56139
56138
|
async function rebuildJp(inPath, outPath, baseRomPath, modulePaths) {
|
|
56140
56139
|
if (!inPath) inPath = "./extracted-jp";
|
|
@@ -56159,10 +56158,6 @@ if (resolve(process.argv[1] || "") === fileURLToPath(import.meta.url)) {
|
|
|
56159
56158
|
index--;
|
|
56160
56159
|
}
|
|
56161
56160
|
}
|
|
56162
|
-
const options = flags.reduce((acc, flag) => {
|
|
56163
|
-
acc[flag] = true;
|
|
56164
|
-
return acc;
|
|
56165
|
-
}, {});
|
|
56166
56161
|
(async () => {
|
|
56167
56162
|
try {
|
|
56168
56163
|
switch (command) {
|
|
@@ -56170,7 +56165,7 @@ if (resolve(process.argv[1] || "") === fileURLToPath(import.meta.url)) {
|
|
|
56170
56165
|
console.log("Starting ROM extraction...");
|
|
56171
56166
|
console.log("ROM Path:", args[0]);
|
|
56172
56167
|
console.log("Output Path:", args[1] || "../extracted");
|
|
56173
|
-
await extract(args[0], args[1],
|
|
56168
|
+
await extract(args[0], args[1], flags);
|
|
56174
56169
|
console.log("ROM extraction completed successfully!");
|
|
56175
56170
|
break;
|
|
56176
56171
|
case "extract-jp":
|
|
@@ -56182,7 +56177,7 @@ if (resolve(process.argv[1] || "") === fileURLToPath(import.meta.url)) {
|
|
|
56182
56177
|
break;
|
|
56183
56178
|
case "rebuild":
|
|
56184
56179
|
console.log("Starting ROM rebuild...");
|
|
56185
|
-
await rebuild(args[0], args[1], args[2]);
|
|
56180
|
+
await rebuild(args[0], args[1], args[2], void 0, flags);
|
|
56186
56181
|
console.log("ROM rebuild completed successfully!");
|
|
56187
56182
|
break;
|
|
56188
56183
|
case "rebuild-jp":
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":["mnemonics","overrides","blocks","copdef","files","groups","strings","structs","config","fileTypes","mnemonicsJP","overridesJP","rewritesJP","blocksJP","copdefJP","filesJP","groupsJP","labelsJP","stringsJP","structsJP","transformsJP","configJP","fileTypesJP","namesJP"],"sources":["../db-us/config.json","../db-us/blocks.json","../db-us/copdef.json","../db-us/files.json","../db-us/groups.json","../db-us/labels.json","../db-us/mnemonics.json","../db-us/overrides.json","../db-us/rewrites.json","../db-us/stringTypes.json","../db-us/structs.json","../db-us/transforms.json","../db-us/fileTypes.json","../db-us/names.json","../db-us/types.json","../db-jp/config.json","../db-jp/blocks.json","../db-jp/files.json","../db-jp/groups.json","../db-jp/labels.json","../db-jp/overrides.json","../db-jp/rewrites.json","../db-jp/stringTypes.json","../db-jp/structs.json","../db-jp/transforms.json","../db-jp/names.json","../src/index.ts"],"sourcesContent":["","","","","","","","","","","","","","","","","","","","","","","","","","","import { fileURLToPath } from 'url';\r\nimport { dirname, join, resolve } from 'path';\r\nimport { existsSync, readdirSync, readFileSync } from 'fs';\r\nimport { DbBlock, DbFile, DbGroup, DbStringType, DbStruct, CopDef, DbFileType, AsmBlock, saveFileAsText, RomProcessingConstants, crc32_buffer } from '@gaialabs/core';\r\nimport { DbRootUtils } from '@gaialabs/core';\r\nimport type { DbAddressingMode, DbConfig, DbGameRomModule } from '@gaialabs/core';\r\nimport { snes } from '@gaialabs/core';\r\n\r\nconst __pkgRoot = join(dirname(fileURLToPath(import.meta.url)), '..');\r\n\r\nimport config from '../db-us/config.json' with { type: 'json' };\r\nimport blocks from '../db-us/blocks.json' with { type: 'json' };\r\nimport copdef from '../db-us/copdef.json' with { type: 'json' };\r\nimport files from '../db-us/files.json' with { type: 'json' };\r\nimport groups from '../db-us/groups.json' with { type: 'json' };\r\nimport labels from '../db-us/labels.json' with { type: 'json' };\r\nimport mnemonics from '../db-us/mnemonics.json' with { type: 'json' };\r\nimport overrides from '../db-us/overrides.json' with { type: 'json' };\r\nimport rewrites from '../db-us/rewrites.json' with { type: 'json' };\r\nimport strings from '../db-us/stringTypes.json' with { type: 'json' };\r\nimport structs from '../db-us/structs.json' with { type: 'json' };\r\nimport transforms from '../db-us/transforms.json' with { type: 'json' };\r\nimport fileTypes from '../db-us/fileTypes.json' with { type: 'json' };\r\nimport names from '../db-us/names.json' with { type: 'json' };\r\nimport types from '../db-us/types.json' with { type: 'json' };\r\n\r\nfunction loadNotesDir(subdir: string): Record<string, string> {\r\n const dir = join(__pkgRoot, 'notes', subdir);\r\n if (!existsSync(dir)) return {};\r\n\r\n const merged: Record<string, string> = {};\r\n for (const file of readdirSync(dir)) {\r\n if (!file.endsWith('.json')) continue;\r\n const data = JSON.parse(readFileSync(join(dir, file), 'utf-8'));\r\n Object.assign(merged, data);\r\n }\r\n return merged;\r\n}\r\n\r\nfunction loadLocalNotes(): { comments: Record<string, string>; blockNotes: Record<string, string>; partNotes: Record<string, string> } {\r\n const notesDir = join(__pkgRoot, 'notes');\r\n if (!existsSync(notesDir)) {\r\n return { comments: {}, blockNotes: {}, partNotes: {} };\r\n }\r\n return {\r\n comments: loadNotesDir('comments'),\r\n blockNotes: loadNotesDir('blockNotes'),\r\n partNotes: loadNotesDir('partNotes')\r\n };\r\n}\r\n\r\nimport configJP from '../db-jp/config.json' with { type: 'json' };\r\nimport blocksJP from '../db-jp/blocks.json' with { type: 'json' };\r\nimport copdefJP from '../db-us/copdef.json' with { type: 'json' };\r\nimport filesJP from '../db-jp/files.json' with { type: 'json' };\r\nimport groupsJP from '../db-jp/groups.json' with { type: 'json' };\r\nimport labelsJP from '../db-jp/labels.json' with { type: 'json' };\r\nimport mnemonicsJP from '../db-us/mnemonics.json' with { type: 'json' };\r\nimport overridesJP from '../db-jp/overrides.json' with { type: 'json' };\r\nimport rewritesJP from '../db-jp/rewrites.json' with { type: 'json' };\r\nimport stringsJP from '../db-jp/stringTypes.json' with { type: 'json' };\r\nimport structsJP from '../db-jp/structs.json' with { type: 'json' };\r\nimport transformsJP from '../db-jp/transforms.json' with { type: 'json' };\r\nimport fileTypesJP from '../db-us/fileTypes.json' with { type: 'json' };\r\nimport namesJP from '../db-jp/names.json' with { type: 'json' };\r\n\r\nconst localNotes = loadLocalNotes();\r\n\r\nexport const db : DbGameRomModule = {\r\n mnemonics: { ...snes.vectors, ...mnemonics },\r\n overrides: overrides as unknown as Record<string, Record<string, number>>,\r\n rewrites,\r\n blocks: blocks as unknown as Record<string, Record<string, Partial<DbBlock>>>,\r\n copdef: copdef as unknown as Record<string, Partial<CopDef>>,\r\n files: files as unknown as Record<string, Record<string, Record<string, Partial<DbFile>>>>,\r\n groups: groups as unknown as Record<string, Partial<DbGroup>>,\r\n labels, //: labels as unknown as Record<string, string>,\r\n strings: strings as unknown as Record<string, Partial<DbStringType>>,\r\n structs: structs as unknown as Record<string, DbStruct>,\r\n transforms,\r\n config: config as unknown as DbConfig,\r\n fileTypes: fileTypes as unknown as Record<string, Partial<DbFileType>>,\r\n addrModes: snes.addressingModes as unknown as Record<string, Partial<DbAddressingMode>>,\r\n headers: snes.headers,\r\n names,\r\n types,\r\n comments: localNotes.comments,\r\n blockNotes: localNotes.blockNotes,\r\n partNotes: localNotes.partNotes\r\n};\r\n\r\nexport const jp : DbGameRomModule = {\r\n mnemonics: { ...snes.vectors, ...mnemonicsJP },\r\n overrides: overridesJP as unknown as Record<string, Record<string, number>>,\r\n rewrites: rewritesJP,\r\n blocks: blocksJP as unknown as Record<string, Record<string, Partial<DbBlock>>>,\r\n copdef: copdefJP as unknown as Record<string, Partial<CopDef>>,\r\n files: filesJP as unknown as Record<string, Record<string, Record<string, Partial<DbFile>>>>,\r\n groups: groupsJP as unknown as Record<string, Partial<DbGroup>>,\r\n labels: labelsJP, // as unknown as Record<number, string>,\r\n strings: stringsJP as unknown as Record<string, Partial<DbStringType>>,\r\n structs: { ...structs, ...structsJP } as unknown as Record<string, DbStruct>,\r\n transforms: transformsJP,\r\n config: configJP as unknown as DbConfig,\r\n fileTypes: fileTypesJP as unknown as Record<string, Partial<DbFileType>>,\r\n addrModes: snes.addressingModes as unknown as Record<string, Partial<DbAddressingMode>>,\r\n headers: snes.headers,\r\n names: namesJP\r\n};\r\n\r\nexport async function extract(romPath: string, outPath: string, options: Record<string, boolean>) {\r\n if (!romPath) romPath = process.env.ROM_PATH;\r\n if(!outPath) outPath = './extracted';\r\n\r\n var dbRoot = DbRootUtils.fromGameModule(db);\r\n\r\n if(options.linetracking) dbRoot.config.emitLineTracking = true;\r\n\r\n await DbRootUtils.extractAllContent(dbRoot, romPath, outPath);\r\n}\r\n\r\nexport async function extractJP(romPath: string, outPath: string) {\r\n if (!romPath) romPath = process.env.ROM_PATH_JP;\r\n if(!outPath) outPath = './extracted-jp';\r\n\r\n var dbRoot = DbRootUtils.fromGameModule(jp);\r\n\r\n await DbRootUtils.extractAllContent(dbRoot, romPath, outPath);\r\n}\r\n\r\nexport async function rebuild(inPath: string, outPath: string, baseRomPath: string, modulePaths?: string[]) {\r\n if(!inPath) inPath = './extracted';\r\n if(!outPath) outPath = `./rebuilt/${process.env.ROM_NAME ?? 'Illusion of Gaia - Rebuilt'}.smc`;\r\n if(!baseRomPath) baseRomPath = join(__pkgRoot, 'baserom');\r\n \r\n var dbRoot = DbRootUtils.fromGameModule(db);\r\n\r\n const outData = await DbRootUtils.rebuildAllContent(dbRoot, [inPath, baseRomPath, ...(modulePaths || [])], outPath);\r\n \r\n const artifactPath = './artifacts';\r\n\r\n const fileLayoutArtifact = outData.files.filter((file) => file.size > 0).sort((a, b) => a.location - b.location).map((file) => {\r\n return ` \"${file.location.toString(16).toUpperCase().padStart(6, '0')}\" : \"${file.name}\"`;\r\n });\r\n\r\n const fileLayoutArtifactText = `{${RomProcessingConstants.NEWLINE}${fileLayoutArtifact.join(',' + RomProcessingConstants.NEWLINE)}${RomProcessingConstants.NEWLINE}}`;\r\n await saveFileAsText(join(artifactPath, 'file-layout.json'), fileLayoutArtifactText);\r\n\r\n const masterArtifact = Object.entries(outData.masterLookup)\r\n .filter((entry) => !entry[0].match(/[!+-]$/))\r\n .sort((a, b) => a[1].location - b[1].location)\r\n .map((entry) => {\r\n return ` \"${entry[0]}\": \"${entry[1].location.toString(16).toUpperCase().padStart(6, '0')}\"`;\r\n });\r\n\r\n const masterArtifactText = `{${RomProcessingConstants.NEWLINE}${masterArtifact.join(',' + RomProcessingConstants.NEWLINE)}${RomProcessingConstants.NEWLINE}}`;\r\n await saveFileAsText(join(artifactPath, 'master-lookup.json'), masterArtifactText);\r\n\r\n const crc = crc32_buffer(outData.romData);\r\n const crcText = JSON.stringify({ checksum: outData.header.checksum, crc }, null, 2);\r\n await saveFileAsText(join(artifactPath, 'crc.json'), crcText);\r\n}\r\n\r\nexport async function rebuildJp(inPath: string, outPath: string, baseRomPath: string, modulePaths?: string[]) {\r\n if(!inPath) inPath = './extracted-jp';\r\n if(!outPath) outPath = `./rebuilt-jp/${process.env.ROM_NAME_JP ?? 'Gaia Gensouki - Rebuilt'}.smc`;\r\n if(!baseRomPath) baseRomPath = join(__pkgRoot, 'baserom-jp');\r\n \r\n var dbRoot = DbRootUtils.fromGameModule(jp);\r\n\r\n await DbRootUtils.rebuildAllContent(dbRoot, [inPath, baseRomPath, ...(modulePaths || [])], outPath);\r\n}\r\n\r\n// CLI handler - only execute when run directly (not when imported as a module)\r\n// Check if this module is being run directly\r\nconst isMainModule = resolve(process.argv[1] || '') === fileURLToPath(import.meta.url);\r\n\r\nif (isMainModule) {\r\n const command = process.argv[2];\r\n const args = process.argv.slice(3);\r\n\r\n const flags = [];\r\n for(let index = 0; index < args.length; index++) {\r\n const arg = args[index];\r\n if(arg.startsWith('--')) {\r\n flags.push(arg.slice(2).toLowerCase());\r\n args.splice(index, 1);\r\n index--;\r\n }\r\n }\r\n\r\n const options = flags.reduce((acc, flag) => {\r\n acc[flag] = true;\r\n return acc;\r\n }, {});\r\n\r\n (async () => {\r\n try {\r\n switch (command) {\r\n case 'extract':\r\n console.log('Starting ROM extraction...');\r\n console.log('ROM Path:', args[0]);\r\n console.log('Output Path:', args[1] || '../extracted');\r\n await extract(args[0], args[1], options);\r\n console.log('ROM extraction completed successfully!');\r\n break;\r\n case 'extract-jp':\r\n console.log('Starting ROM extraction...');\r\n console.log('ROM Path:', args[0]);\r\n console.log('Output Path:', args[1] || '../extracted-jp');\r\n await extractJP(args[0], args[1]);\r\n console.log('ROM extraction completed successfully!');\r\n break;\r\n case 'rebuild':\r\n console.log('Starting ROM rebuild...');\r\n await rebuild(args[0], args[1], args[2]);\r\n console.log('ROM rebuild completed successfully!');\r\n break;\r\n case 'rebuild-jp':\r\n console.log('Starting JP ROM rebuild...');\r\n await rebuild(args[0], args[1], args[2]);\r\n console.log('ROM rebuild completed successfully!');\r\n break;\r\n default:\r\n console.error('Unknown command:', command);\r\n console.log('Available commands: extractRom, rebuildRom');\r\n process.exit(1);\r\n }\r\n } catch (error) {\r\n console.error('Error:', error);\r\n process.exit(1);\r\n }\r\n })();\r\n}\r\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AM,MAAM,KAAK;AACjB,MAAG,IAAI,WAAW,KAAK,EAAE;AACrB,SAAM,KAAK,IAAI,MAAM,EAAE,CAAC,aAAa,CAAC;AACtC,QAAK,OAAO,OAAO,EAAE;AACrB;;;CAIR,MAAM,UAAU,MAAM,QAAQ,KAAK,SAAS;AACxC,MAAI,QAAQ;AACZ,SAAO;IACR,EAAE,CAAC;AAEN,EAAC,YAAY;AACT,MAAI;AACA,WAAQ,SAAR;IACI,KAAK;AACD,aAAQ,IAAI,6BAA6B;AACzC,aAAQ,IAAI,aAAa,KAAK,GAAG;AACjC,aAAQ,IAAI,gBAAgB,KAAK,MAAM,eAAe;AACtD,WAAM,QAAQ,KAAK,IAAI,KAAK,IAAI,QAAQ;AACxC,aAAQ,IAAI,yCAAyC;AACrD;IACJ,KAAK;AACD,aAAQ,IAAI,6BAA6B;AACzC,aAAQ,IAAI,aAAa,KAAK,GAAG;AACjC,aAAQ,IAAI,gBAAgB,KAAK,MAAM,kBAAkB;AACzD,WAAM,UAAU,KAAK,IAAI,KAAK,GAAG;AACjC,aAAQ,IAAI,yCAAyC;AACrD;IACJ,KAAK;AACD,aAAQ,IAAI,0BAA0B;AACtC,WAAM,QAAQ,KAAK,IAAI,KAAK,IAAI,KAAK,GAAG;AACxC,aAAQ,IAAI,sCAAsC;AAClD;IACJ,KAAK;AACD,aAAQ,IAAI,6BAA6B;AACzC,WAAM,QAAQ,KAAK,IAAI,KAAK,IAAI,KAAK,GAAG;AACxC,aAAQ,IAAI,sCAAsC;AAClD;IACJ;AACI,aAAQ,MAAM,oBAAoB,QAAQ;AAC1C,aAAQ,IAAI,6CAA6C;AACzD,aAAQ,KAAK,EAAE;;WAElB,OAAO;AACZ,WAAQ,MAAM,UAAU,MAAM;AAC9B,WAAQ,KAAK,EAAE;;KAEnB"}
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["mnemonics","overrides","blocks","copdef","files","groups","strings","structs","config","fileTypes","mnemonicsJP","overridesJP","rewritesJP","blocksJP","copdefJP","filesJP","groupsJP","labelsJP","stringsJP","structsJP","transformsJP","configJP","fileTypesJP","namesJP"],"sources":["../db-us/config.json","../db-us/blocks.json","../db-us/copdef.json","../db-us/files.json","../db-us/groups.json","../db-us/labels.json","../db-us/mnemonics.json","../db-us/overrides.json","../db-us/rewrites.json","../db-us/stringTypes.json","../db-us/structs.json","../db-us/transforms.json","../db-us/fileTypes.json","../db-us/names.json","../db-us/types.json","../db-jp/config.json","../db-jp/blocks.json","../db-jp/files.json","../db-jp/groups.json","../db-jp/labels.json","../db-jp/overrides.json","../db-jp/rewrites.json","../db-jp/stringTypes.json","../db-jp/structs.json","../db-jp/transforms.json","../db-jp/names.json","../src/index.ts"],"sourcesContent":["","","","","","","","","","","","","","","","","","","","","","","","","","","import { fileURLToPath } from 'url';\r\nimport { dirname, join, resolve } from 'path';\r\nimport { existsSync, readdirSync, readFileSync } from 'fs';\r\nimport { DbBlock, DbFile, DbGroup, DbStringType, DbStruct, CopDef, DbFileType, AsmBlock, saveFileAsText, RomProcessingConstants, crc32_buffer } from '@gaialabs/core';\r\nimport { DbRootUtils } from '@gaialabs/core';\r\nimport type { DbAddressingMode, DbConfig, DbGameRomModule } from '@gaialabs/core';\r\nimport { snes } from '@gaialabs/core';\r\n\r\nconst __pkgRoot = join(dirname(fileURLToPath(import.meta.url)), '..');\r\n\r\nimport config from '../db-us/config.json' with { type: 'json' };\r\nimport blocks from '../db-us/blocks.json' with { type: 'json' };\r\nimport copdef from '../db-us/copdef.json' with { type: 'json' };\r\nimport files from '../db-us/files.json' with { type: 'json' };\r\nimport groups from '../db-us/groups.json' with { type: 'json' };\r\nimport labels from '../db-us/labels.json' with { type: 'json' };\r\nimport mnemonics from '../db-us/mnemonics.json' with { type: 'json' };\r\nimport overrides from '../db-us/overrides.json' with { type: 'json' };\r\nimport rewrites from '../db-us/rewrites.json' with { type: 'json' };\r\nimport strings from '../db-us/stringTypes.json' with { type: 'json' };\r\nimport structs from '../db-us/structs.json' with { type: 'json' };\r\nimport transforms from '../db-us/transforms.json' with { type: 'json' };\r\nimport fileTypes from '../db-us/fileTypes.json' with { type: 'json' };\r\nimport names from '../db-us/names.json' with { type: 'json' };\r\nimport types from '../db-us/types.json' with { type: 'json' };\r\n\r\nfunction loadNotesDir(subdir: string): Record<string, string> {\r\n const dir = join(__pkgRoot, 'notes', subdir);\r\n if (!existsSync(dir)) return {};\r\n\r\n const merged: Record<string, string> = {};\r\n for (const file of readdirSync(dir)) {\r\n if (!file.endsWith('.json')) continue;\r\n const data = JSON.parse(readFileSync(join(dir, file), 'utf-8'));\r\n Object.assign(merged, data);\r\n }\r\n return merged;\r\n}\r\n\r\nfunction loadLocalNotes(): { comments: Record<string, string>; blockNotes: Record<string, string>; partNotes: Record<string, string> } {\r\n const notesDir = join(__pkgRoot, 'notes');\r\n if (!existsSync(notesDir)) {\r\n return { comments: {}, blockNotes: {}, partNotes: {} };\r\n }\r\n return {\r\n comments: loadNotesDir('comments'),\r\n blockNotes: loadNotesDir('blockNotes'),\r\n partNotes: loadNotesDir('partNotes')\r\n };\r\n}\r\n\r\nimport configJP from '../db-jp/config.json' with { type: 'json' };\r\nimport blocksJP from '../db-jp/blocks.json' with { type: 'json' };\r\nimport copdefJP from '../db-us/copdef.json' with { type: 'json' };\r\nimport filesJP from '../db-jp/files.json' with { type: 'json' };\r\nimport groupsJP from '../db-jp/groups.json' with { type: 'json' };\r\nimport labelsJP from '../db-jp/labels.json' with { type: 'json' };\r\nimport mnemonicsJP from '../db-us/mnemonics.json' with { type: 'json' };\r\nimport overridesJP from '../db-jp/overrides.json' with { type: 'json' };\r\nimport rewritesJP from '../db-jp/rewrites.json' with { type: 'json' };\r\nimport stringsJP from '../db-jp/stringTypes.json' with { type: 'json' };\r\nimport structsJP from '../db-jp/structs.json' with { type: 'json' };\r\nimport transformsJP from '../db-jp/transforms.json' with { type: 'json' };\r\nimport fileTypesJP from '../db-us/fileTypes.json' with { type: 'json' };\r\nimport namesJP from '../db-jp/names.json' with { type: 'json' };\r\n\r\nconst localNotes = loadLocalNotes();\r\n\r\nexport const db : DbGameRomModule = {\r\n mnemonics: { ...snes.vectors, ...mnemonics },\r\n overrides: overrides as unknown as Record<string, Record<string, number>>,\r\n rewrites,\r\n blocks: blocks as unknown as Record<string, Record<string, Partial<DbBlock>>>,\r\n copdef: copdef as unknown as Record<string, Partial<CopDef>>,\r\n files: files as unknown as Record<string, Record<string, Record<string, Partial<DbFile>>>>,\r\n groups: groups as unknown as Record<string, Partial<DbGroup>>,\r\n labels, //: labels as unknown as Record<string, string>,\r\n strings: strings as unknown as Record<string, Partial<DbStringType>>,\r\n structs: structs as unknown as Record<string, DbStruct>,\r\n transforms,\r\n config: config as unknown as DbConfig,\r\n fileTypes: fileTypes as unknown as Record<string, Partial<DbFileType>>,\r\n addrModes: snes.addressingModes as unknown as Record<string, Partial<DbAddressingMode>>,\r\n headers: snes.headers,\r\n names,\r\n types,\r\n comments: localNotes.comments,\r\n blockNotes: localNotes.blockNotes,\r\n partNotes: localNotes.partNotes\r\n};\r\n\r\nexport const jp : DbGameRomModule = {\r\n mnemonics: { ...snes.vectors, ...mnemonicsJP },\r\n overrides: overridesJP as unknown as Record<string, Record<string, number>>,\r\n rewrites: rewritesJP,\r\n blocks: blocksJP as unknown as Record<string, Record<string, Partial<DbBlock>>>,\r\n copdef: copdefJP as unknown as Record<string, Partial<CopDef>>,\r\n files: filesJP as unknown as Record<string, Record<string, Record<string, Partial<DbFile>>>>,\r\n groups: groupsJP as unknown as Record<string, Partial<DbGroup>>,\r\n labels: labelsJP, // as unknown as Record<number, string>,\r\n strings: stringsJP as unknown as Record<string, Partial<DbStringType>>,\r\n structs: { ...structs, ...structsJP } as unknown as Record<string, DbStruct>,\r\n transforms: transformsJP,\r\n config: configJP as unknown as DbConfig,\r\n fileTypes: fileTypesJP as unknown as Record<string, Partial<DbFileType>>,\r\n addrModes: snes.addressingModes as unknown as Record<string, Partial<DbAddressingMode>>,\r\n headers: snes.headers,\r\n names: namesJP\r\n};\r\n\r\nexport async function extract(romPath: string, outPath: string, options?: string[]) {\r\n if (!romPath) romPath = process.env.ROM_PATH;\r\n if(!outPath) outPath = './extracted';\r\n\r\n var dbRoot = DbRootUtils.fromGameModule(db);\r\n\r\n if(options?.includes('linetracking')) dbRoot.config.emitLineTracking = true;\r\n\r\n await DbRootUtils.extractAllContent(dbRoot, romPath, outPath);\r\n}\r\n\r\nexport async function extractJP(romPath: string, outPath: string) {\r\n if (!romPath) romPath = process.env.ROM_PATH_JP;\r\n if(!outPath) outPath = './extracted-jp';\r\n\r\n var dbRoot = DbRootUtils.fromGameModule(jp);\r\n\r\n await DbRootUtils.extractAllContent(dbRoot, romPath, outPath);\r\n}\r\n\r\nexport async function rebuild(inPath: string, outPath: string, baseRomPath: string, modulePaths?: string[], options?: string[]) {\r\n if(!inPath) inPath = './extracted';\r\n if(!outPath) outPath = `./rebuilt/${process.env.ROM_NAME ?? 'Illusion of Gaia - Rebuilt'}.smc`;\r\n if(!baseRomPath) baseRomPath = join(__pkgRoot, 'baserom');\r\n \r\n var dbRoot = DbRootUtils.fromGameModule(db);\r\n\r\n const outData = await DbRootUtils.rebuildAllContent(dbRoot, [inPath, baseRomPath, ...(modulePaths || [])], outPath);\r\n \r\n if(options?.includes('artifacts')) {\r\n console.log('Generating artifacts...');\r\n const artifactPath = './artifacts';\r\n let totalSize = 0;\r\n\r\n const fileLayoutArtifact = outData.files.filter((file) => file.size > 0).sort((a, b) => a.location - b.location).map((file) => {\r\n totalSize += file.size;\r\n return ` \"${file.location.toString(16).toUpperCase().padStart(6, '0')}\" : \"${file.name}\"`;\r\n });\r\n\r\n const fileLayoutArtifactText = `{${RomProcessingConstants.NEWLINE}${fileLayoutArtifact.join(',' + RomProcessingConstants.NEWLINE)}${RomProcessingConstants.NEWLINE}}`;\r\n await saveFileAsText(join(artifactPath, 'file-layout.json'), fileLayoutArtifactText);\r\n\r\n const masterArtifact = Object.entries(outData.masterLookup)\r\n .filter((entry) => !entry[0].match(/[!+-]$/))\r\n .sort((a, b) => a[1].location - b[1].location)\r\n .map((entry) => {\r\n return ` \"${entry[0]}\": \"${entry[1].location.toString(16).toUpperCase().padStart(6, '0')}\"`;\r\n });\r\n\r\n const masterArtifactText = `{${RomProcessingConstants.NEWLINE}${masterArtifact.join(',' + RomProcessingConstants.NEWLINE)}${RomProcessingConstants.NEWLINE}}`;\r\n await saveFileAsText(join(artifactPath, 'master-lookup.json'), masterArtifactText);\r\n\r\n const crc = crc32_buffer(outData.romData);\r\n const crcText = JSON.stringify({ checksum: outData.header.checksum, crc, totalSize }, null, 2);\r\n await saveFileAsText(join(artifactPath, 'crc.json'), crcText);\r\n }\r\n}\r\n\r\nexport async function rebuildJp(inPath: string, outPath: string, baseRomPath: string, modulePaths?: string[]) {\r\n if(!inPath) inPath = './extracted-jp';\r\n if(!outPath) outPath = `./rebuilt-jp/${process.env.ROM_NAME_JP ?? 'Gaia Gensouki - Rebuilt'}.smc`;\r\n if(!baseRomPath) baseRomPath = join(__pkgRoot, 'baserom-jp');\r\n \r\n var dbRoot = DbRootUtils.fromGameModule(jp);\r\n\r\n await DbRootUtils.rebuildAllContent(dbRoot, [inPath, baseRomPath, ...(modulePaths || [])], outPath);\r\n}\r\n\r\n// CLI handler - only execute when run directly (not when imported as a module)\r\n// Check if this module is being run directly\r\nconst isMainModule = resolve(process.argv[1] || '') === fileURLToPath(import.meta.url);\r\n\r\nif (isMainModule) {\r\n const command = process.argv[2];\r\n const args = process.argv.slice(3);\r\n\r\n const flags = [];\r\n for(let index = 0; index < args.length; index++) {\r\n const arg = args[index];\r\n if(arg.startsWith('--')) {\r\n flags.push(arg.slice(2).toLowerCase());\r\n args.splice(index, 1);\r\n index--;\r\n }\r\n }\r\n\r\n // const options = flags.reduce((acc, flag) => {\r\n // acc[flag] = true;\r\n // return acc;\r\n // }, {});\r\n\r\n (async () => {\r\n try {\r\n switch (command) {\r\n case 'extract':\r\n console.log('Starting ROM extraction...');\r\n console.log('ROM Path:', args[0]);\r\n console.log('Output Path:', args[1] || '../extracted');\r\n await extract(args[0], args[1], flags);\r\n console.log('ROM extraction completed successfully!');\r\n break;\r\n case 'extract-jp':\r\n console.log('Starting ROM extraction...');\r\n console.log('ROM Path:', args[0]);\r\n console.log('Output Path:', args[1] || '../extracted-jp');\r\n await extractJP(args[0], args[1]);\r\n console.log('ROM extraction completed successfully!');\r\n break;\r\n case 'rebuild':\r\n console.log('Starting ROM rebuild...');\r\n await rebuild(args[0], args[1], args[2], undefined, flags);\r\n console.log('ROM rebuild completed successfully!');\r\n break;\r\n case 'rebuild-jp':\r\n console.log('Starting JP ROM rebuild...');\r\n await rebuild(args[0], args[1], args[2]);\r\n console.log('ROM rebuild completed successfully!');\r\n break;\r\n default:\r\n console.error('Unknown command:', command);\r\n console.log('Available commands: extractRom, rebuildRom');\r\n process.exit(1);\r\n }\r\n } catch (error) {\r\n console.error('Error:', error);\r\n process.exit(1);\r\n }\r\n })();\r\n}\r\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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