Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: on Sat 17/07/2004 04:46:46

Title: AGS works almost perfectly with Wine on Linux.One (possibly easy problem)though.
Post by: on Sat 17/07/2004 04:46:46
I just discovered this wonderful program and because I've been a Linux user for the last five years I no longer have a Windows installation so I tried running it with Wine - and it works almost flawlessly!

However, there is one problem (I've tried the three latest releases of wine) and I think that it might not be very hard to solve (through AGS): "Quick import multiple sprites" doesn't work if more than one file is selected (so it's not multiple anymore) because the file path gets changed somehow, i.e. if I have multiple files in .../my/sprites/ called 0001.png, 0002.png... and select more than one of them I first get the error message about checking color depth etc. (and I know that they're correct because I can import one sprite at a time) and then the following:

Import of '.../my/sprites.tga' failed

and at the same time the file dialog shows

Please wait while your files are saved...
sprites.tga

Note how the filename has changed to "directory name.tga" and that .tga is last on the list of supported images formats (and consequently the last filename ending). Because selection of multiple files works perfectly in other programs that I run with Wine I have to ask Chris if the file dialog implementation in AGS is somehow different from the usual Windows dialogs? If, so - are you willing to make life easier for us Linux users by changing it? Because I've never been programming for Windows I don't know what the most common implementation is so I could of course be completely wrong but if you are willing to try a change I can assist you with testing it before you make a new release (send me a private message so I can give you an ftp account, note that I'm not asking for the source but a compiled version).

The engine itself is quite problematic with Wine so I'm extremely grateful that a Linux version exists and if this problem can be solved the Linux users among us can create games as well whilst eagerly waiting for a native editor (importing hundreds of sprites one by one gets a bit frustrating after a while...).
Title: Re: AGS works almost perfectly with Wine on Linux.One (possibly easy problem)tho
Post by: edmundito on Sat 17/07/2004 06:35:23
Nice.. you should post a screenshot :P
Title: Re: AGS works almost perfectly with Wine on Linux.One (possibly easy problem)tho
Post by: Pumaman on Sat 17/07/2004 23:46:34
Bit of a strange one. I'll put a tweak into the code for the next version (it's possibly a / vs \ issue), but for obvious reasons I can't support it running under Wine.