RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Stratagus Tutorial needed

    Scheduled Pinned Locked Moved Help and Support
    40 Posts 14 Posters 16.4k 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.
    • T
      tien_huu_1408 @timfelgentreff
      last edited by

      @timfelgentreff Hope you could help me extract data step by step. I cannot make Stratagus work. Thanks a lot. Hope to hear from you asap.

      1 Reply Last reply Reply Quote 0
      • C
        CptKlink
        last edited by

        Ya i'm looking for help with this as well along with Wargus. It suprises me that how popular this actually is and nobody has done a useful guide.

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

          @CptKlink wiki can be edited by anyone. Feel free to provide a useful guide to others when you figure it out

          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
          • C
            Corvin
            last edited by Corvin

            Hi! I'm quite new to retropie (as well as to the raspberry) and would need some help with stratagus too....I already got the emulator to show up and show the warcraft 2 folder. But it crashes as soon as is it launched...(goes black for a moment and returns to the Stratagus screen)

            I've installed Wargus on Windows 10 and copied the content of the folder to my Pi 3B (running retropie/emulation station).

            From the Emulation Station Log:
            lvl1: Unknown platform for system "stratagus" (platform "stratagus" from list "stratagus")
            lvl2: Parsing XML file "/home/pi/.emulationstation/gamelists/stratagus/gamelist.xml"...
            lvl1: File ""/home/pi/RetroPie/roms/stratagus/warcraft2.data"" does not exist! Ignoring.

            And here is my file list and what the Pi shows me:

            File List
            RetroPie Screen 1
            RetroPie Screen 2

            Pi Model: 3B
            RetroPie Version Used: 4.1
            Built From: https://github.com/RetroPie/RetroPie-Setup/releases/download/4.1/retropie-> 4.1-rpi2_rpi3.img.gz
            USB Devices connected: Mouse, Bluetooth Keyboard
            Controller used: PS4, Logitech F510

            B C 2 Replies Last reply Reply Quote 0
            • B
              backstander @Corvin
              last edited by backstander

              @Corvin
              That's odd, it says it doesn't exist but from your picture it does exist. Also it's weird that it has 2 sets of quotes around ""/home/pi/RetroPie/roms/stratagus/warcraft2.data"". This seams like a red flag to me but what do i know? ;)

              After you try to launch Stratagus, what is inside the Runcommand log:
              /dev/shm/runcommand.log

              1 Reply Last reply Reply Quote 0
              • C
                CptKlink @Corvin
                last edited by

                @Corvin

                I get the exact same problem. I still haven't been able to figure out how to get wargus properly installed so it will run.

                1 Reply Last reply Reply Quote 0
                • B
                  backstander
                  last edited by backstander

                  Okay so I decided to try to install Stratagus/Wargus (a.k.a.: Warcraft II) because everyone had been talking about it and I wanted to see if I could figure it out.

                  Note: this will not work with the Battle.net Edition of Warcraft II

                  First, you don't get it to work just by copying your Warcraft 2 CD over to your Raspberry Pi. You actually run the Wargus installer from either Windows, Mac OS X or Linux (not sure if it works on an ARM Linux). I did the Windows route and this is how I did it:

                  • Go to the official Wargus website and download the Windows version of Wargus v2.4.1 (there is also a YouTube video on that site showing you how to install this)
                  • Now install Wargus and the installation will ask for your Warcraft II data so point it to your CD (or if you have your data copied to your hard drive then point to there)
                  • (optional) next if you have the Expansion Pack "Beyond the Dark Portal" then point the installer to that data (I don't have this so I skipped this)
                  • At the end of the install you can go ahead and launch Warcraft II to make sure it works and if it does then we're ready to start copying data over to your Raspberry Pi
                  • In Windows navigate to "C:\Program Files (x86)\Wargus" or "C:\Program Files\Wargus" and only copy the sub-directories to /home/pi/RetroPie/roms/stratagus/warcraft2.data on your Raspberry Pi

                  The sub-directories that need to be copied are as followed:

                  • campaigns
                  • graphics
                  • maps
                  • music
                  • scripts
                  • sounds
                  • videos

                  Booyah!

                  herb_fargusH C C 3 Replies Last reply Reply Quote 1
                  • herb_fargusH
                    herb_fargus administrators @backstander
                    last edited by

                    @backstander would be a great addition on the wiki as forum posts tend to get lost

                    https://github.com/retropie/retropie-setup/wiki/Stratagus

                    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

                    B 2 Replies Last reply Reply Quote 1
                    • B
                      backstander @herb_fargus
                      last edited by backstander

                      @herb_fargus
                      Good idea, I'll wait for a little feed back to see if I need to make a correction or 2 and then I'll post it later this weekend :)

                      So anyone that can get this working, please let me know or if you have a questions, also let me know so I can update the post and then put it up on the official wiki.

                      1 Reply Last reply Reply Quote 0
                      • C
                        Corvin @backstander
                        last edited by Corvin

                        @backstander
                        Sadly, that didn't work for me, I still get a crash. But the runcommand.log seems promising. I think I am missing a file called "libmikmod.so.3":

                        Parameters: 0 _SYS_ stratagus /home/pi/RetroPie/roms/stratagus/warcraft2.data
                        Executing: /opt/retropie/emulators/stratagus/stratagus -F -d "/home/pi/RetroPie/roms/stratagus/warcraft2.data"
                        /opt/retropie/emulators/stratagus/stratagus: error while loading shared libraries: libmikmod.so.3: 
                        cannot open shared object > file: No such file or directory
                        

                        Looks like this file is somehow linked to a music player: https://www.rpmfind.net/linux/rpm2html/search.php?query=libmikmod.so.3

                        And regarding the sub-directories in your post and the addition to the wiki: I'm working with a Windows 10 Wargus install and dont have a folder called "video". Instead, I got two folders your list is missing: "shaders" and "contrib". Maybe the folder structure slightly differs on Linux and Windows?

                        Pi Model: 3B
                        RetroPie Version Used: 4.1
                        Built From: https://github.com/RetroPie/RetroPie-Setup/releases/download/4.1/retropie-> 4.1-rpi2_rpi3.img.gz
                        USB Devices connected: Mouse, Bluetooth Keyboard
                        Controller used: PS4, Logitech F510

                        1 Reply Last reply Reply Quote 0
                        • C
                          CptKlink @backstander
                          last edited by

                          @backstander

                          That worked for me perfectly thxs. The creators of this engine and work do good work but are kinda disorganized. They say they have 3 or 4 different official locations to download their work but every location is hosting a different version. And from reading around I learned that out of the 4 only one of the versions will work doing this work around useing windows to get the needed files from the game. That is version 2.4.1 from the site/link backstander has posted all other versions will result in a black screen and crash back to the game selection screen.

                          @Corvin

                          That maybe your problem did you use version 2.4.1 of wargus? But thats just a wild guess. Its most likely you don't have one or more of the dependencies installed to get the game to run.

                          C 2 Replies Last reply Reply Quote 0
                          • C
                            Corvin @CptKlink
                            last edited by

                            @CptKlink
                            I'm using 2.4.1, downloaded it yesterday from https://wargus.github.io/

                            I'll download it again now and post results.

                            Pi Model: 3B
                            RetroPie Version Used: 4.1
                            Built From: https://github.com/RetroPie/RetroPie-Setup/releases/download/4.1/retropie-> 4.1-rpi2_rpi3.img.gz
                            USB Devices connected: Mouse, Bluetooth Keyboard
                            Controller used: PS4, Logitech F510

                            1 Reply Last reply Reply Quote 0
                            • C
                              CptKlink
                              last edited by

                              Now i ran in to another problem. I jad the game running and working but i desided to try and turn on some of the in game settings and now i'm getting the black screen and crash again. I tried just deleting the whole wargus folder and re-transfering the default game back over but that diden't fix it.

                              Anybody know where the settings file would be located?

                              B 1 Reply Last reply Reply Quote 0
                              • C
                                Corvin @CptKlink
                                last edited by

                                @CptKlink

                                Just reinstalled it on Windows and tested it again on the raspberry. My file structure is now looking exactly like it should (with the video folder and without the contrib and shader folders). Maybe I've used the unstable build on the first try, now I've been using 2.4.1 stable. Works like a charm under Windows.

                                But It wont work on the raspberry. I still get the libmikmod.so.3 error :(

                                Pi Model: 3B
                                RetroPie Version Used: 4.1
                                Built From: https://github.com/RetroPie/RetroPie-Setup/releases/download/4.1/retropie-> 4.1-rpi2_rpi3.img.gz
                                USB Devices connected: Mouse, Bluetooth Keyboard
                                Controller used: PS4, Logitech F510

                                1 Reply Last reply Reply Quote 0
                                • C
                                  CptKlink
                                  last edited by

                                  this is the error i'm getting now.

                                  Parameters: 
                                  Executing: /opt/retropie/emulators/stratagus/stratagus -F -d "/home/pi/RetroPie/roms/stratagus/wargus.data"
                                  Couldn't set 1024x768x32 video mode: OpenGL not available
                                  1 Reply Last reply Reply Quote 0
                                  • C
                                    CptKlink
                                    last edited by

                                    Yep all this work trying to get it running and now its broken for me. I just tried deleting everything i can find for stratagus and wargus and reinstalling it all and still getting the same error.

                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      backstander @CptKlink
                                      last edited by backstander

                                      @CptKlink

                                      Anybody know where the settings file would be located?

                                      I did some searching on my Pi and I found this file with settings in it:
                                      /home/pi/.stratagus/wc2/preferences.lua

                                      Maybe try editing that or deleting it and see if it will recreate it with defaults when you run Stratagus.

                                      Update

                                      I just move that preferences.lua file somewhere else and then ran Stratagus and it recreated it with the defaults.

                                      C 1 Reply Last reply Reply Quote 0
                                      • C
                                        CptKlink @backstander
                                        last edited by CptKlink

                                        @backstander said in Stratagus Tutorial needed:

                                        /home/pi/.stratagus/wc2/preferences.lua

                                        hate to ask a noob question but what does the . mean in front of stratagus in /home/pi/.stratagus/wc2/preferences.lua ?

                                        Update

                                        Nevermind I found it I forgot to set WinSCP to show hidden files and folders.

                                        B 1 Reply Last reply Reply Quote 0
                                        • B
                                          backstander @CptKlink
                                          last edited by

                                          @CptKlink

                                          hate to ask a noob question but what does the . mean in front of stratagus in /home/pi/.stratagus/wc2/preferences.lua ?

                                          Unix OS's use this to indicate a "hidden directory"

                                          1 Reply Last reply Reply Quote 0
                                          • C
                                            CptKlink
                                            last edited by

                                            One problem to another. Got it all working now but now i can't move my character's.

                                            H 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.