Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: motorollin on June 15, 2006, 12:04:47 PM

Title: OpenTTD 68k SDL error
Post by: motorollin on June 15, 2006, 12:04:47 PM
I'm trying to get OpenTTD working on my A1200. I have copied the TTD data files in to the data drawer, and also downloaded sdl.library from Aminet and copied the library to libs: as I believe this is also required. When I run the game I get the following error:

Error: Unable to load driver sdl(SDL Video Driver). The error was: Found no sufficiently capable CGX visuals

I have P96 and RTGMaster installed so I don't know what's wrong. Has anyone been able to get this working?

--
moto
Title: Re: OpenTTD 68k SDL error
Post by: humppa on June 15, 2006, 01:19:15 PM
I guess this is a P96-related problem. I get exactly the same message when trying Gunnars SDL arcade game on Mediator/Voodoo.
Title: Re: OpenTTD 68k SDL error
Post by: motorollin on June 15, 2006, 01:43:50 PM
:-( Oh well, guess I'll have to run it on my iBook.

--
moto
Title: Re: OpenTTD 68k SDL error
Post by: CLS2086 on June 15, 2006, 02:30:41 PM
Have you installed the PowerSDL lib ?
Title: Re: OpenTTD 68k SDL error
Post by: zerostress on June 15, 2006, 05:23:17 PM
Just try to install the very latest P96 (v2.1b, which can be found here (http://amiga.serveftp.net/downloads.html)) and you should be able to run it.  ;-)
Title: Re: OpenTTD 68k SDL error
Post by: SamuraiCrow on June 15, 2006, 05:49:19 PM
Quote

CLS2086 wrote:
Have you installed the PowerSDL lib ?


That only works on PPC IIRC.  He wrote in the subject line that he's trying to run it on 68k.
Title: Re: OpenTTD 68k SDL error
Post by: AmiBoy on June 15, 2006, 05:52:15 PM
@Motorllin

I have this problem aswell even after installing Picasso96 v2.1b and the latest 68K SDL.library I can find

If you get it working could you tell me what library versions of anything ur using please!

Amiboy
Title: Re: OpenTTD 68k SDL error
Post by: zerostress on June 16, 2006, 09:36:16 AM
SDL.library is useless in this case as OpenTTD is statically linked against libSDL. Since it seems we all have a Mediator here, AFAIR there was a problem with SDL+rtg.library coming with the latest "official" P96: updating to a newer rtg.library should fix the problem.
Could you please try to start it with -d switch (enabling debug mode) and see where it complains?
Title: Re: OpenTTD 68k SDL error
Post by: motorollin on June 16, 2006, 09:56:31 AM
Hmmm, just updated to the latest version of P96 but it didn't make any difference. The -d option didn't seem to make any difference - I got the same output as I posted originally.

--
moto
Title: Re: OpenTTD 68k SDL error
Post by: humppa on June 16, 2006, 10:10:44 AM
Quote
Hmmm, just updated to the latest version of P96 but it didn't make any difference.


I think zerostress was proposing exactly *not* to use the rtg.library from the latest P96, but to update the library alone to a newer version.
Title: Re: OpenTTD 68k SDL error
Post by: motorollin on June 16, 2006, 10:13:07 AM
Ok, I guess there's a more recent rtg.librar than the one in P96 then?

--
moto
Title: Re: OpenTTD 68k SDL error
Post by: zerostress on June 16, 2006, 10:21:25 AM
Okay, now I seem to remember that even the rtg.library shipped with v2.1b wasn't new enough. :idea:
You need to install a newer one, such as the one you find in this (http://www.haage-partner.de/download/Amiga/AmigaXL/AOSXL-Update1.lha) archive. It should do the trick.
Title: Re: OpenTTD 68k SDL error
Post by: motorollin on June 16, 2006, 10:40:27 AM
Downloaded that archive and the version was the same. Copied it over anyway and still got the same error :-(

--
moto
Title: Re: OpenTTD 68k SDL error
Post by: InTheSand on June 16, 2006, 11:36:40 AM
Hi,

I wouldn't bother attempting to run OpenTTD on a 68K - on my 68060-based A3K, it crawls along...

Shame really as it's such a cool game! Some things just need PCs!

 - Ali

EDIT: annoying really, as the original assembly language-based TT and TTD ran fine on slow 486s (25MHz was fine!) but the portable C-based OpenTTD just has too much of an overhead. Anyone fancy coding a native Amiga 680x0 asm version?!  :-D