Re: Linux Porting Thread
Just out of interest, what are the advantages of not using Wine? Mostly performance?
I'll think about the installer.
Just out of interest, what are the advantages of not using Wine? Mostly performance?
Posts: 3822
Joined: 16 Sep 2007, 22:00
KaM Skill Level: Skilled
ICQ: 269127056
Website: http://lewin.hodgman.id.au
Yahoo Messenger: lewinlewinhodgman
Location: Australia
I just downloaded/tested innoextract on gog KaM installer and it worked just fine, it even has the ability to make all names lower case (which might be useful). As for steam - afaik it's not possible to use regular Linux version of steam to download incompatible (Windows) apps but 'steamcmd' should be able to do so (it's command line application which primary use is to download/update game servers).
So what's left to do is to put it all into nice script, there are also some ready to use scripts to make installers under Linux, so you can put steamcmd, innoextract inside, add custom script to detect/download KaM and provide nice "clickable" version to users, well, assuming Linux version will actually materialize I can help with that.
Something like that is probably the way to go, offer a few validation options like Steam and inno extractor. Although I'd prefer if the validation script isn't easy to read/edit since then people can bypass it too easily.
I'd prefer to not spend much of my time on it since as sado said the advantages of a native release are fairly small and Linux users are a minority of our players.
Posts: 3822
Joined: 16 Sep 2007, 22:00
KaM Skill Level: Skilled
ICQ: 269127056
Website: http://lewin.hodgman.id.au
Yahoo Messenger: lewinlewinhodgman
Location: Australia
It's certainly possible to mess with installation (validation) script but you need some knowledge of bash scripting, know which file to edit and (probably) know how to use terminal, so it all depends on your definition of easy. On the other hand is it really necessary to be so worried about it ?
I reckon most Linux users have enough knowledge to edit a bash script, at least to remove the code "if not valid then abort".
If it is dead easy and widely known how to install the game without owning TPR then the publishers of KaM would most likely not be happy. So yes we don't want it to be easy to bypass.
On the other hand, if the Linux version comes with some files missing that must be taken from TPR (although there aren't many of those left because we've repacked most of the original games files into our own formats) then it doesn't matter if they modify the script, they still need to get those files to make the game run. We'll need to MD5 the files in case their version of TPR has a different version of the files though...
Users browsing this forum: No registered users and 1 guest
Powered by phpBB® Forum Software © phpBB Group Designed by ST Software |
![]() |