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 157939 times)

lucho

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
    • http://
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #60 on: May 09, 2004, 06:40:45 pm »
TonyOlsen,

I am on the fourth level (Human Campaign)  The music here is also garbled -- I muted it

TonyOlsen

  • Hero Member
  • *****
  • Posts: 554
    • View Profile
    • http://www.userdimensions.com/Tony/Resume.html
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #61 on: May 09, 2004, 06:52:36 pm »
lucho,

Do you know of any differences between your Zaurus and mine?  Model?  Installed libraries?  Versions of Stratagus?  Screen resolution (I\'m running in landscape 640x480 VGA mode)?
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 #62 on: May 09, 2004, 06:57:24 pm »
TonyOlsen,

SL-C760, one of the first cacko QTopia ROMs, libSDL_1.2.6-zports_c7x0-1_arm.ipk, no other libraries, VGA mode. I removed Fast Load from all apps and now I can run stratagus without swap file.

TonyOlsen

  • Hero Member
  • *****
  • Posts: 554
    • View Profile
    • http://www.userdimensions.com/Tony/Resume.html
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #63 on: May 09, 2004, 07:59:34 pm »
That sounds close enough to mine.

My problem only appears when I click on a unit by tapping on the screen.  At this point I take it the unit\'s menu buttons are supposed to appear... but I never see them.  The system simply freezes/crashes.  Maybe the stratagus isn\'t able to load up that menu?... maybe the needed datafiles aren\'t there.

There are 930 files in the data.wc2 directory.  I would like to compare the files in my directory to those in yours.  Could you e-mail me (offline... Ferris@Myself.Com ) a directory listing of all of the files in your data.wc2 directory?  (Filenames, sizes, and relative/full path from data.wc2).

With that I can compare and see if anything is missing (I suspect some needed files, or an entire directory, may be missing, which is causing the crash).

Another thought as well...  we may be using different versions of Stratagus.  I\'m using the one that was posted early on in this thread.  It is 1037132 Bytes.  What\'s your stratagus file size?  Where did you download it from?

Also, do you set any environment variables before you play?  Does WarCraft freeze up the Terminal when you leave the game?

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

Ethereal

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • http://
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #64 on: May 09, 2004, 10:26:32 pm »
OK, I don\'t know if it\'s ever going to be playable in 240x320 (but thanks, lucho, for at least letting me try!), but I can scroll around the map, select units (but can\'t see the actions menu to make them do anything!)...at this point, the screen is the biggest handicap, closely followed by memory:
Quote
# free
                  total         used         free       shared      buffers
Mem:        29876        29024          852            0          152
Swap:       32764        25640         7124
Total:        62640        54664         7976


lucho, if you happen to compile another binary, a 480 x 640 mode for the SL-6000 folks who might want to play in portrait mode would be the only added touch I can suggest...
SL-6000L, Sharp ROM 1.12;
Socket Rev 2.5 CF Bluetooth::SE T608;
Sandisk 512MB SD, formatted ext2;
Pocketop IR Keyboard

jagrka

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
    • http://
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #65 on: May 10, 2004, 04:28:09 am »
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:

http://prdownloads.sourceforge.net/wargus/...e1.zip?download

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:

http://www.zaurususergroup.com/index.php?n...=download&id=96

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:

http://zaurus.zefamily.org/files/lua_0.4_arm.ipk

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

TonyOlsen

  • Hero Member
  • *****
  • Posts: 554
    • View Profile
    • http://www.userdimensions.com/Tony/Resume.html
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #66 on: May 10, 2004, 05:26:05 am »
In this thread, there is a later version of Stratagus that was compiled without needing the lua libraries.  My data.wc2 directory is 28.6 MB and contains 930 files.  I also had tried creating the data.wc2 directory from the cracked version of WarCraft II, but I had used wartoool instead of build.bat, which resulted just like you said.  I\'m running on an SL-C860, and, like mentioned above in the thread (with the pictures requested) I\'m able to get it to run up until the point when I click on a character... then it freezes up.  (possibly needing lua library?)

Inside the data.wc2 directory there is a scripts directory which contains a bunch of lua files.  The version of stratagus I was running was compiled without needing the lua libraries... so what happens when it attempts to run these lua scripts?  Maybe that is my problem?
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 #67 on: May 10, 2004, 05:43:19 am »
I uninstalled my previosu version of the SDL libraries and installed the version posted to this forum (also the same version, but differen\'t port), and my PrBoom not only works, but now it isn\'t upside down anymore!   Try installing that version (and still keep you sdl-net and sdl-mixer libraries) and PrBoom should still work, and maybe WarCraft 2 will also work?
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 #68 on: May 10, 2004, 05:44:13 am »
TonyOlsen

\"luco\" has compiled stratagus statically with lua library therefore the binary has lua built into it.
If you want I can give you my dynamic lua library which I\'ve used to compile my stratagus binary.
I can\'t test wc2 right now, I need to find the CD... (in my messy house) :-)
SL-5600, kernel 2.6.16 + GPE from .dev
Ethernet Socket LP-E
Viking 256M SD

TonyOlsen

  • Hero Member
  • *****
  • Posts: 554
    • View Profile
    • http://www.userdimensions.com/Tony/Resume.html
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #69 on: May 10, 2004, 05:51:20 am »
Yes, I used that version of stratagus.  The file size was smaller than the first one, so I incorrectly read the post as saying it didn\'t need the lua librraries, not that it had them built in.  You\'re right, I missed that.

Ok... so I guess the lua library isn\'t the problem.  hm...
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 #70 on: May 10, 2004, 11:25:23 am »
I was wondering if someone could show me the text I need to compose a script to launch startagus? I am hoping to link that script to a graphic icon in the launcher. I tried writing several scripts, but the application never executed properly.
I want to launch stratagus with a script instead of manually issuing a command in the konsole. Everytime I run stratagus, I run out of memory, and it asks if I want to quit the konsole program. Usually, it freezes at that point.
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 #71 on: May 10, 2004, 11:36:24 am »
Quote
Everytime I run stratagus, I run out of memory, and it asks if I want to quit the konsole program. Usually, it freezes at that point.


What device/ROM/memory model are you using?  My 5600 (32MB RAM  ) required a 32MB swapfile to get as far as starting a scenario...
SL-6000L, Sharp ROM 1.12;
Socket Rev 2.5 CF Bluetooth::SE T608;
Sandisk 512MB SD, formatted ext2;
Pocketop IR Keyboard

jason123

  • Full Member
  • ***
  • Posts: 170
    • View Profile
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #72 on: May 10, 2004, 11:39:29 am »
\'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?
SL-5500
Hentges 3.5.4.1
Kingmax 1gb SD
Lexar 1gb CF
Belkin IR Keyboard
Socket 56k Modem CF
Linksys 802.11b CF

TonyOlsen

  • Hero Member
  • *****
  • Posts: 554
    • View Profile
    • http://www.userdimensions.com/Tony/Resume.html
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #73 on: May 10, 2004, 12:28:17 pm »
It sounds like low memory (32 MB and less) Zauri need special setup with a swapfile (see above)... but ... the 320x240 screen doesn\'t appear to be large enough to see all of the menu buttons needed to have units do things (see above).  It looks like Stratagus will only really work on a VGA Zaurus and up...

Correct me if I\'m wrong on this.

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

jason123

  • Full Member
  • ***
  • Posts: 170
    • View Profile
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #74 on: May 10, 2004, 12:36:12 pm »
lol -- thanks!
SL-5500
Hentges 3.5.4.1
Kingmax 1gb SD
Lexar 1gb CF
Belkin IR Keyboard
Socket 56k Modem CF
Linksys 802.11b CF