Posted by Data in Cortex Command - October 6th, 2012

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.
Both comments and pings are currently closed.


64 Responses to “Cortex Command 1.0 for Linux, and Video Tutorial”

  1. Data Realms – Dev Log » Blog Archive » Cortex Command 1.0 is OUT! - # October 6th, 2012 at 9:29 pm

    […] 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 […]

  2. Jeff - # October 6th, 2012 at 9:35 pm

    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.

  3. Data - # October 6th, 2012 at 10:07 pm

    That’s an interesting idea; might do that for game sessions with only one human player, yea

  4. Maninas - # October 6th, 2012 at 10:29 pm

    Just please make the HUD and font scalable. My PC is 1920×1080 and I can’t play the game, it’s barely possible.

  5. Data - # October 6th, 2012 at 10:31 pm

    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?

  6. Maninas - # October 6th, 2012 at 10:43 pm

    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.

  7. Chaos - # October 6th, 2012 at 10:51 pm

    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)

  8. Maninas - # October 6th, 2012 at 11:11 pm

    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.

  9. Xello - # October 6th, 2012 at 11:27 pm

    !!!!!!! 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.

  10. gsm - # October 7th, 2012 at 12:02 am

    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.

  11. zardoz - # October 7th, 2012 at 5:09 am

    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 “$@”

    🙁

  12. zardoz - # October 7th, 2012 at 5:11 am

    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’

  13. itti - # October 7th, 2012 at 9:35 am

    Why isn’t it possible to define presets before going into these hasty battles? Playing against a CPU opponent doesn’t feel remotely fair.

  14. Data - # October 7th, 2012 at 9:57 am

    zardoz: sorry for the trouble; we are looking into it

  15. Guest - # October 7th, 2012 at 10:36 am

    The install text still says b25, you might want to change that so people are not confused.

  16. WarpOak - # October 7th, 2012 at 10:41 am

    It works for me ™ on linux could be because it uses ALSA instead of PulseAudio.

  17. gavlig - # October 7th, 2012 at 11:53 am

    I have the same issue zardoz has. It’s a pity
    i use archlinux x86_64 with nvidia blob.

  18. RooTer - # October 7th, 2012 at 11:53 am

    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 “$@”

  19. kmike - # October 7th, 2012 at 7:52 pm

    It crashed while trying to design a base on a 32-bit Fedora system.

  20. kmike - # October 7th, 2012 at 8:03 pm

    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 0x4287b0ef in raise () from /lib/libc.so.6
    #2 0x4287ca25 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 0x080ec19b in ?? ()
    #6 0x083d7dfc in ?? ()
    #7 0x083d8815 in ?? ()
    #8 0x428663f3 in __libc_start_main () from /lib/libc.so.6
    #9 0x08050911 in ?? ()
    Backtrace stopped: Not enough registers or memory available to unwind further

  21. talas - # October 7th, 2012 at 8:07 pm

    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!

  22. ideafix - # October 7th, 2012 at 9:23 pm

    Losing productivity in 3,2,1

  23. Albatross - # October 8th, 2012 at 1:33 am

    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. 🙂

  24. Data - # October 8th, 2012 at 1:37 am

    Thanks for all the crash reports and feedback – our linux guy is working on em!

  25. Svartalf - # October 8th, 2012 at 1:38 am

    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…

  26. Svartalf - # October 8th, 2012 at 3:38 am

    manias: Sorry, missed you on the list- Are you running 32/64-bit; which distro and GPU?

  27. RooTer - # October 8th, 2012 at 6:50 pm

    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!

  28. onemanarmy - # October 8th, 2012 at 9:43 pm

    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.

  29. Torbjörn Andersson - # October 9th, 2012 at 5:14 am

    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.

  30. Turski - # October 9th, 2012 at 2:44 pm

    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

  31. kmike - # October 9th, 2012 at 5:18 pm

    Svartalf: Fedora 15 32-bit. Let me know if you need any further information about the crash. I have the core dump saved, too.

  32. Frank-R - # October 9th, 2012 at 6:07 pm

    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

  33. Maninas - # October 9th, 2012 at 10:28 pm

    Sorry, I’m running the game on Win7 64-bit. Guess I should’ve posted my issues elsewhere. 🙂

  34. gavlig - # October 9th, 2012 at 11:03 pm

    @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)

  35. Jajcus - # October 10th, 2012 at 4:44 pm

    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(0x8ea92dc, 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) —

  36. Bastian - # October 10th, 2012 at 5:26 pm

    I love this game!! I hope steam makes it available for Linux for all buyers. Does anybody know that?

  37. Frank-R - # October 10th, 2012 at 9:11 pm

    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

  38. ZardoZ - # October 11th, 2012 at 9:03 am

    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)

  39. Titan2k - # October 11th, 2012 at 7:39 pm

    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)

  40. tombuben - # October 12th, 2012 at 11:20 am

    Works pretty well for me, but whenever I click on design my base the game crashes because of a unauthorised memory access…

  41. arand - # October 12th, 2012 at 2:32 pm

    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 🙁

  42. gavlig - # October 12th, 2012 at 4:18 pm

    any news on fixing those bugs? Linux build was released six days ago and i still can’t play it.

  43. Bugamn - # October 12th, 2012 at 10:37 pm

    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.

  44. Daniel - # October 13th, 2012 at 5:06 pm

    @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.

  45. Milo - # October 13th, 2012 at 6:47 pm

    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=0x0) at /opt/scratchbox2/source/lib_src/allegro-4.4.1.1/src/file.c:2222
    #1 0x00007ffff71ef6d6 in pack_igetw (f=0x0) at /opt/scratchbox2/source/lib_src/allegro-4.4.1.1/src/file.c:2280
    #2 0x00007ffff71d9994 in read_bmfileheader (fileheader=, f=0x0) at /opt/scratchbox2/source/lib_src/allegro-4.4.1.1/src/bmp.c:88
    #3 load_bmp_pf (f=0x0, pal=0x7fffffffd670) at /opt/scratchbox2/source/lib_src/allegro-4.4.1.1/src/bmp.c:644
    #4 0x0000000000422359 in ?? ()
    #5 0x0000000000422e5c 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 0x00000000004a4503 in ?? ()
    No symbol table info available.
    #1 0x000000000040eb16 in ?? ()
    No symbol table info available.
    #2 0x00007ffff66a7ead in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
    No symbol table info available.
    #3 0x000000000040f321 in ?? ()
    No symbol table info available.
    #4 0x00007fffffffe608 in ?? ()
    No symbol table info available.
    #5 0x000000000000001c in ?? ()
    No symbol table info available.
    #6 0x0000000000000001 in ?? ()
    No symbol table info available.
    #7 0x00007fffffffe848 in ?? ()
    No symbol table info available.
    #8 0x0000000000000000 in ?? ()
    No symbol table info available.

  46. Milo - # October 13th, 2012 at 6:51 pm

    And please kindly export instead of checkout from svn before building 😉 (you’ll save ~114M worth place on our disks, thanks)

  47. Bugamn - # October 13th, 2012 at 11:42 pm

    @DANIEL

    Thanks, the game started 🙂
    Now to check how much it works! 😀

  48. Bugamn - # October 13th, 2012 at 11:46 pm

    Started Exploration scenario, it dumps core :/

  49. Svartalf - # October 14th, 2012 at 2:49 pm

    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. :-D) – 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.

  50. Svartalf - # October 14th, 2012 at 2:52 pm

    Exploration Crash: Fixed with the Maginot/Training fixes.

  51. Daniel - # October 15th, 2012 at 7:29 pm

    #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