i recently compiled and installed vcmi on my linux box by just issuing
./configure make make install
it all went fine and after i put the game data into /usr/local/share/vcmi the game worked fine.
(one could update/simplify README.linux)
now i wanted to see whether obtaining the required game files can be made simpler than installing heroes and wog using wine and came up with an extractor and creator of lod files written in python that i can use to patch H3bitmap.lod and H3sprite.lod with the files that i obtained from the wog install.
the lod files again i extracted from data1.cab using existing open source code.
while experimenting i saw that vcmi only needs the patched lod files and not all the other stuff wog puts in data so in the end all i put into /usr/local/share/vcmi is:
the config directiory from vcmi
the content of the data directory from vcmi
the (patched) lod files from the cab archive
the maps folder with maps from the cab archive
the sprites folder from vcmi
the mp3 folder from the cab archive
with only that content i could play vcmi quite fine - do i miss anything?
that setup is imho much cleaner than having the full heroes directory with a lot of unused stuff (including all the wog files but they might be used somewhere in vcmi and i just didnt notice)
so now to my question:
would you guys welcome a gui based cross platform installer that, given the directory of the heroes3 complete cd and the wog zip, extracts files from the cabs and patches the lod archives putting everything vcmi needs either wherever the windows user extracted vcmi to or to /usr/local/share/vcmi for the linux user.
the advantage besides having a more clean data directory would be that one would not need to run the installer anymore and would not need wine in case of linux.
what is your opinion?
i just rediscoverd a post by ubuntux where i learned that the wog files dont even have to be repacked into the original lod archives. one can keep the lod files in their original state and add all the necessary wog files to the Data/ and Sprites/ directories.
i figured that of all the files the only needed ones are the TXT files that go to Data/ and the MSK and DEF files that go to Sprites/. Additionally there are some BMP images that have to be converted to PCX prior to putting them into Data/
extracting the original data from the cab archives from the cd with open tools is no problem - the only problem that remains for me now is that the format used in the rar archives of the wog installer is not readable by any free implementation which means that one has to have the unrar.dll that is only executable using wine on x86 compatible platforms - what to do about that? would it be possible to repack and redistribute the contents of the wog installer in a friendlier format? i didnt see any license terms attached to wog so is such a repackaging allowed?