RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Blake Stone - BStone source port

    Scheduled Pinned Locked Moved General Discussion and Gaming
    blakestoneblake stonealiens of goldplanet strikeaog
    51 Posts 10 Posters 8.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • tpo1990T
      tpo1990 @tomybyte
      last edited by

      @tomybyte That would probably work, but i think it is better to have a specific config file to include all your xboxdrv configurations for the ports or emulators that you have installed on your RetroPie system. If I update the scriptmodule for Bstone, it may just replace your Blake Stone.sh file in your Ports folder. In this way you will probably need to manually keep a backup of your changes.

      Greetings from Denmark. :-)

      Developer of install scripts for ports such as Hexen 2, Return to Castle Wolfenstein and Caesar III. See my other projects at my profile.

      ExarKunIvE 2 Replies Last reply Reply Quote 0
      • ExarKunIvE
        ExarKunIv @tpo1990
        last edited by

        @tpo1990
        letting you know that something is up with blake stone.
        i cant get it to load anymore on both my pi3 running 4.5, and my pi4 running 4.6

        here is the error

        [VID] Applying texture upscale.
        /opt/retropie/supplementary/runcommand/runcommand.sh: line 1255:  1832 Bus error               /opt/retropie/ports/bstone/bstone --data_dir /home/pi/RetroPie/roms/ports/bstone/aog
        

        here is the whole list

        Parameters: 
        Executing: SDL_VIDEO_KMSDRM_CRTCID=49 SDL_VIDEO_KMSDRM_MODEID=39 /opt/retropie/ports/bstone/bstone --data_dir /home/pi/RetroPie/roms/ports/bstone/aog
        BStone v1.2.6
        ==========
        
        Looking for game content.
        Found "Blake Stone: Aliens Of Gold (shareware)" v3.0.
        Content source: custom dir
        
        Data path: "/home/pi/RetroPie/roms/ports/bstone/aog/"
        Mod path: ""
        Profile path: "/home/pi/.local/share/bibendovsky/bstone/"
        
        [SND] Initializing audio
        [SND] ------------------
        [SND] Channel count: 2
        [SND] Sample rate: 44100 Hz
        [SND] Mix size: 40 ms
        [SND] Effects volume: 10 / 20
        [SND] Music volume: 5 / 20
        [SND] OPL3 type: DosBox DBOPL
        [SND] Resampling interpolation: Linear
        [SND] Resampling low-pass filter: On
        
        [VID] Initializing hardware accelerated video system.
        [VID] Initializing task manager.
        [VID] Creating renderer manager.
        [VID] Getting display mode.
        
        [VID] --------------------
        [VID] Common configuration
        [VID] --------------------
        [VID] Renderer: auto-detect
        [VID] Is windowed: true
        [VID] Window positioned: false
        [VID] Windowed x: 0
        [VID] Windowed y: 0
        [VID] Windowed width: 640
        [VID] Windowed height: 480
        [VID] UI stretched: false
        [VID] Widescreen: true
        [VID] 2D texture filter: nearest
        [VID] 3D texture image filter: nearest
        [VID] 3D texture mipmap filter: nearest
        [VID] Texture anisotropy: 1
        [VID] Texture upscale filter: none
        [VID] Texture upscale xBRZ factor: 0
        [VID] Anti-aliasing kind: none
        [VID] Anti-aliasing value: 1
        [VID] --------------------
        
        [VID] Initializing 3D renderer.
        [VID] Trying to initialize "OpenGL 3.2 core".
        ERROR: [VID] [REN_3D_GL_UTL_MK_CTX_INIT] Failed.
        [VID] Trying to initialize "OpenGL 2.0".
        
        [VID] Device features
        [VID] ===============
        [VID] V-Sync: true
        [VID] V-Sync requires restart: false
        [VID] Texture max dimension: 4096
        [VID] Viewport max width: 4096
        [VID] Viewport max height: 4096
        [VID] Anisotropy: false
        [VID] Anisotropy max degree: 1
        [VID] Non-power-of-two textures: true
        [VID] Mipmap auto-generation: true
        [VID] Samplers: true
        [VID] MSAA: true
        [VID] MSAA (render-to-window): false
        [VID] MSAA requires restart: false
        [VID] MSAA max degree: 4
        [VID] Vertex input max locations: 16
        
        [VID] Initializing shader program.
        [VID] Initializing shader variables.
        
        [VID] Creating texture manager.
        
        [VID] Initializing 2D resources.
        [VID] Creating UI index buffer.
        [VID] Creating UI vertex buffer.
        [VID] Creating UI vertex input.
        [VID] Creating 2D filler index buffer.
        [VID] Creating 2D filler vertex buffer.
        [VID] Creating 2D filler vertex input.
        [VID] Creating UI texture.
        [VID] Creating 2D 1x1 black texture.
        [VID] Creating 2D 1x1 white texture.
        [VID] Creating 2D 1x1 fade texture.
        
        [VID] Initializing 3D flooring.
        [VID] Creating 3D flooring index buffer.
        [VID] Creating 3D flooring vertex buffer.
        [VID] Creating 3D flooring vertex input.
        [VID] Creating 3D flooring 1x1 solid texture.
        
        [VID] Initializing 3D ceiling.
        [VID] Creating 3D ceiling index buffer.
        [VID] Creating 3D ceiling vertex buffer.
        [VID] Creating 3D ceiling vertex input.
        
        [VID] Initializing 3D fade.
        [VID] Creating 3D fade index buffer.
        [VID] Creating 3D fade vertex buffer.
        [VID] Creating 3D fade vertex input.
        [VID] Create 3D fade texture.
        
        [VID] Initializing player's weapon.
        [VID] Creating player's weapon index buffer.
        [VID] Creating player's weapon vertex buffer.
        [VID] Creating player's weapon vertex input.
        [VID] Creating player's weapon sampler.
        
        [VID] Initializing command buffers.
        [VID] Creating common command buffer.
        [VID] Creating 3D command buffer.
        [VID] Creating 2D command buffer.
        [VID] Initializing command buffers.
        
        [VID] Initializing samplers.
        [VID] Creating UI sampler.
        [VID] Creating sprite sampler.
        [VID] Creating wall side sampler.
        [VID] Creating fade sampler.
        
        [VID] Applying texture upscale.
        /opt/retropie/supplementary/runcommand/runcommand.sh: line 1255:  5134 Bus error               SDL_VIDEO_KMSDRM_CRTCID=49 SDL_VIDEO_KMSDRM_MODEID=39 /opt/retropie/ports/bstone/bstone --data_dir /home/pi/RetroPie/roms/ports/bstone/aog
        

        not sure whats going on here

        RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
        RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
        Maintainer of RetroPie-Extra .

        tpo1990T 1 Reply Last reply Reply Quote 0
        • ExarKunIvE
          ExarKunIv @tpo1990
          last edited by

          @tpo1990 ok so i did find the problem. bibendovsky has now got OPENGL in his build. and it does not play nice with the Pi either the Pi3 or Pi4. i am talking with him but we just started so no answer yet. and for some reason we it will not swtich to the software mode to lunch even though it does have a auto detect.

          so the only work around i have found is to build from a older version. 1.1.16 is the last version that only uses software.

          once i get a better answer ill update here

          RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
          RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
          Maintainer of RetroPie-Extra .

          1 Reply Last reply Reply Quote 0
          • R
            RussellB
            last edited by

            I'd like to try to recompile the 1.1.16 source code to try on the RPI4. Is there a location I can go to?

            ExarKunIvE 1 Reply Last reply Reply Quote 0
            • ExarKunIvE
              ExarKunIv @RussellB
              last edited by

              @RussellB https://github.com/bibendovsky/bstone/releases?after=v1.2.0-beta.6

              1.1.16 will be a little down the page

              RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
              RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
              Maintainer of RetroPie-Extra .

              1 Reply Last reply Reply Quote 0
              • R
                RussellB
                last edited by

                @ExarKuniv Thanks. Unfortunately my Linux development skills are not the same as my Windows development skills so reviewing the code I'm a bit lost. Is ther a pre-compiled binary for RPI3/4 1.1.6 somewhere available for download?

                R 1 Reply Last reply Reply Quote 0
                • R
                  RussellB @RussellB
                  last edited by

                  @RussellB said in Blake Stone - BStone source port:

                  @ExarKuniv Thanks. Unfortunately my Linux development skills are not the same as my Windows development skills so reviewing the code I'm a bit lost. Is ther a pre-compiled binary for RPI3/4 1.1.6 somewhere available for download?

                  Ok, now learned how to cmake and make under Linux. :-)

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    RussellB @RussellB
                    last edited by

                    @RussellB said in Blake Stone - BStone source port:

                    @RussellB said in Blake Stone - BStone source port:

                    @ExarKuniv Thanks. Unfortunately my Linux development skills are not the same as my Windows development skills so reviewing the code I'm a bit lost. Is ther a pre-compiled binary for RPI3/4 1.1.16 somewhere available for download?

                    Ok, now learned how to cmake and make under Linux. :-)

                    Just confirming that compiling 1.1.16 and using that works on the RPI4 for Both Aliens of Gold and Planet Strike.

                    ExarKunIvE 1 Reply Last reply Reply Quote 0
                    • ExarKunIvE
                      ExarKunIv @RussellB
                      last edited by

                      @RussellB nice, you are on the way on having more fun.

                      go here.
                      there is a bunch of different ports that you can install now that you know cmake and make.

                      i will be updating my post with how to get the latest version going. i just have been a little lazy the past week or so

                      RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                      RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                      Maintainer of RetroPie-Extra .

                      1 Reply Last reply Reply Quote 0
                      • tpo1990T
                        tpo1990 @ExarKunIv
                        last edited by

                        @ExarKunIv If he has updated his port to a newer version it might break the compatibility with the Pi since the scriptmodule pulls/clones straight from his git repository. Let me see if I get the same result and if the latest version doens't work, then I will look into building a solution.

                        @RussellB Nice, that's how I started out with Linux and Raspberry Pi since I wanted to see what other ports could be run a single board computer such as the Pi. Just keep on learning and eventually you will get there like me. Thanks :-)

                        Greetings from Denmark. :-)

                        Developer of install scripts for ports such as Hexen 2, Return to Castle Wolfenstein and Caesar III. See my other projects at my profile.

                        ExarKunIvE 1 Reply Last reply Reply Quote 0
                        • ExarKunIvE
                          ExarKunIv @tpo1990
                          last edited by

                          @tpo1990 the newest version still works on the pi3 just fine. but the auto select for the video drivers is broken for the Pi.

                          so you need to make a config file called bstone_config.txt

                          and have this in it

                          vid_renderer "software"
                          

                          and you have to drop it into /home/pi/.local/share/bibendovsky/bstone

                          once there is will start just fine.

                          i know i should of updated a while ago, i just got a little lazy. sorry

                          RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                          RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                          Maintainer of RetroPie-Extra .

                          R 1 Reply Last reply Reply Quote 0
                          • R
                            RussellB @ExarKunIv
                            last edited by RussellB

                            @ExarKunIv said in Blake Stone - BStone source port:

                            @tpo1990 the newest version still works on the pi3 just fine. but the auto select for the video drivers is broken for the Pi.

                            so you need to make a config file called bstone_config.txt

                            and have this in it

                            vid_renderer "software"
                            

                            and you have to drop it into /home/pi/.local/share/bibendovsky/bstone

                            once there is will start just fine.

                            i know i should of updated a while ago, i just got a little lazy. sorry

                            Testing that out and will let you know. Whoo hoo. I already have a bstone_config.txt file that says at the top WARNING! This is auto-generated file. Still ok to modify?

                            I got Hurrican working nicely on the RPI4!

                            1 Reply Last reply Reply Quote 0
                            • R
                              RussellB
                              last edited by RussellB

                              Ouch... recompiled from source and broke the current version and when I reverted back to 1.1.16 it is now broken. Apogee splash screen comes up, then bus error. Debug time.

                              Never saw this before and it was working!

                              ALSA lib pcm.c:8424:(snd_pcm_recover) underrun occurred

                              1 Reply Last reply Reply Quote 0
                              • R
                                RussellB
                                last edited by

                                Got 1.2.8 working! Added "vid_renderer" line to a now empty bstone_config.txt and it works... I was able to go into settings and change it to full screen!

                                1 Reply Last reply Reply Quote 0
                                • R
                                  RussellB
                                  last edited by

                                  FYI... 1.2.8 vs. 1.1.16 requires UPPER CASE for the game files. 1.1.16 was case in-sensitive. I can confirm both work now in 1.2.8.

                                  1 Reply Last reply Reply Quote 1
                                  • First post
                                    Last post

                                  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.