1. Forum moved (you can use login and pass from old forum)
  2. Many discussions moved to the bugtracker

Successful compilation under Arch Linux with GOG.

Discussion in 'General help - Troubleshooting - Feedback' started by mwnn, Aug 2, 2018.

  1. mwnn

    mwnn Registered

    Joined:
    Aug 2, 2018
    Messages:
    1
    Likes Received:
    1
    Best Answers:
    0
    Just wanted to write a thank you post for everyone who's worked on getting OpenApoc to it's current working state.
    Being able to play OpenXcom (UFO + TFTD) and OpenApoc without the limitations of DOSBOX, etc is a wonderful thing.

    I'm not a Linux expert by any stretch but I thought I'd expand on the installation instructions listed on the github page.
    First I grabbed the latest files from github into my home directory using:
    git clone --recurse-submodules -j8 https://github.com/OpenApoc/OpenApoc.git

    Then I downloaded the latest Apocalypse installer from GOG (setup_xcom_apocalypse_2.0.0.4.exe)
    Rather than installing the game through Wine you can use innoextract to get the required game files.
    Make a directory, copy the GOG installer into it and run:
    innoextract setup_xcom_apocalypse_2.0.0.4.exe

    You should end up with two new folders (app + tmp) plus the GOG installer.
    Navigate to the app/CD folder.
    There's a handy tool called bchunk that we can use to convert the GOG bin/cue image into an ISO image.
    Simply run:
    bchunk XCOM.BIN XCOM.cue cd
    mv cd01.iso cd.iso

    Copy cd.iso into the data subfolder where the cloned code from github resides.
    Then proceed with the instructions on the main github page i.e.
    mkdir build
    cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .. (I used Release instead)
    make -j4
    ./build/bin/OpenApoc

    As you can see the game is working perfectly.
    If anyone's curious about the overlay in the screenshots, I've set the following line in my .xinitrc:
    export GALLIUM_HUD=simple,fps,cpu,GPU-load,temperature
    A nice feature that comes with mesa drivers.
     
    Last edited: Aug 2, 2018
    makus likes this.
  2. makus

    makus Designer, forum admin Administrator Designer/Artist

    Joined:
    Sep 24, 2014
    Messages:
    244
    Likes Received:
    43
    Best Answers:
    2
    Ty Andrew for your post ! :great::play:
     

Share This Page