Poll

Have you ever played WarCraft 2 (on any computer)?

Yes, I loved it!
87 (73.1%)
Yes, so-so...
13 (10.9%)
Yes, didn't like it.
0 (0%)
No
19 (16%)

Total Members Voted: 61

Author Topic: WarCraft on the Zaurus (640x480)? "FreeCraft" or &  (Read 141641 times)

Ethereal

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • http://
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #75 on: May 10, 2004, 12:48:01 pm »
Quote
\'Jumping on the bandwagon a little late so I\'m not 100% sure this question hasn\'t been asked before but it has to be asked.  Would it be possible to run Stratagus on the SL-5500?


Actually, SL-5500 might have an advantage, since it has 64MB of physical RAM, and I know there are ROMs out there that use all 64MB as RAM.  Screen size issue might still hose you, though...

(I still haven\'t tried Stratagus 320x240 landscape...)
SL-6000L, Sharp ROM 1.12;
Socket Rev 2.5 CF Bluetooth::SE T608;
Sandisk 512MB SD, formatted ext2;
Pocketop IR Keyboard

Ethereal

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • http://
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #76 on: May 10, 2004, 12:49:53 pm »
Quote
On that note, is it possible that stratagus is crashing/freezing on mine because my 64 MB RAM (SL-C860) isn\'t enough?  (I don\'t have a swap file... at least, not that I know of).


It couldn\'t hurt, especially with that big ol\' CF card of yours...
SL-6000L, Sharp ROM 1.12;
Socket Rev 2.5 CF Bluetooth::SE T608;
Sandisk 512MB SD, formatted ext2;
Pocketop IR Keyboard

TonyOlsen

  • Hero Member
  • *****
  • Posts: 554
    • View Profile
    • http://www.userdimensions.com/Tony/Resume.html
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #77 on: May 10, 2004, 02:43:59 pm »
I compared the list of files from my data.wc2 directory and the directory listing sent to me by Lucho.  (Thanks, Lucho!  ).

There are 2 differences.  My data.wc2 diretory is missing the following:

Code: [Select]
[b]/graphics/ui/ore,stone,coal.png[/b] file

The entire [b]/scripts/scripts[/b] directory (this contains a few dozen lua files and directories)


Perhaps this is causing my problem.  Specifically, when I click on the unit, maybe it is attempting to load up one of the lua files and can\'t find it... hence the crash/freeze.

I\'ll try to obtain the missing files and see if that makes the difference.
Tony Olsen
Ferris@Myself.Com
Resume
Zaurus SL-C860 QTopia
2 GB Static CF
1 GB MMC (although it isn't working yet)
My Quest: To get an x86 emulator working on my Zaurus and to have my Zaurus replace my laptop as my MAIN computer
Publically available Videos for the default Zaurus SL-C860 video player

lucho

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
    • http://
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #78 on: May 10, 2004, 03:39:05 pm »
Just to finish the job, I created an ipk with the stratagus executable. You can download it from here:stratagus_2.0.0-1_arm.ipk

The executable expects the data directory to be located in /opt/QtPalmtop/lib/stratagus. You can still override it using -d parameter.

I don\'t think I\'ll do anything else regarding stratagus soon -- there are other doomed products besides Zaurus that need my attention ... ;)

TonyOlsen

  • Hero Member
  • *****
  • Posts: 554
    • View Profile
    • http://www.userdimensions.com/Tony/Resume.html
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #79 on: May 10, 2004, 03:58:13 pm »
Thanks, Lucho!

I copied over the missing files and now I\'m able to click on a character and have the menu on the left appear... but the game then freezes when I tell the unit to \"Go\" and then click on the mine.

I suspect my data.wc2 directory is bad.  Maybe the files I replaced are a different version from the ones I already had.  I\'ll keep playing around with it...
Tony Olsen
Ferris@Myself.Com
Resume
Zaurus SL-C860 QTopia
2 GB Static CF
1 GB MMC (although it isn't working yet)
My Quest: To get an x86 emulator working on my Zaurus and to have my Zaurus replace my laptop as my MAIN computer
Publically available Videos for the default Zaurus SL-C860 video player

TonyOlsen

  • Hero Member
  • *****
  • Posts: 554
    • View Profile
    • http://www.userdimensions.com/Tony/Resume.html
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #80 on: May 10, 2004, 06:21:16 pm »
In the words of my favorite little WarCraft2 peon: \"ZUG ZUG!\".  

(Sorry couldn\'t help it  )
Tony Olsen
Ferris@Myself.Com
Resume
Zaurus SL-C860 QTopia
2 GB Static CF
1 GB MMC (although it isn't working yet)
My Quest: To get an x86 emulator working on my Zaurus and to have my Zaurus replace my laptop as my MAIN computer
Publically available Videos for the default Zaurus SL-C860 video player

TonyOlsen

  • Hero Member
  • *****
  • Posts: 554
    • View Profile
    • http://www.userdimensions.com/Tony/Resume.html
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #81 on: May 10, 2004, 09:06:50 pm »
I recieved another data.wc2 directoy and this one had the same problems as before.  Everything loads find until you click on a unit.

I\'m going to try to create a swap file.  Can anyone step me through this process?  I\'m thinking of maybe a 128 MB swap file... just to be sure.
Tony Olsen
Ferris@Myself.Com
Resume
Zaurus SL-C860 QTopia
2 GB Static CF
1 GB MMC (although it isn't working yet)
My Quest: To get an x86 emulator working on my Zaurus and to have my Zaurus replace my laptop as my MAIN computer
Publically available Videos for the default Zaurus SL-C860 video player

jagrka

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
    • http://
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #82 on: May 10, 2004, 09:50:34 pm »
I was able to get the Stratagus to work on my Zaurus Sl-C760 with the original Sharp ROM. The program runs beautifully! I have not had any freezes or other problems at all. I got it to run with the 13.4 MB \"data.wc2\" directory from a WCII version that was hacked to run without the CD-ROM. Being able to launch it directly without running the konsole seems to have provided the last needed bit of memory to get the program over the hump and running smoothly. If you have not already, be sure to turn off the fastload and restart for all your applications that are eating precious memory.

As for library files, the latest compiled version doesn\'t need the lua library, and I expect that most SDL files will work, but it is best to stay with those that are optimized for SL-7x0 systems. The problems I had resulted first from bad data files (see below) and insufficient memory. For those who are having problems with the data files, especially errors that it cannot load files, then I strongly suggest that you first zip the \"data.wc2\" directory in Windows, load the zip file into your Zaurus (using SMB or FTP), and then unzip it from within the Zaurus. I believe that the files become corrupted as a result of being converted into Windows icons/files (resource/data fork problem?). At any rate, by doing this first, I was able to run the program without any problems. As long as Wargus finishes creating your \"data.wc2\" and says soemthing about having completed (without error), I believe that the data files should work with Stratagus.

Many thanks to Lucho and the others who have made this achievement possible. Perhaps Lucho should consider uploading his ipk to www.killefiz.de/zaurus software index in order to draw more attention to the availabilty of Stratagus/Warcraft on the Zaurus.
Zaurus SL-C760/Sharp ROM 1.40 JP
Linux Kernel 2.4.18-rmk7-pxa3-embedix, Tetsu Special Kernel 14e
Transcend 2GB SD Card (with SD-Link11b driver)
Planex Communications GW-CF11H Wi-Fi CF Card
Kwins for PDA KW-H128C2 PHS Communications CF Card

Ethereal

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • http://
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #83 on: May 10, 2004, 10:12:15 pm »
Quote
I\'m going to try to create a swap file.  Can anyone step me through this process?  I\'m thinking of maybe a 128 MB swap file... just to be sure.


dd if=/dev/zero of=/mnt/cf/swapfile bs=1M count=128
mkswap /mnt/cf/swapfile
swapon /mnt/cf/swapfile


You might want to run free afterwards, to make sure it all went off as planned.  You should see 128M of swap represented, nearly all of it free, to begin with.

Be sure to swapoff -a before rebooting/shutting down, or make sure that it is done for you in /etc/rc.d
SL-6000L, Sharp ROM 1.12;
Socket Rev 2.5 CF Bluetooth::SE T608;
Sandisk 512MB SD, formatted ext2;
Pocketop IR Keyboard

008

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • http://
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #84 on: May 11, 2004, 03:57:24 am »
I built the data from original Warcraft 2 cd, used the compile from lucho, used libSDL 1.26-zports_c7xx, made a 32 meg swap file, and it worked!  

It looks stunning, and performance is just as good as I got out of my 486/33 way back then :-)

008

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • http://
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #85 on: May 11, 2004, 03:59:52 am »
This was on a C750 in 640x480 btw

ngok

  • Newbie
  • *
  • Posts: 19
    • View Profile
    • http://
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #86 on: May 11, 2004, 09:20:25 am »
my condiction is as same as jagrka\'s and get the same result.
to me the problem is:how to right click?

TonyOlsen

  • Hero Member
  • *****
  • Posts: 554
    • View Profile
    • http://www.userdimensions.com/Tony/Resume.html
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #87 on: May 11, 2004, 09:50:12 am »
I logged in as su and then successfully created a 128 MB swapfile (Thanks, Ethereal!  ).

...but WarCraft2 still freezes at the same point.

Here\'s exactly what I do.  For those of you who have WarCraft2 working, try this as well (same keystrokes) and let me know if it works or not.

I\'m using the new stratagus.ipk (Thanks, lucho!  ).  I open Terminal, go to that directory ( /home/QtPalmtop/bin ) and then I open run it using the data.wc2 directory on my CF.

Code: [Select]
./stratagus -d /mnt/cf/War2/data.wc2

I see the stratagus title screen.  I wait and then the menu comes up.  I select campains, then human campagins.  I close the helpful tips screen.

Then I click on the peon, select the \"Return with Goods\" button (it has a \"G\" on it... but don\'t use the keyboard for this).  Everything is good so far.  Then I select the gold mine.  ...it freezes.  The actual image is below.

Does anyone else have trouble when doing this?

I\'m now going to try uncompressing the data.wc2 zip file on my Zaurus, although I would be suprised if this changed anything.  I haven\'t heard of binary files getting corrupted when compressed/uncompressed from one OS to another.  (I know that Mac OS does a bunch of \"frk\" stuff)  I know that Ascii files can get corrupt when translated from one OS to another, but binary is binary and I thought that OS\'s know not to try to \"translate\" binary files.  Anyone else have any thoughts on this?

Thanks!
Tony Olsen
Ferris@Myself.Com
Resume
Zaurus SL-C860 QTopia
2 GB Static CF
1 GB MMC (although it isn't working yet)
My Quest: To get an x86 emulator working on my Zaurus and to have my Zaurus replace my laptop as my MAIN computer
Publically available Videos for the default Zaurus SL-C860 video player

TonyOlsen

  • Hero Member
  • *****
  • Posts: 554
    • View Profile
    • http://www.userdimensions.com/Tony/Resume.html
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #88 on: May 11, 2004, 09:57:36 am »
Further testing... when I click on the Gold Mine first thing, it shows up fine.  But if I click on the Town Hall after the gold mine the application closes and I\'m back in Terminal with some kind of \"trigger not set\" error message (Sorry I forgot to write it down).  Weird...
Tony Olsen
Ferris@Myself.Com
Resume
Zaurus SL-C860 QTopia
2 GB Static CF
1 GB MMC (although it isn't working yet)
My Quest: To get an x86 emulator working on my Zaurus and to have my Zaurus replace my laptop as my MAIN computer
Publically available Videos for the default Zaurus SL-C860 video player

ced

  • Full Member
  • ***
  • Posts: 225
    • View Profile
    • http://
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #89 on: May 11, 2004, 10:00:21 am »
can someone grab aleona (new freecraft) from cvs and send it to me please?

http://www.nongnu.org/aleona/download.html

I\'m behind a firewall and I can\'t get cvsgrab working with savannah...
SL-5600, kernel 2.6.16 + GPE from .dev
Ethernet Socket LP-E
Viking 256M SD