maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   [Maemo 5] Announce: Stargus - Starcraft I (https://talk.maemo.org/showthread.php?t=67466)

pali 2010-12-26 14:55

[Maemo 5] Announce: Stargus 2.2.7
 
2 Attachment(s)
New version 2.2.7 of Stargus is in Extras-Devel and Extras-Testing now.

Vote for all packages to move Stargus into Extras:
http://maemo.org/packages/package_in...mo1~fremantle/
http://maemo.org/packages/package_in...mo1~fremantle/
http://maemo.org/packages/package_in...1.0.9-2maemo1/


After Wargus, Stargus is for N900 too.

Stargus is data game set for the Stratagus engine. It can be used to play Starcraft I from Blizzard Entertainment, but is needed original Starcraft I CD.

Stratagus is a free cross-platform real-time strategy gaming engine. It includes support for playing over Internet/LAN, or playing vs. computer opponents. The engine is configurable and can be used to create games with a wide-range of features specific to your needs.

Now Stargus is ported and work on Nokia N900 too.

I continue develop desktop version for Windows, Linux and mobile version for N900 together on one place. Project is hosted on Launchpad (where are desktop download files):

https://launchpad.net/stargus

Maemo version for N900 is in Extras-Devel and Extras-Testing repository.

Install instructions:

1. Copy INSTALL.EXE from original Starcraft I CD to phone directory /home/user/MyDocs/Starcraft (Connect phone to computer in mass storage mode and copy files to Starcraft directory) Note: Broodwar does not work

2. Install Stargus from Hildon Application Manager or via apt-get

3. During Stargus installation, data files from /home/user/MyDocs/Starcraft will be automatically extracted. Note that this process may take 15-30 minutes and installer may not responding.

4. After installation, Stargus can be run from Menu.

For reporting bugs, sending patches and answer tracker use ONLY launchpad project sites.

!Note that campaigns are not supported yet! Only single player or network multiplayer game work.

Updates in 2.2.5.5-2maemo3~fremantle:

Data files will be now extracted to /home/user/MyDocs/stratagus/stargus so Stargus will not spend space on /opt. To proper clean Stargus files from /opt is needed to run these commands (as root):
Code:

dpkg -P stargus
rm -rf /opt/stratagus/share/stargus
rm -rf /home/user/.stratagus-2.2/sc

and then install Stargus again

Radicalz38 2010-12-27 08:52

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
hi pali! Thanks! Btw will this work with the latest starcraft update(not broodwar)?
Also other than warcraft and starcraft are there any rts games for stratgus? Age of empire? Civilization? Battle realms? Or anything else?

Mentalist Traceur 2010-12-27 08:58

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
I believe you CAN put other games on stratagus, not sure if anyone has.

Also, I've seen Stargus sitting in the Devel repository for like 4 weeks now - is there a reason for only announcing it just now? So there's a discussion thread, or something else?

Further question: Does support for the Brood War expansion pack look like it will be likely to come in the future? Or is there something horribly incompatible about it? I would assume the former, but might as well ask. (if the answer exists elsewhere on the project page, just slap me and direct me to look there).

And, I am also guessing that Stargus can play against Stargus for multiplayer, but Stargus and Starcraft I can't interact?

Radicalz38 2010-12-27 09:39

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
well yeah i read the description but how would i let other games run? Hehe and oh btw you should be able to play multiplayer even with original starcraft. That's what i red too... (wargus)You can't online as it can't play battle.net edition

xxxxts 2010-12-27 09:58

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
Over 500MB in /home/? That's 1/4th the space! Move to MMC or MyDocs.

pali 2010-12-27 10:01

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
Sorry, there are no other games, which work with lastest version of Stratagus. Some games on sourceforge site http://stratagus.sourceforge.net/games.shtml maybe work with old version of Stratagus (but old version is only for desktop, not for N900).

Boswars use Stratagus engine too, but it is other project. Developers forked Stratagus engine some years ago and now Boswars has own modified engine (incompatible with Wargus/Stargus).

For Stratagus engine Joris Dauphin is working on projet War1gus which is mod for Warcraft I. Code of War1gus (still not working) is on https://code.launchpad.net/war1gus

Stargus need file INSTALL.EXE from original CD (which is MPQ archive) for extracting data. So no update is possible, data are extracted from CD.

Stargus was in Extras-devel, but it fail to install. I fixed it only yesterday, so I have not announced it before. Here can be (or now is) discussion thread for Stargus.

I only pack Stargus scripts and created extractor for Maemo. No other work... I have no time for Stargus and there is no other people which want work on Stargus. So BroodWar and other things will not be implemented... :-(

If you want working on Stargus, join to Stratagus team on launchpad: https://launchpad.net/~stratagus

Stratagus use other network communication as original Blizzard games, so it is not possible to play Stargus against Starcraft.

pali 2010-12-27 10:09

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
Quote:

Originally Posted by xxxxts (Post 905131)
Over 500MB in /home/? That's 1/4th the space! Move to MMC or MyDocs.

Not all people has MMC. So MyDocs will be better choice.

For temporary solution you can create symlink from /opt/stratagus to MyDocs (and move folder) after installing Stratagus and Games...

But there is problem with dpkg and FAT32. FAT32 does not support linux access rights. So when I create DEB package which can install file to MyDocs dpkg fail with error: Cannot change permitions (in MyDocs) :-(

If somebody has found solution how to create DEB package which will install files to MyDocs (on FAT32), no problem I will change it...

xxxxts 2010-12-27 10:15

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
Quote:

Originally Posted by pali (Post 905137)
Not all people has MMC. So MyDocs will be better choice.

For temporary solution you can create symlink from /opt/stratagus to MyDocs before installing Stratagus and Games...

But there is problem with dpkg and FAT32. FAT32 does not support linux access rights. So when I create DEB package which can install file to MyDocs dpkg fail with error: Cannot change permitions (in MyDocs) :-(

If somebody has found solution how to create DEB package which will install files to MyDocs (on FAT32), no problem I will change it...

I am not familiar with symlinks - could you give me the proper command line? I didn't know if it was possible to symlink between partitions.

pali 2010-12-27 10:26

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
symlinking is possible between partitions (it is symbolic link :). But hardlinking is possible only on same partition and only for files.

you can create link with program ln:
$ ln -s orig_location destination
(this will create symbolic link from existing location to destination; -s means symbolic)

If you want to move stratagus to MyDocs, first move files and folders, then create symlink:
$ mv /opt/stratagus /home/user/MyDocs
$ ln -s /home/user/MyDocs/stratagus /opt/stratagus

Note: you must run these commands as root. And you may move it after installing (not before). Installation to MyDocs failed due to FAT permitions.

xxxxts 2010-12-27 12:25

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
Quote:

Originally Posted by pali (Post 905153)
symlinking is possible between partitions (it is symbolic link :). But hardlinking is possible only on same partition and only for files.

you can create link with program ln:
$ ln -s orig_location destination
(this will create symbolic link from existing location to destination; -s means symbolic)

If you want to move stratagus to MyDocs, first move files and folders, then create symlink:
$ mv /opt/stratagus /home/user/MyDocs
$ ln -s /home/user/MyDocs/stratagus /opt/stratagus

Note: you must run these commands as root. And you may move it after installing (not before). Installation to MyDocs failed due to FAT permitions.

Few problems with that method;

1) the FAT partition does not allow characters like '?' in file names, so a few files could not be moved.
2) I used

Code:

ln -s /home/user/MyDocs/Starcraft/stargus /opt/stratagus/share/stargus
But it was still looking for the install files...

I love Starcraft but over 500MB in the home directory is A LOT, even if you have repartitioned your device. Since Campaigns don't work, would it be possible not to extract those? What about an option for music and no music?

This is much better than the original Staragus (0.1-4) for the N900, I would like to see it run smoothly and without taking up so much space in such a small partition.

Radicalz38 2010-12-27 13:57

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
Quote:

Originally Posted by xxxxts (Post 905229)
Few problems with that method;

1) the FAT partition does not allow characters like '?' in file names, so a few files could not be moved.
2) I used

Code:

ln -s /home/user/MyDocs/Starcraft/stargus /opt/stratagus/share/stargus
But it was still looking for the install files...

I love Starcraft but over 500MB in the home directory is A LOT, even if you have repartitioned your device. Since Campaigns don't work, would it be possible not to extract those? What about an option for music and no music?

This is much better than the original Staragus (0.1-4) for the N900, I would like to see it run smoothly and without taking up so much space in such a small partition.

How did it became over 500mb?
Mine is 73.6 MB (77,198,171 bytes)

Well yeah the installer is more than 500mb but after installation the whole starcraft folder on my program files is only 73mb :confused:

dbrodie 2010-12-27 14:03

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
Well, I would suggest just symlinking /opt/stratagus/share/stargus, that worked great for me,
and for me the size of the folder after extraction is 640MB, so yeah, good thing I moved it...

xxxxts 2010-12-27 23:15

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
Quote:

Originally Posted by Radicalz38 (Post 905305)
How did it became over 500mb?
Mine is 73.6 MB (77,198,171 bytes)

Well yeah the installer is more than 500mb but after installation the whole starcraft folder on my program files is only 73mb :confused:

You messed up somewhere...

Radicalz38 2010-12-28 03:17

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
But how? I only get this after installation
[IMG]http://i51.tinypic.com/9hq6iq.jpg[/IMG]

Here's the original CD
[IMG]http://i55.tinypic.com/6oefcx.jpg[/IMG]

xxxxts 2010-12-28 04:35

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
Quote:

Originally Posted by Radicalz38 (Post 905733)
But how? I only get this after installation
[IMG]http://i51.tinypic.com/9hq6iq.jpg[/IMG]

Here's the original CD
[IMG]http://i55.tinypic.com/6oefcx.jpg[/IMG]

You're showing us Starcraft, not Stratagus. I am not an expert but all the files have to be extracted out of the Starcraft directories and they expand to take up a good amount of space so that Stratagus can run.

Radicalz38 2010-12-28 04:54

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
Yeah but isn't the starcraft data files needed to run stargus? How can I extract 500+mb on a 70+mb installation?

xxxxts 2010-12-28 05:30

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
Quote:

Originally Posted by Radicalz38 (Post 905752)
Yeah but isn't the starcraft data files needed to run stargus? How can I extract 500+mb on a 70+mb installation?

I am guessing that is using some sort of compression. .mpq might act like a .zip

Edit: Brainfart - All Starcraft data is on CD in Install.EXE. And that is not a small file.

pali 2010-12-28 09:20

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
Original Starcraft I needs CD to run. It use files from INSTALL.EXE too... So installing Starcraft is not needed!

INSTALL.EXE is like self extracting MPQ archive. For more about MPQ archives see wiki: http://en.wikipedia.org/wiki/MPQ

Startool (part of Stargus) can read MPQ files. It extract data from INSTALL.EXE and then convert it to Stratagus format.

xxxxts 2010-12-28 09:53

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
Quote:

Originally Posted by dbrodie (Post 905315)
Well, I would suggest just symlinking /opt/stratagus/share/stargus, that worked great for me,
and for me the size of the folder after extraction is 640MB, so yeah, good thing I moved it...

I tired ln -s /home/user/MyDocs/Starcraft/share/ /opt/stratagus/share - no luck

pali 2010-12-28 10:10

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
First you need to move old directory to MyDocs and then creating symlink. And you must run these commands as root (not as user)

xxxxts 2010-12-28 11:03

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
Quote:

Originally Posted by pali (Post 905886)
First you need to move old directory to MyDocs and then creating symlink. And you must run these commands as root (not as user)

That's what I am trying, it's telling me I don't have Stratagus installed (which I do of course)

Radicalz38 2010-12-29 08:22

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
@Pali
Thanks! No wonder it's not working :p

dbrodie 2010-12-29 10:24

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
Quote:

Originally Posted by xxxxts (Post 905921)
That's what I am trying, it's telling me I don't have Stratagus installed (which I do of course)

Please post a step by step list of what you did and the EXACT error message(s) so that we can help you better. If you want it to be more comfertable to run the commands and copy and paste then ssh from the desktop to run the commands....

samipower 2010-12-31 00:28

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
i mount in daemon a starcraft original cd

when i extract starcraft cd original files with stargus in pc say:

canīt open data/install.exe
canīt open stardat.mpq

why??

and stargus starcraft .deb installer say original files in MyDocs

how?

i am confuse, MyDocs or opt and install file 600mb original cd in MyDocs

it is very rare , or in memory card installation???

hardkorek 2011-01-05 23:59

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
Quote:

Originally Posted by samipower (Post 907985)
i mount in daemon a starcraft original cd

when i extract starcraft cd original files with stargus in pc say:

canīt open data/install.exe
canīt open stardat.mpq

why??

I have the same problem.
Any solution?

pali 2011-01-21 23:12

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
have you file data/install.exe on cd drive?

pali 2011-01-22 00:14

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
New version of Stargus extract data to MyDocs/stratagus/stargus instead /opt/stratagus

So problem with free space on /opt is solved :)

Note for upgrade:
To clean /opt remove folder /opt/stratagus/share/stargus and then reinstall stargus. When stargus will be only updated via apt-get or Hildon Application Manager /opt will not be cleaned

$ sudo rm -rf /opt/stratagus/share/stargus
$ sudo apt-get install --reinstall stargus

SovietStriker 2011-01-22 21:28

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
Yo Pali thanks alot for the port. Just 2 questions

1. How come in single player the resources (crystals and gas) are always 50,000 even when set to low?

2. Is there anyway to change maps or will this be implemented in the future?

Kapotmaken 2011-01-24 14:36

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
Can anyone help me explain how to install stargus? I tried the OP thread countless times and i just cant get it working this is what I do:

I downloaded and installed stargus and stratagus on my n900.

Then i extract the sc1 data to Mydocs and renew stargus.

The data is getting extracted which takes very long, after this a message says ``data succesfuly extracted``.

Stargus is now available in the menu but when you run it it shuts down after +- 5 seconds.

I go to X terminal type in: sudo gainroot followed by: apt-get install Stargus.

Terminals asks for the location which in reply I type: MyDocs/stratagus/stargus, the answer to this is permission denied.

I have no clue what im doing wrong can anyone please help?

Radicalz38 2011-01-24 14:41

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
@Pali
Hello but is there a way we could use only a config file for pointing the location of stargus & wargus?
Well I don't want my MyDocs fogged with unsupported files so its really good for me to put it inside opt or home folder (I modified my home folder thats why :p)
Also tracker is a pain when all those files are in MyDocs so is my media player photo app are messed up.

pali 2011-01-26 15:28

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
Quote:

Originally Posted by SovietStriker (Post 926357)
Yo Pali thanks alot for the port. Just 2 questions

1. How come in single player the resources (crystals and gas) are always 50,000 even when set to low?

2. Is there anyway to change maps or will this be implemented in the future?

1. sorry I do not know... I only port desktop version
2. Stratagus has support for Map Editor. But I do not have time to create Map Editor in Stargus. You can use original Starcraft Map Editor and use scmconvert application which convert original Starcraft Map for Stargus. If you are interested in you can join to ~stratagus team on launchpad

Quote:

Originally Posted by Kapotmaken (Post 927392)
Can anyone help me explain how to install stargus? I tried the OP thread countless times and i just cant get it working this is what I do:

I downloaded and installed stargus and stratagus on my n900.

Then i extract the sc1 data to Mydocs and renew stargus.

The data is getting extracted which takes very long, after this a message says ``data succesfuly extracted``.

Stargus is now available in the menu but when you run it it shuts down after +- 5 seconds.

I go to X terminal type in: sudo gainroot followed by: apt-get install Stargus.

Terminals asks for the location which in reply I type: MyDocs/stratagus/stargus, the answer to this is permission denied.

I have no clue what im doing wrong can anyone please help?

Stargus now extract data to MyDocs (instead /opt). See updated install instructions.

Quote:

Originally Posted by Radicalz38 (Post 927396)
@Pali
Hello but is there a way we could use only a config file for pointing the location of stargus & wargus?
Well I don't want my MyDocs fogged with unsupported files so its really good for me to put it inside opt or home folder (I modified my home folder thats why :p)
Also tracker is a pain when all those files are in MyDocs so is my media player photo app are messed up.

You can use tracker-cfg to configure watching directories. Starcraft data are now extracted to MyDocs, but stargus executable can read data from /opt/stratagus/share/stargus and /home/user/MyDocs/stratagus/stargus together. (So you can move files from MyDocs... but do not spam me if it not working... is is not supported way :p)

diome 2011-01-27 10:02

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
Hello,

First of all thanks Pali for Wargus:) It's great!.

I have a small problem. When I play on a custom scenario, with map of 128x128, and make save during game I can't load it later. Wargus crashes. I can load only the very first save... maybe it has insufficient memory, or too many units...?

I unistalled wargus, cleaned memory, made some more space, installed again. It didn't help.

Another thing, it often happens that when I enter menu whie playing game and try to load another saved game the program hangs.

As far as I played campaigns they worked perfectly, maybe because they aren't that big.

Kapotmaken 2011-01-27 20:15

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
@pali

I followed the instructions on the main page exactly as it is written.
But still stargus keeps shutting after a few seconds, why doesnt it work?

pali 2011-01-27 20:30

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
start stargus from xterm and write here output

Kapotmaken 2011-01-27 21:06

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
Quote:

Originally Posted by pali (Post 930198)
start stargus from xterm and write here output

I just typed in: start stargus.
The output says: start: Unknown job: stargus

Maybe I should add that Im terrible with xterminal and have no clue how it works.

thx for your support btw.

pali 2011-01-27 21:10

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
run:
Code:

stargus

Radicalz38 2011-01-27 21:18

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
Quote:

Originally Posted by pali (Post 929089)
1. sorry I do not know... I only port desktop version
2. Stratagus has support for Map Editor. But I do not have time to create Map Editor in Stargus. You can use original Starcraft Map Editor and use scmconvert application which convert original Starcraft Map for Stargus. If you are interested in you can join to ~stratagus team on launchpad



Stargus now extract data to MyDocs (instead /opt). See updated install instructions.


You can use tracker-cfg to configure watching directories. Starcraft data are now extracted to MyDocs, but stargus executable can read data from /opt/stratagus/share/stargus and /home/user/MyDocs/stratagus/stargus together. (So you can move files from MyDocs... but do not spam me if it not working... is is not supported way :p)

Thanks! Don't worry i'm not a spammer..(you can see my post count and compare it to the time I joined here)
And if it won't work then i guess I have no choice but to move it to MyDocs :( too bad no symlinking on vfat
And again I said I modified my home partition ;) so which means I have little space now on MyDocs...

Kapotmaken 2011-01-27 21:52

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
@pali

The output says: stargus: not found

pali 2011-01-27 23:54

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
/opt/stratagus/bin/stargus

Ele-Mental 2011-01-28 06:52

Re: [Maemo 5] Announce: Stargus - Starcraft I
 
Who's up for a multi player game?


All times are GMT. The time now is 07:38.

vBulletin® Version 3.8.8