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

    Possible to port GridWars 2

    Scheduled Pinned Locked Moved General Discussion and Gaming
    55 Posts 7 Posters 9.3k 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.
    • cyperghostC
      cyperghost
      last edited by cyperghost

      This game would be the perfect game for retro-gaming.
      Because you control fire movment and ship movement independent :)
      Hats move Fire, Axis move Ship... I think that would slowdown the PI3 ;)

      But if one asks - what is a retro game?
      Then the answer is: GridWars

      • Vector Grafik
      • Chipsounds
      • No game story
      • You fight alone against tons of enemys and ...
      • It's a space game (or a grid space)

      Watch video

      Download here
      http://gridwars.marune.de/

      1 Reply Last reply Reply Quote 0
      • BuZzB
        BuZz administrators
        last edited by

        I don't think that is open source - or at least there are no links for the source on the site.

        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

        herb_fargusH 1 Reply Last reply Reply Quote 0
        • herb_fargusH
          herb_fargus administrators @BuZz
          last edited by herb_fargus

          @BuZz yep I couldnt find anything either. It s a super cool game though a port for the pi would be great, i emailed the dev to see if the source is somewhere or if he wants to port it to the pi

          If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

          Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

          1 Reply Last reply Reply Quote 0
          • cyperghostC
            cyperghost
            last edited by cyperghost

            @herb_fargus @BuZz
            Well thank you for your comments (and congrats to RetroPie 4 - it's running fine) :)
            I did a bit of investigation. Gridwars was written in Blitz Basic, there seems a port for this language available for RPi.

            More investigation:
            The first link seems to be a port/fork of an older version (4.1), version 5.3 seems to be the latest. The original author is Mark Incitti.
            So here some interesting links

            • The authors page with more games and a contact adress http://www.incitti.com/Blitz/
            • Description page with latest download (Windows version) http://worldofstuart.excellentcontent.com/grid/wars.htm

            Asking doesn't cost anything and maybe the author loves retro-gaming :)


            Windows version from World of Stuart contains source code (bmx files)

            herb_fargusH 1 Reply Last reply Reply Quote 0
            • herb_fargusH
              herb_fargus administrators @cyperghost
              last edited by

              @cyperghost dev got back to me said if we can compile blitzmax on the pi we can use the .bmx files from gridwars2 and in theory should work

              If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

              Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

              1 Reply Last reply Reply Quote 0
              • herb_fargusH
                herb_fargus administrators
                last edited by herb_fargus

                Alright so just a quick summary of how far I've gotten:

                It seems there are two things that might be able to be used as the "engine" if you will:

                https://github.com/blitz-research/blitzmax

                https://github.com/bmx-ng/bmk

                I used the raspberry pi binary here: http://www.bmx-ng.com/main/downloads/

                Then I used the source code of the gridwars game (the version that has the .bmx files in it)

                and tried to compile with: ./bmk makeapp -t console -r /home/pi/Gridwars/gridwars.bmx

                But alas twas not to be and it gave a few errors (possible api change between the version of the game and the version of blitzmax - similar to the issues we were having with the love2d engine)

                compile failed at 80% with Type TImage not found and Identifier 'plot' not found

                might need some cajoling to figure out. Might be as simple as compiling a the bmk file to match whatever version gridwars is at and in theory should work but can't quite figure out how to compile a working bmk

                post on the blitzbasic forums for reference: http://www.blitzbasic.com/Community/posts.php?topic=106797

                If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

                cyperghostC 2 Replies Last reply Reply Quote 2
                • cyperghostC
                  cyperghost @herb_fargus
                  last edited by cyperghost

                  @herb_fargus
                  Your effords sounds good. If the compiler is starting, then there is a real chance, that all needed libaries are included. Maybe it's really just an api change. The game is from 2006 (??) and the blitzmax was ported 2013.

                  Maybe Mr. Incitti used some special or unusual commands in his game.
                  Please keep up the good work :)

                  1 Reply Last reply Reply Quote 0
                  • cyperghostC
                    cyperghost @herb_fargus
                    last edited by

                    @herb_fargus
                    Wow I See effords in this project. I am looking to your second thread in blitzbasic forum. Thank you for taking your time to deal with that

                    1 Reply Last reply Reply Quote 0
                    • herb_fargusH
                      herb_fargus administrators
                      last edited by

                      source for the game is here: https://github.com/mmatyas/GridWars and it compiles but has some runtime errors. but the game does start and load.

                      If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                      Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

                      1 Reply Last reply Reply Quote 1
                      • cyperghostC
                        cyperghost
                        last edited by cyperghost

                        Wow :) You rock! Thank you so much....
                        Can you please provide the compiled game?
                        There is a lot of thing to do for compiling this game :(

                        Is the gameplay nice and enjoyable on a Pi?

                        herb_fargusH 1 Reply Last reply Reply Quote 0
                        • herb_fargusH
                          herb_fargus administrators @cyperghost
                          last edited by

                          @cyperghost I don't know. It's still developmental and not in a playable state. Read through the readme and give it a go if you want to try it out and debug. I don't have the time to mess with code all that much so feel free to brush up on your BASIC coding skills.

                          If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                          Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

                          1 Reply Last reply Reply Quote 0
                          • fluffypillowF
                            fluffypillow
                            last edited by

                            I was playing around a bit on a Pi 3, but currently the game is way too broken:

                            • setting are not saved properly on exit (but you can edit them manually)
                            • changing screen resolution ingame produces black screen (you have to manually kill the process)
                            • screen resolution setting doesn't work properly, just makes the "content" bigger of smaller in the upper left corner
                            • windowed mode setting doesn't work and it's always fullscreen
                            • it seems the mouse input also controls the desktop behind the game; if you accidentally bring up a right-click menu or a logout/shutdown dialog, the system may freeze
                            • it seems the game engine uses software rendering, and so even the intro screen can be slow on big resolutions
                            • if you start a new game after playing already, the game freezes
                            • moving the mouse can cause graphical glitches
                            • there's no sound

                            If you want to try it, here's the binary: https://github.com/mmatyas/GridWars/releases

                            1 Reply Last reply Reply Quote 0
                            • herb_fargusH
                              herb_fargus administrators
                              last edited by

                              Also full disclosure @fluffypillow is the genius that got things sorted. I just bugged him about it and he got it to compile so I take no responsibility for any progress on my account ;)

                              If you run RetroPie on a pc gridwars works fine that way. The code just isn't super happy wirh opengles on the pi without some more work on the code.

                              If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                              Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

                              1 Reply Last reply Reply Quote 0
                              • S
                                spud11
                                last edited by

                                Sorry to bump a very old thread, but it appears better to do that than start a new one to give some consistency. I was just wondering how you got this to work @fluffypillow. I understand that it definitely won't work perfectly.

                                Do you just download the binary from https://github.com/mmatyas/GridWars/releases and execute it or did you also need to compile the source code too? If you needed to do the latter, did you place the binary in the same directory/folder as the compiled source code and run it?

                                I'm on a rpi 3B but still using jessie.

                                RetroPie v4.4.1 • RPi3 Model B • 5.1V 2.5A PSU • 32GB SanDisk Extreme microSD • 2TB Toshiba Canvio Basics Portable USB 3.0 hard drive • 4 x DragonRise USB Arcade joysticks • 2 x TurboTwist spinners • 1 x USB trackball • 1 x PS4 wireless • 1 x 8BitDo Zero

                                herb_fargusH fluffypillowF 2 Replies Last reply Reply Quote 0
                                • herb_fargusH
                                  herb_fargus administrators @spud11
                                  last edited by

                                  @spud11 at least in my experience with it it would start to run and then quickly crash. I wouldn't consider it playable on its current state on the pi

                                  If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                                  Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

                                  1 Reply Last reply Reply Quote 0
                                  • fluffypillowF
                                    fluffypillow @spud11
                                    last edited by

                                    @spud11 If I remember correctly, you have to clone/download the git repo ("Source code" on the releases page is fine too), as that contains the game assets. Then download the binary, place it into this directory and run. Shouldn't need to compile anything, the binary on that page is already compiled for you. But I can take a look tomorrow if it still fails.

                                    S 1 Reply Last reply Reply Quote 0
                                    • S
                                      spud11 @fluffypillow
                                      last edited by

                                      @fluffypillow @herb_fargus Thanks for your replies, guys. Must admit I haven't even been able to get it to run at all. I've copied the gridwars-armhf-rel file into a folder together with all of the source files. The binary is executable. I've run the binary straight from commandline using sudo /bin/bash gridwars-armhf-rel with the result gridwars-armhf-rel: gridwars-armhf-rel: cannot execute binary file.

                                      RetroPie v4.4.1 • RPi3 Model B • 5.1V 2.5A PSU • 32GB SanDisk Extreme microSD • 2TB Toshiba Canvio Basics Portable USB 3.0 hard drive • 4 x DragonRise USB Arcade joysticks • 2 x TurboTwist spinners • 1 x USB trackball • 1 x PS4 wireless • 1 x 8BitDo Zero

                                      mituM cyperghostC 2 Replies Last reply Reply Quote 0
                                      • mituM
                                        mitu Global Moderator @spud11
                                        last edited by

                                        @spud11 Which folder have you copied into ? Looks like an error related to the filesystem mount options, usually you get this when the filesystem is mounted with the noexec option.

                                        S 1 Reply Last reply Reply Quote 0
                                        • S
                                          spud11 @mitu
                                          last edited by

                                          @mitu Seems a bit strange because I haven't used noexec option anywhere. All files appear in the /home/pi/RetroPie/roms/gridwars2 folder that I have created and I'm just trying to start the file from commandline.

                                          RetroPie v4.4.1 • RPi3 Model B • 5.1V 2.5A PSU • 32GB SanDisk Extreme microSD • 2TB Toshiba Canvio Basics Portable USB 3.0 hard drive • 4 x DragonRise USB Arcade joysticks • 2 x TurboTwist spinners • 1 x USB trackball • 1 x PS4 wireless • 1 x 8BitDo Zero

                                          mituM 1 Reply Last reply Reply Quote 0
                                          • mituM
                                            mitu Global Moderator @spud11
                                            last edited by

                                            @spud11 Have you made the file executable (chmod +x gridwards-armhf-rel) ? Note that you should run it via ./gridwars-armhf-rel, not with sudo bash ....

                                            S 1 Reply Last reply Reply Quote 0
                                            • 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.