Thread: Warcraft II
View Single Post
Old 25-02-2016, 04:06 PM   #41
zirkoni
Game Wizzzzzzard
 
zirkoni's Avatar

 
Join Date: Oct 2007
Location: Tampere, Finland
Posts: 508
Default

Quote:
Originally Posted by Eniawag View Post
FYI: The Scripts that mount the Folders are not compatible with all common Operating Systems.
You're correct, I just tried it on Linux. But since everyone who had problems used Windows style paths I don't think this is the cause of their problems.

Anyway, the problem is caused by prep.com which creates start.bat. It uses the Windows style backslash "\" instead of forwards slash "/" (which would also work on Windows). It is easy to fix using a hex editor (or even a text editor). The start.bat script is embedded in the executable, just change the lines
@mount d "%wardir%\TOD" -t cdrom
@mount d "%wardir%\DP" -t cdrom
to
@mount d "%wardir%/TOD" -t cdrom
@mount d "%wardir%/DP" -t cdrom
and it works on all systems.
__________________
www.youtube.com/@zirkoni42
zirkoni is offline                         Send a private message to zirkoni
Reply With Quote