OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio


Welcome Guest ( Log In | Register )

> WarCraft on the Zaurus (640x480)? "FreeCraft" or &
Have you ever played WarCraft 2 (on any computer)?
Have you ever played WarCraft 2 (on any computer)?
Yes, I loved it! [ 87 ] ** [73.11%]
Yes, so-so... [ 13 ] ** [10.92%]
Yes, didn't like it. [ 0 ] ** [0.00%]
No [ 19 ] ** [15.97%]
Total Votes: 64
Guests cannot vote 
post May 5 2004, 02:03 PM
Post #1

Group: Members
Posts: 554
Joined: 19-April 04
From: Keokuk, Iowa
Member No.: 2,897

Did I get your attention? smile.gif There are opensource movements to get a WarCraft II clone. (I wasn't sure which forum to put this in)

This thread is for discussing that. It is a break-off from the http://www.zaurususergroup.com/index.php?n...er=asc&start=15 thread.

Here's the last comment I made in that thread.

Anyone want to try recompiling FreeCraft (now known as Stratagus) for the Zaurus?

http://packages.debian.org/unstable/games/freecraft <-- Already compiled for ARM?


http://sourceforge.net/search/ (search for "stratagus")

This is the open-source version of "War Craft II". Anyone else drooling over the idea of having War Craft II (rated the best computer games for a number of years) on their Zaurus?
Go to the top of the page
+Quote Post
Start new topic
post May 10 2004, 12:28 AM
Post #2

Group: Members
Posts: 80
Joined: 23-February 04
From: Tokyo, Japan
Member No.: 2,006

I have attempted unsuccessfully to run stratagus on my Zaurus SL-C760 with Sharp ROM 1.20 JP. In the process, I learned a few things that I hope to pass on to others more knowledgeable than myself (I am not a computer programmer, but an end user).
First, I believe I was successful in converting the Warcraft2 data to the data.wc2 directory using the wargus program on Windows 2000. The Windows version of wargus can be downloaded from the following URL:


It is important that one use the build.bat application and NOT the wartool.exe application. When I tried using the latter, it created a "data" folder that was not compatible. Instead, by issuing the command "build.bat /warcraft2", I was able to generate a "data.wc2" directory that appeared to be in the proper format (it will create this directory within the wargus directory). The total generated output was a 13.4 MB directory. Note that I did not use the original CD-ROM, nor is the original CD-ROM necessary. I had a version of Warcraft2 that was installed on my harddrive so that it could run independent of the CD-ROM. What is most important are the data files it is looking for in the "DATA" directory of the Warcraft2 game.

After bringing this "data.wc2" directory into my Zaurus on an SD card, I turned to getting the stratagus binary file to work. I downloaded the Zaurus compiled version provided above at the following URL:


Attempts to run the program were unsuccessful. At first, I received repeated error messages about lacking the lua library. After installing the lua library files I downloaded at the URL below, I was able to get past these errors:


The SDL library is also essential, but I am not sure what version works (best). I am using libsdl_1.2.5-slzaurus20031118_arm.ipk since it appears to work best for my other applications on a SL-C760. If I use 1.2.6, prboom does not display correctly on a Zaurus 7x0. I tried installing 1.2.6 to see if stratagus would work, but I was unsuccessful in getting it to run with any of these versions of SDL.
When I execute the program using the command "./stratagus -d /mnt/card/data.wc2 -v 1", the screen briefly flickers, then it displays:

SlSharedManager: can't get proc entry
Display size= 480x680

I have experimented with the various parameters, but have not been able to get the program to run. I suspect that it is a display problem, perhaps related to SDL, but specifically related to the SL-C7x0 series. The others who have reported success runing stratagus were running it on earlier models. I thank ced for compiling the Linux Zaurus binary file, but I can't help wondering if the source code needs to be hacked/edited so it is optimized for a SL-C7x0.

I would welcome any assistance or advice from those who have greater experiencing with SDL and the unique display properties of the SL-C7x0. Thank you.
Go to the top of the page
+Quote Post

Posts in this topic
TonyOlsen   WarCraft on the Zaurus (640x480)? "FreeCraft" or &   May 5 2004, 02:03 PM
omega   Hey Tony, I will be very interested in trying to ...   May 6 2004, 12:48 AM
omega   Would it be at all feasible to try and get the ori...   May 6 2004, 12:49 AM
TonyOlsen   QUOTEHave you checked out ScummVM? I installed it...   May 6 2004, 05:25 AM
TonyOlsen   Has anyone tried going to the one link above where...   May 6 2004, 05:25 AM
ced   I've compiled SDL 1.2.7 and I've tried to compile ...   May 6 2004, 07:35 AM
TonyOlsen   Let's get the post-er of that source code involved...   May 6 2004, 07:55 AM
amrein   http://packages.debian.org/unstable/games/freecraf...   May 6 2004, 08:50 AM
ced   I've finally compiled Stratagus, anyone want it? D...   May 7 2004, 03:10 AM
ronba   You must use CD warcraft2 version DOS and wargus-2...   May 7 2004, 04:27 AM
Ethereal   QUOTEI've finally compiled Stratagus, anyone want ...   May 7 2004, 04:41 AM
ced   I've tried to load the game "magnant" but I haven'...   May 7 2004, 05:37 AM
BalroG   Woohoo! This sounds great! A nicely documented pr...   May 7 2004, 06:11 AM
TonyOlsen   I can't get the wartool.exe to create the data.wc2...   May 7 2004, 11:16 AM
TonyOlsen   I tried running the stratagus attached to this for...   May 7 2004, 11:34 AM
bluedevils   libz.so and libz.so.1 is part of a compression lib...   May 7 2004, 11:43 AM
TonyOlsen   QUOTEYou need the SDL and Lua libraries on your sy...   May 7 2004, 11:45 AM
TonyOlsen   QUOTElibz.so and libz.so.1 is part of a compressio...   May 7 2004, 11:50 AM
TonyOlsen   Ah.... http://www.killefiz.de/zaurus/showdetail.ph...   May 7 2004, 11:55 AM
TonyOlsen   Ok... now it says: CODE./stratagus: error whi...   May 7 2004, 12:13 PM
TonyOlsen   I downloaded the Lua libraries ( lua_0.4_arm.ipk ...   May 7 2004, 01:01 PM
tecknobabble   QUOTEOk... now it says: CODE./stratagus: erro...   May 7 2004, 01:10 PM
tecknobabble   Make no promises about this as I've not tried/test...   May 7 2004, 01:32 PM
TonyOlsen   Any ideas why WarGus doesn't create the needed .wc...   May 7 2004, 08:09 PM
Ethereal   OK, I've installed libSDL-1.2.so.0 and the liblua....   May 7 2004, 09:22 PM
zbones   Ok, I get different errors to you, I already had z...   May 8 2004, 02:17 AM
zbones   QUOTEI downloaded the Lua libraries ( lua_0.4_arm....   May 8 2004, 02:53 AM
TonyOlsen   Do you have the needed Data.wc2 director/file? I ...   May 8 2004, 05:43 AM
Ethereal   zBones: I think you want to use -v 1, not -v 6 (wh...   May 8 2004, 05:44 AM
Ethereal   Tony Olsen: I D/L'd (from http://wargus.sourcefor...   May 8 2004, 05:53 AM
TonyOlsen   I suspect the lua driver I found on the web (see a...   May 8 2004, 06:05 AM
TonyOlsen   Ethereal, That's the difference. About 10 years...   May 8 2004, 06:23 AM
Ethereal   Auughh! My worst nightmare--the silent failure! ...   May 8 2004, 07:49 AM
lucho   I couldn't make the stratagus binary posted here r...   May 8 2004, 08:50 AM
zbones   I tried running it with the bos data pack (which w...   May 8 2004, 09:37 AM
zbones   QUOTEI think the problem is the screen resolution....   May 8 2004, 09:49 AM
lucho   Here is my binary. It doesn't depend on SDL or lua...   May 8 2004, 09:49 AM
lucho   I just compiled stratagus to use shared libSDL and...   May 8 2004, 10:12 AM
zbones   QUOTEI just compiled stratagus to use shared libSD...   May 8 2004, 10:38 AM
lucho   I had to create 8MB swap file in order to play it....   May 8 2004, 10:48 AM
TonyOlsen   The latest ipk (posted above) works without the lu...   May 8 2004, 11:55 AM
lucho   TonyOlsen, Which version of SDL do you have insta...   May 8 2004, 12:02 PM
TonyOlsen   QUOTEWhich version of SDL do you have installed? ...   May 8 2004, 12:40 PM
lucho   TonyOlsen, Try http://prdownloads.sourceforge.net...   May 8 2004, 01:08 PM
TonyOlsen   lucho, So, I take it I'm using the wrong version...   May 8 2004, 01:12 PM
lucho   I don't know what the other two libraries do, but ...   May 8 2004, 01:14 PM
zbones   I found the stuff for rotating and changing displa...   May 8 2004, 01:18 PM
TonyOlsen   QUOTECode:    * SDL_FB_SIZE=XRESxYRES(@...   May 8 2004, 06:08 PM
demosthenes   you can run from the command line CODEexport SDL_...   May 8 2004, 07:06 PM
Ethereal   lucho, Do your binaries include ced's -v 6 hack f...   May 9 2004, 04:22 AM
TonyOlsen   ok, I created war2.sh which contains: CODEexport ...   May 9 2004, 04:46 AM
lucho   Ethereal, It doesn't. I can try putting it -- do ...   May 9 2004, 04:55 AM
Ethereal   lucho, Probably 240x320 would be better. Thanks.   May 9 2004, 05:08 AM
lucho   Oh well, just in case you really need 320x240 -- 6...   May 9 2004, 05:17 AM
Ethereal   lucho, I think I need a bigger swapfile (currentl...   May 9 2004, 05:54 AM
joeldc13   Can someone post a screenshot ?   May 9 2004, 10:11 AM
TonyOlsen   QUOTETonyOlsen, Can you run stratagus from the c...   May 9 2004, 10:21 AM
TonyOlsen   I tried it with single qutoes: CODEStratagus defa...   May 9 2004, 10:24 AM
TonyOlsen   I obtained a copy of the data.wc2 directory and re...   May 9 2004, 01:32 PM
TonyOlsen   Per request, here are my images of what I'm able t...   May 9 2004, 02:39 PM
lucho   TonyOlsen, I am on the fourth level (Human Campai...   May 9 2004, 02:40 PM
TonyOlsen   lucho, Do you know of any differences between yo...   May 9 2004, 02:52 PM
lucho   TonyOlsen, SL-C760, one of the first cacko QTopi...   May 9 2004, 02:57 PM
TonyOlsen   That sounds close enough to mine. My problem only...   May 9 2004, 03:59 PM
Ethereal   OK, I don't know if it's ever going to be playable...   May 9 2004, 06:26 PM
jagrka   I have attempted unsuccessfully to run stratagus o...   May 10 2004, 12:28 AM
TonyOlsen   In this thread, there is a later version of Strata...   May 10 2004, 01:26 AM
TonyOlsen   I uninstalled my previosu version of the SDL libra...   May 10 2004, 01:43 AM
ced   TonyOlsen "luco" has compiled stratagus staticall...   May 10 2004, 01:44 AM
TonyOlsen   Yes, I used that version of stratagus. The file s...   May 10 2004, 01:51 AM
jagrka   I was wondering if someone could show me the text ...   May 10 2004, 07:25 AM
Ethereal   QUOTEEverytime I run stratagus, I run out of memor...   May 10 2004, 07:36 AM
jdralphs   'Jumping on the bandwagon a little late so I'm not...   May 10 2004, 07:39 AM
TonyOlsen   It sounds like low memory (32 MB and less) Zauri n...   May 10 2004, 08:28 AM
jdralphs   lol -- thanks!   May 10 2004, 08:36 AM
Ethereal   QUOTE'Jumping on the bandwagon a little late so I'...   May 10 2004, 08:48 AM
Ethereal   QUOTEOn that note, is it possible that stratagus i...   May 10 2004, 08:49 AM
TonyOlsen   I compared the list of files from my data.wc2 dire...   May 10 2004, 10:43 AM
lucho   Just to finish the job, I created an ipk with the ...   May 10 2004, 11:39 AM
TonyOlsen   Thanks, Lucho! I copied over the missing files a...   May 10 2004, 11:58 AM
TonyOlsen   In the words of my favorite little WarCraft2 peon:...   May 10 2004, 02:21 PM
TonyOlsen   I recieved another data.wc2 directoy and this one ...   May 10 2004, 05:06 PM
jagrka   I was able to get the Stratagus to work on my Zaur...   May 10 2004, 05:50 PM
Ethereal   QUOTEI'm going to try to create a swap file. Can ...   May 10 2004, 06:12 PM
008   .   May 10 2004, 11:57 PM
008   .   May 10 2004, 11:59 PM
ngok   my condiction is as same as jagrka's and get the s...   May 11 2004, 05:20 AM
TonyOlsen   I logged in as su and then successfully created a ...   May 11 2004, 05:50 AM
TonyOlsen   Further testing... when I click on the Gold Mine f...   May 11 2004, 05:57 AM
ced   can someone grab aleona (new freecraft) from cvs a...   May 11 2004, 06:00 AM
TonyOlsen   QUOTEto me the problem is:how to right click? I d...   May 11 2004, 06:05 AM
lucho   TonyOlsen, Try to disable the sound from the game...   May 11 2004, 06:33 AM
TonyOlsen   I disabled it a while ago (I was thinking the same...   May 11 2004, 07:11 AM
jagrka   TonyOlsen, Try running the stratagus binary from ...   May 11 2004, 08:46 AM
TonyOlsen   /opt/QtPalmtop/lib/stratagus ... ah... so that's ...   May 11 2004, 08:56 AM
jagrka   TonyOlsen, Perhaps lucho has a better explanation...   May 11 2004, 09:10 AM
TonyOlsen   (Weird... it appears that /opt/QtPaltmop/lib and /...   May 11 2004, 09:18 AM
TonyOlsen   Using KCommander I created a symlink called straga...   May 11 2004, 09:32 AM
TonyOlsen   I think I created my stratagus symlink incorrectly...   May 11 2004, 09:36 AM
TonyOlsen   aha! What I copied was the actual stratagus exect...   May 11 2004, 09:37 AM
3 Pages V   1 2 3 >

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 20th May 2018 - 09:36 PM