maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   [OS2008] Command and Conquer - Red Alert - 1 (https://talk.maemo.org/showthread.php?t=18436)

Bundyo 2008-03-30 19:58

Re: Command and Conquer - Red Alert - 1
 
I first installed the bin package, chose where to put the data (this is important, since he creates a symlink and changes a script (i think)), then i installed the data package (which goes where the symlink points to). Then i installed the bin package again since he told me that there was a problem with the script in the first version (he reuploaded it, that's why i told you to get the bin package again).

Then it ran.

tagazok 2008-03-30 20:06

Re: Command and Conquer - Red Alert - 1
 
ok, I have the 2 debs on my computer but he removed them from the first post :s could you give them to me?

thx :)

another thing: I have a vfat mmc, could I anyway install it on my mmc when it asked me?

Kevlin 2008-03-30 20:10

Re: Command and Conquer - Red Alert - 1
 
Quote:

Originally Posted by linman (Post 162500)
Ok so I will remove the packages. I ported the game for me and it works on my device.
Have e nice day :)

Linman, please could you re-release the files? I was really looking forward to playing C&C Red Alert 1! I'm sorry we had trouble installing the files, but could you at least post the files again?

Bundyo 2008-03-30 20:14

Re: Command and Conquer - Red Alert - 1
 
If you install it on your mmc, the data package will probably fail to install and you should do it manually. Deb files can't extract to vfat, since by default they try to set permissions and fail if they can't.

I don't have the bin file - i downloaded and installed it through the browser...

EDIT: looks to me there won't be any problem if you install on the rootfs with the first bin file...

tagazok 2008-03-30 20:34

Re: Command and Conquer - Red Alert - 1
 
Ok, so, I don't know why but now it works :D
I am going to trie to put the files from the original game :)

ArnimS 2008-03-30 20:34

Re: Command and Conquer - Red Alert - 1
 
Quote:

Originally Posted by linman (Post 162500)
Ok so I will remove the packages. I ported the game for me and it works on my device.
Have e nice day :)

LMAO

Too funny. Sorry I can't help, I haven't purchased the full game yet.

From the FreeRA FAQ "At the moment FreeRA however only supports Westwood RedAlert 1". Maybe that's the problem?

Bundyo 2008-03-30 20:50

Re: Command and Conquer - Red Alert - 1
 
There's no problem anymore, it seems :)

tagazok 2008-03-30 21:23

Re: Command and Conquer - Red Alert - 1
 
I tried to replace all mix files from the demo by mix files of the original game but the game segfault :s
Could you tell me wich files I have to replace?

Nik1 2008-03-30 21:37

Re: Command and Conquer - Red Alert - 1
 
Appears im a little late, anyone explain how to get freera++ running? I used Arnims files and put them on /media/mmc1/freera++ and then "media/mmc1/freera++ # ./freera " but Permission was denied.....

Bundyo 2008-03-30 22:13

Re: Command and Conquer - Red Alert - 1
 
Your vfat card mounts with noexec flag, means you can't run anything from it.

3xternal 2008-03-31 05:20

Re: Command and Conquer - Red Alert - 1
 
Quote:

Originally Posted by linman (Post 162500)
Ok so I will remove the packages. I ported the game for me and it works on my device.
Have e nice day :)

I believe I now have tablet blue balls. If someone could simply post a step by step process from A to Z of how to get this thing up and running there is a good chance we wouldn't have 5 pages of trouble shooting. (IE step 1, do this, step 2, etc). I also think the stance of "well it works for me, F you" is antithetical to this community.

linman 2008-03-31 06:56

Re: Command and Conquer - Red Alert - 1
 
Guys :)
I really do not have enough strength and free time.
For all who want to install the game on vfat formatted mmcX.
Please install only binary package and then extract all data files from the bundle which is posted in the first post.
Please do not mix demo data files with original data files.
Try to run the game with demo data files. If the game works I will prepare a post "step by step how to install data files from your original cd".

BTW the links in the first post are turned ON again.

Bundyo 2008-03-31 06:56

Re: Command and Conquer - Red Alert - 1
 
The walkthrough goes like this:

1. Install it to the rootfs or any non-vfat fs.
2. It runs.

or

1. Install it to rootfs.
2. Move /usr/share/games/freera/data to anywhere, create a symlink to it in its former place.
3. It runs.

linman 2008-03-31 07:41

Re: Command and Conquer - Red Alert - 1
 
Quote:

Originally Posted by tagazok (Post 162539)
I tried to replace all mix files from the demo by mix files of the original game but the game segfault :s
Could you tell me wich files I have to replace?

So now you want to install data files from original CD - OK it will be easy.
1. /usr/share/games/freera/data/mix and delete all *.mix files.
2. copy from original cd to /usr/share/games/freera/data/mix all following files:
size name
309406 ALLIES.MIX
2177047 CONQUER.MIX
15179769 GENERAL.MIX
1456342 MAIN.MIX
25046328 REDALERT.MIX
1030861 SNOW.MIX
1038859 TEMPERAT.MIX

Make sure your MAIN.MIX size is 1456342 because there is XP patched versions of RedAlert with different data files and they won't work.

... try to run the game :)

linman 2008-03-31 11:58

Re: Command and Conquer - Red Alert - 1
 
Guys,
Do not afraid and post your results.
Who succeed to install the game?

We have to solve the issue with vfat formatted mmc. If anyone have an idea how it could be fixed please share it with us.

Best Wishes
Toli

tagazok 2008-04-02 19:12

Re: Command and Conquer - Red Alert - 1
 
Yep :)
I have a question :)
How can I cancel when I clic to construct units. Like right click in the original game. Because I just have the right one with the stilet :s

Nik1 2008-04-04 03:57

Re: Command and Conquer - Red Alert - 1
 
The game comes in 2 cd's allies/soviet and the main.mix file on both is 433 Mb would this work?

linman 2008-04-04 06:49

Re: Command and Conquer - Red Alert - 1
 
Quote:

Originally Posted by tagazok (Post 164094)
Yep :)
I have a question :)
How can I cancel when I clic to construct units. Like right click in the original game. Because I just have the right one with the stilet :s

Ups :) I should change right click with something else maybe with double click.
Will post the link for the new version soon.

linman 2008-04-04 06:59

Re: Command and Conquer - Red Alert - 1
 
Quote:

Originally Posted by Nik1 (Post 164844)
The game comes in 2 cd's allies/soviet and the main.mix file on both is 433 Mb would this work?

Are you sure?
Maybe you have RA 2 or newest version. Try them and post your results here.

Nik1 2008-04-04 12:38

Re: Command and Conquer - Red Alert - 1
 
Quote:

Originally Posted by linman (Post 164875)
Are you sure?
Maybe you have RA 2 or newest version. Try them and post your results here.

Im pretty sure this is RA1, im going to give it a try, but it seems there is only a redalert.mix and main.mix.

tagazok 2008-04-04 13:02

Re: Command and Conquer - Red Alert - 1
 
Quote:

Originally Posted by linman (Post 164870)
Ups :) I should change right click with something else maybe with double click.
Will post the link for the new version soon.

Yep :) double click would be cool for right click :)

jolouis 2008-04-04 13:44

Re: Command and Conquer - Red Alert - 1
 
Haha this is awesome!! I was just talking about getting this one going again with a buddy the other day! And now it's even more incentive to resolve the final issues with USB Mouse Support

(right now if you haven't tried it, the USB mouse makes this awesome... there are some click issues, but that shouldn't be too difficult to fix!)

http://www.internettablettalk.com/wi..._and_USB_mouse

Thanks guys!!

linman 2008-04-05 23:35

Re: Command and Conquer - Red Alert - 1
 
The new version with right click fix and other fixes for start menu is compiled. Tomorrow will create the package.

linman 2008-04-06 09:08

Re: Command and Conquer - Red Alert - 1
 
New version.
- Long click is used for right click (press and hold for more than 500 ms)
- Fixed button positions for first menu

The link as usual is it the end first post.

Nik1 2008-04-06 15:32

Re: Command and Conquer - Red Alert - 1
 
I cannot install freera-data-demo.deb, i get error "Unable to install freera-data-demo."

linman 2008-04-06 16:49

Re: Command and Conquer - Red Alert - 1
 
Quote:

Originally Posted by Nik1 (Post 165809)
I cannot install freera-data-demo.deb, i get error "Unable to install freera-data-demo."

Because you have fat formated mmc right?
Use other archived bundle with data files from first post.

Nik1 2008-04-06 20:27

Re: Command and Conquer - Red Alert - 1
 
Quote:

Originally Posted by linman (Post 165842)
Because you have fat formated mmc right?
Use other archived bundle with data files from first post.

I downloaded the bundle and extracted in /usr/share/games/freera/data but the FreeRA shortcut does not seem to work. When I try ./freera I get

vfs/filesystem/externalvfs.cpp line 81: open file ./freera.log

linman 2008-04-07 06:37

Re: Command and Conquer - Red Alert - 1
 
Quote:

Originally Posted by Nik1 (Post 165920)
I downloaded the bundle and extracted in /usr/share/games/freera/data but the FreeRA shortcut does not seem to work. When I try ./freera I get

vfs/filesystem/externalvfs.cpp line 81: open file ./freera.log

The user which executes ./freera should have +r+w+x permissions to game directory. Also check your free space.

jolouis 2008-04-11 00:30

Re: Command and Conquer - Red Alert - 1
 
Okay people, this is not as complicated as everyone's making it sound... so, here's the deal. Here is my step by step walkthough. It works for me, no problemo. If you have problems, it's because you didn't READ THROUGH IT PROPERLY... so before you ask questions, READ IT AGAIN lol. And of course the game is still a work in progress, so don't expect a polished product (it's pretty good but not perfect).

Enjoy!

How to install RA on the tablet: step by step


IN ORDER FOR ANY OF THIS TO WORK YOU MUST BE ROOT.
IF you don't know how to become root, google "n800 gainroot", and find out.


1) Open the tablet browser and download freera-bin_0.1-2 (latest build as of this writing).

2) When prompted, select open with application manager

3) Application manager pops up and says Install? Click OK

4) Agree to NON-Nokia software thing and wait while it installs (twidle thumbs idly at this point, whistling optional)

5) When asked for location, choose wherever (I left it on defaults as Extras)

6) When asked where to install, choose "Root"

7) It will come up and say that it's installed successfully. If you get an error or it says failed, check your tablet for enough free space on root (needs a few MBs)

8) Close application manager.

DEMO FILES - Download these first, then replace them as discussed later...

8) Download the demo files TAR like this:
click on the freera-data.tgz file in your browser, and choose save, change folder to Internal Memory Card, and hit OK
to start downloading. If you're using Removable Memory card, just remember to change the information as noted later on.

9) Wait for download to complete (again thumb twidling applicable depending on your connection).
MAKE SURE THE DOWNLOAD COMPLETES PROPERLY. If you wait too long or there's a problem and you only get half the file, it WON'T WORK.


10) Once download has completed, go to Utilities Menu, and open X-Term

11) Become root
Gainroot:
sudo gainroot

or with SSH
ssh root@127.1


12) type:
cd /usr/share/games/freera

13) Make a directory to store your game data on the MMC. If you're using Internal Memory (like me):
mkdir /media/mmc2/raData

OR if you're using removable then:
mkdir /media/mmc1/raData

14) Create a link from the games root folder to the data folder that you've just made on your MMC:
For Internaml memory card:

ln -s /media/mmc2/raData /usr/share/games/freera/data

Or Removable:


ln -s /media/mmc1/raData /usr/share/games/freera/data

15) Change to your data directory:
cd /usr/share/games/freera/data

16) Extract your demo data tar file:
Internal Memory:
tar -xzvf /media/mmc2/data.tar.gz

Or Removable Memory:
tar -xzvf /media/mmc1/data.tar.gz

17) Wait while all of the files are extracted (takes time again).

18) Unfortunately we now have a data directory within a data directory, so to solve this we'll move all the files out of the 2nd data directory to the first:
mv data/* ./

rmdir data

19) At this point you'll want to confirm that RA is up and running. Try opening it from your Extras menu (or where ever you choose to have it show up during
the first part of this walkthough). The game should load and run with Demo game data.




FULL GAME FILES

20) You can grab a copy of the full game files from the Abadonware site:
http://www.abandonware-paradise.org/...Alert-829.html

Download them on your computer to make life easy (NOT the tablet directly).

21) Once the download is complete, unzip them somewhere; I chose the directory "raOrig" on my PC's hard drive.

22) Plug the tablet into the PC using the USB cable.

23) Open the drive that represents the memory card where you made your raData directory.

24) Go into the raData directory.

25) Go into the mix directory within raData

26) Copy over the following files from the RAOrig (original downloaded files directory) to the mix directory, overwriting as required:
Allies.mix
Conquer.mix
General.mix
Main.mix
Redalert.mix
Russian.mix
Sounds.mix
Snow.mix
Temperat.mix

And maybe Setup.mix and Aud.mix from the Setup directory... and edlo.mix, edhi.mix? Not sure if those last ones are required, but try without, and if you find some reason to need them then copy them over.


28) Disconnect the USB from the tablet and run RA again; should be full proper game now.

29) Play RA and have fun. Keep in mind that not everything is perfect by any means (lol Soviet mission #1... that's a bit odd), but it's still awesome.

30) Don't forget to delete the data.tar.gz file from your MMC card once you've got everything running.

Thanks,
-Rob

linman 2008-04-11 07:42

Re: Command and Conquer - Red Alert - 1
 
Lol :) Thank you very much jolouis. I will copy your howto in the main post.

3xternal 2008-04-11 09:12

Re: Command and Conquer - Red Alert - 1
 
from step 14:

I input:

ln -s /media/mmc1/raData /usr/share/games/freera/data

and it spat back:

ln: /usr/share/games/freera/data/raData: Operation not permitted

???

tagazok 2008-04-11 10:04

Re: Command and Conquer - Red Alert - 1
 
maybe you should be root:
sudo gainroot
ln -s /media/mmc1/raData /usr/share/games/freera/data

does it work?

3xternal 2008-04-11 10:12

Re: Command and Conquer - Red Alert - 1
 
I typed in

sudo gainroot

it replied: Root shell enabled

I already had that enabled before I tried step 14.

In other words, yeah, I'm logged in as root, but it still doesn't work.

kernelpanic 2008-04-11 11:10

Re: Command and Conquer - Red Alert - 1
 
Quote:

Originally Posted by 3xternal (Post 168331)
from step 14:

I input:

ln -s /media/mmc1/raData /usr/share/games/freera/data

and it spat back:

ln: /usr/share/games/freera/data/raData: Operation not permitted

???

Sounds like the directory 'data' exists. Try-
sudo gainroot
rmdir /usr/share/games/freera/data
ln -s /media/mmc1/raData /usr/share/games/freera/data


If that doesn't work, post back.

cheers,
kernelpanic

3xternal 2008-04-11 11:32

Re: Command and Conquer - Red Alert - 1
 
rmdir /usr/share/games/freera/data

replies:
rmdir: '/usr/share/games/freera/data': Not a directory

Bundyo 2008-04-11 11:47

Re: Command and Conquer - Red Alert - 1
 
So if it's not a directory, then you already have a symlink or another file there.

3xternal 2008-04-11 12:38

Re: Command and Conquer - Red Alert - 1
 
You have mentioned symlinks often. I don't know how to create them or what they are. Telling me "you already have a symlink or another file there." doesn't help.

Where is the "there" you mention?

If there is a symlink there or another file, what should I do with it?

EDIT: I'm on step 19 with the game running. I will try and get the game data files in place and post back

jolouis 2008-04-11 13:24

Re: Command and Conquer - Red Alert - 1
 
3xternal, I did my write up based on the assumption that you were going from having NOTHING installed (no previous attempts) to a full install. It definately sounds like you already have a symbolic link in place that you'll need to get rid of. A symbolic link is simply the Linux equivalent to a shortcut (well, it's more complicated than that, but from a theoretical point of view that's the easiest way to think of it).
You give it a name (in this case "data"), and it targets/points to somewhere else (in this case the "raData" directory on your MMC); then, you can access/read/cd/etc to that target, you can do so simply by refering to the symbolic link. In this scenario, any time RA tries to read from the /usr/share/games/freera/data directory, it will automatically end up reading from /media/mmc1/raData.

A symbolic link is considered a "file" by the file system (even if it targets a directory like the one we're using here), so to remove it you simply need to use the remove file command:
rm /usr/share/games/freera/data

if it gives you an error, just be a bit more "forceful" in telling it that you want to get rid of whatever the heck data is, like this:

rm -rf /usr/share/games/freera/data

That will "force remove recursively" anything that is /usr/share/games/freera/data, whether it be link, directory, file, etc

Once that's done, you can try step 14 again and it should work without problem.

3xternal 2008-04-11 15:27

Re: Command and Conquer - Red Alert - 1
 
The game is now running fine in full mode using the directory you told me to remove. Ah well, it works. I'm happy. Thanks for your assistance!

bobloadmire 2008-04-11 20:42

Re: Command and Conquer - Red Alert - 1
 
\sorry i didn't see


All times are GMT. The time now is 11:39.

vBulletin® Version 3.8.8