Author Topic: Problems Running Openttd - Solved  (Read 5711 times)

YoG

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
Problems Running Openttd - Solved
« on: April 23, 2006, 02:30:44 pm »
Hi,
I'm trying to install openttd from the feed (openttd-0.4.0-r0). I added the missing files from the original ttd, but when I try to run it, i get:

Error: No available language packs
Your sample.cat file is corrupted or missing!

any ideas?
« Last Edit: April 25, 2006, 03:36:12 pm by YoG »
C860 Autobuilt Angstrom (OPIE) & Zubuntu 9.04  dual boot using kexec
SanDisk SDHC 4GB, Agiwara Sys-Com CF 1GB, Sandisk CF 256MB, Socket BT, Linksys WCF12 Wifi card, RoyalTek RBT-1000 Bluetooth GPS
yogzlog.blogspot.com

YoG

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
Problems Running Openttd - Solved
« Reply #1 on: April 25, 2006, 03:35:38 pm »
got it... some missing files in the package, and ill-defined path.

first, the missing files:
autorail.grf
canalsw.grf
dosdummy.grf
openttd.grf
opentitle.dat
signalsw.grf
trkfoundw.grf

Apperantly openttd searches for the "data" folder in "usr/share/games/openttd/data" and not "/usr/share/games/openttd/data". So the game has to be ran from the root ("/") directory or else the game won't find the "data" folder.

p.s.
You must have these files from the original ttd game:
trg1r.grf
trgcr.grf
trghr.grf
trgir.grf
trgtr.grf
sample.cat
C860 Autobuilt Angstrom (OPIE) & Zubuntu 9.04  dual boot using kexec
SanDisk SDHC 4GB, Agiwara Sys-Com CF 1GB, Sandisk CF 256MB, Socket BT, Linksys WCF12 Wifi card, RoyalTek RBT-1000 Bluetooth GPS
yogzlog.blogspot.com

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Problems Running Openttd - Solved
« Reply #2 on: April 25, 2006, 04:31:09 pm »


Glad you got it sorted out.

Are the missing files ones that are required from the game, or are they freely available (and therefore should be added to the ipk)?

Also, does the path thing affect running the program from the desktop icon?


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

YoG

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
Problems Running Openttd - Solved
« Reply #3 on: April 25, 2006, 04:58:27 pm »
Quote
Are the missing files ones that are required from the game, or are they freely available (and therefore should be added to the ipk)?

Now that you mention that, I think that the files that are in the package are the copywrited ones... I'm not sure though, this should be verified.

Quote
Also, does the path thing affect running the program from the desktop icon?

what desktop icon? I didn't have any desktop icon installed, after working around the bug I wrote one myself.

YoG.
« Last Edit: April 25, 2006, 04:58:51 pm by YoG »
C860 Autobuilt Angstrom (OPIE) & Zubuntu 9.04  dual boot using kexec
SanDisk SDHC 4GB, Agiwara Sys-Com CF 1GB, Sandisk CF 256MB, Socket BT, Linksys WCF12 Wifi card, RoyalTek RBT-1000 Bluetooth GPS
yogzlog.blogspot.com