drodin / Stratagus

A port of Stratagus real-time strategy gaming engine for Android.
https://drodin.com/stratagus/
GNU General Public License v2.0
44 stars 17 forks source link

Instructions don't work to install Wargus / Android #6

Open danepowell opened 1 year ago

danepowell commented 1 year ago

I'm following the instructions here to install Warcraft II on Android: https://drodin.com/stratagus/

I'm using Wargus v3.3.2 and Stratagus v3.3.2-dev1.

First problem is that the instructions say to copy your data.Wargus folder to Android, which I did. But when Stratagus starts, it asks for a zip file, not a directory. So I compressed that directory, copied it to Android as a zip file, and Stratagus re-extracted it.

Now I've got the icon for Wargus (weirdly, v3.0.0) in Stratagus, but when I try to start it nothing happens. Presumably it's crashing but I don't see log files?

danepowell commented 1 year ago

Ah okay it's working now, the problem was that newer versions of Wargus don't store data in the same location, so I was inadvertently copying v3.0.0 files which apparently don't work with Stratagus v3.3.2-dev1.

Anyway, it would be good if someone could clean up the instructions to specify you need to create a zip file.

Winterwolf9729 commented 1 year ago

Can you tell me how you did it? I'm trying to install it on my Android phone, and it's not working. I moved the file into my Warcraft 2 GOG folder, and when I tried to open it, all I got was this message saying: "Wargus data was not extracted, is corrupted, or outdated. You need to extract it from original Warcraft II DOS REZDAT.WAR or BNE INSTALL.MPO/INSTALL.EXE file. Please select the Warcraft II DOS REZDAT.WAR or BNE INSTALL.MPO/INSTALL.EXE file".

ainodalok commented 1 year ago

@Winterwolf9729 I agree with you, instructions/error messages could be much clearer. I spent 4 hours and finally made it work, and it was well worth it.

So you have to download Wargus-3.3.2.exe and Stratagus-v3.3.2-dev1.apk. Install both, one on Windows and the other on Android device respectively. Launch Wargus on Windows for the first time and you will have to specify the installation file, in your case that would be non-drm setup executable that you download from GOG, I think. This starts the extraction process. Then you go to C:\Users\%USERNAME%\Documents\Stratagus (yep, the folder changed and the instructions on the website are outdated) and zip the data.Wargus folder. Transfer it to your Android device, launch the Stratagus app, point to the zip file and voila. You got it!

Winterwolf9729 commented 1 year ago

@ainodalok, can you specify what you mean by non-drm setup executable that I could download from GOG? I can't figure out what file you're referring to or how to find or obtain it. Do I have to look it up on GOG and then download a file from them, or would it have come with my digital copy of WC2 by default?

ainodalok commented 1 year ago

I don't have Warcraft 2 from GOG, but I suppose when you bought a game there you were provided with an installer executable, no? Something like setup_warcraft_ii.exe. Also, I forgot to add that you should press "No" when prompted with additional extraction from expansion files during the process (those are extracted automatically if you have 90s battle.net edition or GOG copy).

Winterwolf9729 commented 1 year ago

I think so. You think there's a specific file in there that I have to install Wargus into?

On Tue, Feb 28, 2023, 7:36 PM Alexander @.***> wrote:

I don't have Warcraft 2 from GOG, but I suppose when you bought a game there you were provided with an installer executable, no? Something like setup_warcraft_ii.exe.

— Reply to this email directly, view it on GitHub https://github.com/drodin/Stratagus/issues/6#issuecomment-1449243096, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3JHWXYTZZGWJBSHLJT2OY3WZ2Y2PANCNFSM6AAAAAAQ4ECD64 . You are receiving this because you were mentioned.Message ID: @.***>

ainodalok commented 1 year ago

Just follow the steps I described and point to setup executable when asked. Should work.

Winterwolf9729 commented 1 year ago

Alright. I didn't find any file that had such a name, but I'll look more closely and see if I can figure it out.

On Tue, Feb 28, 2023, 7:55 PM Alexander @.***> wrote:

Just follow the steps I described and point to setup executable when asked. Should work.

— Reply to this email directly, view it on GitHub https://github.com/drodin/Stratagus/issues/6#issuecomment-1449254464, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3JHWXY6BDP4IMY6XDMVXMDWZ23BJANCNFSM6AAAAAAQ4ECD64 . You are receiving this because you were mentioned.Message ID: @.***>

ainodalok commented 1 year ago

Ah, I think I know why are you struggling :) Do you by chance use GOG Galaxy launcher? If so, you must be installing the game directly without downloading the actual game installer like it was prior to launcher introduction. So what you have to do is either click on the game in GOG Galaxy, then on top there will be extras tab, that's where you can download the actual offline installer. You can also navigate to GOG.com, open list of your games (it's under your account button on top), click on the game and under big blue install with GOG Galaxy button there will be option to download an offline installer - that's what you need.

Winterwolf9729 commented 1 year ago

Ah, I wondered if the problem was related to being online. I'll try this method.

Winterwolf9729 commented 1 year ago

Hm... I may be making progress, but when I get the offline installer, it doesn't actually install the game. I'm going to continue trying to get the installer to actually install the game file so that I can put wargus in the resulting folder.

ainodalok commented 1 year ago

when I get the offline installer, it doesn't actually install the game

What do you mean by that? You don't need to install the game with that offline installer from GOG or put wargus in any kind of "resulting folders", just follow the steps I've provided in my first comment.

Winterwolf9729 commented 1 year ago

Well, I already tried to install Wargus into the offline installer, but Wargus didn't even show the offline installer as a potential option for installation, possibly because the offline installer isn't in a folder format. Skies and lightning, why did they have to make this so overcomplicated?

Like you instructed, I installed Wargus on my computer, then after you told me to install the offline installer, I did that and then tried to specify to Wargus that I wanted to install it in the offline installer, but I didn't have that as an option, so I don't know what's wrong.

ainodalok commented 1 year ago

I think you kinda mix up what goes where. First of all, you mustn't install the game with that installer from GOG, I never asked that... So, the baseline - you have wargus installer and offline warcraft 2 installer from GOG on your machine - two files, right? First, you double click wargus file and go through the installation process. Then you launch wargus and on first launch it asks for you to provide original cd or gog copy to extract files. That's when you choose that offline warcraft 2 installer and wargus automatically begins extraction.

Winterwolf9729 commented 1 year ago

Okay. I'll try that. Thank you for bearing with me. I'm not so good with computer file processes.

I should let you get back to whatever you're doing, and it's getting late where I am, so I'll have to sleep soon. I'll continue with this project and get back to you later with either my success or if I hit another roadblock.

On Tue, Feb 28, 2023, 8:56 PM Alexander @.***> wrote:

I think you kinda mix up what goes where. First of all, you mustn't install the game with that installer from GOG, I never asked that... So, the baseline - you have wargus installer and offline warcraft 2 installer on your machine - two files, right? First, you double click wargus file and go through the installation process. Then you launch wargus and on first launch it asks for you to provide original cd or gog copy to extract files. That's when you choose that offline warcraft 2 installer and wargus automatically begins extraction.

— Reply to this email directly, view it on GitHub https://github.com/drodin/Stratagus/issues/6#issuecomment-1449293523, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3JHWXZMOSJ4OMCFNQSZD7DWZ3CIXANCNFSM6AAAAAAQ4ECD64 . You are receiving this because you were mentioned.Message ID: @.***>

Winterwolf9729 commented 1 year ago

Okay, I installed Wargus. But instead of launching, it gave me the error message. "Wargus data was not extracted, is corrupted, or outdated. You need to extract it from original Warcraft II DOS REZDAT.WAR or BNE INSTALL.MPO/INSTALL.EXE file. Please select the Warcraft II DOS REZDAT.WAR or BNE INSTALL.MPO/INSTALL.EXE file".

Do you know what to do next?

Winterwolf9729 commented 1 year ago

You still there?

On Tue, Feb 28, 2023, 9:01 PM WarriorofLight @.***> wrote:

Okay. I'll try that. Thank you for bearing with me. I'm not so good with computer file processes.

I should let you get back to whatever you're doing, and it's getting late where I am, so I'll have to sleep soon. I'll continue with this project and get back to you later with either my success or if I hit another roadblock.

On Tue, Feb 28, 2023, 8:56 PM Alexander @.***> wrote:

I think you kinda mix up what goes where. First of all, you mustn't install the game with that installer from GOG, I never asked that... So, the baseline - you have wargus installer and offline warcraft 2 installer on your machine - two files, right? First, you double click wargus file and go through the installation process. Then you launch wargus and on first launch it asks for you to provide original cd or gog copy to extract files. That's when you choose that offline warcraft 2 installer and wargus automatically begins extraction.

— Reply to this email directly, view it on GitHub https://github.com/drodin/Stratagus/issues/6#issuecomment-1449293523, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3JHWXZMOSJ4OMCFNQSZD7DWZ3CIXANCNFSM6AAAAAAQ4ECD64 . You are receiving this because you were mentioned.Message ID: @.***>

Winterwolf9729 commented 1 year ago

I thought I'd try to reach out one more time. I get it if you don't want to help me anymore because you have to hold my hand, and honestly, you've already given me a lot to work with on my own, and maybe I can eventually figure it out, so thanks.

If you're up for it though, what should I do next? Why won't the computer accept the program?

On Wed, Mar 1, 2023, 8:55 PM WarriorofLight @.***> wrote:

You still there?

On Tue, Feb 28, 2023, 9:01 PM WarriorofLight @.***> wrote:

Okay. I'll try that. Thank you for bearing with me. I'm not so good with computer file processes.

I should let you get back to whatever you're doing, and it's getting late where I am, so I'll have to sleep soon. I'll continue with this project and get back to you later with either my success or if I hit another roadblock.

On Tue, Feb 28, 2023, 8:56 PM Alexander @.***> wrote:

I think you kinda mix up what goes where. First of all, you mustn't install the game with that installer from GOG, I never asked that... So, the baseline - you have wargus installer and offline warcraft 2 installer on your machine - two files, right? First, you double click wargus file and go through the installation process. Then you launch wargus and on first launch it asks for you to provide original cd or gog copy to extract files. That's when you choose that offline warcraft 2 installer and wargus automatically begins extraction.

— Reply to this email directly, view it on GitHub https://github.com/drodin/Stratagus/issues/6#issuecomment-1449293523, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3JHWXZMOSJ4OMCFNQSZD7DWZ3CIXANCNFSM6AAAAAAQ4ECD64 . You are receiving this because you were mentioned.Message ID: @.***>

Winterwolf9729 commented 1 year ago

I'm still without the capability to play Warcraft 2 on my phone. I think that the fix might just be as simple as trying to install wargus on an older computer that would be more in line with the file, but either way, I don't have an idea on how to proceed past this issue. The tips I got from ainodalok were really helpful, but it seems the assistance from that he's not willing to help anymore. I don't blame him, but I'm just going to put out this final message and hope that someone else will eventually be able to explain to me how to install wargus on my phone.

To anyone out there, even if you're reading this seven years down the line, please give me the information I need to finish with this task so I can return to the epic battles on Azeroth just by reaching in my pocket!

cricri-pingouin commented 3 months ago

Tried from ISO: PC version worked fine, zipping the file and installing it on Android "worked fine" (i.e. it installed the files and added a launch icon), but launching it failed. Got a warez version of the floppy version, and that works fine. Could do with more info on why it failed to load rather than exiting with no hint as to what went wrong.

Tried with BNE version from GOG and that works too. If like me you use Wargus portable, then you won't get the data folder in %appdata%, instead zip the data folders from within the Wargus portable folder. Those folders are: campaigns\ contrib\ graphics\ maps\ music\ scripts\ shaders\ sounds\ support\ videos\ wc2\

It's possible some of those are not needed, but if you zip those, you'll have what the Android version needs.

Winterwolf9729 commented 3 months ago

Thank you, but I changed my mind. I don’t think it would work very well to play on such a small device after all. But at least I can come back here and look at your answer in case I ever change my mind back. Thanks again.