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

TonyOlsen

  • Hero Member
  • *****
  • Posts: 554
    • View Profile
    • http://www.userdimensions.com/Tony/Resume.html
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #105 on: May 11, 2004, 03:10:14 pm »
Hm... I think I may have stumbled onto something here...

In terminal I did the following:

Code: [Select]
bash-2.05$ su

# cd /home/QtPalmtop/bin

# ./stratagus

Qt/Embedded data directory is not owned by user 0

Aborted

# ./stratagus -d /mnt/cf/War2/data.wc2

Qt/Embedded data directory is not owned by user 0

Aborted

# exit

bach-2.05$ ./stratagus

Display size = 480x640

could not open translation file /home/QtPalmtop//i18n/zh_TW/libs1.mid

filename:/home/QtPalmtop/liob/fonts/arial_140_50_t10.qpf

fontName:lcfont , size:10

Maybe you need to specify another gamepath with \'-d /path/to/datadir\'?

bash-2.05$ ./stratagus -d /mnt/cf/War2/data.wc2

Display size = 480x640

could not open translation file /home/QtPalmtop//i18n/zh_TW/libs1.mid

filename:/home/QtPalmtop/liob/fonts/arial_140_50_t10.qpf

fontName:lcfont , size:10


./stratagus by itself couldn\'t find the /home/QtPalmtop/lib/stratagus symlink I created for it.  Are we sure that it looks for \"stratagus\" at this location?
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 #106 on: May 11, 2004, 03:15:12 pm »
zaurus:~$ ls -l /opt/Qtopia/lib/stratagus
lrwxrwxrwx 1 root root 16 May 9 15:43 /opt/QtPalmtop/lib/stratagus -] /mnt/cf/data.wc2

In your case you need /opt/QtPalmtop/lib/stratagus to point to /mnt/cf/War2/data.wc2, i.e.

su
rm /opt/QtPalmtop/lib/stratagus
ln -s /mnt/cf/War2/data.wc2 /opt/QtPalmtop/lib/stratagus

TonyOlsen

  • Hero Member
  • *****
  • Posts: 554
    • View Profile
    • http://www.userdimensions.com/Tony/Resume.html
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #107 on: May 11, 2004, 03:32:19 pm »
That did it!  Now I can run the game from the icon!

Testing...

Human Campain.  Click on Peon, select harvest button, select Gold Mine.  Peon enters mine.  Select Town Hall...

...Zaurus freezes.

...so close!

I had my 128 MB swapfile turned on, and last I checked I had about 160 MB free... that should be enough, so I\'m assuming this isn\'t a memory issue...
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 #108 on: May 11, 2004, 04:21:57 pm »
While Stratagus was running, I switched over to Terminal to see how much memory was being used.  It went from around 30 MB being used to around 60 MB being used.

In other words, it looks like Stratagus takes about 30 MB to run.  (And I only had about 1.4 MB free.  Thank goodness I have a 128 MB swapfile  ).
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 #109 on: May 11, 2004, 06:12:32 pm »
More details on the crash: It appears to never happen when I click on a menu on the left and only happens when I click on a unit or building.  This tells me that stratagus crashes while either loading up a new sound file (even though I have the sound turned off) or while loading up the new menu on the left.
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 #110 on: May 11, 2004, 07:12:45 pm »
Who still doesn\'t have the WarCraft image?  (pm me)
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

ngok

  • Newbie
  • *
  • Posts: 19
    • View Profile
    • http://
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #111 on: May 11, 2004, 09:42:13 pm »
you can put all your staff in cf,include Stratagus and data.wc2.
create a war2.sh file like this:
/mnt/cf/war2/Stratagus -d /mnt/cf/war2/data.wc2

put it into /opt/QtPalmtop/bin
give it run permission,
then you can create a new icon in your game tab by the tool ホーム画面設定
this is what I did,it runs fine.

ulf1

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
    • http://
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #112 on: May 11, 2004, 09:44:07 pm »
guys,

any idea what the problem might be? When I start stratagus from the console on my Z5500, I get an SDL error, saying that the video device is not available. Nevertheless libSDL 1.2.6 and all related SDL libraries are  installed and working.

I am using stratagus_2.0.0-1_arm.ipk

My commandline parameters:
./stratagus -d /opt/Qtopia/lib/stratagus -v 7

and the error I get on the console right after the start:
Couldn\'t initialize SDL: No available video device


   
thanks,
Ulf

ThC

  • Sr. Member
  • ****
  • Posts: 259
    • View Profile
    • http://
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #113 on: May 12, 2004, 07:17:04 pm »
approximatively the same problem for me as for TonyOlsen ... except the Z hangs up when I select a unit or just click somewhere on the map after running the game (btw I can go in the option menu if I dont click anywere before)
any idea ?
SL-C3000 - pdaXrom 1.1.0Beta1
SL-C860 - pdaXrom 1.1.0 RC8 (charging circuitry dead :( )
CF RamStar 512 Mb / Hitachi 4Gb microdrive (thanks to creative's muvo² :p)
SD Sandisk 1Gb / Viking 256 Mb
Linksys WCF13 CF wifi card

Anyone willing to donate for my work, please consider donate to pdaXrom and/or OE/OZ projects instead, I wouldn't have been able to do anything without them ...

TonyOlsen

  • Hero Member
  • *****
  • Posts: 554
    • View Profile
    • http://www.userdimensions.com/Tony/Resume.html
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #114 on: May 12, 2004, 08:01:14 pm »
It \"feels\" like a memory issue.  Is there a way to force Linux to free up X MB from the terminal?... or a way to run a program (such as stratagus) with pre-allocated memory, so that nothing else uses that memory except for stratagus?
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

tg

  • Full Member
  • ***
  • Posts: 145
    • View Profile
    • http://
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #115 on: May 12, 2004, 08:23:40 pm »
Quote
It \"feels\" like a memory issue.


Looks like we need purify for zaurus to track this down  :wink:

joeldc13

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • http://
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #116 on: May 13, 2004, 05:19:08 am »
Hello all, I\'ve got exactly the same problem, C750 with a 60 M swap file on a CF, Lauching stratagus, it runs OK put when I select a peon or a building or trying to do something with a unit the Z entirely freeze.......

I don\'t know what to do....

TonyOlsen

  • Hero Member
  • *****
  • Posts: 554
    • View Profile
    • http://www.userdimensions.com/Tony/Resume.html
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #117 on: May 13, 2004, 11:26:28 am »
It seems like when I move slower in the game it takes longer before it crashes.  ...almost as if the Zaurus has had time to alocate the needed additional memory...
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 #118 on: May 13, 2004, 02:52:47 pm »
I\'ve finally setup a swap partition using a network block device.
But warcraft doesn\'t render the entire screen in 320x240... half of the screen is hidden, it would be nice if we can un-scaled it by 2.
Do you think is something that I can hack in the SDL library or in stratgus?

I didn\'t have any crash so far with 64M of swap. I\'ve click everywhere but I can\'t play the game because the left panel is half hidden!
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 #119 on: May 13, 2004, 03:46:05 pm »
As was recommended from someone on another thread ( http://www.zaurususergroup.com/index.php?n...c&p=25288#25288 ), I tried:

Code: [Select]
./stratagus -d /mnt/cf/War2/data.wc2 &> /mnt/cf/logfile.txt

After the crash the logfile.txt now contains:

Code: [Select]
Display size = 480x640

could not open translation file /home/QtPalmtop//i18n/zh_TW/libsl.qmid

filename:/home/QtPalmtop/lib/fonts/arial_140_50_t10.qpf

fontName:lcfont , size:10

Can\'t load the sound `neutral/units/warthog/selected/1.wav\'

Can\'t load the sound `neutral/units/warthog/annoyed/1.wav\'

Can\'t load the sound `human/units/alleria/acknowledgement/1.wav\'

Can\'t load the sound `orc/units/teron_gorefiend/acknowledgement/1.wav\'

Can\'t load the sound `human/units/kurdan/acknowledgement/1.wav\'

Can\'t load the sound `orc/units/dentarg/acknowledgement/1.wav\'

Can\'t load the sound `human/units/khadgar/acknowledgement/1.wav\'

Can\'t load the sound `orc/units/grom_hellscream/acknowledgement/1.wav\'

Can\'t load the sound `orc/units/deathwing/acknowledgement/1.wav\'

Can\'t load the sound `human/units/turalyon/acknowledgement/1.wav\'

Can\'t load the sound `human/units/danath/acknowledgement/1.wav\'

Can\'t load the sound `orc/units/korgath_bladefist/acknowledgement/1.wav\'

Can\'t load the sound `human/units/alleria/selected/1.wav\'

Can\'t load the sound `human/units/danath/selected/1.wav\'

Can\'t load the sound `human/units/khadgar/selected/1.wav\'

Can\'t load the sound `human/units/kurdan/selected/1.wav\'

Can\'t load the sound `human/units/turalyon/selected/1.wav\'

Can\'t load the sound `orc/units/deathwing/selected/1.wav\'

Can\'t load the sound `orc/units/dentarg/selected/1.wav\'

Can\'t load the sound `orc/units/grom_hellscream/selected/1.wav\'

Can\'t load the sound `orc/units/korgath_bladefist/selected/1.wav\'

Can\'t load the sound `orc/units/teron_gorefiend/selected/1.wav\'

Can\'t load the sound `human/units/alleria/annoyed/1.wav\'

Can\'t load the sound `human/units/danath/annoyed/1.wav\'

Can\'t load the sound `human/units/khadgar/annoyed/1.wav\'

Can\'t load the sound `human/units/kurdan/annoyed/1.wav\'

Can\'t load the sound `human/units/turalyon/annoyed/1.wav\'

Can\'t load the sound `orc/units/deathwing/annoyed/1.wav\'

Can\'t load the sound `orc/units/dentarg/annoyed/1.wav\'

Can\'t load the sound `orc/units/grom_hellscream/annoyed/1.wav\'

Can\'t load the sound `orc/units/korgath_bladefist/annoyed/1.wav\'

Can\'t load the sound `orc/units/teron_gorefiend/annoyed/1.wav\'

QT_GetMachine: /proc/deviceinfo/product is \'SL-C860

 a{@0e{@@e{@\'

 detected machine is \'Sharp SL-C860\'

QT_GetRotation: Read spec from \'/tmp/qtembedded-zaurus/QtEmbedded-0.spec\'

 spec is \'Transformed:Rot270:Vga:0\'

 Rot=3, Qvga=0

QT_SetVideoMode: SL-C700 Style is Input style

QT_SetVideoMode: argSize=640x480

QT_SetVideoMode: qteSize=640x480

QT_SetVideoMode: fbSize=480x640

QT_SetVideoMode: qteRotation=3

QT_SetVideoMode: userRotation=-1

QT_SetVideoMode: sdlRotation=3

QT_SetVideoMode: qteKeyRotation=3

QT_SetVideoMode: sdlKeyRotation=3
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