Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TFD Installer for Tiberian dawn, Red Alert and Tiberian Sun #8170

Merged
merged 2 commits into from Jul 29, 2015

Conversation

DSUK
Copy link
Contributor

@DSUK DSUK commented May 14, 2015

Installs Tiberian dawn from the The First Decade Disk. Closes #3863.

@LipkeGu
Copy link
Member

LipkeGu commented May 15, 2015

Your Code style violates with the Style Rules... thats why Travis fails... :)

rm -rf Mono.Nat
fi

if [ ! -f FuzzyLogicLibrary.dll ]; then
echo "Fetching FuzzyLogicLibrary from NuGet."
nuget install FuzzyLogicLibrary -Version 1.2.0 -ExcludeVersion
cp ./FuzzyLogicLibrary/bin/Release/FuzzyLogicLibrary.dll .
mv ./FuzzyLogicLibrary/bin/Release/FuzzyLogicLibrary.dll .
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will undo the caching we need for our CI.

@pchote
Copy link
Member

pchote commented May 15, 2015

Hi @DSUK, and welcome!

This looks like a good start, but will need some more refinements before we can consider merging this:

  • Like @Mailaender mentioned, the changes that don't directly relate to this feature will need to be reverted, and the installer will need to detect and install from both the original disks and TFD.
  • The code style inside InstallShieldCABExtractor fails our coding standard verification, and will need to be reformatted. You can look at the output of the travis builds or run make check locally to see the list of violations.
  • The InstallShieldCABExtractor code looks to be translated from another language / project. What license was this originally released under? It must be GPLv3 compatible for us to be able to include it.

Please let us know if you have any questions about how to work through these points.

@DSUK
Copy link
Contributor Author

DSUK commented May 16, 2015

@pchote the code was translated from libunshield, which is MIT so that's not a problem.

do the dependencies have to be GPL Compatible? If so I might have to find an alternative to DotNetZip.

@pchote
Copy link
Member

pchote commented May 16, 2015

We already use SharpZipLib, so I really hope that you can make use of that instead of requiring two different zip libraries.

@Mailaender
Copy link
Member

To avoid these merge commits try https://help.github.com/articles/about-git-rebase/ instead.

@DSUK
Copy link
Contributor Author

DSUK commented May 20, 2015

Removed the dependency, it seems to install TD okay.


const uint LINKPREV = 0x1;
const uint LINKNEXT = 0x2;
struct VolumeHeader {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please open blocks at the next line, as per .NET standards.

@penev92
Copy link
Member

penev92 commented May 20, 2015

Here are a few more style-related comments ;)
I haven't looked at the code much yet, but the fact that you are not using our IFolder concerns me a little. Please look at how BigFile, Folder, MixFile and ZipFile are done, and consider creating a similar CabFile. I think that would be most useful with our FileSystem architecture.
You will also need to squash the commit at some point, but that can wait.
If you have questions you can find us on IRC.

@Mailaender
Copy link
Member

You will need to add OpenRA.Game/FileSystem/InstallShieldCABExtractor.cs and OpenRA.Mods.Common/Widgets/Logic/Installation/InstallFromTTFDLogic.cs to the respective .csproj files. Otherwise our Windows build will be incomplete. It is also suggested to use an IDE such as @monodevelop.

if ((fd.Flags & FILESPLIT) != 0 || (fd.Flags & FILEOBFUSCATED) != 0)
throw new Exception("Haven't implemented");

var fil = GlobalFileSystem.Open(string.Format("{0}{1}.cab", commonPath, fd.Volume));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You forgot to dispose the fil stream so you are leaking resources. In C# you can use

using (var fil = GlobalFileSystem.Open(string.Format("{0}{1}.cab", commonPath, fd.Volume)))
    using (var reader = new BinaryReader(fil))
    {
        reader.ReadUInt32() [...]
    }

to automatically clean up after usage.

@GraionDilach
Copy link
Contributor

I'd like to point out that The First Decade is commonly abbreviated as TFD, not TTFD. I have no idea what the second T means.

@Micr0Bit
Copy link
Member

terrific ...

@DSUK
Copy link
Contributor Author

DSUK commented May 28, 2015

Hey guys, thanks for the feedback :). As an update i am working on getting the CAB extractor to implement IFolder.
I would like to ask how are the classic hashes used? and would a hash collision be a issue if one was to occur?

and @GraionDilach I have no idea where the second T has come from. I will amend accordingly :)

@DSUK DSUK changed the title TTFD Installer for Tiberian dawn TFD Installer for Tiberian dawn May 28, 2015
@DSUK
Copy link
Contributor Author

DSUK commented Jul 26, 2015

@penev92, I think I have completed all of those with this commit :)

@penev92
Copy link
Member

penev92 commented Jul 27, 2015

Works 👍
Great job!
I noticed one (probably unrelated?) thing - you can't view videos after installing from CD until you restart the game.
Also @pchote, do we want the TS videos as well while we're at it? (Last thing, I promise @DSUK :D )

@Mailaender Mailaender changed the title TFD Installer for Tiberian dawn TFD Installer for Tiberian dawn, Red Alert and Tiberian Sun Jul 27, 2015
@DSUK
Copy link
Contributor Author

DSUK commented Jul 27, 2015

@penev92 strange, I seem to be able to play videos fine after the first install.

@DSUK DSUK force-pushed the master branch 2 times, most recently from 38ef304 to 267c64a Compare July 27, 2015 17:30
{
var filename = cabExtractor.FileName(index);
statusLabel.GetText = () => "Extracting {0}".F(filename);
var dest = Platform.ResolvePath("^", "Content", Game.ModData.Manifest.Mod.Id, filename.ToLower());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ToLowerInvariant please.

@DSUK
Copy link
Contributor Author

DSUK commented Jul 29, 2015

I have only changed ToLower to ToLowerInvariant and the appveyor is failing ? o_O

@pchote
Copy link
Member

pchote commented Jul 29, 2015

Appveyor has a lot of infrastructure issues. The failure looks unrelated to this pr.

@Mailaender
Copy link
Member

I manually incremented the build number at https://ci.appveyor.com/project/OpenRA/openra/settings like I did before when we had this problem. I hope this resolves it when you push again. @appveyor needs to fix this.

@DSUK
Copy link
Contributor Author

DSUK commented Jul 29, 2015

seems to have passed now.

Mailaender added a commit that referenced this pull request Jul 29, 2015
TFD Installer for Tiberian dawn, Red Alert and Tiberian Sun
@Mailaender Mailaender merged commit 8eb5698 into OpenRA:bleed Jul 29, 2015
@Mailaender
Copy link
Member

Thanks! Be sure to add yourself to https://github.com/OpenRA/OpenRA/blob/bleed/AUTHORS.

@Mailaender
Copy link
Member

Changelog

@Redirion
Copy link

the mechanism doesn't seem to detect a German DVD of the first decade. Is this related to the File Ids that are added in the yaml files? I would happily provide the ids for the German DVD if someone could point me to an explanation of how these IDs are calculated.

@LipkeGu
Copy link
Member

LipkeGu commented Aug 15, 2015

unshield and isCabLogview can view hdr files ... so it is written by the website of installshield... im testing it and when i find IDs then i could post an issue with these IDs :)

opening data1.hdr in hex editor prints filesinside the cabs...

>Tiberian Sun<

        Size of Files:              1758450566
        Size in Library:            1453274457


        File                                                    Date        Time         Size         Version            Attributes    MD5                                     Source file
        ------------------------------------------------------  ----------  -----------  -----------  -----------------  ------------  --------------------------------------  ------------------------------------------------
        "sun\docs\acrobat\deutsch.exe"                          18.02.2002     09:07:04      9189784  "2.1.5.0"          "A"           "85b8d78eea95dcd08640ef3bab3285ed"      ""
        "sun\html\cd.htm"                                       01.02.2000     08:35:16        12210  ""                 "A"           "9f8cc5008a5bea50b5093c9b4d871376"      ""
        "sun\html\config.htm"                                   01.02.2000     07:54:34        13782  ""                 "A"           "2c378f15e1671a1806eb83bf9ef52fa5"      ""
        "sun\html\connect.htm"                                  01.02.2000     08:15:08         5963  ""                 "A"           "8222207c7fac5afdffc70e2e11d81f91"      ""
        "sun\html\contact.htm"                                  01.02.2000     08:17:10         9686  ""                 "A"           "5a6aa7482eb691d839c541b7c656529a"      ""
        "sun\html\errmess.htm"                                  01.02.2000     07:58:24        13088  ""                 "A"           "23106f773ff4bbebafc0b0baafc2d851"      ""
        "sun\html\errors.htm"                                   01.02.2000     07:59:06        12926  ""                 "A"           "35e70ee6898ca6529f2774a0b286cd86"      ""
        "sun\html\install.htm"                                  01.02.2000     08:15:24         7365  ""                 "A"           "1148c04dd7f583d98eb0180132b3d515"      ""
        "sun\html\modem.htm"                                    01.02.2000     07:59:38        11391  ""                 "A"           "809fad4594c577add8e8edfb6df185e8"      ""
        "sun\html\modem2.htm"                                   01.02.2000     08:19:08         7891  ""                 "A"           "353859ace239a0c6502c9fbffc71c589"      ""
        "sun\html\modem3.htm"                                   01.02.2000     08:19:28        15768  ""                 "A"           "4f1fbfcdf504ff2ae4fa2acae5d17c3f"      ""
        "sun\html\network.htm"                                  01.02.2000     08:00:38        10009  ""                 "A"           "c32ffd01433dbfa775db739ad60d3d79"      ""
        "sun\html\network2.htm"                                 01.02.2000     08:20:26        18077  ""                 "A"           "9d9c1ac98859580ea78231fda584978b"      ""
        "sun\html\other.htm"                                    01.02.2000     08:01:24        12381  ""                 "A"           "5aa11b71718b29387ae46234bc22022c"      ""
        "sun\html\pfaults.htm"                                  01.02.2000     08:20:48         5630  ""                 "A"           "b236a81a60398ac881512649dcd8fd6b"      ""
        "sun\html\tapi.htm"                                     01.02.2000     08:02:18        13506  ""                 "A"           "f120fe3a7052ce3b92f27d625f4939b7"      ""
        "sun\html\tourn.htm"                                    01.02.2000     08:03:00        22089  ""                 "A"           "d42d80b5cb6b52bb556eb9aebc7085d3"      ""
        "sun\html\vendors.htm"                                  01.02.2000     08:21:00        22075  ""                 "A"           "ae2cdf843aa44d2cff65c1edbe516686"      ""
        "sun\html\vidsound.htm"                                 01.02.2000     08:03:34        15137  ""                 "A"           "202e84348fde639e1c4cb46f5bde1af0"      ""
        "sun\html\wol.htm"                                      01.02.2000     08:03:58        12768  ""                 "A"           "e126958e641ea1f7c30c64ef53c38c7c"      ""
        "sun\images\logo_temp.gif"                              01.02.2000     07:16:36         7237  ""                 "A"           "9e8f096e866049ed208ea42156806ab2"      ""
        "sun\images\main_bg.jpg"                                31.01.2000     13:42:00        15492  ""                 "A"           "f5573ce2afa0ae3eba30ae3cba6b198c"      ""
        "sun\images\tinyts1.gif"                                31.01.2000     13:42:00         4611  ""                 "A"           "7594a7f87f2baf36cb600cd232caad4d"      ""
        "sun\images\w_rotate1.gif"                              31.01.2000     13:42:00         5253  ""                 "A"           "7008c846c97dac0df7b389a5914b7277"      ""
        "sun\images\ws_logo.gif"                                31.01.2000     13:42:00         2191  ""                 "A"           "ca51b51c72803c6f83459d2d333d8eea"      ""
        "sun\images\wslogo1.gif"                                31.01.2000     13:42:00         5708  ""                 "A"           "92f205ea755e79d4450750aaa5222e61"      ""
        "sun\themes\tsgditp1.exe"                               24.11.1999     18:18:00      1379328  ""                 "A"           "6d461421c486b310a62514fdbd407dfe"      ""
        "sun\themes\tsnodtp1.exe"                               28.12.1999     18:13:10      2194944  ""                 "A"           "3d6185eaea8cd193825e58c916858ad6"      ""
        "sun\themes\themes.cab"                                 14.01.2000     11:07:30      3500103  ""                 "A"           "5e37d977dd68124a37f66fd37295620d"      ""
        "sun\themes\themes.ini"                                 14.01.2000     11:07:18           52  ""                 "A"           "19993afd8a57b630aa73ad87002400d9"      ""
        "sun\docs\docs\handbuch.pdf"                            18.06.2002     03:16:26      2053861  ""                 "A"           "45cfceec95fadf10086c7a44a9b7ad29"      ""
        "sun\docs\docs\referenzkarte.pdf"                       18.06.2002     03:38:46       602060  ""                 "A"           "3d6ee4a033bdd25fd527f7c08c9d393b"      ""
        "sun\docs\docs\schnellstart-hilfe.txt"                  20.02.2002     10:04:12         3144  ""                 "A"           "b876eb095d0f6ec9b50953e7ee09a84d"      ""
        "sun\00000407.016"                                      20.07.1999     11:23:46        32118  ""                 "A"           "ee8d0663fd52c92454108a12582bf8a6"      ""
        "sun\00000407.256"                                      20.07.1999     10:43:18        65080  ""                 "A"           "6cf3dae7e70a4aec910552bfc2e0c3ab"      ""
        "sun\ai.tlb"                                            06.07.1999     03:21:38        12300  ""                 "A"           "c3b4637d4e8ad7fea21a5df507c658f7"      ""
        "sun\blowfish.dll"                                      19.01.1998     09:49:00       159744  ""                 "A"           "0705eedc3e879bf9c0972eac2e5cd943"      ""
        "sun\blowfish.tlb"                                      06.07.1999     03:21:36         2348  ""                 "A"           "838f1683fc1af2324d43708f39fcd21d"      ""
        "sun\clcd16.dll"                                        28.07.1999     12:51:04         6784  ""                 "A"           "4de2636a761f57126da707aef6c9c51d"      ""
        "sun\firestorm.ico"                                     17.01.2000     10:53:40         7406  ""                 "A"           "f93e9a4f9a9286b9cb4c56fbeb25ce6c"      ""
        "sun\game.icd"                                          28.07.1999     12:51:02      3227920  "1.0.0.1"          "A"           "efa6560fe1459aa29ced1cfada101523"      ""
        "sun\game.exe"                                          18.11.2005     13:13:42      4677437  "1.0.0.1"          "A"           "acf1f26a68d8a9eede4d306b250caa73"      ""
        "sun\launcher.bmp"                                      18.05.1999     09:21:04        39608  ""                 "A"           "b32538122f0a3fd2ffb8953e611f9cd9"      ""
        "sun\launcher.txt"                                      31.05.2000     10:03:54         8965  ""                 "A"           "02c35b81386134a4b64d6751af928bbd"      ""
        "sun\license.doc"                                       20.07.1999     09:22:38        23040  ""                 "A"           "5a0b121517a9f413fcd5758461825fed"      ""
        "sun\locos.tlb"                                         06.07.1999     03:21:36        19216  ""                 "A"           "80882d5a2f81bfde51de0c45f71ed9d8"      ""
        "sun\language.dll"                                      28.01.2000     14:55:58       135168  "2.0.0.0"          "A"           "eee002b62d4857e0b3c8295c101c330c"      ""
        "sun\license - firestorm.doc"                           13.01.2000     14:39:52        24064  ""                 "A"           "ad95f51dd9d5cce14719bd0d4c686fba"      ""
        "sun\maps01.mix"                                        27.07.1999     16:48:04      3669036  ""                 "A"           "5a2d65f398b492fa4001843d83950688"      ""
        "sun\maps02.mix"                                        26.07.1999     14:28:34      3504708  ""                 "A"           "490ba3c3dc18aa9047ca48a7e26a7d18"      ""
        "sun\mekatak2.vqa"                                      14.01.2000     11:14:12      8831940  ""                 "A"           "f84ca34c43b2bbff3c5c4eceb28498cf"      ""
        "sun\movies01.mix"                                      18.11.2005     13:23:14    953356379  ""                 "A"           "285970a13aa5c7704610b8d514af5ee9"      ""
        "sun\movies02.mix"                                      18.11.2005     13:23:36    495146374  ""                 "A"           "1b88e3cf9ce29a80b3e2ba0c37ca9176"      ""
        "sun\notes.ico"                                         21.06.1995     09:56:46          766  ""                 "A"           "10098adb59286ed6dd01fa783a831f3d"      ""
        "sun\patchget.dat"                                      18.05.1999     09:52:30        45056  "1.0.0.1"          "A"           "8294ceb18c82456b1d9f569e87a0f836"      ""
        "sun\patchw32.dll"                                      11.08.1998     04:43:00       142336  "4.11.0.0"         "A"           "df656e62fde2365c531cf5dc8197491f"      ""
        "sun\patch.doc"                                         24.02.2000     14:04:20        55296  ""                 "A"           "9daab05d824fd519ee293749591c6346"      ""
        "sun\ragdoll.vqa"                                       30.11.1999     11:14:40      3985532  ""                 "A"           "950be3aa1a3c0e88e40186e9bd7f7cec"      ""
        "sun\readme.doc"                                        29.01.2000     07:47:48        52736  ""                 "A"           "d8471d62cc46332d8f53f59d342292fb"      ""
        "sun\readme.txt"                                        28.01.2000     08:11:56        34583  ""                 "A"           "b20015e58386fdfe62c433a2a9bc33c3"      ""
        "sun\scores.mix"                                        19.07.1999     11:48:40     51332268  ""                 "A"           "7a48becab0895944efc77734d968f32a"      ""
        "sun\secdrv.sys"                                        28.07.1999     12:50:58        14304  ""                 "A"           "580e93532b84ce86bff0f9042156746e"      ""
        "sun\sidecd01.mix"                                      20.07.1999     10:34:08     13524500  ""                 "A"           "3a8fbc1724186d75d4c3c56301f93fcd"      ""
        "sun\sidecd02.mix"                                      23.07.1999     07:53:46     11711620  ""                 "A"           "e0ce4cc06ad51eda49621691ecadf5cd"      ""
        "sun\sizzle1.vqa"                                       23.07.1999     08:51:22     11340738  ""                 "A"           "ab287ee41f5c1d8153c96ae28cb1580a"      ""
        "sun\sun.exe"                                           18.05.1999     04:18:36        81920  ""                 "A"           "5546cee4ce7eaf7981469a1338e0e390"      ""
        "sun\sun.ico"                                           20.04.1999     04:56:28        10134  ""                 "A"           "21cce7e2d0f878ca933b42b199dddf5c"      ""
        "sun\sun.lcf"                                           16.06.1999     03:41:52          166  ""                 "A"           "859131b00370d22d06d9e8088b88cfd1"      ""
        "sun\sun.tlb"                                           06.07.1999     03:21:36        29524  ""                 "A"           "08de45deeadbd6b24c10d5d3c174dc48"      ""
        "sun\tibsun.mix"                                        26.07.1999     13:07:14     77027504  ""                 "A"           "4c185e374e130d2c4475171d52bd236c"      ""
        "sun\ts1.dsk"                                           13.01.1999     04:57:56           19  ""                 "A"           "2815cccb3dcf09c850a12dc6c665b896"      ""
        "sun\ts2.dsk"                                           13.01.1999     04:58:28           19  ""                 "A"           "b0a63f762f829067fc621813b5720054"      ""
        "sun\ts3.dsk"                                           05.10.1999     08:13:24           31  ""                 "A"           "6f1fb410e2eb81d69e4eaa85f9a09894"      ""
        "sun\westwood.hlp"                                      14.07.1999     06:48:46       797117  ""                 "A"           "babc3b5f7bdf8ea0f8f9c20302f9322c"      ""
        "sun\woldata.key"                                       20.10.2005     10:54:20          130  ""                 "A"           "e194ce1387eecd29a759906d90caf702"      ""
        "sun\clcd32.dll"                                        11.10.1999     15:16:56        27648  ""                 "A"           "67e0688a28d75e96ec9bdefe5610b477"      ""
        "sun\clokspl.exe"                                       11.10.1999     15:16:56       177152  ""                 "A"           "110970ec8701d771e5e5f2e006444933"      ""
        "sun\dplayerx.dll"                                      11.10.1999     15:16:48       163328  ""                 "A"           "063daf2ead414c0669566d1ac9b83d34"      ""
        "sun\drvmgt.dll"                                        11.10.1999     15:16:42        32256  ""                 "A"           "4e7a44bb1d85490107a72bd3275c29da"      ""
        "sun\e01scd01.mix"                                      20.01.2000     07:01:16       350116  ""                 "A"           "e9636cfd31599bf7c49cff0660d45272"      ""
        "sun\e01scd02.mix"                                      20.01.2000     07:01:18       275012  ""                 "A"           "7023ebd1a364c8a789162d53b8fcb445"      ""
        "sun\expand01.mix"                                      01.02.2000     11:07:26     37924444  ""                 "A"           "09ff1f9a7f26f8714efdfbdf941646a2"      ""
        "sun\fsgdi01.map"                                       20.10.2005     12:29:18       109579  ""                 "A"           "c17f5d86170ae496164e98400bdf81bd"      ""
        "sun\fsgdi02.map"                                       20.10.2005     12:29:22       247495  ""                 "A"           "adc5e5d9685fd4b3e7d92f0f91059424"      ""
        "sun\fsgdi03.map"                                       20.10.2005     12:29:24       156342  ""                 "A"           "8032b76798d4e8b78c9833235e64d562"      ""
        "sun\fsgdi04.map"                                       20.10.2005     12:29:26       165453  ""                 "A"           "3b28683c4a9e358f4557102ac26c02e9"      ""
        "sun\fsgdi05.map"                                       20.10.2005     12:29:28       215265  ""                 "A"           "ee1c9c3fbdd071a6ddfbaceda5cce2dc"      ""
        "sun\fsgdi06.map"                                       20.10.2005     12:29:28       137711  ""                 "A"           "d9b24788f13b109b1ac8c60e0f7ae20d"      ""
        "sun\fsgdi07.map"                                       20.10.2005     12:29:30       257772  ""                 "A"           "5c31ea63522d18c7f67e8229c751d690"      ""
        "sun\fsgdi08.map"                                       20.10.2005     12:29:32       256897  ""                 "A"           "50ef42227ce1ba7161f37ba2866c94e2"      ""
        "sun\fsgdi09.map"                                       20.10.2005     12:29:34       327548  ""                 "A"           "3554b32dea5c4441ea1e46a2ea305b84"      ""
        "sun\fsnod01.map"                                       20.10.2005     12:29:36       187583  ""                 "A"           "50ed75c0c552b6bb61142344dbc689e7"      ""
        "sun\fsnod02.map"                                       20.10.2005     12:29:38       245939  ""                 "A"           "e216ddbfc840cfe8d1164793b7ca4818"      ""
        "sun\fsnod03.map"                                       20.10.2005     12:29:38       185101  ""                 "A"           "7aef7cde73583933ee047ecbb0ac43bf"      ""
        "sun\fsnod04.map"                                       20.10.2005     12:29:40       134597  ""                 "A"           "abf288d9ade0c74c1f5d61e4d84985df"      ""
        "sun\fsnod05.map"                                       20.10.2005     12:29:42       154184  ""                 "A"           "6472ead838124f97d18163e6cdda5365"      ""
        "sun\fsnod06.map"                                       20.10.2005     12:29:44       225175  ""                 "A"           "af56ee48fc8da2f3bc894c355773a4f2"      ""
        "sun\fsnod07.map"                                       20.10.2005     12:29:46       156078  ""                 "A"           "fad4615b728b88c7259607320d8cc4b7"      ""
        "sun\fsnod08.map"                                       20.10.2005     12:29:46       208964  ""                 "A"           "ecc1056e091bc57d2bb20820e6672325"      ""
        "sun\fsnod09.map"                                       20.10.2005     12:29:48       342003  ""                 "A"           "98f54471e80c241ff9bbb6ce8827a504"      ""
        "sun\gmenu.mix"                                         29.01.2000     00:53:58      3907276  ""                 "A"           "6c93dd43d0065eb532c2be508cd2701c"      ""
        "sun\help.htm"                                          01.02.2000     08:24:18         6438  ""                 "A"           "f0c9c37bf559fad450535b937ecd72fc"      ""
        "sun\multi.mix"                                         28.01.2000     15:46:30     11960452  ""                 "A"           "7bd7d2aac3dc465fc4688da3c112efa6"      ""
        "sun\patch.mix"                                         24.01.2000     10:16:00       606836  ""                 "A"           "c6824accf562d57c0364e5b381b7c224"      ""
        "sun\scores01.mix"                                      24.01.2000     06:26:56     20079580  ""                 "A"           "ec336385fda36f14e04f517c3d30afd9"      ""
        "sun\wdt.mix"                                           29.01.2000     11:17:28     11811548  ""                 "A"           "c51c9ff8a7b03eed4b1d1b3fb0d3fca3"      ""
        "sun\wdtvox.mix"                                        29.01.2000     11:16:46      2585236  ""                 "A"           "810ff4e0f9b84278437cfa55e0bfd28b"      ""
        "sun\wwlogo.vqa"                                        20.10.2005     12:31:10      2423034  ""                 "A"           "157f4ecdcecbcd442c86b125d6e2e0d6"      ""
        "sun\00000000.256"                                      20.07.1999     10:43:18        65080  ""                 "A"           "6cf3dae7e70a4aec910552bfc2e0c3ab"      ""

@Mailaender
Copy link
Member

The file IDs differ for the German DVD according to #9082. You could hash the data1.hdr file and control localized disc detection that way.

@LipkeGu
Copy link
Member

LipkeGu commented Aug 17, 2015

@Redirion: support for non english TFD DVDs is in #9093

@Mailaender
Copy link
Member

Can anyone tell me the InstallShieldCABFilePackageIds and InstallShieldCABFileIds for RA2?

@DSUK
Copy link
Contributor Author

DSUK commented Oct 15, 2015

@Mailaender I am not sure which files are needed for RA2, I have a gist with the file names with corresponding file indexes:

RA 2 File Indexes
Yuri's revenge File Indexes

@Mailaender
Copy link
Member

We need at least ra2.mix and language.mix, but theme.mix and movies0*.mix are helpful as well. Filed OpenRA/ra2#51 with just the InstallShieldCABFileIds as I can't spot the InstallShieldCABFilePackageIds in your files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot detect/recognize/load data from C&C:The First Decade DVD