[Scummvm-cvs-logs] SF.net SVN: scummvm:[33578] scummvm/trunk
athrxx at users.sourceforge.net
athrxx at users.sourceforge.net
Sun Aug 3 14:09:49 CEST 2008
Revision: 33578
http://scummvm.svn.sourceforge.net/scummvm/?rev=33578&view=rev
Author: athrxx
Date: 2008-08-03 12:09:48 +0000 (Sun, 03 Aug 2008)
Log Message:
-----------
add support for HOF Italian fan translation to kyra.dat
Modified Paths:
--------------
scummvm/trunk/dists/engine-data/kyra.dat
scummvm/trunk/engines/kyra/sequences_hof.cpp
scummvm/trunk/engines/kyra/staticres.cpp
scummvm/trunk/tools/create_kyradat/create_kyradat.cpp
scummvm/trunk/tools/create_kyradat/create_kyradat.h
scummvm/trunk/tools/create_kyradat/hof_cd.h
scummvm/trunk/tools/create_kyradat/misc.h
Modified: scummvm/trunk/engines/kyra/sequences_hof.cpp
===================================================================
--- scummvm/trunk/engines/kyra/sequences_hof.cpp 2008-08-03 12:02:20 UTC (rev 33577)
+++ scummvm/trunk/engines/kyra/sequences_hof.cpp 2008-08-03 12:09:48 UTC (rev 33578)
@@ -2751,7 +2751,6 @@
void KyraEngine_HoF::seq_scrollPage(int bottom, int top) {
int dstY, dstH, srcH;
- //int mgY;
static const ScreenDim d = { 0x00, 0x00, 0x28, 0x320, 0xFF, 0xFE, 0x00, 0x00 };
Modified: scummvm/trunk/engines/kyra/staticres.cpp
===================================================================
--- scummvm/trunk/engines/kyra/staticres.cpp 2008-08-03 12:02:20 UTC (rev 33577)
+++ scummvm/trunk/engines/kyra/staticres.cpp 2008-08-03 12:09:48 UTC (rev 33578)
@@ -43,7 +43,7 @@
namespace Kyra {
-#define RESFILE_VERSION 29
+#define RESFILE_VERSION 30
bool StaticResource::checkKyraDat() {
Common::File kyraDat;
Modified: scummvm/trunk/tools/create_kyradat/create_kyradat.cpp
===================================================================
--- scummvm/trunk/tools/create_kyradat/create_kyradat.cpp 2008-08-03 12:02:20 UTC (rev 33577)
+++ scummvm/trunk/tools/create_kyradat/create_kyradat.cpp 2008-08-03 12:09:48 UTC (rev 33578)
@@ -31,7 +31,7 @@
#include "md5.h"
enum {
- kKyraDatVersion = 29,
+ kKyraDatVersion = 30,
kIndexSize = 12
};
Modified: scummvm/trunk/tools/create_kyradat/create_kyradat.h
===================================================================
--- scummvm/trunk/tools/create_kyradat/create_kyradat.h 2008-08-03 12:02:20 UTC (rev 33577)
+++ scummvm/trunk/tools/create_kyradat/create_kyradat.h 2008-08-03 12:09:48 UTC (rev 33578)
@@ -204,20 +204,22 @@
k2CDFile2E = 8,
k2CDFile2F = 9,
k2CDFile2G = 10,
+ // Italian fan translation
+ k2CDFile1I = 11,
- k2TownsFile1E = 11,
- k2TownsFile1J = 12,
- k2TownsFile2E = 13,
- k2TownsFile2J = 14,
+ k2TownsFile1E = 12,
+ k2TownsFile1J = 13,
+ k2TownsFile2E = 14,
+ k2TownsFile2J = 15,
- k2FloppyFile1 = 15,
- k2FloppyFile2 = 16,
+ k2FloppyFile1 = 16,
+ k2FloppyFile2 = 17,
- k2DemoVersion = 17,
- k2DemoVersionTlkE = 18,
- k2DemoVersionTlkF = 19,
- k2DemoVersionTlkG = 20,
- k2DemoLol = 21
+ k2DemoVersion = 18,
+ k2DemoVersionTlkE = 19,
+ k2DemoVersionTlkF = 20,
+ k2DemoVersionTlkG = 21,
+ k2DemoLol = 22
};
struct SpecialExtension {
Modified: scummvm/trunk/tools/create_kyradat/hof_cd.h
===================================================================
--- scummvm/trunk/tools/create_kyradat/hof_cd.h 2008-08-03 12:02:20 UTC (rev 33577)
+++ scummvm/trunk/tools/create_kyradat/hof_cd.h 2008-08-03 12:09:48 UTC (rev 33578)
@@ -23,6 +23,12 @@
{ -1, 0, 0 }
};
+const ExtractEntry kyra2File1CDI[] = {
+ { k2SeqplayStrings, 0x0002C566, 0x0002CE7C },
+ { k2SeqplayTlkFiles, 0x0002A2AC, 0x0002A349 },
+ { -1, 0, 0 }
+};
+
const ExtractEntry kyra2File2CDE[] = {
{ k2IngameSfxFiles, 0x0002CB30, 0x0002D221 },
{ k2IngameSfxIndex, 0x000294F0, 0x00029848 },
@@ -47,5 +53,9 @@
{ kKyra2, EN_ANY, k2CDFile2E, "e20d0d2e500f01e399ec588247a7e213", kyra2File2CDE},
{ kKyra2, FR_FRA, k2CDFile2F, "e20d0d2e500f01e399ec588247a7e213", kyra2File2CDF},
{ kKyra2, DE_DEU, k2CDFile2G, "e20d0d2e500f01e399ec588247a7e213", kyra2File2CDG},
+
+ // Italian Fan Translation (using same offsets as English)
+ { kKyra2, IT_ITA, k2CDFile1I, "130795aa8f2333250c895dae9028b9bb", kyra2File1CDI},
+
GAME_DUMMY_ENTRY
-};
+};
\ No newline at end of file
Modified: scummvm/trunk/tools/create_kyradat/misc.h
===================================================================
--- scummvm/trunk/tools/create_kyradat/misc.h 2008-08-03 12:02:20 UTC (rev 33577)
+++ scummvm/trunk/tools/create_kyradat/misc.h 2008-08-03 12:09:48 UTC (rev 33578)
@@ -494,6 +494,7 @@
{ kKyra2, k2CDFile1E, kyra2CDFile1EngNeed },
{ kKyra2, k2CDFile1F, kyra2CDFile1FreNeed },
{ kKyra2, k2CDFile1G, kyra2CDFile1GerNeed },
+ { kKyra2, k2CDFile1I, kyra2CDFile1EngNeed }, // Italian fan translation
{ kKyra2, k2CDFile2E, kyra2CDFile2EngNeed },
{ kKyra2, k2CDFile2F, kyra2CDFile2FreNeed },
{ kKyra2, k2CDFile2G, kyra2CDFile2GerNeed },
@@ -522,9 +523,11 @@
{ k2CDFile1E, "CD" },
{ k2CDFile1F, "CD" },
{ k2CDFile1G, "CD" },
+ { k2CDFile1I, "CD" },
{ k2CDFile2E, "CD" },
{ k2CDFile2F, "CD" },
{ k2CDFile2G, "CD" },
+
{ k2TownsFile1E, "TNS" },
{ k2TownsFile1J, "TNS" },
{ k2TownsFile2E, "TNS" },
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list