Jump to content

PS:T widescreen issue on Linux


Guest vegandalf

Recommended Posts

Guest vegandalf

Hi,

 

I just discovered this amazing mod and it's getting me crazy :laugh:

 

I want to play PS:T on my Ubuntu machine using the plain wine version, no WineX nor Cedega, and I had no problems installing the main game, the official patch and the PST-fix and PST-ub mods using WeiDU linux version, tolower and weinstall. The game ran just fine so far (the sound's a bit glitchy but I'll think about that later) but in a little almost-square box on the upper-left corner of my 1280x800 LCD screen... that's a pity!

 

So I went and try to install the widescreen mod. I have made a full install (actually the CD* directories are symbolic links to the /mnt/pt*/cd* one, that in turn are loop-mounted ISO files of the original disks, but this should not make any difference whatsoever, right?) and I manually created a linux.ini file with the correct unix-like paths (since tolower looked for baldur.ini):

 



[Alias]

HD0:=/home/vegandalf/.torment/

CD1:=/home/vegandalf/.torment/CD1

CD2:=/home/vegandalf/.torment/CD2

CD3:=/home/vegandalf/.torment/CD3

CD4:=/home/vegandalf/.torment/CD4

CD5:=/home/vegandalf/.torment/CD5

 

...so why isn't it working? :)

 

The installer just shuts itself down with the same error posted in other threads, due to the non-full install issue:

 

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]

 

...but the BIF file actually is in one of the "possible locations" listed in the debug log, i.e. /home/vegandalf/.torment/CD2/AR0100.BIF (also accessibile as C:\Program Files\Black Isle\Torment\CD2\AR0100.BIF since .torment is a symbolic link to the dir in the fake windows tree created by wine)

 

Please, I need help to solve this issue. Any hint will be appreciated.

 

Thanks in advance!

 

PS: Valerio, ti prego, se puoi... da' una mano a questo ex modenese acquisito ???

Link to comment
Guest vegandalf
Did you turn to lowercase also the various CDX directories? If those are loopmounted isos, it should be possible to mount them as rw to avoid having to extract and rebuild them.

 

Thank you, the problem was indeed in the non-lowercase CD* directories!

(but I had to copy them into the Torment installation dir - even though I edit my /etc/fstab to make rw the loop-mounted images, the console still says "read-only file system" - before chmod-ing and tolower-ing them)

 

But now I get a M$ VisualC++ runtime error message just after the loading screen :)

"Assertion failed in F:\Torment\Source\baldur\ChUIcontrols.cpp at line 527"

 

I googled the filename and found another user with the same error on the CODEX forum, but only if using widescreen with a 1024x768 UI pack, while I have no such a thing... and anyway no solution for the problem!

 

Sigh... I don't want to give up trying, please help :laugh:

 

FWIW, I tried using winecfg to set the "emulation" on Win95, Win98, Win2K, WinXP.

Link to comment
Guest vegandalf
FWIW, I tried using winecfg to set the "emulation" on Win95, Win98, Win2K, WinXP.

 

...and also uninstalling the mod and reinstalling it at 1024x768 and 800x600, still no luck.

 

Without the mod the game runs fine, providing of course that Full Screen = 0 in torment.ini and wine's virtual desktop is large enough for the game window.

Link to comment
Guest vegandalf
Sorry, can't help you with those glitches.

 

Do you think they're not widescreen-related? The user on the CODEX forum was using the widescreen mod too, and the problem vanishes when I uninstall it...

 

Sigh. I can live with a 640x480 Torment, but a 1280x800 one would be way better ;D

Link to comment
Guest vegandalf
You're running Widescreen in fullscreen=1, right?

 

Actually, I wasn't. I thought the settings were to remain the same of the unmodded game, stupid me! Is this mentioned in the Fine Manual or somewhere else?

 

But when I set fullscreen=1, no matter wheter wine's virtual desktop is enabled or not, the game won't start.

 

I'll experiment for a couple of days during which I'll have no internet connection, hope to clear this out and come back with the solution...

 

Thank you so much!

 

(e se mi autorizzi in Gtalk prometto che non ti stresso con queste cose, al massimo ci facciamo una chiaccherata ^_^)

Link to comment
Actually, I wasn't. I thought the settings were to remain the same of the unmodded game, stupid me! Is this mentioned in the Fine Manual or somewhere else?

No, it's not there - which is why I'm taking the time to actually reply.

 

PST requires 16 bit mode to run. IIRC, you achieve that by doing a fullscreen without Wine Virtual Desktop.

 

(e se mi autorizzi in Gtalk prometto che non ti stresso con queste cose, al massimo ci facciamo una chiaccherata ^_^)

I don't even have Gtalk, and rarely log in in the others. For respect to other potential readers, PM me if you wish to speak Italian, thank you :laugh:

Link to comment
Guest vegandalf
PST requires 16 bit mode to run. IIRC, you achieve that by doing a fullscreen without Wine Virtual Desktop.

 

Mmhh...? Without the widescreen mod, I can play only with fullscreen=0 and a 800x600 (or larger) virtual desktop. The game warns me about the 16bit issue (it did the same also on Windows), but after it runs falwlessly. Any other combination of settings and I can't even reach the start screen :(

 

For respect to other potential readers, PM me if you wish to speak Italian, thank you :)

 

It's not possible as a guest, now I'm a bit in a hurry but I'll register when I come back.

(Anyway English for technical discussion is fine for me ^_^)

Link to comment
Mmhh...? Without the widescreen mod, I can play only with fullscreen=0 and a 800x600 (or larger) virtual desktop. The game warns me about the 16bit issue (it did the same also on Windows), but after it runs falwlessly. Any other combination of settings and I can't even reach the start screen :)

Oh, I see. Then you're SOL, since the current WSM doesn't work in Windowed mode.

Link to comment
Guest vegandalf
Oh, I see. Then you're SOL, since the current WSM doesn't work in Windowed mode.

 

:)

 

OK, so I'll experiment different resolutions and/or virtual desktops with fullscreen=1 only...

 

Now (no virtual desktop, WSM at 1280x800) I get an endless output of this error:

 

err:d3d_surface:IWineD3DBaseSurfaceImpl_CreateDIBSection CreateDIBSection failed!

Link to comment
Guest vegandalf
OK, so I'll experiment different resolutions and/or virtual desktops with fullscreen=1 only...

 

Just one last question, mostly out of sheer curiosity... do I need to change the fullscreen setting both in torment.ini and linux.ini?

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...