Results 1 to 8 of 8

Thread: HowTo: Compile - Beyond The Red Line Demo

  1. #1
    Join Date
    Aug 2006
    Location
    tuesday
    Beans
    6,502
    Distro
    Kubuntu Development Release

    Talking HowTo: Compile - Beyond The Red Line Demo

    *** This HOWTO is now outdated. The official linux demo installer has been released ***
    [thanks aidanr for the status update on the release]


    HowTo: Compile Beyond The Red Line Demo (from source)

    At the time I'm writing this, the linux installer has not yet been released.
    I imagine this will become obsolete in a matter of weeks.


    Ok first let me start by saying this howto is written for Ubuntu Edgy.
    It should work about the same way under Dapper and Feisty, but I can't guarantee all libraries will be availible via the repos, especially in Dapper. >.<

    For this howto you will need the following:

    1. btrl demo source
    2. btrl demo windows installer
    3. wine or a windows pc to steal the installed files from
    4. libsdl-dev (and friends), libtheora-dev, libogg-dev, libvorbis-dev
    5. you'll obviously need build-essential installed but this assumes you already have
    ...(if you don't have build-essential run: sudo apt-get install build-essential)

    You will need the download and install the windows version:
    (either with WINE or install on a windows machine then copy the data files)
    http://www.game-warden.com/bsg/downl...indows.torrent
    http://files.filefront.com/7090920
    http://www.thecylonbase.com/index.ph...tpage&Itemid=1
    http://games.internode.on.net/fileli...ledetails=6722
    http://files.moddb.com/6720/download...red-line-demo/

    Save this file to your home directory.

    Open a new terminal (you should be at your home directory but it isn't required).

    Code:
    wget http://www.freespacefaq.com/Downloads/BtRL/btrl_fs2_open-3.6.9.tar.bz2
    sudo apt-get install libsdl1.2-dev libogg-dev libtheora-dev libvorbis-dev libalut0 libopenal0a libopenal-dev
    This should install the following (23 libraries in all i believe):

    libalut-dev libalut0 libopenal0a libsdl1.2-dev libogg-dev libtheora-dev libaa1-dev
    libartsc0-dev libasound2-dev libaudio-dev libaudiofile-dev libdirectfb-dev libdirectfb-extra
    libesd0-dev libgl1-mesa-dev libglu1-mesa-dev libjpeg62-dev libncurses5-dev libsdl1.2-dev
    libslang2-dev libxt-dev mesa-common-dev libopenal-dev
    Now that all the the libraries are installed, decompress the btrl demo archive and begin compiling.

    Code:
    tar -jxvf btrl_fs2_open-3.6.9.tar.bz2
    cd btrl_fs2_open-3.6.9
    ./configure
    make
    The make process will take awhile depending on your system, so bounce around the fourms or go
    for a walk or something while you wait.

    Assuming all went well and the game binary compiled it should now be in the code directory inside the
    directory you compiled from.

    But before we go any further you'll need to install the windows version of the demo so that you
    have the data, graphic, and sound files needed to actually run the demo. Assuming you already have
    wine installed and working:

    Code:
    wine ../BtRLDemoInstaller.exe
    Wait for the installer window to come up and follow through installation.

    This may take awhile as the decompressed data files are about 750mb. The installer may even seem to freeze,
    just give it 10-20 minutes to complete and try not to get too anxious. Remember where you install the
    game so we'll be able to copy the game binary that has already been compiled.

    You should still be in the ~/btrl_fs2_open-3.6.9 directory once the installer completes.
    Copy the binary to the location you installed Btrl windows demo into.

    Example:

    Code:
    cp code/fs2_open_r ~/.wine/drive_c/Program\ Files/BtrlDemo
    Then we'll change to the game directory and launch the demo.

    Code:
    cd ~/.wine/drive_c/Program\ Files/BtrlDemo
    ./fs2_open_r
    The game will probably give you an error message saying the resolution is not supported.
    Simply exit the game by hitting escape twice, and we're back to our terminal one last time.


    Code:
    pico ~/.btrl_demo/fs2_open.ini
    Find this line:

    VideocardFs2open=OGL -(800x600)x16 bit
    I believe it was 800x600 but no matter, it's that line. Replace it with this:

    VideocardFs2open=OGL -(1024x768)x16 bit
    ctrl+o to save, then ctrl+x to exit

    Then you should be able to launch the game using:

    Code:
    ./fs2_open_r
    Hopefully I've covered everything possible here.

    Please let me know if I"ve missed anything.

    I'll also be posting this up on UGA in a few minutes, but I promised the forums I'd do it, so I wanted to post here first. ^_^
    Last edited by hikaricore; April 4th, 2007 at 05:42 PM.

  2. #2
    Join Date
    Sep 2006
    Beans
    1,116
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: HowTo: Compile - Beyond The Red Line Demo

    nice, wine needed pdh.dll and odbcbcp.dll for the installer to work, they can be found through google, and put in ~/.wine/drive_c/windows/system32

    runs really well and it's a great game

  3. #3
    Join Date
    Apr 2007
    Beans
    Hidden!

    Re: HowTo: Compile - Beyond The Red Line Demo

    Hm, I get the game running, but once I go to the BriefingRoom it crashes...

    ERROR: "Could not load ABexp04 anim file" at fireball/fireballs.cpp:697
    Vertex3f: 1


    Anyone got a fix?

  4. #4
    Join Date
    Sep 2006
    Beans
    1,116
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: HowTo: Compile - Beyond The Red Line Demo

    the linux installer is up now, try that instead

    http://homepage.ntlworld.com/karajor...-Linux.torrent

  5. #5
    Join Date
    Oct 2004
    Location
    Denmark - Scandinavia
    Beans
    19,553
    Distro
    Ubuntu Budgie Development Release

    Re: HowTo: Compile - Beyond The Red Line Demo

    Thanks for the link/tips, aidanr.

  6. #6
    Join Date
    Aug 2006
    Location
    tuesday
    Beans
    6,502
    Distro
    Kubuntu Development Release

    Re: HowTo: Compile - Beyond The Red Line Demo

    Figures they'd post it up while I'm busy.

    I've been watching their site for a day and a half, rofl.

  7. #7
    Join Date
    Oct 2004
    Location
    Denmark - Scandinavia
    Beans
    19,553
    Distro
    Ubuntu Budgie Development Release

    Re: HowTo: Compile - Beyond The Red Line Demo

    They sneaked it out while you were looking the other way

  8. #8
    Join Date
    Aug 2006
    Location
    tuesday
    Beans
    6,502
    Distro
    Kubuntu Development Release

    Re: HowTo: Compile - Beyond The Red Line Demo

    Just a note if you install anywhere but the default directory you may have to edit the "/usr/local/bin/btrl_demo" file.

    Code:
    sudo pico /usr/local/bin/btrl_demo
    I personally added:

    FSO_DATA_PATH="/media/devistate/linux.bin/beyondtheredline"

    Before the "export" section as shown below:

    FSO_DATA_PATH="/media/devistate/linux.bin/beyondtheredline"

    export LD_LIBRARY_PATH
    export FSO_DATA_PATH

    PL2PATH="${HOME}/.btrl_demo/data/players/single"
    This may have been an issue I caused myself but incase anyone else comes across it.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •