Tag Archives: game

Cogs games on Linux not working?

See this forum posting for a potential fix, if your using an ATI graphics card:

http://forum.lazy8studios.com/index.php?PHPSESSID=h1d37r13a2d2ccnk5c5j6b2c94&topic=475.msg837#msg837

This is a fix for the bug where Cogs launches with the following output:

Shader compile log for data/effects/TextureBumpCubemap.fsh:
Fragment shader failed to compile with the following errors:
ERROR: 0:41: error(#132) Syntax error: ‘smooth’ parse error
ERROR: error(#273) 1 compilation errors.  No code generated

Apparently the word “smooth” is reserved, but only on ATI cards in Linux.  The fix is to modify the following file.

~/games/cogs/data/effects/TextureBumpCubemap.fsh

Just do a global replace of the word “smooth” with “Smooth”.

A huge thanks to Renee Marie Jones, who figured this one out :)

I wasn’t seeing that particular output on the console, and the screen was just blank/black and I could hear the music. But, this fix did work for me on Ubuntu Linux 10.10 (Maverick).

Ghouls and Ghosts!

Fun looking game:

http://www.valarsoft.com/ramuso/?dpage=pagine&page=pagine&pagID=8

Used to play the original game, that this is based on, when I was a wee bit younger. Going to see if I can build it on my Ubuntu laptop, so far I need to install the liballegro-dev packages and associated dependencies.

Found out about the game at Linux Games.

Ghouls & Ghosts!

Got it to build easily enough, but it looks like the author isn’t too familiar with Linux/Unix based on how and where everything got compiled too! The binary is even called game.exe!

Otherwise, the game is a very good rendition of the original. I haven’t played it too much yet, kinda hard to play it properly on my laptop, gotta try it on my desktop which has a real keyboard. Plus, I need to figure out how to re-map the keys, ctrl is shoot and alt is jump, which just feels clumsy to me. All-in-all it looks pretty good, can’t tell if there is sound as the speakers on my lovely Dell 700m laptop don’t work anymore. From what I’ve read this is pretty common and is due to the wires to the speakers fraying where the laptop lid/screen is hinged. Way to go Dell!