It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
/!\: This thread is not kept up-to-date anymore, please go to the following one to get the latest links and instructions, or for any kind of feedback on the scripts:
Install the Icewind Dale games on Linux

-----

Hello fellow Debian users, Ubuntu lovers and Mint freaks!

Here you’ll find scripts allowing you to build .deb packages from your Windows installers for Icewind Dale games. You can install them through DPKG and remove them through any APT front-end (apt-get, aptitude, synaptic, etc.).

Scripts and usage instructions can be found on the following pages:
Icewind Dale Complete
Icewind Dale II Complete

I hope you’ll enjoy the comfort provided by these scripts as much as I enjoy writing and tweaking them ;)

-----

Here you go for more supported games!
Post edited February 17, 2019 by vv221
Hello vv221,

I've tried to run the script for Icewind Dale. Unfortunately, it gives me the following Error: Hashsum mismatch. It says something about setup_icewind_dale_complete_2.0.0.11.exe is not the expected file, or it is corrupted.

I have tested it myself and it seems that the cause is not the latter. Because with the same installer, I can run it via playonlinux and everything is well.

Could you please elaborate me why does the error occur? And what I need to do to overcome it? Following your splendid work, I was able to build deb packages for many games that I love (Neverwinter Nights, Baldur's Gate II, Heroes of Might and Magic III, etc). And only in Icewind Dale I experience this kind of error. Every help will be much appreciated :).
Post edited October 17, 2015 by janet_ulung
avatar
janet_ulung: Could you please elaborate me why does the error occur? And what I need to do to overcome it?
What MD5 do you have for setup_icewind_dale_complete_2.0.0.11.exe? Here's mine:
b1395109232aac8d7f8455dad418b084 setup_icewind_dale_complete_2.0.0.11.exe
Assuming that matches yours then it looks like GOG updated the installer without changing the file name. I think you can add --checksum=none to step three or update the GAME_ARCHIVE1_MD5 line in the script, play-icewind-dale_gog-2.0.0.11.sh, to the new value.
Post edited October 17, 2015 by Gydion
avatar
Gydion: What MD5 do you have for setup_icewind_dale_complete_2.0.0.11.exe?
I too have the same MD5 as you. So it seems the installer has been updated like your assumption. It all makes sense now.

Adding --checksum=none, I was able to successfully complete the build process without any trouble. But when I try to install the game, it gives me the following error :

dpkg-deb (subprocess): cannot copy archive member from 'icewind-dale_1.42.062714-gog2.0.0.11_i386.deb' to decompressor pipe: unexpected end of file or stream
dpkg-deb: error: subprocess paste returned error exit status 2
dpkg: error processing archive icewind-dale_1.42.062714-gog2.0.0.11_i386.deb (--install):
cannot copy extracted data for './usr/local/share/games/icewind-dale/data/mvefilel.bif' to '/usr/local/share/games/icewind-dale/data/mvefilel.bif.dpkg-new': unexpected end of file or stream
Errors were encountered while processing:
icewind-dale_1.42.062714-gog2.0.0.11_i386.deb

Do you think that this error came from skipping the checksum earlier?
Post edited October 17, 2015 by janet_ulung
Thank you for reporting the silent update, I’m going to update and test the script on the new installer to see if everything goes fine.
avatar
janet_ulung: (…)
I updated the script, can you download it and try again?
To make sure you have the last one, it should read at line 35:
# script version 20151017.1
Just in case you should download the last version of play-anything.sh too, this one should read at line 33:
# library version 1.13.5
A couple things to check to make sure it runs smoothly:
_run the script from a "Linux-friendly" partition: ext2/3/4 are OK, FAT16/32 and NTFS are not
_check that you have at least 4GiB of free space on this partition
_instead of running the script with "sh ./play-…", run it with "sh -e ./play-…" so it will stop in case of error
_when the .deb package is built, check that it is roughly 2GiB in size

If the script stops before giving you the command to install the package, or you still get an error when trying to install it, please tell me and I’ll try to help you find the cause.
avatar
janet_ulung: (…)
avatar
vv221: I updated the script, can you download it and try again?
To make sure you have the last one, it should read at line 35:

# script version 20151017.1
avatar
vv221: Just in case you should download the last version of play-anything.sh too, this one should read at line 33:

# library version 1.13.5
avatar
vv221: A couple things to check to make sure it runs smoothly:
_run the script from a "Linux-friendly" partition: ext2/3/4 are OK, FAT16/32 and NTFS are not
_check that you have at least 4GiB of free space on this partition
_instead of running the script with "sh ./play-…", run it with "sh -e ./play-…" so it will stop in case of error
_when the .deb package is built, check that it is roughly 2GiB in size

If the script stops before giving you the command to install the package, or you still get an error when trying to install it, please tell me and I’ll try to help you find the cause.
Thank you very much vv21.
I have tested the new script. And with this, I can confirm that it runs smoothly now. The game is awesome.
avatar
janet_ulung: (…)
I guess we’ll never know what caused it to fail last time…
Bah, what’s important is that you got it to work in the end ;)

Have fun with this great dungeon crawler!