From c09945f84acb605a6e9aff18e7c439774b9c915b Mon Sep 17 00:00:00 2001 From: KlaviculaAG Date: Fri, 4 Jul 2025 21:14:29 -0300 Subject: [PATCH] d_snes.cpp - add fireemblem4te (#2143) * d_snes.cpp - add fireemblem4te Add english translation for fire emblem 4. adj in fireemblem4j, fireemblem4tsc, fireemblem4ttc (clone of fireemblem4te) * d_cps2.cpp - adj. in sf2prime 059 -> 0.60 --- src/burn/drv/capcom/d_cps2.cpp | 20 ++++++++++---------- src/burn/drv/snes/d_snes.cpp | 28 ++++++++++++++++++++++++---- 2 files changed, 34 insertions(+), 14 deletions(-) diff --git a/src/burn/drv/capcom/d_cps2.cpp b/src/burn/drv/capcom/d_cps2.cpp index ae48de9ed..5f486dd5d 100644 --- a/src/burn/drv/capcom/d_cps2.cpp +++ b/src/burn/drv/capcom/d_cps2.cpp @@ -13361,15 +13361,15 @@ static struct BurnRomInfo Hsf2appRomDesc[] = { STD_ROM_PICK(Hsf2app) STD_ROM_FN(Hsf2app) -// Street Fighter II': Prime (Ver 0.59, Hack) +// Street Fighter II': Prime (Ver 0.60, Hack) // Modified by Zero800 // https://sf2prime.github.io/ static struct BurnRomInfo Sf2primeRomDesc[] = { - { "sf2pr.03", 0x080000, 0x59143b8b, CPS2_PRG_68K | BRF_ESS | BRF_PRG }, - { "sf2pr.04", 0x080000, 0x409d4228, CPS2_PRG_68K | BRF_ESS | BRF_PRG }, - { "sf2pr.05", 0x080000, 0x17aebd33, CPS2_PRG_68K | BRF_ESS | BRF_PRG }, - { "sf2pr.06", 0x080000, 0x25efe272, CPS2_PRG_68K | BRF_ESS | BRF_PRG }, + { "sf2pr.03", 0x080000, 0x8c31a215, CPS2_PRG_68K | BRF_ESS | BRF_PRG }, + { "sf2pr.04", 0x080000, 0x336f1292, CPS2_PRG_68K | BRF_ESS | BRF_PRG }, + { "sf2pr.05", 0x080000, 0xbbbd8441, CPS2_PRG_68K | BRF_ESS | BRF_PRG }, + { "sf2pr.06", 0x080000, 0x2575c943, CPS2_PRG_68K | BRF_ESS | BRF_PRG }, #if 0 // All filled with 0xFF. { "sf2pr.07", 0x080000, 0x504bf849, CPS2_PRG_68K | BRF_ESS | BRF_PRG }, @@ -13378,10 +13378,10 @@ static struct BurnRomInfo Sf2primeRomDesc[] = { { "sf2pr.10", 0x080000, 0x504bf849, CPS2_PRG_68K | BRF_ESS | BRF_PRG }, #endif - { "sf2pr.13m", 0x800000, 0xef3434a7, CPS2_GFX | BRF_GRA }, - { "sf2pr.15m", 0x800000, 0x5c800140, CPS2_GFX | BRF_GRA }, - { "sf2pr.17m", 0x800000, 0x816156ec, CPS2_GFX | BRF_GRA }, - { "sf2pr.19m", 0x800000, 0x9851a965, CPS2_GFX | BRF_GRA }, + { "sf2pr.13m", 0x800000, 0x451adf88, CPS2_GFX | BRF_GRA }, + { "sf2pr.15m", 0x800000, 0x3c9ce92a, CPS2_GFX | BRF_GRA }, + { "sf2pr.17m", 0x800000, 0x1f6bb4f8, CPS2_GFX | BRF_GRA }, + { "sf2pr.19m", 0x800000, 0x9557a245, CPS2_GFX | BRF_GRA }, { "sf2pr.01", 0x020000, 0x6ce233a7, CPS2_PRG_Z80 | BRF_ESS | BRF_PRG }, { "sf2pr.02", 0x020000, 0x2d8794aa, CPS2_PRG_Z80 | BRF_ESS | BRF_PRG }, @@ -14871,7 +14871,7 @@ struct BurnDriver BurnDrvCpsHsf2app = { struct BurnDriver BurnDrvCpsSf2prime = { "sf2prime", "hsf2", NULL, NULL, "2025", - "Street Fighter II': Prime (Ver 0.59, Hack)\0", NULL, "Zero800", "CPS2", + "Street Fighter II': Prime (Ver 0.60, Hack)\0", NULL, "Zero800", "CPS2", NULL, NULL, NULL, NULL, BDF_GAME_WORKING | BDF_CLONE | BDF_HACK | BDF_HISCORE_SUPPORTED, 2, HARDWARE_CAPCOM_CPS2, GBF_VSFIGHT, FBF_SF, NULL, Sf2primeRomInfo, Sf2primeRomName, NULL, NULL, NULL, NULL, Cps2FightingInputInfo, NULL, diff --git a/src/burn/drv/snes/d_snes.cpp b/src/burn/drv/snes/d_snes.cpp index cec2bcf40..44cbe34e3 100644 --- a/src/burn/drv/snes/d_snes.cpp +++ b/src/burn/drv/snes/d_snes.cpp @@ -13039,15 +13039,35 @@ STD_ROM_PICK(snes_Fireemblem4j) STD_ROM_FN(snes_Fireemblem4j) struct BurnDriver BurnDrvsnes_Fireemblem4j = { - "snes_fireemblem4j", NULL, NULL, NULL, "1996", + "snes_fireemblem4j", "snes_fireemblem4te", NULL, NULL, "1996", "Fire Emblem - Seisen no Keifu (Japan)\0", NULL, "Nintendo", "SNES / Super Famicom", L"Fire Emblem - Seisen no Keifu (Japan)\0\u30d5\u30a1\u30a4\u30a2\u30fc\u30a8\u30e0\u30d6\u30ec\u30e0 - \u8056\u6226\u306e\u7cfb\u8b5c\0", NULL, NULL, NULL, - BDF_GAME_WORKING, 1, HARDWARE_SNES, GBF_RPG | GBF_STRATEGY, 0, + BDF_GAME_WORKING | BDF_CLONE, 1, HARDWARE_SNES, GBF_RPG | GBF_STRATEGY, 0, SNESGetZipName, snes_Fireemblem4jRomInfo, snes_Fireemblem4jRomName, NULL, NULL, NULL, NULL, SNESInputInfo, SNESDIPInfo, DrvInit, DrvExit, DrvFrame, DrvDraw, DrvScan, &DrvRecalc, 0x8000, 512, 448, 4, 3 }; +// Fire Emblem - Genealogy of the Holy War (Hack, English v1.01) +// https://www.romhacking.net/translations/7415/ + +static struct BurnRomInfo snes_Fireemblem4teRomDesc[] = { + { "Fire Emblem - Genealogy of the Holy War T-Eng v1.01 (2025)(Miacis).sfc", 8388608, 0x0fba1e19, BRF_ESS | BRF_PRG }, +}; + +STD_ROM_PICK(snes_Fireemblem4te) +STD_ROM_FN(snes_Fireemblem4te) + +struct BurnDriver BurnDrvsnes_Fireemblem4te = { + "snes_fireemblem4te", NULL, NULL, NULL, "2025", + "Fire Emblem - Genealogy of the Holy War (Hack, English v1.01)\0", NULL, "Miacis", "SNES / Super Famicom", + NULL, NULL, NULL, NULL, + BDF_GAME_WORKING | BDF_HACK, 1, HARDWARE_SNES, GBF_RPG | GBF_STRATEGY, 0, + SNESGetZipName, snes_Fireemblem4teRomInfo, snes_Fireemblem4teRomName, NULL, NULL, NULL, NULL, SNESInputInfo, SNESDIPInfo, + DrvInit, DrvExit, DrvFrame, DrvDraw, DrvScan, &DrvRecalc, 0x8000, + 512, 448, 4, 3 +}; + // Fire Emblem - Seisen no Keifu (Hack, Simplified Chinese v1.1) static struct BurnRomInfo snes_Fireemblem4tscRomDesc[] = { @@ -13058,7 +13078,7 @@ STD_ROM_PICK(snes_Fireemblem4tsc) STD_ROM_FN(snes_Fireemblem4tsc) struct BurnDriver BurnDrvsnes_Fireemblem4tsc = { - "snes_fireemblem4tsc", "snes_fireemblem4j", NULL, NULL, "2008", + "snes_fireemblem4tsc", "snes_fireemblem4te", NULL, NULL, "2008", "Fire Emblem - Seisen no Keifu (Hack, Simplified Chinese v1.1)\0", NULL, "FIREEMBLEM.NET", "SNES / Super Famicom", L"Fire Emblem - Seisen no Keifu (Hack, Simplified Chinese v1.1)\0\u706b\u7130\u4e4b\u7eb9\u7ae0 - \u5723\u6218\u4e4b\u7cfb\u8c31\0", NULL, L"\u706b\u82b1\u5929\u9f99\u5251", NULL, BDF_GAME_WORKING | BDF_CLONE | BDF_HACK, 1, HARDWARE_SNES, GBF_RPG | GBF_STRATEGY, 0, @@ -13077,7 +13097,7 @@ STD_ROM_PICK(snes_Fireemblem4ttc) STD_ROM_FN(snes_Fireemblem4ttc) struct BurnDriver BurnDrvsnes_Fireemblem4ttc = { - "snes_fireemblem4ttc", "snes_fireemblem4j", NULL, NULL, "2008", + "snes_fireemblem4ttc", "snes_fireemblem4te", NULL, NULL, "2008", "Fire Emblem - Seisen no Keifu (Hack, Traditional Chinese v1.1)\0", NULL, "FIREEMBLEM.NET", "SNES / Super Famicom", L"Fire Emblem - Seisen no Keifu (Hack, Traditional Chinese v1.1)\0\u706b\u7130\u4e4b\u7d0b\u7ae0 - \u8056\u6230\u4e4b\u7cfb\u8b5c\0", NULL, L"\u706b\u82b1\u5929\u9f99\u5251", NULL, BDF_GAME_WORKING | BDF_CLONE | BDF_HACK, 1, HARDWARE_SNES, GBF_RPG | GBF_STRATEGY, 0,