Read the English 1.0 and Australian cartridges besides 1.1 (#84)
PRET's crystal and crystal_au builds reproduce both retail cartridges, and every label the profile pins keeps its address in all three; check:reference now verifies that when the rebuilds are present. The revision comes from the header. Revision 1.0's Battle Tower draws only the first 21 trainers and picks its texts' gender from the name's sixth character, checked against each cartridge. A native backup imports across the three, which share every map, event and object. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
acdaf62eaa
commit
3c480a28f0
17 files changed
+317
-26
No files matched your search
@@ -144,6 +144,21 @@ test("save slots: migration, new game, rename, continue, duplicate, delete and i
|
||||
await preview.getByRole("button", { name: "Close" }).click();
|
||||
await expect(slots).toHaveCount(2);
|
||||
|
||||
// One from another supported English cartridge carries over.
|
||||
const us10 = testInfo.outputPath("us10.crystal-save.json");
|
||||
writeFileSync(
|
||||
us10,
|
||||
JSON.stringify({
|
||||
...JSON.parse(readFileSync(backup, "utf8")),
|
||||
romHash: "f4cd194bdee0d04ca4eac29e09b8e4e9d818c133",
|
||||
}),
|
||||
);
|
||||
await page.locator("#save-file").setInputFiles(us10);
|
||||
await expect(preview).toContainText("Made with English US/Europe 1.0; it continues with this one");
|
||||
await expect(page.locator("#import-new")).toHaveCount(1);
|
||||
await preview.getByRole("button", { name: "Cancel" }).click();
|
||||
await expect(slots).toHaveCount(2);
|
||||
|
||||
// Importing as a new save adds a slot and continues it.
|
||||
await page.locator("#save-file").setInputFiles(backup);
|
||||
await page.locator("#import-new").click();
|
||||
|
||||
Reference in new issue
Block a user