GNU/Linux Port [AGS 3.1.2 SP1 - beta 3]

Started by Electroshokker, Tue 04/08/2009 07:05:09

Previous topic - Next topic

Electroshokker

Admins, please keep both this thread and the AGS 2.72 one stickied. (as neither is considered final and needs further testing and development)

--------------------------------------------------

So yes, it's finally here: a 3.1.2 SP1 build.  :=

-------------------------------

Please submit any and all bugs you encounter!

Pumaman

Excellent work! :D

The Linux port is back!!  :=

bicilotti

I just read in SSH's blog about this! It is awesome! Thanks Electro!

Joseph DiPerla

Joseph DiPerla--- http://www.adventurestockpile.com
Play my Star Wars MMORPG: http://sw-bfs.com
See my Fiverr page for translation and other services: https://www.fiverr.com/josephdiperla
Google Plus Adventure Community: https://plus.google.com/communities/116504865864458899575

strazer

I must be doing something wrong, I cannot get any game to run, I always get the resolution error message. Can you post a sample config file we can use that definitely works on your system?

Electroshokker

Quote from: strazer on Mon 17/08/2009 15:21:32
I must be doing something wrong, I cannot get any game to run, I always get the resolution error message. Can you post a sample config file we can use that definitely works on your system?

I'll try finishing the new config utility this week(end?).

I'm currently swamped with work and the move to my new appartment. I'll put a sample config file online soon, though.

bearseatbeats

I'm also having problems running 3.1.2 and also the 2.72 runtimes.

I seem to have the correct libraries installed and I thought I followed the instructions for install.sh correctly, but when I try to run the AGS312 or AGS272 runtimes (on different games, obviously), I get absolutely nothing. No errors, etc. When I run from the config utility (save and run), it just shuts down and nothing happens. I can't get the runtimes to start from a terminal either but that may be due to my n00biness (well, not a complete newbie, but close). Is there an exact command I can try to run that would at least give me an error message that I can report? I'm on Ubuntu 9.04 w/ nvidia drivers.

I'm not home so I can't try anything right now, but I could later.

Thanks!

A flute with no holes is not a flute. A doughnut with no holes is a Danish.

Electroshokker

Looks like there's some more problem with this build. I'll try to resolve all problems asap.

bearseatbeats, the 2.72 runtime should work flawlessly. Did you change the game runtime filename (the .exe file) to 'ac2game.dat'?

Also, try to run it from the command line to get more details. (install the nautilus command line package from the package manager, it gives you a handy extra button in the right-click context menu which allows you to quickly open up a terminal)

deadsuperhero

No matter what resolution I put in the config settings, I always get the equivalent of this:

QuoteUnable to initialize your audio hardware.
[Problem: No supported synth type found]
There was a problem initializing graphics mode 640 x 400 (32-bit).
(Problem: '')
Try to correct the problem, or seek help from the AGS homepage.

Possible causes:
* your graphics card drivers do not support this resolution. Run the game setup program and try the other resolution.
* the graphics driver you have selected does not work. Try switching between Direct3D and DirectDraw.
* the graphics filter you have selected does not work. Try another filter.

Not quite sure what to do here.
The fediverse needs great indie game developers! Find me there!

Electroshokker

A new beta is up. This time without the game-breaking bug and with an updated setup utility.

Enjoy!  8)

(Oh, and don't forget to file bug reports if you have any problems with the engine or the setup utility!)

RickJ

Will this work on an 64-bit AMD machine?

Electroshokker

Quote from: RickJ on Wed 30/09/2009 17:41:00
Will this work on an 64-bit AMD machine?

Yes, if you get all the required 32-bit libraries. (Which the installer script does for you on Ubuntu Linux, though there might be issues with the gstreamer video plugin libraries)

Joseph DiPerla

For anyone who doesn't know....

Be sure to open a terminal window. And where the file install.sh is located type in:
sudo ./install.sh and it should take care of everything you need.
Joseph DiPerla--- http://www.adventurestockpile.com
Play my Star Wars MMORPG: http://sw-bfs.com
See my Fiverr page for translation and other services: https://www.fiverr.com/josephdiperla
Google Plus Adventure Community: https://plus.google.com/communities/116504865864458899575

redspark

Is there any chance that this port can be used as a basis for the OS X port?  I think there are many who would like to see a native OS X port.  I'd do it, if I knew how.

xenogia

I get a Segmentation Fault when I try to run the setup program.  Using Ubuntu 32-bit with all appropriate libraries installed.

Electroshokker

Quote from: Xenogia on Thu 08/10/2009 05:54:50
I get a Segmentation Fault when I try to run the setup program.  Using Ubuntu 32-bit with all appropriate libraries installed.

What's the exact error you're seeing in the command terminal? (segmentation fault is a bit vague, and can point to numerous things)

Radiant

It looks nice, but it runs very slowly on my Ubuntu machine, to the point where it takes 10 seconds for a fadeout to complete. Are my system specs too low or am I doing something wrong here?

Electroshokker

Quote from: Radiant on Mon 12/10/2009 21:00:13
It looks nice, but it runs very slowly on my Ubuntu machine, to the point where it takes 10 seconds for a fadeout to complete. Are my system specs too low or am I doing something wrong here?

Nope, I got the same problem. I've been looking into it, but doesn't seem I'm gonna figure this one out soon.

Angelus3K

Would this also allow AGS games to be ran under Yellow Dog Linux on PS3?

Joseph DiPerla

#19
I think he mentioned that with a little tweaking, you should be able to get it working under any kind of linux os.

EDIT: Here is where he said it: http://www.adventuregamestudio.co.uk/yabb/index.php?topic=37968.msg499586#msg499586
Joseph DiPerla--- http://www.adventurestockpile.com
Play my Star Wars MMORPG: http://sw-bfs.com
See my Fiverr page for translation and other services: https://www.fiverr.com/josephdiperla
Google Plus Adventure Community: https://plus.google.com/communities/116504865864458899575

Cephas

I tried this program and had the same problem of speed.
However when I changed alsa to oss in winecfg then used...
env WINEPREFIX="/home/####/.wine" MIDIDEV=/dev/midi3 wine "C:\AGS\5DAYS\5days.exe"
as a launcher sound worked.  ;)
Hope this helps.

Lantizia

Hey I've tried this build and some of the older builds before I was told that the Linux version of AGS doesn't support plugins.  Basically I'm trying to play MMD (Maniac Mansion Deluxe) on Linux natively without using Wine and I get this message...

Script link failed: Runtime error: unresolved import 'GetFlashlightMinLightLevel'

Now the AGSflashlight.dll file is there... but can you confirm this latest build still doesn't have plugin support or when that might be on the cards?

Gilbert

I think even plugin support was added to the Linux engine (which I think is not the case) you still need to have the plugins recompiled for Linux for them to work, so the dlls just couldn't be used directly anyway. For games using plugins your best bet is to use Wine or Virtualisation.

Lantizia

Well AGS Flashlight is the only plugin that Maniac Mansion Deluxe uses...

Does anyone know where I can get from/if available the source code for this plugin - or perhaps a Linux library of the same plugin?  I really would love to get Maniac Mansion Deluxe running on Linux (without wine) just as I have the original Maniac Mansion running on Linux (again without wine but with ScummVM).

I could even package up a fully working Linux version as a .deb and .rpm.

SuperDre

Quote from: Angelus3K on Thu 29/10/2009 17:44:14
Would this also allow AGS games to be ran under Yellow Dog Linux on PS3?
No it won't as the current binaries are x86 binaries only (and since any linux on the PS3 is PPU based it's not possible unless a specific compile is done, which would require the source-code and I doubt Electroshokker has a PS3 or is willing to go through the trouble of trying to get it to compile, and I wouldn't blame him hehe..)..

Electroshokker

Sorry I haven't been around much lately. Work's been killing me (both professional and personal), it's almost impossible to find any time for personal projects. (though I try)

I can't promise anything at this point, but I do intend to update the linux port soon.

-----------------

Though I intend to try adding support for other architectures at some point in the future, that's waaay in the future, and will depend on the availability of cross-platform compilers. (as I don't own a PS3, PDA, smartphone or any of that stuff)

SSH

Hi Electro, I know you've not got much time but the fade in/out problem is terrible. Any chance that you could introduce an option to make fades just be instant room changes instead until it is fixed properly?

Thanks,

Andrew
12

Electroshokker

Quote from: SSH on Thu 18/03/2010 13:10:10
Hi Electro, I know you've not got much time but the fade in/out problem is terrible. Any chance that you could introduce an option to make fades just be instant room changes instead until it is fixed properly?

Thanks,

Andrew

I'll look into it soon, I promise. I cleared the upcoming weekend for my personal projects.

Electroshokker

A temporary fix is up for the fading problem. (See first post)

SSH

12

-x-

I have problems running Maniac Mansion Deluxe with the two linux builds because of having the same popular errors than other users:

Code: ags

$ ./AGS272 
./AGS272: symbol lookup error: /usr/lib/liballeg.so.4.2: undefined symbol: _blender_trans24


It seems that it is because of a wrong compiled version of AGS. Is there a way to fix this?

Electroshokker

New beta is up. Like the new 2.72 build, it includes ags & dumb as static libraries.

Please test.

strazer


SMF spam blocked by CleanTalk