Please do not post a support request without first reading and following the advice in

Blake Stone - BStone source port

  • @ExarKunIv It sounds just like Rise of the Triad. That game was supposed to be the sequel to Wolfenstein 3D but was over looked due to hype of Doom. :-)

    I might try it some time. I visited ECWolf's git repository and they say that ECWolf aims to support all games which use the Wolfenstein 3D engine including Blake Stone (coming in ECWolf 3.0), Corridor 7, Operation Body Count, Rise of the Triad, and Super 3D Noah's Ark. This is another Wolfenstein 3D source port that we can build on our RPI.

  • @tpo1990 ECWolf is in my opinion the best enviroment for this games. AFAIK Super 3D Noah's Ark is supported already.

  • @cyperghost You are probably right about that. I have only tried ECWolf with Wolfenstein 3D and from what i remember it worked great on my Raspberry Pi, but that was in 4.3/Jessie. ECWolf could be an alternative to the primary Wolf4SDL in RetroPie bringing more Wolfenstein 3D styled games to work. ECWolf would seem like the perfect candidate for this.

  • @tpo1990 I tried ECWolf on a Windows Mashine and there Wolf3d, SoD and Noah are running.

  • @tpo1990 if there is a way to get corridor 7 working, im all for it.

    not that i would have a clue on how to get ECWolf to work. so ill wait till someone with way more knowlage then I to take a stab. :)

  • @cyperghost said in Blake Stone - BStone source port:

    @tpo1990 I tried ECWolf on a Windows Mashine and there Wolf3d, SoD and Noah are running.

    Then it should also work on Raspberry Pi if building from source still works.

  • @ExarKunIv Yes ECWolf will eventually at some time support Corridor 7 just like Super 3D Noah's Ark.

  • @tpo1990 said in Blake Stone - BStone source port:

    wget -P $HOME/RetroPie-Setup/scriptmodules/ports/

    WOW, thanks guys, I been working on a first-person shooter this build this was a great add.

  • Just saw this and super happy. Loved this when younger, always felt under appreciated. Had a boot disk I'd use to play this quite often. I played a lot of Doom, but also this always stuck with me. The sound effects still ring true in my mind. Thanks,

  • @moltke44 Good to hear that i am able to make others gaming experience even better by sharing with the RetroPie community. As it works good enough, I still think the Blake Stone experience could be even better by improving it.

  • @tpo1990
    Is it correct that the game not started without startx?

    BStone Log
    Version: 1.1.13
    CRITICAL: Failed to initialize SDL: No available video device

    And then if I start the game with startx keyboard is not working! Therefore I start it with --vid_windowed option. Then Keybord is working!


    bstone = "startx /opt/retropie/ports/bstone/bstone --aog --no_screens --vid_windowed --vid_mode 1920 1080  --data_dir /home/pi/RetroPie/roms/ports/bstone/aog --"
    default = "bstone"

    But my X360 Gamepad is not working (also with sudo startx). What is the trick?


    Executing: startx /opt/retropie/ports/bstone/bstone --aog --no_screens --vid_windowed --vid_mode 1920 1080  --data_dir /home/pi/RetroPie/roms/ports/bstone/aog -- -- vt1 -keeptty
    X.Org X Server 1.20.4
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 4.15.0-48-generic armv8l Raspbian
    Current Operating System: Linux tomgamez 4.19.66-v7l+ #1253 SMP Thu Aug 15 12:02:08 BST 2019 armv7l
    Kernel command line: coherent_pool=1M 8250.nr_uarts=0 cma=64M cma=256M video=HDMI-A-1:1920x1080@60 smsc95xx.macaddr=DC:A6:32:27:FF:59 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  dwc_otg.lpm_enable=0 console=ttyS0,115200 consol
    e=tty1 root=PARTUUID=fe01d7db-02 rootfstype=ext4 elevator=deadline rootwait
    Build Date: 05 June 2019  12:49:54PM
    xorg-server 2:1.20.4-1+rpt1 (
    Current version of pixman: 0.36.0
            Before reporting problems, check
            to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
            (++) from command line, (!!) notice, (II) informational,
            (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/home/pi/.local/share/xorg/Xorg.0.log", Time: Sat Nov  9 16:40:17 2019
    (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
    BStone Log
    Version: 1.1.14
    Data path: "/home/pi/RetroPie/roms/ports/bstone/aog/"
    Mod path: ""
    Profile path: "/home/pi/.local/share/bibendovsky/bstone/"
    Forcing "Aliens of Gold (full)"...
    Found "Aliens of Gold (full)" v2.0.
    VID: Initializing a system...
    VID: Creating a window...
    VID: Initializing a renderer...
    VID: Available renderer drivers:
    1. opengl
    2. opengles2
    3. opengles
    4. software
    VID: Using VSync...
    VID: Creating a renderer...
    VID: Quering renderer for info...
    VID: Current renderer: "opengl".
    VID: Looking up for a texture pixel format...
    VID: Allocating a texture pixel format...
    VID: Initializing textures...
    VID: Creating a screen texture...
    VID: Creating an UI texture...
    VID: Creating a screen texture...
    ALSA lib pcm.c:8424:(snd_pcm_recover) underrun occurred
    ALSA lib pcm.c:8424:(snd_pcm_recover) underrun occurred
    xinit: connection to X server lost
    waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.

  • @tomybyte Startx is only used to start up the X11 window or Raspbian desktop if you have that installed on your RetroPie system. The port should be able to run under framebuffer or command line as well as Emulationstation with it's own runcommand file by default.

    From looking at your runcommand.log it seems like the game has failed to run SDL. Do you have same the error with running other ports?

    Your Bstone emulators.cfg file should look like this:

    bstone = "/opt/retropie/ports/bstone/bstone --data_dir $romdir/ports/bstone/aog"
    default = "bstone"

    Keyboard should work directly after installing the port.

    If you want to use your X360 Gamepad with Bstone port you will have to use the xboxdrv package since the port can only use a keyboard.

  • @tpo1990 thanks for Your feedback!

    if I start bstone without startx in emulators.cfg then I get the error:

    CRITICAL: Failed to initialize SDL: No available video device

    Your port Return to Castle Wolfenstein I also start with startx but my X360 Gamepad works fine in it

    rtcw = "startx /opt/retropie/ports/rtcw/iowolfsp.arm"
    default = "rtcw"

    The xboxdrv package is installed in Retropie.
    How can I configure xboxdrv to map the Bstone keyboard keys?

    Thanks a lot!


  • @tomybyte Appreciated.

    Using the trigger startx should not be required to launch Bstone source port or any other given port as far as i know. What version of RetroPie and Raspberry Pi board are you using?

    Were you able to run Bstone directly after the first time that you downloaded the scriptmodule and installed it through RetroPie setup?

    Did you try reinstalling Bstone from RetroPie setup to see if it fixes the SDL error?

    Xboxdrv guide for RetroPie is here. I suggest looking through the docs first before use. If you have trouble with getting it to work, then i may be able to share some more information on how to use it. Also it is noted that you should only be using xboxdrv if the source port/game does not natively support a gamepad.

  • @tpo1990 thank You for Your feedback again!
    I use the Pi4/4GB with Unofficial RetroPie Buster (Pi4) beta 5 by monkaBlyat
    The xboxdrv Documentation I know, but is more generic. So I had hoped You have an bstone adapted script ;)
    But anyway, many thanks I will try to map the needed keys and share the result here...


  • @tomybyte Your welcome. :-)

    Ah i see, then that's why it is not working correctly since you are using a Pi4. As RetroPie has not been officially released for the Pi4 yet it is uncertain to say if the existing source ports that i created a scriptmodule for will work or not.

    That is because xboxdrv is able to map keyboard input to any gamepad and people are using different gamepads for their own RetroPie project. I don't have an adapted xboxdrv script for Bstone, but i could probably share my xboxdrv configuration for my own Zeroplus PS4 controller from the Doom Legacy port.

    You will have to install xboxdrv from RetroPie-Setup and know what buttons your X360 gamepad is using in order to get a proper working xboxdrv config for Bstone. You could then manually edit that specific config file that i created to get it to work with your X360 controller for Bstone. Let me know if you want this.

    Until the Pi4 get's an official RetroPie release i can not help you any further than this.

    What i can say is that i will probably get a Pi4 soon with the 4 gb RAM.


  • @tpo1990 it would be a pleasure if You can share Your xboxdrv script!
    The Pi4 is a rocket! Your Return to Castle Wolfenstein run perfect smoothly! I love him ;)

  • @tpo1990 so this is a working xboxdrv configuration in my Blake Stone - Aliens of

    sudo killall > /dev/null 2>&1 xboxdrv
    sudo /opt/retropie/supplementary/xboxdrv/bin/xboxdrv \
        --detach-kernel-driver \
        --silent \
        --force-feedback \
        --deadzone-trigger 15% \
        --deadzone 4000 \
        --mimic-xpad \
        --trigger-as-button \
        --evdev-absmap ABS_X=x1,ABS_Y=y1,ABS_RX=x2,ABS_RY=y2,ABS_Z=lt,ABS_RZ=rt \
        --ui-axismap X1=KEY_A:KEY_D,Y1=KEY_S:KEY_W,X2=KEY_A:KEY_D,Y2=KEY_UP:KEY_DOWN \
    _HAPPY2=dr \
        --evdev-absmap ABS_HAT0X=dpad_x,ABS_HAT0Y=dpad_y \
        --ui-buttonmap du=KEY_W,dd=KEY_S,dl=KEY_LEFT,dr=KEY_RIGHT,a=KEY_LEFTCTRL,b=KEY_SPACE,y=KEY_Y,lb=KEY_A,rb=KEY_D,start=KEY_ENTER,x=KEY_ESC \
    "/opt/retropie/supplementary/runcommand/" 0 _PORT_ "bstone" ""

    The only problem is if I exit the game and go back to retropie interface the retropie controls are lost. Also if I kill the xboxdrv after game again with sudo killall > /dev/null 2>&1 xboxdrv

  • @tomybyte Good to hear that RTCW runs great on a Pi4. I haven't had any other tests other than on my Pi3B. :-)

    It seems like you have already figured out the xboxdrv configuration. What is your xboxdrv configuration file called and where did you put it?

    Xboxdrv should only start once a port or emulator is running on your RetroPie system and then after you exit that same port, it you should stop xboxdrv so than you can control as normal.

  • @tomybyte You can add to the killall command on a new line in your script.

    Below is the script I use to launch Abuse in DOSBox using xboxdrv for mouse emulation:

    sudo /opt/retropie/supplementary/xboxdrv/bin/xboxdrv --config /opt/retropie/configs/xboxdrv/abuse.xboxdrv >/dev/null &
    /opt/retropie/emulators/dosbox/bin/dosbox -c "mount c /home/pi/RetroPie/roms/pc-data" -c "c:" -c "cd ABUSE" -c "ABUSE.EXE" -c "exit" 
    sudo killall >/dev/null xboxdrv
    sleep 1

    I'm not sure if the sleep 1 command is actually required but I keep it so that there's a one second delay between the xboxdrv process being stopped and ES launching and the two processes shouldn't coincide.

Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.