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

TonyOlsen

  • Hero Member
  • *****
  • Posts: 554
    • View Profile
    • http://www.userdimensions.com/Tony/Resume.html
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #90 on: May 11, 2004, 10:05:24 am »
Quote
to me the problem is:how to right click?


I don\'t know.  I clicked the \"Move\" button and then select the Gold Mine.  The peon moves to the Gold Mine, but doesn\'t enter... but that\'s only because the game have frozen up again...  I\'m guessing you don\'t need to right click if you use the buttons (or shortcut keys) on the menu on the left...

I think it is only certain combinations of things that causes this.  When I click on the town hall, I build someone without problems.  I can click the peon and select \"Go\" and select some empty area, and he goes there... but when I ask the peon to go to the Mine and try to select another Peon, it freezes again.  *sigh*
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 #91 on: May 11, 2004, 10:33:39 am »
TonyOlsen,

Try to disable the sound from the game preferences -- just in case it has something to do with the sound.

TonyOlsen

  • Hero Member
  • *****
  • Posts: 554
    • View Profile
    • http://www.userdimensions.com/Tony/Resume.html
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #92 on: May 11, 2004, 11:11:37 am »
I disabled it a while ago (I was thinking the same thing).  I went to Menu - Options - Sound, and unchecked the \"Enabled\" checkbox.
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 #93 on: May 11, 2004, 12:46:22 pm »
TonyOlsen,

Try running the stratagus binary from the launcher file included in lucho\'s ipk. You will need to link his /opt/QtPalmtop/lib/stratagus directory to the location of your data.wc2 directory. I had problems with it freezing when I would click on the peon (I usually got a memory dialogue asking if I wanted to quit the konsole application), but after I was able to run it without the terminal or console open at the same time in the background, it worked fine.
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 #94 on: May 11, 2004, 12:56:25 pm »
/opt/QtPalmtop/lib/stratagus  ... ah... so that\'s where that stuff is stored.  I was looking for that before but didn\'t know Linux enough to locate it.  Thanks!

My stratagus icon hasn\'t worked since I tampered with the stratagus.desktop file.  I changed:

Code: [Select]
Exec=stratagus

to

Code: [Select]
Exec=stratagus -d /mnt/cf/War2/data.wc2 -v 1

...and the icon hasn\'t worked since.  I\'ll move it back to the way it was and instead start looking around in the lib directory...

...I can\'t find any stratagus files (that I can recognize) in the lib directory.  What am I looking for?
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 #95 on: May 11, 2004, 01:10:37 pm »
TonyOlsen,

Perhaps lucho has a better explanation for why the data directory is set for /opt/QtPalmtop/lib/stratagus. You will not find any files there or a \"stratagus\" directory. Instead, this is the location where you are supposed to put your wc2 data files. Since no one wants to put a huge number of files there, it is better to create a symlink to your data.wc2 directory. Since Lucho has set the directory to stratagus, you will need to rename the link in /opt/QtPalmtop/lib from \"data.wc2\" to \"stratagus\". This process can be easy done using Tree!Explorer or FileManager.

By the way, I am now able to run the program successfull from the terminal (don\'t ask me why, but it does). When I quit stratagus from the normal exit menu, the last lines in the konsole display the following:

Trigger not set, defining trigger
Thanks for playing Stratagus

From this, I believe that the trigger message does not indicate a failure or problem with Stratagus. Therefore, I believe that is most likely a system error (perhaps memory?) that is causing the crash.
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 #96 on: May 11, 2004, 01:18:20 pm »
(Weird... it appears that /opt/QtPaltmop/lib and /home/QtPalmtop/lib are the same thing.  Maybe there was a symlink in there that I missed..   )

Ok... just to make sure I understand this correctly:

I need to create a symlink in /opt/QtPalmtop/lib called stratagus (NOT data.wc2) which points to /mnt/cf/War2/data.wc2.  Did I get that right?
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 #97 on: May 11, 2004, 01:32:32 pm »
Using KCommander I created a symlink called stragaus for the data.wc2 directory.  The symlink resulted in the same directory as the data.wc2 directory.  I moved the new stragaus symlink to /opt/QtPalmtop/lib.  Then I rebooted my Zaurus (just to be sure).  Then I clicked on the \"stratagus\" icon...

...that was 5-10 minutes ago.  The hourglass is gone, but the \"flash explosion\" graphic over the stratagus icon is still there.

I must\'ve done something wrong...
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 #98 on: May 11, 2004, 01:36:12 pm »
I think I created my stratagus symlink incorrectly...  In the lib directory the symlink is 1037132 Bytes (1 MB?!?) in size.  I tried the following:

Code: [Select]
bash-2.05$ cd stratagus

bash: cd: stratagus: Not a directory


Is there a terminal command for creating symlinks?  (I never thought I would actually ask for a terminal command instead of actually doing it in GUI  :wink:  )
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 #99 on: May 11, 2004, 01:37:19 pm »
aha!  What I copied was the actual stratagus exectuble... NOT the symlink... ha ha ha...
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

xamindar

  • Hero Member
  • *****
  • Posts: 803
    • View Profile
    • http://www.radnimax.com
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #100 on: May 11, 2004, 01:42:32 pm »
ln -sf /opt/QtPalmtop/lib/stratagus /mnt/cf/War2

that should work.  just test it by going into the directory and seeing it your data.wc2 file is there:
cd /opt/QtPalmtop/lib/stratagus
ls
SL-C3100 happily Dualbooting Japanese Rom 1.02 and Debian Eabi
Replaced internal CF with 8gb seagate cf hard drive
Ambicom CF GPS
CyberPower battery powered USB hub
D-link DCF-650W (MAN THIS THING IS HUGE!!)

TonyOlsen

  • Hero Member
  • *****
  • Posts: 554
    • View Profile
    • http://www.userdimensions.com/Tony/Resume.html
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #101 on: May 11, 2004, 01:53:35 pm »
I open terminal.  (I assume that this command can be executed from any directory)

Code: [Select]
bash-2.5$ ln -sf /opt/QtPalmtop/lib/stratagus /mnt/cf/War2

ln: /mnt/cf/War2/stratagus: Operation not permitted

bash-2.05$ su

# ln -sf /opt/QtPalmtop/lib/stratagus /mnt/cf/War2

ln: /mnt/cf/War2/stratagus: Operation not permitted

#


I looked at the ln help and I think we\'re running it wrong.  I CD-ed to the lib directoy.  Enterred \"su\", and then ran:

Code: [Select]
# ln -sf /mnt/cf/War2 stratagus

That appears to have worked right.

I exited the terminal and clicked on the \"Stratagus\" icon...

same as before...
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

xamindar

  • Hero Member
  • *****
  • Posts: 803
    • View Profile
    • http://www.radnimax.com
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #102 on: May 11, 2004, 02:07:49 pm »
whoops, reverse the directories:
ln -sf /mnt/cf/War2 /opt/QtPalmtop/lib/stratagus

sorry, i always get that mixed up.
ln is the command for linking, -s is to make a symlink and the f is to force it (erace a previous one if there)

Then you put the place you want to link and then where to link to.

and yes, probably has to be run as root and make sure the directory is created before you link it:
mkdir  /opt/QtPalmtop/lib/stratagus
SL-C3100 happily Dualbooting Japanese Rom 1.02 and Debian Eabi
Replaced internal CF with 8gb seagate cf hard drive
Ambicom CF GPS
CyberPower battery powered USB hub
D-link DCF-650W (MAN THIS THING IS HUGE!!)

bluedevils

  • Hero Member
  • *****
  • Posts: 1284
    • View Profile
    • http://
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #103 on: May 11, 2004, 02:17:28 pm »
you do not have to make a dir to create a link.  You\'re probablty thinking of a mount point.

Quote
...make sure the directory is created before you link it:
mkdir  /opt/QtPalmtop/lib/stratagus
I'm now an iphone user and use my zaurii as serial terminals, perl and shell scripting and when I need 640x480 screens

sl-c3100/pda cacko 1.23 | sl-6000l/needs battery | sl-c760/server pdaxrom rc12 | Former sl-5500/tkcrom owner (sister's birthday gift)

TonyOlsen

  • Hero Member
  • *****
  • Posts: 554
    • View Profile
    • http://www.userdimensions.com/Tony/Resume.html
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #104 on: May 11, 2004, 02:27:07 pm »
I even tried uninstalling and reinstalling stratagus_2.ipk .  I move the stratagus.desktop from Applications to Games.  I don\'t think that should make a difference, would 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