
Cortex Command’s Linux builds are now updated to the 1.0 version! You can find them in the licensing area, or on your Humble Bundle download pages. Let us know how it works and if you run into any trouble. Hope you enjoy!
We know the learning curve for getting into the game is still steep, and we’re working on making it more accessible. In the mean time, here’s a nice action packed tutorial for how to play the damn thing :] Thanks to @xxXChaosKingXxx for putting it together:
You can follow any responses to this entry through the RSS 2.0 feed.
Trackback from your own site.
[...] Art (2) Cortex Command (150) General DRL (10) « Cortex Command 1.0 playtest preview Cortex Command 1.0 for Linux, and Video Tutorial » Cortex Command 1.0 is OUT! Posted by Data in Cortex Command – September 28th, 2012 [...]
Any chance you can make it so the game pauses while you are navigating menus in singleplayer? I am a total scrub and this would go a long way to making me able to enjoy this game.
I want to enjoy it, it’s just really freaking hard.
That’s an interesting idea; might do that for game sessions with only one human player, yea
Just please make the HUD and font scalable. My PC is 1920×1080 and I can’t play the game, it’s barely possible.
the game is actually supposed to work great in 1080p.. are you sure the fullscreen/windowed is going into 2x pixel mode, as it should?
I can’t tell, the screen just goes black and the sound works anyway… Sorry that that’s the only description I can give you. If you look on the Discussions page on Steam, a lot of people are having these issues.
Bah, you caught me off guard there. Wasn’t expecting the video to be linked to my channel. x3 Will update the description to something suitable when it’s not too late for me. xP But anyway, thank you for putting it on the blog Data. x)
Oh. 2x pixel mode works on 720p, but not on 1080p. And Fullscreen works on neither. Also, it flickers pink for a moment when trying to go into 2x in 1080p. Dunno if that helps but there ya go.
!!!!!!! Very Cool !!!!!!!
However,
I Getting crashes when reentering the game after pressing Esc
I am also getting crashes when I kill the crab in the tutorial.
I am running Linux Mint Cinnamon (Ubuntu based) 64bit.
Thanks for all the hard work.
Please fix gamepads in OSX. They are currently unusable because OSX has no calibration program to set analogue stick deadzones like Windows has. The pie menu also isn’t fully working with d-pads either. You can’t point to Buy or AI options in the lower right.
Meh. I was excited there for a minute, but it just segfaults:
> Attempting to start PulseAudio sound driver
> Initialized sound against PulseAudio sound driver.
> Shutting down Allegro due to signal #11
> ./CortexCommand: line 4: 15333 Segmentation fault
> ./CortexCommand.bin “$@”
Forgot to add: Before it segfaults I get an X window with a debug message:
> Failed to load datafile object with following path and name:
> Base.rte/GUIs/Skins/MainMenu/text
> The last frame has been dumped to ‘abortscreen.bmp’
Why isn’t it possible to define presets before going into these hasty battles? Playing against a CPU opponent doesn’t feel remotely fair.
zardoz: sorry for the trouble; we are looking into it
The install text still says b25, you might want to change that so people are not confused.
It works for me ™ on linux could be because it uses ALSA instead of PulseAudio.
I have the same issue zardoz has. It’s a pity
i use archlinux x86_64 with nvidia blob.
Works fine on 1080p for me. Problem is that I can’t play on fullscreen as I have dual monitor setup and it tries to display on both monitors…
The most worrying thing is that performance is mediocre (mouse lags/jumps even in menu). You can play, but sometimes it is slower or faster than normal speed. Dunno if self-detonating soldiers have to do anything with linux build but I encountered that here much often than on windows – also it crashed after playing a while in campaign mode.
As for performance I guess issue is in sound.
./CortexCommand
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
Attempting to start PulseAudio sound driver
AL lib: pulseaudio.c:485: Context did not connect: Connection refused
[Error] Failed to Create OpenAL Device.
[Error] OpenAL Error: (null).
PulseAudio unavailable, attempting next sound driver…
Attempting to start ALSA sound driver
Initialized sound against ALSA sound driver.
^[x[Error] OpenAL Error: Invalid Value.
[Error] OpenAL Error: Invalid Value.
[Error] OpenAL Error: Invalid Value.
[Error] OpenAL Error: Invalid Value.
[Error] OpenAL Error: Invalid Value.
[Error] OpenAL Error: Invalid Value.
[Error] OpenAL Error: Invalid Value.
[Error] OpenAL Error: Invalid Value.
[Error] OpenAL Error: Invalid Value.
./CortexCommand: line 4: 1774 Przerwane ./CortexCommand.bin “$@”
It crashed while trying to design a base on a 32-bit Fedora system.
Here’s what gdb could extract from the core file of the “design base” crash. I guess it’s not very helpful. It occurred on the 2nd turn, right after I got the first base. Clicking on the “design base” button goes to an empty black screen, and then it crashes.
#0 0xb7796424 in __kernel_vsyscall ()
#1 0×4287b0ef in raise () from /lib/libc.so.6
#2 0×4287ca25 in abort () from /lib/libc.so.6
#3 0xb7628c93 in _xwin_signal_handler (num=11)
at /opt/scratchbox2/source/lib_src/allegro-4.4.1.1/src/x/xsystem.c:141
#4
#5 0×080ec19b in ?? ()
#6 0×083d7dfc in ?? ()
#7 0×083d8815 in ?? ()
#8 0×428663f3 in __libc_start_main () from /lib/libc.so.6
#9 0×08050911 in ?? ()
Backtrace stopped: Not enough registers or memory available to unwind further
Cortex Command 1.0rc1 is very slow for me, even loading takes several minutes.
In the menu the mouse lags alot, so its very difficult to get ingame.
Ingame the lag is still there, especially in the buy menu.
Ubuntu 12.04, intel i7-3820, amd radeon hd 6870 with proprietary driver.
Note: I’m still happy that you’re making a linux port!
Losing productivity in 3,2,1
Thanks for the hard work so far!
That being said, I suffer a crash on Gentoo amd64 with the 1.0-rc1 from the HIB page whenever a crab dies, as Xello has also reported.
Once this bug is fixed, I look forward to a vastly more playable Cortex Command.
Thanks for all the crash reports and feedback – our linux guy is working on em!
Sorry to hear that you guys are having problems- this is the guy that’s done the port so we’re going to look at what gives for all the issues being seen by everyone in this list.
Some questions/comments are in order:
For those straight-up segfaulting but not getting any feedback from the game; can I get a grab from “ldd CortexCommand.bin” from the game install directory?
xello: Where are you doing the escape crashes? (Crab in tutorial for the other? Will go back and look on that one…should’ve been fixed back in b25…)
zardoz: How are you executing the game? Running from command prompt? Running from the menu entry the installer puts in? Some other way?
guest: Yow- nice catch. Don’t know how that one slipped past.
rooter: What’s your system configuration, including distro?
kmike: Which version of Fedora? Could be a code path not exercised yet by my testing- I’ll check it on my test setups but I’d like to verify against your config if I can’t find it or if I do and fix it.
talas: I need to see if that’s a display driver issue. Your system’s actually more aggressive than my development machine (I’ve a i7-2700k) and and we’re on the same versions of things except you’re using AMD and I’m using NVidia…
manias: Sorry, missed you on the list- Are you running 32/64-bit; which distro and GPU?
Maginot defense crashes every time I try to play it right after loading.
Also after clearing all presets and then pressing clear _again_. I guess there is some trivial error with free() that (probably, didn’t check) gets away in windows but not under linux.
As game crashes much more under linux I guess that most of errors are from badly written code shared with windows, but are just barely passable for windows memory management. That is just my wild guess of course;)
Great game guys, keep up good work!
One Man Army sucks in 1.0. I loved it in the HIB2 release. Because with all those crashy rockets you had a chance. Now you are too quickly overwhelmed. Could we maybe get crashy rockets back for One Man Army. It would also be amazing if we could configure our soldier prior to the run. This would allow to test several weapons.
One minor thing about the Linux version is that it includes a bunch of Subversion metadata in .svn directories. That’s probably why the Linux installer is so much bigger than the Windows installer. Removing them brings down the installed size from ~230 MB to ~115 MB.
Svartalf: This is Arch linux 64bit and Cortex Command is segfaulting straight-up. Here’s some info that might be helpful: http://turski.dy.fi/paste/PWr
Svartalf: Fedora 15 32-bit. Let me know if you need any further information about the crash. I have the core dump saved, too.
Installed the 64 bit in Ubuntu 12.04 but now what?
There´s no menu entry
Tried to run it in a terminal with ./CortexCommand resulting in a black screen
I do hear the music but no video
Sorry, I’m running the game on Win7 64-bit. Guess I should’ve posted my issues elsewhere.
@Svartalf:
Don’t know about Zardoz, but i run the game from console(command prompt). The menu entry installer puts doesn’t fit Fluxbox’s menu(but that’s ok if i could run it from console)
I have the same ‘desig base crash’ problem on PLD Linux, 32-bit. The game aborts with ‘Abort’ message after I click ‘design base’ in turn 2 of my campaign.
gdb doesn’t show anything usefull. Strace shows SIGSEGV occurs just after reading the Base.rte/GUIs/Sounds/Woosh3.wav file:
brk(0xe428000) = 0xe428000
futex(0×8ea92dc, FUTEX_WAKE_PRIVATE, 1) = 1
close(9) = 0
clock_gettime(CLOCK_MONOTONIC, {2306, 933412533}) = 0
— {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} (Segmentation fault) —
I love this game!! I hope steam makes it available for Linux for all buyers. Does anybody know that?
Problem solved involving the black screen
Thanks to a tip from Melanie overthere at Humble Bundle I installed the libtxc-dxtn-s2tc-dev package in synaptic
Thanks Melanie
Svartalf: It’s the same for the .desktop file and the binary. (Which of course is to be expected, as the .desktop file just links to the same binary and doesn’t include any arguments)
Won’t even start from the icon or command line.
Ubuntu 10.04 LTS 64-bit
2.6.32-43-generic
$ ./CortexCommand.bin
./CortexCommand.bin: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15′ not found (required by ./CortexCommand.bin)
./CortexCommand.bin: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15′ not found (required by ./libs/libcAudio.so)
Works pretty well for me, but whenever I click on design my base the game crashes because of a unauthorised memory access…
I also have the issue of:
###
Failed to load datafile object with following path and name:
Base.rte/GUIs/Skins/MainMenu/text
###
on the amd64 version.
In addition, could you please clean out all the SVN cruft before creating the archive, it’s 52MB of superfluous duplication
any news on fixing those bugs? Linux build was released six days ago and i still can’t play it.
I have some errors too, on Ubuntu 12.04, using Unity.
The game seems to load normally, except that it won’t update the screen. I think it tried to assume control of it because the mouse cursor disappears, but it’s as if the game was still loading. Then I get to hear sounds and I can press Esc to exit.
@BUGAMN
I had the same problem. Try logging out and logging back in, but choosing Unity 2D as the desktop environment. Alternatively install something like LXDE. It seems the problem is with Compiz, though not sure if it is the game or compiz that is causing the lock-up.
Regarding error:
“Failed to load datafile object with following path and name:
Base.rte/GUIs/Skins/MainMenu/text”
gdb (+ allegro source):
q#0 pack_getc (f=0×0) at /opt/scratchbox2/source/lib_src/allegro-4.4.1.1/src/file.c:2222
#1 0×00007ffff71ef6d6 in pack_igetw (f=0×0) at /opt/scratchbox2/source/lib_src/allegro-4.4.1.1/src/file.c:2280
#2 0×00007ffff71d9994 in read_bmfileheader (fileheader=, f=0×0) at /opt/scratchbox2/source/lib_src/allegro-4.4.1.1/src/bmp.c:88
#3 load_bmp_pf (f=0×0, pal=0×7fffffffd670) at /opt/scratchbox2/source/lib_src/allegro-4.4.1.1/src/bmp.c:644
#4 0×0000000000422359 in ?? ()
#5 0×0000000000422e5c in ?? ()
#6 …
strace:
20579 open(”Base.rte/Effects/Glows/RedTiny.bmp”, O_RDONLY) = 5
20579 open(”Base.rte/Effects/Glows/BlueTiny.bmp”, O_RDONLY) = 5
20579 open(”Base.rte/GUIs/Skins/MainMenu/text000.bmp”, O_RDONLY) = -1 ENOENT (No such file or directory)
Looks like CC is searching for non-existent files. Making links to files like text.bmp helps but after this CC segfaults one more time:
#0 0×00000000004a4503 in ?? ()
No symbol table info available.
#1 0×000000000040eb16 in ?? ()
No symbol table info available.
#2 0×00007ffff66a7ead in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#3 0×000000000040f321 in ?? ()
No symbol table info available.
#4 0×00007fffffffe608 in ?? ()
No symbol table info available.
#5 0×000000000000001c in ?? ()
No symbol table info available.
#6 0×0000000000000001 in ?? ()
No symbol table info available.
#7 0×00007fffffffe848 in ?? ()
No symbol table info available.
#8 0×0000000000000000 in ?? ()
No symbol table info available.
And please kindly export instead of checkout from svn before building
(you’ll save ~114M worth place on our disks, thanks)
@DANIEL
Thanks, the game started ![]()
Now to check how much it works!
Started Exploration scenario, it dumps core :/
Crab kill crash: Regression. Fixed in the pending update.
Maginot crash: Similar problem to the Crab-kill 64-bit issue. Fixed in pending update.
Compiz MAY cause problems with some users with some GL drivers. The game uses 8-bit entities in several places, but the transforms that Compiz does to get it to 32-bits for compositing may cause issues. I’m looking further into that. If you’ve got slow performance, what bugamn reported, or game crashing that goes away with turning off
Compiz, chime in with your GPU brand and model so I can start that process.
Regarding error:
“Failed to load datafile object with following path and name:
Base.rte/GUIs/Skins/MainMenu/text”
This is odd. Not able to reproduce on my end (wouldn’t have even cut this if it was doing that.
) – I guess I need to pour in an Arch on a machine and install accordingly to see what is going on there.
bastian: That’s the plan once they release the toolsets for Linux (they’re still not available…trying to get one out of them early…we’ll see…)
titan-2k: Have you updated your distribution? I basically baselined all binaries shipped off of 10.04 for the architechture- but with whatever got updated to now.
Exploration Crash: Fixed with the Maginot/Training fixes.
#COMPIZ
Device:
ATI M96 [Mobility Radeon HD 4650]
Driver:
fglrx 8.971
Compiz:
0.9.7.8
some quick cut/paste terminal commands if you are using ATI graphics:
lspci | grep ATI
ls /var/lib/dkms/fglrx
compiz –version
@Svartalf:
“Regarding error:
[…]
This is odd. Not able to reproduce on my end (wouldn’t have even cut this if it was doing that.
) – I guess I need to pour in an Arch on a machine and install accordingly to see what is going on there.”
You can also use Debian Sid – I use it and I got the same error. Thinkpad T410, Intel Ironlake Graphics
You might want to put configuration files in a separate (preferably hidden) folder in the user’s home directory, instead of the game’s installation dir. The reason is, if someone installs this system wide, he won’t have the write permissions to save any data. There are workarounds for this, but not all users are geeks like me. I’ve nearly 60 games from Humble Bundles, and only Cortex Command and NightSky do this thing. Just a suggestion
Needless to say, kudos for 1.0 release
))
@svartlaf: any news on arch bug?
beware the crab nuke, kills all on field
STEPS to make a crab nuke
1 put a ton of crabs in anything 20 or so is good
2 drop it
3 make sure it explodes when dropped killing all crabs
4 everyone dies even your brain which in a long way down in a protected room on other side of map
5 RAGE QUIT
6 Post problem
7???
8PROFIT
I was encountering the segfault-error (like others) with the x-screen showing:
> Failed to load datafile object with following path and name:
> Base.rte/GUIs/Skins/MainMenu/text
> The last frame has been dumped to ‘abortscreen.bmp’
In Milo’s post I saw this strace line:
20579 open(”Base.rte/GUIs/Skins/MainMenu/text000.bmp”, O_RDONLY) = -1 ENOENT (No such file or directory)
So I just copied text.bmp to text000.bmp and got other files that were not found (brownuii.bmp,hsize000.bmp,smallfnnt.bmp), which I made a renamed copy of (source files were browngui.bmp,hsize.bmp and smallfont.bmp). With those renamed files the error changed to the following:
ALSA lib pcm_direct.c:980:(snd1_pcm_direct_initialize_slave) unable to install hw params
ALSA lib pcm_dsnoop.c:623:(snd_pcm_dsnoop_open) unable to initialize slave
ALSA lib pcm_direct.c:980:(snd1_pcm_direct_initialize_slave) unable to install hw params
ALSA lib pcm_dmix.c:1030:(snd_pcm_dmix_open) unable to initialize slave
ALSA lib setup.c:565:(add_elem) Cannot obtain info for CTL elem (MIXER,’IEC958 Capture Switch’,0,0,0): No such file or directory
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_direct.c:980:(snd1_pcm_direct_initialize_slave) unable to install hw params
ALSA lib pcm_dmix.c:1030:(snd_pcm_dmix_open) unable to initialize slave
Attempting to start PulseAudio sound driver
Initialized sound against PulseAudio sound driver.
Shutting down Allegro due to signal #11
Segmentation fault
I then tryed installing libtxc-dxtn-s2tc-dev, like proposed by Frank-R, which brought me to my current error I’m not able to resolve:
ALSA lib setup.c:565:(add_elem) Cannot obtain info for CTL elem (MIXER,’IEC958 Capture Switch’,0,0,0): No such file or directory
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
Attempting to start PulseAudio sound driver
Initialized sound against PulseAudio sound driver.
Aborted
I guess it might be a pulseaudio related problem. I’m now trying to dig into gdb and strace, but I’ve never workt with this kind of sorcery before
I was wrong, the error is the same as before installing libtxc-dxtn-s2tc-dev. I’ve tryed my best with gdb and strace, all the outputs can be seen here: http://pastebin.com/r23956iL
Hope this helps.
I’m so happy finding out that the 32bit-version works just fine.. tnak you data realms for an up-to-date linux version <3
sorry but where to download the fixed up-to-date version? i checked hib already (not there). thanks, jose
Maaan, will I ever get working linux version? I thought you guys support us, but it looks like nobody cares anymore since people already bought the game.
I still get the
Failed to load datafile object with following path and name:
Base.rte/GUIs/Skins/MainMenu/text
The last frame has been dumped to ‘abortscreen.bmp
in the 64bit version.
Same error as Mariachi; can’t load Base.rte/GUIs/Skins/MainMenu/text
Forgot to mention I’m on x86_64 Arch Linux.
I found this in an strace:
——
open(”Base.rte/GUIs/Skins/MainMenu/text.mpp”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(”Base.rte/GUIs/Skins/MainMenu/text000.bmp”, O_RDONLY) = -1 ENOENT (No such file or directory)
——
mpp? Is that a typo?
I symlinked text.mmp and text000.bmp to text.bmp, re-ran and got another error saying it couldn’t find “Base.rte/GUIs/Skins/MainMenu/hsize.bmp”. So I ran another strace and found this:
——
open(”Base.rte/GUIs/Skins/MainMenu/hsize.mmp”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(”Base.rte/GUIs/Skins/MainMenu/hsize000.bmp”, O_RDONLY) = -1 ENOENT (No such file or directory)
——-
hsize.mmp … another typo? And again with that triple zero… anyway, I symlinked those to hsize.bmp and once again re-ran. Now it can’t find “Base.rte/GUIs/Skins/MainMenu/smallfnnt”. That has to be a typo. strace also showed this:
——
open(”Base.rte/GUIs/Skins/MainMenu/smallfnnt.bmp”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(”Base.rte/GUIs/Skins/MainMenu/smallfnnt000.bmp”, O_RDONLY) = -1 ENOENT (No such file or directory)
——
Again with triple zero. Another pair of symlinks and I tried again, and once again, it can’t open something; this time “Base.rte/GUIs/Skins/MainMenu/brownuii”. Another typo, geez… should be “browngui”. strace said it also failed to open the same filename with the affixed triple zeros. (Looks like a pattern here, so I’ll only mention when it doesn’t have triple zeros)
After that I tried running again and it flat out segfaulted with no error. I can’t decipher anything else in the strace, so I’ll pastebin it. A little bit after it reads my symlinked brownuii, it segfaults.
Didn’t see the earlier comment by Svartalf asking for ldd output, so here that is:
And I probably should have included this earlier, but here’s the full strace of ./CortexCommand (without the symlinks I made). It’s not nearly as long because it dies as soon as it can’t load text.bmp, so bare that in mind.