project-navigation
Personal tools

Author Topic: RC4-error  (Read 8540 times)

FlaewHen

  • Guest
RC4-error
« on: September 04, 2006, 08:23:15 pm »
Hi people,

I encountered the following error with RC4;
Few seconds after the mission screen loads (you know, the tactical map where I can move my soldiers:P) the game crashes and I get a message :
'...could not generate font surface'  

Any ideas what's wrong and how to correct it? I'd like to finally play this game a bit:]

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
RC4-error
« Reply #1 on: September 04, 2006, 10:20:59 pm »
OS? Any other info?

FlaewHen

  • Guest
RC4-error
« Reply #2 on: September 04, 2006, 11:33:49 pm »
Wanna PC specification? Here it is:
OS Win XP
Athlon 1.0
Radeon 9550
Sound integrated on mainboard (Asrock mainboard)
256 MB RAM

Did I forget about something?

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
RC4-error
« Reply #3 on: September 05, 2006, 01:22:07 am »
Last messages from base/ufoconsole.log?

Try to update your video drivers.

FlaewHen

  • Guest
RC4-error
« Reply #4 on: September 05, 2006, 10:33:13 am »
There's something like this:

==== InitGame ====
------- Server Initialization -------
Created AI player (team 0)
Created AI player (team 7)
-------------------------------------
loopback: client_connect




farm08n
CL_Precache_f
LoadMap
Map: farm08n
                                     
pics
                                     
civilians/male/body01
                                     
civilians/male/head01
                                     
civilians/female/body01
                                     
civilians/female/head02b
                                     
civilians/female/head02a
                                     
aliens/blue/body01
                                     
aliens/blue/head01
                                     
images
                                     
begin
You are already on team 1
Cottard has taken control over team 1.
(player 0) It's team 1's round
Text has zero width (f_small)
==== ShutdownGame ====
SDL audio device shut down.


These are the last lines in my ufoconsole.log

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

I've just installed the newest drivers for my radeon 9550 ( Catalyst 6.8 ) and the error still occurs the same way:/
Help me somehow, please.

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
RC4-error
« Reply #5 on: September 06, 2006, 06:34:08 am »
> Text has zero width (f_small)

Now, this is something... Ideas, anybody?

Have you got any other version of SDL_ttf.dll on your system than the one in contrib directory of UFO:AI source? (Just guessing, because I don't have Windows, but fame of the DLL-hell reaches even to the Linux world...)

FlaewHen

  • Guest
RC4-error
« Reply #6 on: September 06, 2006, 10:55:46 am »
I have only one file of that name (SDL_ttf.dll) and it is located in the main UFO:AI directory.

Hope someone will find some kind of solution to my problem; the game is awesome and I wanna play it!:]

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
RC4-error
« Reply #7 on: September 06, 2006, 12:44:02 pm »
One more questions: what do the other lines with f_small in them say in the ufoconsole.log?

FlaewHen

  • Guest
RC4-error
« Reply #8 on: September 06, 2006, 01:07:53 pm »
There is not a single line other than the one you know of with 'f_small' in ufoconsole.log...

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
RC4-error
« Reply #9 on: September 06, 2006, 03:52:33 pm »
Ha. That might be the problem. I have (on Linux):

...found font f_small (1)
FindFile: ./base/media/DejaVuSans.ttf
FindFile: ./base/media/DejaVuSans.ttf

in ufoconsole.log

I wonder where the font files are in your install...

Any other "found font" in your log?

FlaewHen

  • Guest
RC4-error
« Reply #10 on: September 06, 2006, 06:44:07 pm »
Nope, I don't see anything like 'found font' in my ufoconsole.log. But i do have the file 'DejaVuSans.ttf' in the same place as you...

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
RC4-error
« Reply #11 on: September 07, 2006, 01:35:12 am »
Oh, I've forgotten, I run ./ufo +set developer 1. This may be why your log is smaller. Can you try with that?

FlaewHen

  • Guest
RC4-error
« Reply #12 on: September 07, 2006, 05:45:56 pm »
Do I have to reinstall the game?

-----------

I've just reinstalled the game and added the sourcecode as well as the other thing (mapping tools ?). Still the same error:/

Or perhaps you're talking about something diffrent? Tell me, I'll try everything I can to run this game:]

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
RC4-error
« Reply #13 on: September 07, 2006, 06:26:19 pm »
you have to edit your shortcut for ufo:ai and add right after ufo.exe the stuff Bandobras mentioned above (+set developer 1)

Commandline should look like this:
"c:\Program Files\UFO:AI\ufo.exe" +set developer 1

FlaewHen

  • Guest
RC4-error
« Reply #14 on: September 07, 2006, 06:46:32 pm »
Thx Mattn, I added the thing to the command line of the shortcut but the error still remains.