Cannot run on Archlinux

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Dinth
Low Yeek
Posts: 9
Joined: Fri Apr 20, 2007 12:32 pm
Contact:

Cannot run on Archlinux

#1 Post by Dinth »

Ive compiled sucessfully T-Engine4 on Archlinux (as stated here: http://forum.t-o-m-e.net/viewtopic.php?f=38&t=22059)
Unfortunatelly i cannot run game:

Code: Select all

q(23:11:%)  q(sob,lip17)j./t-engine
WARNING: No bootstrap code found, defaulting to working directory for engine code!
Lua Error: attempt to call a string value
   At [C]:-1 
PANIC: unprotected error in call to Lua API (Unable to initialize: attempt to call a string value)

madmonk
Reaper
Posts: 2257
Joined: Wed Dec 12, 2007 12:21 am
Location: New Zealand

Re: Cannot run on Archlinux

#2 Post by madmonk »

You need to be in the ToME directory and then run this:

Code: Select all

./bin/Debug/t-engine
This will launch the game. Since the game is in Beta I would suggest this:

Code: Select all

./bin/Debug/t-engine > stdout 2>stderr
Regards

Jon.

Dinth
Low Yeek
Posts: 9
Joined: Fri Apr 20, 2007 12:32 pm
Contact:

Re: Cannot run on Archlinux

#3 Post by Dinth »

Yes, but this dont allow to install ToME4 in the linux way (libs to /usr/lib, bins to /usr/bin, game data to /usr/share, and save to ~/.te4).
When T-Engine 4 will finally support installation to linux filesystem (not only tu user dir) ? This should be priority, because T-Engine 4 is playable at the moment, and it could be packed for at least some linux distributions (making it more popular), but it isnt possible.

greycat
Sher'Tul
Posts: 1396
Joined: Tue May 11, 2010 11:51 pm

Re: Cannot run on Archlinux

#4 Post by greycat »

Write a wrapper script that changes directory to /usr/local/share/tome (or wherever you decide to install the Lua portions of the game) and then executes /usr/local/bin/t-engine (or wherever you decide to put the engine binary). Call the wrapper script /usr/local/bin/tome4 or whatever you like.

Why is this hard? It's not!

Post Reply