radwulf Posted May 6, 2012 Share Posted May 6, 2012 I'd appreciate some help on this. Firstly, I know what the AR0100.wed error is for, its a location error. I can get widescreen PT working on Win7 and with wine on Ubuntu 12.04 but I no longer use Win7 and it's really slow with wine on Ub, especially as I intend on modding BG later. As it's GOG it's a patched full install with correct torment.ini. Using tolower and WeInstall I can install the fix, ub and tweak mods but not widescreen. I've used tolower to put everything in lower case on a vanilla install through playonlinux and acquired the linux.ini (which is wrong). WeInstall widescreen fails with Ar0100.wed/bif error so the paths are incorrect. Default installation is in: /home/rafe/.PlayOnLinux/wineprefix/planescapetorment_gog/drive_c/PlanescapeTorment torment.ini is: HD0:=C:\PlanescapeTorment\ CD1:=C:\PlanescapeTorment\data\ CD2:=C:\PlanescapeTorment\data\ CD3:=C:\PlanescapeTorment\data\ CD4:=C:\PlanescapeTorment\data\ CD5:=C:\PlanescapeTorment\data\ linux.ini (modified) is: CD1:=/home/rafe/.PlayOnLinux/wineprefix/planescapetorment_gog/drive_c/PlanescapeTorment/ CD1:=/home/rafe/.PlayOnLinux/wineprefix/planescapetorment_gog/drive_c/PlanescapeTorment/data/ CD1:=/home/rafe/.PlayOnLinux/wineprefix/planescapetorment_gog/drive_c/PlanescapeTorment/data/ CD1:=/home/rafe/.PlayOnLinux/wineprefix/planescapetorment_gog/drive_c/PlanescapeTorment/data/ CD1:=/home/rafe/.PlayOnLinux/wineprefix/planescapetorment_gog/drive_c/PlanescapeTorment/data/ CD1:=/home/rafe/.PlayOnLinux/wineprefix/planescapetorment_gog/drive_c/PlanescapeTorment/data/ log: rafe@rafe-personal:~$ cd /home/rafe/.PlayOnLinux/wineprefix/planescapetorment_gog/drive_c/PlanescapeTorment rafe@rafe-personal:~/.PlayOnLinux/wineprefix/planescapetorment_gog/drive_c/PlanescapeTorment$ WeInstall widescreen WeiDU --tlkout dialog.tlk --ftlkout dialogf.tlk --log setup-widescreen.debug widescreen.tp2 setup-widescreen.tp2 widescreen/widescreen.tp2 widescreen/setup-widescreen.tp2 [WeiDU] WeiDU version 23100 [WeiDU] Using scripting style "PST" Choose your language: 0 [English] 1 [Francais (Isaya & Lothringen)] 2 [spanish (ghildrean & Ancalagon el Negro)] 3 [Russian by Prowler & Njkzy (arcanecoast.ru)] 4 [italiano] 0 Using Language [English] Would you like to display the readme? [Y]es [N]o n Install Component [Widescreen Mod]? [N]o, [Q]uit or choose one: 1] for the original Infinity Engine (CHOOSE THIS!) 2] for GemRB 1 Installing [for the original Infinity Engine (CHOOSE THIS!)] [Widescreen Mod v3.02] Creating 1 directory Enter your X coordinate. It should be a number, >= 640. 1366 Enter your Y coordinate. It should be a number, >= 480. 768 If you have games saved at another resolution and don't update them, they will be unusable. If you update them, all visited areas will be marked as not explored. Do you want to update your save games? Y/N y Do you want to enable support for multiple resolutions? Y/N n Game resolution: 1366 x 768; save resolution: 1366 x 768; updating saves: y Are you sure? Y/N y Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 18 files ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Copying 1 file ... Copying and patching 123 files ... ERROR: BIFF [./AR0100.BIF] cannot be loaded: Unix.Unix_error(20, "stat", "./ar0100.bif") ERROR locating resource for 'COPY' Resource [AR0100.WED] not found in KEY file: [./chitin.key] Stopping installation because of error. Stopping installation because of error. Stopping installation because of error. Stopping installation because of error. You need to perform a full install of your game and make sure that the .ini points to the correct paths. Posts reporting this problem WILL BE IGNORED unless you can prove you're under exceptional circumstances. Stopping installation because of error. Stopping installation because of error. Stopping installation because of error. Stopping installation because of error. ERROR Installing [for the original Infinity Engine (CHOOSE THIS!)], rolling back to previous state Will uninstall 53 files for [widescreen/widescreen.tp2] component 0. Uninstalled 53 files for [widescreen/widescreen.tp2] component 0. ERROR: Failure("resource [AR0100.WED] not found for 'COPY'") PLEASE post the contents of the file setup-widescreen.debug to this forum: http://bit.ly/hf2XsG Using Language [English] I think that all the paths are right. I can't see what's the problem. Can anyone help with this? Thanks for any help in advance. Link to comment
Isaya Posted May 9, 2012 Share Posted May 9, 2012 If you actually wrote what you show us in the Linux torment.ini, that's where the error is. You spelled everything as CD1:= instead HD0:=, CD1:= and so on. Link to comment
radwulf Posted May 12, 2012 Author Share Posted May 12, 2012 Thanks for the response. Yes that is what I wrote. The reason for that is the tutorial at http://www.neant.ro/2011/12/planescapetorment-on-linux/ where it says that using CD1 for all entries works fine. I've also tried setting up the linux.ini as:- HD0:=/home/rafe/.PlayOnLinux/wineprefix/planescapetorment_gog/drive_c/PlanescapeTorment/ CD1:=/home/rafe/.PlayOnLinux/wineprefix/planescapetorment_gog/drive_c/PlanescapeTorment/data/ CD2:=/home/rafe/.PlayOnLinux/wineprefix/planescapetorment_gog/drive_c/PlanescapeTorment/data/ CD3:=/home/rafe/.PlayOnLinux/wineprefix/planescapetorment_gog/drive_c/PlanescapeTorment/data/ CD4:=/home/rafe/.PlayOnLinux/wineprefix/planescapetorment_gog/drive_c/PlanescapeTorment/data/ CD5:=/home/rafe/.PlayOnLinux/wineprefix/planescapetorment_gog/drive_c/PlanescapeTorment/data/ It still doesn't work. Link to comment
plainab Posted May 12, 2012 Share Posted May 12, 2012 you said you followed the instructions on that site... according to the instructions there the linux.ini might come out wrong. did you check your paths to make sure they were pointing to the proper location on disk? relevant section of the linked instructions. WeiDU Download the Linux binary. Unzip ‘tolower’, ‘WeInstall’ and ‘WeiDU’ files somewhere in your $PATH, I used /usr/local/games. ‘tolower’ is used to rename every mod’s files to lowercase before running it and ‘WeInstall’ is used to, yeap, install the mods. First run tolower in game’s directory. :~$ cd $WINEPREFIX/drive_c/planescape :/data/pst/drive_c/planescape$ tolower Do you want to lowercase everything? (run if you extracted some mods since the last time you ran this utility) [Y]es or [N]o Y Do you want to generate linux.ini from baldur.ini? (needed once per installation) [Y]es or [N]o Y Fatal error: exception Not_found :/data/pst/drive_c/planescape$ Answering “Y” to first question renames all the files in that directory to lowercase, so “Torment.exe” will become “torment.exe”, “CHITIN.KEY” will become “chitin.key”, etc. The second option creates a linux.ini file that will be used by WeInstaller so it knows where the game files are. This only needs to be done once, before any mods are installed. The problem is it might get it wrong. For example my linux.ini generated by the program looks like this: :/data/pst/drive_c/planescape$ cat linux.ini CD1:=/home/user/.wine/dosdevices/../drive_c/planescape/ CD1:=/home/user/.wine/dosdevices/../drive_c/planescape/DATA/ CD1:=/home/user/.wine/dosdevices/../drive_c/planescape/DATA/ CD1:=/home/user/.wine/dosdevices/../drive_c/planescape/DATA/ CD1:=/home/user/.wine/dosdevices/../drive_c/planescape/DATA/ CD1:=/home/user/.wine/dosdevices/../drive_c/planescape/DATA/ That’s wrong. That directory doesn’t exist on my system and it does that because I didn’t use the default Wine prefix, which is ‘/home/user/.wine/’, so edit linux.ini into something like CD1:=/data/pst/drive_c/planescape/ CD1:=/data/pst/drive_c/planescape/data/ CD1:=/data/pst/drive_c/planescape/data/ CD1:=/data/pst/drive_c/planescape/data/ CD1:=/data/pst/drive_c/planescape/data/ CD1:=/data/pst/drive_c/planescape/data/ By the way, WeiDU doesn’t care about the fact that it’s all CD1. That’s it. WeiDU is now all set up and ready to install the mods. The way it usually works is unpack the mod, run tolower to change case on all files, run “WeInstall modscript.tp2″ to install. But the UI mods are different. Link to comment
radwulf Posted May 14, 2012 Author Share Posted May 14, 2012 The website's right in that the linux.ini can come out wrong by default. For me it was: CD1:=/home/rafe/.wine/dosdevices/../drive_c/PlanescapeTorment/ CD1:=/home/rafe/.wine/dosdevices/../drive_c/PlanescapeTorment/data/ CD1:=/home/rafe/.wine/dosdevices/../drive_c/PlanescapeTorment/data/ CD1:=/home/rafe/.wine/dosdevices/../drive_c/PlanescapeTorment/data/ CD1:=/home/rafe/.wine/dosdevices/../drive_c/PlanescapeTorment/data/ CD1:=/home/rafe/.wine/dosdevices/../drive_c/PlanescapeTorment/data/ This is wrong and doesn't work. The linux.ini that I put up on the site was the one that I modified to what I thought were the correct paths, but no luck. I'm currently trying a pure wine install to see if the problem is compatibility with playonlinux. Edit: Same issue with pure wine. Link to comment
radwulf Posted July 26, 2012 Author Share Posted July 26, 2012 Been a while but I suppose I should tell people how I got around this. Copy the contents of the data folder to the cache folder when installing the mods and it all goes fine and you can delete the cache afterwards. For quick and dirty linux installation instructions (most credit goes to others) try: install instructions assuming gog version and ubuntu Using playonlinux: install install non listed program follow instructions to install start a game to see if its working download weidu linux and move contents (WeiDu WeInstall tolower, etc) to /usr/bin (use sudo mv in terminal or alt-f2 gksudo nautilus) download widescreen, ghostdogs-ui, fixpack, unfinished-business and tweak mods open torment.ini navigate to planescape directory from filesystem and copy the address in torment.ini change HD0 to CD5 addresses to the new address prefixed by Z: with CD1-5 ending in /data for example: HD0:=Z:/home/rafe/PlayOnLinuxDrives/planescapetorment_gog/drive_c/Program Files (x86)/GOG.com/Planescape Torment CD1:=Z:/home/rafe/PlayOnLinuxDrives/planescapetorment_gog/drive_c/Program Files (x86)/GOG.com/Planescape Torment/data copy the contents of the data folder to the cache folder unzip and shift all .tp2 and folder files to planescape directory except for ghostdogs ui navigate to planescape torment directory with terminal and type tolower then y for both unzip and open ghostdog until you can see folder .tp2 and weidu copy directory name and change to it in the terminal, then type: for file in `find . -type d -name "*'*"` ; do mv -v $file ${file/\'/} ; done for file in `find . -type f -name "*'*"` ; do mv -v $file ${file/\'/} ; done find . -name "*'*" tolower find . -type f -exec sed -i "s/GhostDog's-PST-UI/ghostdogs-pst-ui/g" {} \; With tolower only y to the first not the second, otherwise it will error or create an irrelevant linux.ini file transfer ghostdogs-pst-ui.tp2 and ghostdogs-pst-ui folder to planescape directory navigate to planescape directory in terminal and type WeInstall widescreen (make sure the resolution you put is supported by your drivers by checking system resolutions under displays) finish that and then install ghostdog with WeInstall ghostdogs-pst-ui play game to see if it works Use WeInstall to install the remaining three mods delete the contents of the cache folder You should now have a fully working linux version of planescape torment (fingers crossed) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.