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

TonyOlsen

  • Hero Member
  • *****
  • Posts: 554
    • View Profile
    • http://www.userdimensions.com/Tony/Resume.html
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« on: May 05, 2004, 06:03:30 pm »
Did I get your attention?   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://pingus.seul.org/~grumbel/tmp/wargus/
http://sourceforge.net/projects/stratagus/
http://www.happypenguin.org/show?FreeCraft
http://www.bebits.com/app/2994
http://packages.debian.org/unstable/games/freecraft <-- Already compiled for ARM?
http://stratagus.sourceforge.net/screenshots.shtml
etc..

Also:

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

omega

  • Hero Member
  • *****
  • Posts: 626
    • View Profile
    • http://
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #1 on: May 06, 2004, 04:48:25 am »
Hey Tony,

I will be very interested in trying to get emulators running, along with many games once i get my c860. Unfortunately it seems to have been lost by USPS on its way over to Ireland.

I like the idea of getting many full games running. Have you checked out ScummVM?
Gorgeous C860, 256 Sandisk SD, 1Gig Pretec 40x CF, PDAIR leather case & the really cool retractable iPDA USB sync/charge cable. Powered by PDAXROM BETA 1.

My wish - to have a Command & Conquer style game on my Z! (FREECNC!!!) Simcity 2000 would also be great.

omega

  • Hero Member
  • *****
  • Posts: 626
    • View Profile
    • http://
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #2 on: May 06, 2004, 04:49:49 am »
Would it be at all feasible to try and get the original command & conquer to run on one of these emulators? I\'m going to look now to see if anyone has make a port or an open source equivalent. TonyOlsen,  what machine and os are you running?
Gorgeous C860, 256 Sandisk SD, 1Gig Pretec 40x CF, PDAIR leather case & the really cool retractable iPDA USB sync/charge cable. Powered by PDAXROM BETA 1.

My wish - to have a Command & Conquer style game on my Z! (FREECNC!!!) Simcity 2000 would also be great.

TonyOlsen

  • Hero Member
  • *****
  • Posts: 554
    • View Profile
    • http://www.userdimensions.com/Tony/Resume.html
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #3 on: May 06, 2004, 09:25:13 am »
Quote
Have you checked out ScummVM?


I installed it, but the installation says it needs some additional libraries, and it didn\'t run when I tried to open it (the screen switched to 240x320 mode and said something like \"Please Wait...\" and then, a few seconds later, switch back to the 640x480 screen).  This has happened before with other applications when I fail to install a needed library... but I haven\'t had time to look further into it...

Quote
TonyOlsen, what machine and os are you running?


QTopia on Zaurus SL-C860.  I guess I should put my specs in my signature like everyone else.  I\'ll go update that...

I\'m glad to see, from the poll, that there are at least a few people out there who would be interested in having WarCraft II on their Zaurus.  
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 #4 on: May 06, 2004, 09:25:43 am »
Has anyone tried going to the one link above where they claim to already have ARM binaries?
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 #5 on: May 06, 2004, 11:35:19 am »
I\'ve compiled SDL 1.2.7 and I\'ve tried to compile \"Stratagus\" but I\'m getting this during the linking of the stratagus binary:

Code: [Select]
arm-linux-gcc -o stratagus src/action/obj/action_attack.o src/action/obj/action_board.o src/action/obj/action_build.o src/action/obj/action_die.o src/action/obj/action_follow.o src/action/obj/action_move.o src/action/obj/action_patrol.o src/action/obj/action_repair.o src/action/obj/action_research.o src/action/obj/action_resource.o src/action/obj/action_returngoods.o src/action/obj/action_spellcast.o src/action/obj/action_stand.o src/action/obj/action_still.o src/action/obj/action_train.o src/action/obj/action_unload.o src/action/obj/action_upgradeto.o src/action/obj/actions.o src/action/obj/command.o src/ai/obj/ai_building.o src/ai/obj/ai_force.o src/ai/obj/ai_magic.o src/ai/obj/ai_plan.o src/ai/obj/ai_resource.o src/ai/obj/script_ai.o src/ai/obj/ai.o src/beos/obj/beos.o src/stratagus/obj/script.o src/stratagus/obj/script_player.o src/stratagus/obj/stratagus.o src/stratagus/obj/construct.o src/stratagus/obj/groups.o src/stratagus/obj/iolib.o src/stratagus/obj/mainloop.o src/stratagus/obj/player.o src/stratagus/obj/pud.o src/stratagus/obj/selection.o src/stratagus/obj/spells.o src/stratagus/obj/script_spell.o src/editor/obj/script_editor.o src/editor/obj/editloop.o src/editor/obj/editor.o src/editor/obj/edmap.o src/game/obj/campaign.o src/game/obj/game.o src/game/obj/intro.o src/game/obj/loadgame.o src/game/obj/savegame.o src/game/obj/trigger.o src/libmodplug/obj/fastmix.o src/libmodplug/obj/load_669.o src/libmodplug/obj/load_amf.o src/libmodplug/obj/load_ams.o src/libmodplug/obj/load_dbm.o src/libmodplug/obj/load_dmf.o src/libmodplug/obj/load_dsm.o src/libmodplug/obj/load_far.o src/libmodplug/obj/load_it.o src/libmodplug/obj/load_j2b.o src/libmodplug/obj/load_mdl.o src/libmodplug/obj/load_med.o src/libmodplug/obj/load_mod.o src/libmodplug/obj/load_mt2.o src/libmodplug/obj/load_mtm.o src/libmodplug/obj/load_okt.o src/libmodplug/obj/load_psm.o src/libmodplug/obj/load_ptm.o src/libmodplug/obj/load_s3m.o src/libmodplug/obj/load_stm.o src/libmodplug/obj/load_ult.o src/libmodplug/obj/load_umx.o src/libmodplug/obj/load_wav.o src/libmodplug/obj/load_xm.o src/libmodplug/obj/mmcmp.o src/libmodplug/obj/modplug.o src/libmodplug/obj/snd_dsp.o src/libmodplug/obj/snd_flt.o src/libmodplug/obj/snd_fx.o src/libmodplug/obj/sndfile.o src/libmodplug/obj/sndmix.o src/libmodplug/obj/tables.o src/map/obj/script_map.o src/map/obj/script_tileset.o src/map/obj/map.o src/map/obj/map_draw.o src/map/obj/map_fog.o src/map/obj/map_rock.o src/map/obj/map_save.o src/map/obj/map_wall.o src/map/obj/map_wood.o src/map/obj/minimap.o src/map/obj/tileset.o src/missile/obj/script_missile.o src/missile/obj/missile.o src/movie/obj/avi.o src/movie/obj/movie.o src/movie/vp31/obj/BlockMapping.o src/movie/vp31/obj/DCT_decode.o src/movie/vp31/obj/DDecode.o src/movie/vp31/obj/DFrameR.o src/movie/vp31/obj/DSystemDependant.o src/movie/vp31/obj/FrameIni.o src/movie/vp31/obj/Frarray.o src/movie/vp31/obj/Huffman.o src/movie/vp31/obj/IDctPart.o src/movie/vp31/obj/Quantize.o src/movie/vp31/obj/Reconstruct.o src/movie/vp31/obj/YUVtofromRGB.o src/movie/vp31/obj/dct_globals.o src/movie/vp31/obj/pb_globals.o src/movie/vp31/obj/postproc.o src/movie/vp31/obj/unpack.o src/movie/vp31/obj/vfwPback.o src/movie/vp31/obj/vfwpbdll_if.o src/network/obj/commands.o src/network/obj/lowlevel.o src/network/obj/master.o src/network/obj/netconnect.o src/network/obj/network.o src/pathfinder/obj/astar.o src/pathfinder/obj/script_pathfinder.o src/pathfinder/obj/pathfinder.o src/pathfinder/obj/splitter.o src/pathfinder/obj/splitter_debug.o src/pathfinder/obj/splitter_lowlevel.o src/pathfinder/obj/splitter_zoneset.o src/sound/obj/arts_audio.o src/sound/obj/script_sound.o src/sound/obj/cdaudio.o src/sound/obj/flac.o src/sound/obj/libcda.o src/sound/obj/mad.o src/sound/obj/music.o src/sound/obj/ogg.o src/sound/obj/oss_audio.o src/sound/obj/sdl_audio.o src/sound/obj/sound.o src/sound/obj/sound_id.o src/sound/obj/sound_server.o src/sound/obj/unitsound.o src/sound/obj/wav.o src/sound/obj/cdda.o src/ui/obj/botpanel.o src/ui/obj/button_checks.o src/ui/obj/script_ui.o src/ui/obj/console.o src/ui/obj/icons.o src/ui/obj/interface.o src/ui/obj/mainscr.o src/ui/obj/menu_proc.o src/ui/obj/menus.o src/ui/obj/mouse.o src/ui/obj/ui.o src/unit/obj/script_unit.o src/unit/obj/script_unittype.o src/unit/obj/depend.o src/unit/obj/unit_ai.o src/unit/obj/unit_save.o src/unit/obj/unittype.o src/unit/obj/upgrade.o src/unit/obj/unit.o src/unit/obj/unit_draw.o src/unit/obj/unit_find.o src/unit/obj/unit_cache.o src/video/obj/cursor.o src/video/obj/deco.o src/video/obj/font.o src/video/obj/graphic.o src/video/obj/linedraw.o src/video/obj/png.o src/video/obj/sdl.o src/video/obj/sprite.o src/video/obj/sweepline.o src/video/obj/video.o etlib/obj/hash.o -lpng -lz -lm -L/opt/Embedix/tools/arm-linux/lib -Wl,-rpath,/opt/Embedix/tools/arm-linux/lib -lSDL -lpthread  -lm -lz   -ldl -llua -llualib -lm  -lz -lm -lqte -lqpe -L/opt/Embedix/tools/arm-linux/lib -L/opt/Qtopia/sharp/lib -I. -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include  -I./src/movie/vp31/include -DUSE_LIBMODPLUG -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -DUSE_SDLA -I/opt/Embedix/tools/arm-linux/include/SDL -D_REENTRANT -DDISABLE_X11 -DQT_QWS_EBX -DQT_QWS_CUSTOM -DQWS -fno-exceptions -fno-rtti -Wall -W -DNO_DEBUG -g -O2 -DUSE_LUA \'-DVERSION="2.0"\' -DUSE_ZLIB  -DWITH_SOUND -I/opt/Embedix/tools/arm-linux/include -I/opt/Qtopia/sharp/include

/opt/Embedix/tools/arm-linux/lib/crt1.o: In function `_start\':

/opt/Embedix/tools/arm-linux/lib/crt1.o(.text+0x2c): undefined reference to `main\'

collect2: ld returned 1 exit status

make: *** [stratagus] Error 1
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 #6 on: May 06, 2004, 11:55:22 am »
Let\'s get the post-er of that source code involved in this thread.  Maybe he/she can shed some light on this.  Maybe there are some libraries that are also needed...

In one of the link at the top they claim to have already compile ARM binaries.  Has anyone looked at that?
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

amrein

  • Sr. Member
  • ****
  • Posts: 345
    • View Profile
    • http://

ced

  • Full Member
  • ***
  • Posts: 225
    • View Profile
    • http://
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #8 on: May 07, 2004, 07:10:35 am »
I\'ve finally compiled Stratagus, anyone want it?
Don\'t know how to use it... ;-)
SL-5600, kernel 2.6.16 + GPE from .dev
Ethernet Socket LP-E
Viking 256M SD

ronba

  • Newbie
  • *
  • Posts: 35
    • View Profile
    • http://
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #9 on: May 07, 2004, 08:27:38 am »
You must use CD warcraft2 version DOS and wargus-2.0pre1.tar (http://wargus.sourceforge.net/download.html) .
In the tar there is a script build.bat for windows and build.sh for linux , this file will allow you to catch the data of CD of warcraft 2  , the result of script is a directory data.wc2 , to copy this directory data.wc2 in SD or CF.
To launch stratagus :
stratagus -d /mnt/card/data.wc2
or
stratagus -d /mnt/cf/data.wc2
and victory .......Warcraft  2 on Z.....It\'s beautiful......
 :wink:
SL-C1000 beta-1.1.0
 Sony U101 Linux

Ethereal

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • http://
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #10 on: May 07, 2004, 08:41:40 am »
Quote
I\'ve finally compiled Stratagus, anyone want it?
Don\'t know how to use it... ;-)


Yes, please
SL-6000L, Sharp ROM 1.12;
Socket Rev 2.5 CF Bluetooth::SE T608;
Sandisk 512MB SD, formatted ext2;
Pocketop IR Keyboard

ced

  • Full Member
  • ***
  • Posts: 225
    • View Profile
    • http://
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #11 on: May 07, 2004, 09:37:16 am »
I\'ve tried to load the game \"magnant\" but I haven\'t got enough memory... (I can see the splash screen behind the memory dialog box)

You need the SDL and Lua libraries on your system.

you need to start the game (in 640x480) like this:

Code: [Select]
./stratagus -d -v 1

if you specify
Code: [Select]
-v 6 then it should render in 320x240 (I\'ve hacked the source code...)
SL-5600, kernel 2.6.16 + GPE from .dev
Ethernet Socket LP-E
Viking 256M SD

BalroG

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #12 on: May 07, 2004, 10:11:52 am »
Woohoo! This sounds great!

A nicely documented procedure seems like just the thing to get this to a wider audience maybe?

Who will host the war2 image :-) ? Wonder if Blizzard still worries about copyright in WC2?

Does it play with decent speed???

Sounds like just the thing to impress people with my C860 when it FINALLY arraves! :-)
C860 on Default Sharp ROM(to change soon!)

TonyOlsen

  • Hero Member
  • *****
  • Posts: 554
    • View Profile
    • http://www.userdimensions.com/Tony/Resume.html
WarCraft on the Zaurus (640x480)? "FreeCraft" or &
« Reply #13 on: May 07, 2004, 03:16:00 pm »
I can\'t get the wartool.exe to create the data.wc2 file.  I typed:

Code: [Select]
wartool D:DATA

Detected UK/Australian original DOS CD

Please be patient, the data may take a couple of minutes to extract...


It then ends after a few seconds.  No errors or anything.  What did I miss?  Can the data.wc2 file be called something else?

I bought my copy of WarCraft II a couple of years ago (I bought the battlechest which included WC1, WC2, and Expansion Set)... could I just get the wc2 file from someone?  online?

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 #14 on: May 07, 2004, 03:34:08 pm »
I tried running the stratagus attached to this forum on my QTopia.  I tried running it without any parameters and this is what I got:

Code: [Select]
bash-2.05$ ./stratagus

/?stratagus: error while loading shared libraries: libz.so.1: cannot load shared object file: No such file or directory


libz.so.1?!?  Is that a PDAXRom library?  Was this compiled to work with QTopia?
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