WeiDUorg / weidu

WeiDU is a program used to develop, distribute and install modifications for games based on the Infinity Engine.
http://www.weidu.org
GNU General Public License v2.0
90 stars 20 forks source link

WeiDU uses invalid pathname separators when updating chitin.key in EE games #88

Closed Argent77 closed 7 years ago

Argent77 commented 7 years ago

WeiDU currently uses backslash characters in pathnames to biff files in the chitin.key. This separator is incompatible with non-Windows versions of Enhanced Edition games and also incompatible with the chitin.key found in DLC archives such as used for the Siege of Dragonspear expansion (all platforms).

Instead, WeiDU should use forward slashes in these cases. The Windows version does currently have no issues with backslashes. However, the chitin.key of games for this platform is also using forward slashes by default.

Related discussion: http://gibberlings3.net/forums/index.php?showtopic=28337&p=250603

FredrikLindgren commented 7 years ago

Does slash work for all versions of EE on all platforms?

Argent77 commented 7 years ago

Forward slashes are used by default on Windows versions of BG1EE/SoD, BG2EE and IWDEE (all patch versions).

Chitin.key on macOS, Linux and embedded in DLC archives require forward slashes (confirmed in patch v2.0 and higher, but will most likely work in <2.0 as well).

FredrikLindgren commented 7 years ago

Fixed.