PDA

View Full Version : [ NGD Please Read ] Regnum Online Debian Package


onemyndseye
06-27-2009, 02:12 PM
******** PLEASE NOTE: This package is NO LONGER MAINTAINED. ************

Last time this was discussed, NGD did not seem to be against having a Linux OS package created so I have taken it upon myself to put a 1st draft together.

The package needs some polishing to completely bring it into packaging standards but this represents atleast a proof of concept and a candidate for submittal to the Ubuntu and Debian official repos. Most should find the server that it currently resides on as quite fast and I will keep it there until my provider complains of bandwidth usuage or NGD orders it removed.


The package should show to be quite easy to maintain.. it is currently structured so that the data files should be updated on major version number changes. i.e. When RO goes from 1.0.6 to 1.0.7. I can provide the build scripts needed to build this package automatically.


** NGD: Please respond here with your view on this. FEEL FREE TO DELETE THIS LINK should you not approve of my actions here.


[ Direct Link removed - Use the repo ]

Debian/Ubuntu repo (Unsigned) form:


For 32bit Users add this to /etc/apt/sources.list

deb http://onemyndseye.doesntexist.com/onemyndseye-ppa regnum32/



For 64bit Users add this to /etc/apt/sources.list

deb http://onemyndseye.doesntexist.com/onemyndseye-ppa regnum64/


[ Sorry - I dont feel like creating a package pool ]

Then:

sudo apt-get update
sudo apt-get install regnum-online



- OR -

Easy way: (Paste into terminal)

sudo wget http://onemyndseye.doesntexist.com/onemyndseye-regnum$(getconf LONG_BIT).list -N -O /etc/apt/sources.list.d/onemyndseye-regnum.list
sudo apt-get update && sudo apt-get install regnum-online
#


This Info should always be found here:
http://onemyndseye.doesntexist.com/onemyndseye-ppa/index.html

onemyndseye
06-27-2009, 05:25 PM
Things left to do:

* locale support

Nightchill
06-27-2009, 08:22 PM
nice job^

10char

DkySven
06-28-2009, 09:19 AM
NGD should really hire you :)

onemyndseye
06-29-2009, 11:07 AM
No reply so far from NGD so I am tenatively moving forward.


The package has been updated with the following changes:
* Mumble overlay support now detected and setup automatically.
* Added /etc/default/regnum-online for base session config settings. No more hard coded values.
* Misc sanity checks and code improvments to the session wrapper (/usr/bin/regnum-online)


Re: /etc/default/regnum-online
------------------------------------------------

## Default settings for the regnum-online package
##

#### Use mumble overlay
MUMBLE_OVERLAY=1


### use MALLOC_CHECK for Regnum Online
MALLOC_CHECK_=1



### Location for Regnum Online data directory. Running user
### MUST own this directory and have read/write access. For
### this reason the default is ~/regnum. Other examples
### are: ~/games/regnum, ~/apps/regnum
##
RO_USER_DATA=~/regnum



As you may see this allows you to change the way the RO session behaves as well as allowing you to tune the relative path that the RO user data files will be placed.

The package filename and version have stayed the same. Due to space concerns I was unable to upload a 2nd copy of the package. (see HELP ME below).. It is in transit as I post this with an ETA of around 2 hours. The link above will be dead until then.


HELP ME:
-------------------
I could use some help in 2 ways.

1.
I would like some input on Depends. touchy subject and everyone has an opinion so I'd like to hear yours. We will try best as posible to keep it to bare minimum. Right now the package simply depends on ANY version of Xorg and ANY version of zenity. Recommends are ANY version of libopenal1

2.
Space concerns.... atleast for now I will be hosting this and its REALLY knocking the hell outa my space lol when added to the rest of the personal packages on this repo. This repo is hosted with DropBox (http://getdropbox.com/) If you would like to help please PM me with your email address (or you can get my email adress from HERE (http://onemyndseye.doesntexist.com/onemyndseye-ppa/index.html)) and allow me to invite you to use this great service. I will get extra space and so will you :) After signing up with the emailed link, download and run the program ATLEAST ONCE. Its a 14mb download for windows and 80k or so for Linux... after the inital run it doesnt matter if you ever use it again. I need 12 invites :) comeon guys :)

I assure you I have no want, desire or marketing needs for your email addy :P


***EDIT: Upload completed at 7:25am (GMT-6)

Znurre
06-29-2009, 12:45 PM
1.
I would like some input on Depends. touchy subject and everyone has an opinion so I'd like to hear yours. We will try best as posible to keep it to bare minimum. Right now the package simply depends on ANY version of Xorg and ANY version of zenity. Recommends are ANY version of libopenal1

Gtk2 libs are also needed for the launcher.

onemyndseye
06-29-2009, 01:11 PM
Thanks...

Depends at next build (for now)
-------------------------------------
Depends: libgtk2.0-0 (>= 2.8.20), libglib2.0-0 (>= 2.10.2), libxt6 (>= 1.0.0), zenity


should openal be a depend? as I understand only desktops running a sound server should need this (i.e. pulse) but that represents a large user base.

If so depends should look like this:
Depends: libgtk2.0-0 (>= 2.8.20), libglib2.0-0 (>= 2.10.2), libxt6 (>= 1.0.0), zenity, libopenal0 | libopenal0a | libopenal1

Version numbers are based from Dapper and Debian Etch. Should give a broad stroke to cover most anyone on a currently running Debian/Ubuntu system

Also - Im sure it has a libc6 depend but this should be installed on like..... everything down to a toaster I believe

onemyndseye
06-29-2009, 02:32 PM
After reading some Whitepaper on alsa and openal .. It seems openal at least attempts to "provide an accelerated sound interface to improve performance of demanding sound applications." This suggests that there MAY be performance gains to be had by utilizing openal..... good enough argument for me..

Depends adopted unless someone here objects with good argument.


Package depends will now be:
-------------------------------------
Depends: libgtk2.0-0 (>= 2.8.20), libglib2.0-0 (>= 2.10.2), libxt6 (>= 1.0.0), zenity, libopenal0 | libopenal0a | libopenal1

ArcticWolf
06-29-2009, 03:03 PM
What are the package suggests? I guess mumble alone.

Shall we expect a 64-bit version?

Miraculix
06-29-2009, 03:24 PM
I think xevie should be in the suggested packages as well, if mumble is going to be. push-to-talk works with Xevie enabled in Xorg. In latest versions (not sure if those are available in all debian flavors) Xevian is not needed for push-to-talk but it is strongly encouraged (by mumble, in terminal output if you launch mumble without xevie enabled) to use it for push-to-talk instead of the built-in method.

onemyndseye
06-29-2009, 03:33 PM
OK.. those suggests adopted... as the 1st

@ ArticWolf - Yes: I do plan to put together a 64bit as well. Although I dont have a 64bit platform currently and cannot test (I just went back to 32bit because pulse in x64 was driving me insane). The biggest question is: Is the data*.* and the contents of ~/regnum/live the same for 32bit vs. 64bit? it should be correct? just with different binary exec's? If thats the case I will end up building 3 packages total:

regnum-online x32
regnum-online x64
regnum-data all

and regnum-online will ofc depend on regnum-data

If so it will be easy to build both packages at once... if not --- I dont know when to expect this :( sorry

if youd like I can rough out a quick package for 64bit and see if it works lol

ArcticWolf
06-29-2009, 03:45 PM
The idx and sdb files are the same. Only the binaries and libs change (I think the scripts are the same).

You will need the 32 bit support libs. I'm using my Intel Atom Netbook right now, so I can't really tell you if that's everything you need.

onemyndseye
06-29-2009, 03:55 PM
Yeah.. I know the depends will change slightly .. But ouch... the ~/regnum/live/libs hurt. Missed those at 1st glance


since I have no way of getting these files without a seperate install on my build machine (which basically CANNOT reboot for ANY reason lol) probably the best I can realisticly produce is a x64 bit version of the package that is WITHOUT the libs... that means rolauncher will have to download them. Currently that means an extra 16m download before you are in game.

Might even be safer to exclude the live directory from the archive for x64 all together.. that will put the initial download up to 21mb or so

And since the data dont completely match up then having a common data package is out -- which means a my hosting a 2nd version of the package will have to wait until some of you lovely RO folk allow me to invite to DropBox so my space will increase


This would be a non-issue if we could talk NGD into maintaining the package themselfs using the auto-build scripts I would gladly provide...

This would also solve another small issue thats nagging me... Upon a version change.. the absolute fastest you guys could expect a updated package from me is somewhere in the area of 4-5 hours after the server if reopened to the public... and that is assuming that between running a small business and working a 35/hour a week side job, that I will be available as soon as the server comes up. Then I will be able to gather the new resources, build the package and upload it --- the upload being the longest part with my shitty upstream (60k/sec upload, 1400k/sec download :/)... easy 2-3 hours

Building the package itself if I ...oh say ... already had the new data before the server is up... 30sec tops

logistically its going to be interesting on update day ;P

but certainly... there is nothing stoping you from playing if my package isnt updated... you will simply get the updated data the old fashion way, via rolauncher. then when the package does update your data directory would be made completely current. The issue is that part of the benefit of being on a fast repo is lost because you are still waiting on the patch server and using NGD's bandwidth.

But hey... its a start ;)

There are still some nice things about running RO this way.. for instance a "Fresh install" would consist of deleting your user data (i.e. rm -rfd ~/regnum/) and restart RO. The data directory will be instantly recreated and youll be on your way. Make the mistake I did afew seconds ago and delete rolauncher instead of rolauncher.sh.. no worries - next time you start regnum things will be fixed

Znurre
06-30-2009, 10:20 AM
Just a suggestion...
How about using the openSUSE Build Service for this project?

This way you can create packages for Debian, Ubuntu, Fedora, Mandriva, openSUSE and a few more just by providing sources and deb/rpm spec files.

http://en.opensuse.org/Buildservice

onemyndseye
06-30-2009, 12:56 PM
well.... I did think of that and I havnt checked into it yet.


But my first thought was it could be kinda odd in that this project doesnt have "source" .. instead the whole archive consists of a config file (/etc/default/regnum-online), the RO data (/opt/regnum-online/regnum-data.tar.gz), and a bash script to intergrate the works (/usr/bin/regnum-online). Since there is no source and no makefile Im not sure what a Build service such as this or launchpad.net would make of this project... a "Makefile" could be faked of sorts..... and replaced with my build script (or a modified version of it) but I dunno

But thanks for the suggestion anyways as I certainly will look more into it.

On a related note -- I did forgot to add that I do plan for other Distros given time to hash it out

onemyndseye
06-30-2009, 01:20 PM
Given the discussion with ArticWolf I am considering removing ~/regnum/live from the archive and producing a common data package as stated above. This package would only have the resource files and rolauncher. No libs or scripts.

This currently means a extra 20meg download on the first launch of RO. Please chime in with your thoughts

ArcticWolf
06-30-2009, 01:21 PM
What about using alien to convert the packages?

Znurre
06-30-2009, 01:23 PM
Given the discussion with ArticWolf I am considering removing ~/regnum/live from the archive and producing a common data package as stated above. This package would only have the resource files and rolauncher. No libs or scripts.

This currently means a extra 20meg download on the first launch of RO. Please chime in with your thoughtsThat sounds great to me.

onemyndseye
06-30-2009, 01:28 PM
"....What about using alien to convert the packages? ........"

Alien will convert then without problems but a repo will never touch a aliened packaged from my understanding. And the end goal here is to make it public. However with my limited knowledge of RPM based system this will be a big help in establishing a base-line for development... thanks

onemyndseye
06-30-2009, 01:31 PM
is there a weblink to acquire the 64bit rolauncher?

such as this: http://download01.regnumonline.com.ar/autopatch/launcher2_linux/rolauncher

since I have no 64bit platform I will need a way to wget the newest x64 launcher


***EDIT: nevermind I found it:

http://download01.regnumonline.com.ar/autopatch/launcher2_linux64/rolauncher



As long as feedback on the new package structure continues to be good... expect a updated package tonight or the next with the new structure and a x64 counterpart

ArcticWolf
06-30-2009, 01:42 PM
A bit old, but here you have: http://www.regnumonline.com.ar/forum/attachment.php?attachmentid=16946&d=1239161028

The data*.* files are platform independent. The rest are libs and binaries, and thus depend on the architecture. :)

onemyndseye
06-30-2009, 01:45 PM
A couple notes for any of you that are using this package...


1. youll find a file (last-session.log) in ~/regnum that contains the terminal output from the last session. This flle is overwritten on each run

2. If youd like to see how a update will be handled... edit the file ~/regnum/.package-version and change the version number to 1.0.5 ... or anything actually. The session wrapper does a simple check on the version number contained in this file against the version of the installed package. If they dont match an update is triggered. An update of your personal regnum folder that is.

also... I have modified the postinst script to check for libmumble.so.1 in /usr/lib32 and symlink it to /usr/lib/mumble/libmumble.so.1 if it doesnt exist. any complaints here?


I actually have a alternate version of the package already built that is around 1.5megs. It contains everything except the regnum-data archive. This is actually enough to function completely.... although its a pretty massive download from the autopatch server on first run.

onemyndseye
06-30-2009, 01:51 PM
A bit old, but here you have: http://www.regnumonline.com.ar/forum/attachment.php?attachmentid=16946&d=1239161028

The data*.* files are platform independent. The rest are libs and binaries, and thus depend on the architecture. :)



AH! thanks for that bro

onemyndseye
06-30-2009, 02:34 PM
hrmm... the thought just crossed my mind that versioning by date may be best for this project rather than following RO's version

Thoughts?

ArcticWolf
06-30-2009, 09:09 PM
You're welcome!

hrmm... the thought just crossed my mind that versioning by date may be best for this project rather than following RO's version

Thoughts?

Great idea! :D

Tell me if you need something for the 64 bit package.

onemyndseye
07-01-2009, 01:26 PM
*** Updated:

1. Package structure and version changed. You may upgrade to the new package with ' apt-get dist-upgrade ' however I suggest you remove the original package first (your game directory will not be affected)

From this point it would be best not to direct link the files as the repo is undergoing some changes to cope with dealing with both i386 and amd64.

2. amd64 package and repo added.

New Repo info listed at the top of the thread but I will repost here:


----------------------------------------------
Debian/Ubuntu repo (Unsigned) form:


For 32bit Users add this to /etc/apt/sources.list

deb http://onemyndseye.doesntexist.com/onemyndseye-ppa regnum32/



For 64bit Users add this to /etc/apt/sources.list

deb http://onemyndseye.doesntexist.com/onemyndseye-ppa regnum64/


[ Sorry - I dont feel like creating a package pool ]


Then:

sudo apt-get update
sudo apt-get install regnum-online


---------------------------------------------


ArticWolf -- I'll really need your help here testing bro as I have no way to test the new x64 package.


I have tested the 32bit package and it is working well. Initial download before entering game took about 3-5min at my connection speed. Which is slow for my bandwidth. My router was showing a throughput of 200k/sec at best. After the world was entered no additional downloads were needed.

I do find that this download, while certainly not very time consuming, abit .... unsmooth lol. But I do think this the most efficient way to produce a package for both x64 and i386. Take the good with the bag I guess

hrmm... perhaps Im being too picky. (But picky makes good devs ;P)

onemyndseye
07-01-2009, 02:08 PM
New Item on the roadmap:

* locale support

Mrreality13
07-02-2009, 04:51 AM
Hi All,
i have a pc with-
amd 3200+ @2.1ghz (old s462 single core)
2 gigs pc 3200
nvidia g force 5200 w/128 megs ram
running ubuntu 8.10 will this work on it?
thanx in advance.

onemyndseye
07-02-2009, 08:32 AM
yes...

Thanks in advance for your assistance in testing.

Mrreality13
07-02-2009, 09:29 AM
----------------------------------------------
Debian/Ubuntu repo (Unsigned) form:


For 32bit Users add this to /etc/apt/sources.list

deb http://onemyndseye.doesntexist.com/onemyndseye-ppa regnum32/







i get a 404 error trying this link?

onemyndseye
07-02-2009, 10:11 AM
please read that post carefully.. That is not a web link but a Debian source...



For 32bit Users add this to /etc/apt/sources.list



Easy way: (Paste into terminal)

sudo wget http://onemyndseye.doesntexist.com/onemyndseye-regnum$(getconf LONG_BIT).list -N -O /etc/apt/sources.list.d/onemyndseye-regnum.list
sudo apt-get update && sudo apt-get install regnum-online
#

Mrreality13
07-02-2009, 10:27 AM
sorry will re try --was side tracked while trying buy phone call -will let you know in a day or so how i fared

Mrreality13
07-02-2009, 08:07 PM
i get this when i try
josh@acer:~$ sudo wget http://onemyndseye.doesntexist.com/onemyndseye-regnum$(getconf LONG_BIT).list -N -O /etc/apt/sources.list.d/onemyndseye-regnum.list
[sudo] password for josh:
WARNING: timestamping does nothing in combination with -O. See the manual
for details.

--2009-07-02 16:06:04-- http://onemyndseye.doesntexist.com/onemyndseye-regnum32.list
Resolving onemyndseye.doesntexist.com... 204.13.248.125
Connecting to onemyndseye.doesntexist.com|204.13.248.125|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://files.getdropbox.com/u/1399389/onemyndseye-regnum32.list [following]
--2009-07-02 16:06:04-- http://files.getdropbox.com/u/1399389/onemyndseye-regnum32.list
Resolving files.getdropbox.com... 75.101.129.115, 75.101.136.120, 75.101.148.191
Connecting to files.getdropbox.com|75.101.129.115|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 102 [application/octet-stream]
Saving to: `/etc/apt/sources.list.d/onemyndseye-regnum.list'

100%[======================================>] 102 --.-K/s in 0s

2009-07-02 16:06:10 (14.9 MB/s) - `/etc/apt/sources.list.d/onemyndseye-regnum.list' saved [102/102]

josh@acer:~$ sudo apt-get update && sudo apt-get install regnum-online
Hit http://us.archive.ubuntu.com intrepid Release.gpg
Ign http://us.archive.ubuntu.com intrepid/main Translation-en_US
Ign http://us.archive.ubuntu.com intrepid/restricted Translation-en_US
Ign http://us.archive.ubuntu.com intrepid/universe Translation-en_US
Ign http://us.archive.ubuntu.com intrepid/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com intrepid-updates Release.gpg
Ign http://us.archive.ubuntu.com intrepid-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com intrepid-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com intrepid-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com intrepid-updates/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com intrepid Release
Get:1 http://security.ubuntu.com intrepid-security Release.gpg [189B]
Ign http://security.ubuntu.com intrepid-security/main Translation-en_US
Hit http://us.archive.ubuntu.com intrepid-updates Release
Ign http://security.ubuntu.com intrepid-security/restricted Translation-en_US
Ign http://security.ubuntu.com intrepid-security/universe Translation-en_US
Ign http://security.ubuntu.com intrepid-security/multiverse Translation-en_US
Get:2 http://security.ubuntu.com intrepid-security Release [51.2kB]
Hit http://us.archive.ubuntu.com intrepid/main Packages
Hit http://us.archive.ubuntu.com intrepid/restricted Packages
Hit http://us.archive.ubuntu.com intrepid/main Sources
Ign http://onemyndseye.doesntexist.com regnum32/ Release.gpg
Hit http://us.archive.ubuntu.com intrepid/restricted Sources
Hit http://us.archive.ubuntu.com intrepid/universe Packages
Hit http://us.archive.ubuntu.com intrepid/universe Sources
Hit http://us.archive.ubuntu.com intrepid/multiverse Packages
Hit http://us.archive.ubuntu.com intrepid/multiverse Sources
Ign http://onemyndseye.doesntexist.com regnum32/ Translation-en_US
Get:3 http://security.ubuntu.com intrepid-security/main Packages [125kB]
Hit http://us.archive.ubuntu.com intrepid-updates/main Packages
Hit http://us.archive.ubuntu.com intrepid-updates/restricted Packages
Ign http://onemyndseye.doesntexist.com regnum32/ Release
Ign http://onemyndseye.doesntexist.com regnum32/ Packages
Err http://onemyndseye.doesntexist.com regnum32/ Packages
302 Found
Hit http://us.archive.ubuntu.com intrepid-updates/main Sources
Hit http://us.archive.ubuntu.com intrepid-updates/restricted Sources
Hit http://us.archive.ubuntu.com intrepid-updates/universe Packages
Hit http://us.archive.ubuntu.com intrepid-updates/universe Sources
Hit http://us.archive.ubuntu.com intrepid-updates/multiverse Packages
Hit http://us.archive.ubuntu.com intrepid-updates/multiverse Sources
Get:4 http://security.ubuntu.com intrepid-security/restricted Packages [3870B]
Get:5 http://security.ubuntu.com intrepid-security/main Sources [35.5kB]
Get:6 http://security.ubuntu.com intrepid-security/restricted Sources [1149B]
Get:7 http://security.ubuntu.com intrepid-security/universe Packages [52.8kB]
Get:8 http://security.ubuntu.com intrepid-security/universe Sources [9799B]
Get:9 http://security.ubuntu.com intrepid-security/multiverse Packages [6746B]
Get:10 http://security.ubuntu.com intrepid-security/multiverse Sources [1859B]
Fetched 288kB in 2s (127kB/s)
W: Failed to fetch http://onemyndseye.doesntexist.com/onemyndseye-ppa/regnum32/Packages.gz 302 Found

E: Some index files failed to download, they have been ignored, or old ones used instead.
josh@acer:~$

ArcticWolf
07-02-2009, 08:58 PM
Downloading the 64 bit package and testing it. I'll let you know in like 70 minutes.

EDIT: I had visits, so I couldn't check it earlier.

Ok, I installed the package. It was really fast, so I had my doubts about the installation... Which, unfortunately, turned out to be true. It does install the package, but I can't find the folders and files. /etc/default/regnum-online doesn't exist, and the only files I found (aside the ones in my home folder) are located in /opt, but compressed.

Am I missing something? =/

onemyndseye
07-02-2009, 11:01 PM
i get this when i try ...


I dont know why you are getting this. I just tested this from 5 PCs in 3 different geographic locations...


I can see from the path listed in your output that the source was added correctly.


W: Failed to fetch http://onemyndseye.doesntexist.com/onemyndseye-ppa/regnum32/Packages.gz 302 Found


` wget http://onemyndseye.doesntexist.com/onemyndseye-ppa/regnum32/Packages.gz ` reveals that the Packages.gz is downloadable

/me is at a loss

onemyndseye
07-02-2009, 11:02 PM
Downloading the 64 bit package and testing it. I'll let you know in like 70 minutes.

EDIT: I had visits, so I couldn't check it earlier.

Ok, I installed the package. It was really fast, so I had my doubts about the installation... Which, unfortunately, turned out to be true. It does install the package, but I can't find the folders and files. /etc/default/regnum-online doesn't exist, and the only files I found (aside the ones in my home folder) are located in /opt, but compressed.

Am I missing something? =/



Run the game with /usr/bin/regnum-online


**** EDIT:

OOPS! Somehow I manage to f**k up bad lol ---- there are some files missing. I'll update in just afew

Sorry :( (This is what no sleep will do)

The data package is ok... youll just have to redownload the binary package

ArcticWolf
07-03-2009, 12:30 AM
Ok, no problem! I'm glad could help you. :P

I'll test it in a minute.

onemyndseye
07-03-2009, 12:50 AM
Ok... Package fixed.

A small typo in the build script caused the missing files.

`dpkg --contents regnum-online_090701_amd64.deb` shows we are good now :)

sorry again


apt-get update && apt-get clean && apt-get --reinstall install regnum-online


You should even get a menu entry this time *GASP* :P or start RO with /usr/bin/regnum-online

ArcticWolf
07-03-2009, 01:35 AM
Uh ohh... Something's terribly wrong with my package manager, it keeps segfaulting.

This will take some time...

(It's not your fault, it worked after I installed your package)

Mrreality13
07-03-2009, 02:38 AM
Ok... Package fixed.

A small typo in the build script caused the missing files.

`dpkg --contents regnum-online_090701_amd64.deb` shows we are good now :)

sorry again


apt-get update && apt-get clean && apt-get --reinstall install regnum-online


You should even get a menu entry this time *GASP* :P or start RO with /usr/bin/regnum-online

i got this trying above?
josh@acer:~$ apt-get update && apt-get clean && apt-get --reinstall install regnum-online
E: Could not open lock file /var/lib/apt/lists/lock - open (13 Permission denied)
E: Unable to lock the list directory
josh@acer:~$

ArcticWolf
07-03-2009, 03:02 AM
You're not root. You should be using sudo before each command, or logged in as root.

On a side note, I have a serious problem: for some strange reason my /etc/apt folder now has a amd64 and a i386 folder, each with a copy of my sources.list. Debian devs seem to have changed something in the way on how libapt behaves (mixing repos for those archs that support it), but now it's broken.

This bug report seems to fit with some of my problems: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=534979

I'm messing with the apt conf right now, it is way too different of the one I was used to :P

Mrreality13
07-03-2009, 03:39 AM
tried again got this
josh@acer:~$ sudo apt-get update && apt-get clean && apt-get --reinstall install regnum-online
[sudo] password for josh:
Hit http://security.ubuntu.com intrepid-security Release.gpg
Ign http://security.ubuntu.com intrepid-security/main Translation-en_US
Hit http://us.archive.ubuntu.com intrepid Release.gpg
Ign http://us.archive.ubuntu.com intrepid/main Translation-en_US
Ign http://security.ubuntu.com intrepid-security/restricted Translation-en_US
Ign http://security.ubuntu.com intrepid-security/universe Translation-en_US
Ign http://security.ubuntu.com intrepid-security/multiverse Translation-en_US
Hit http://security.ubuntu.com intrepid-security Release
Ign http://us.archive.ubuntu.com intrepid/restricted Translation-en_US
Ign http://us.archive.ubuntu.com intrepid/universe Translation-en_US
Ign http://us.archive.ubuntu.com intrepid/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com intrepid-updates Release.gpg
Ign http://us.archive.ubuntu.com intrepid-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com intrepid-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com intrepid-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com intrepid-updates/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com intrepid Release
Hit http://security.ubuntu.com intrepid-security/main Packages
Hit http://us.archive.ubuntu.com intrepid-updates Release
Hit http://security.ubuntu.com intrepid-security/restricted Packages
Hit http://security.ubuntu.com intrepid-security/main Sources
Hit http://security.ubuntu.com intrepid-security/restricted Sources
Hit http://security.ubuntu.com intrepid-security/universe Packages
Hit http://us.archive.ubuntu.com intrepid/main Packages
Hit http://us.archive.ubuntu.com intrepid/restricted Packages
Hit http://us.archive.ubuntu.com intrepid/main Sources
Hit http://us.archive.ubuntu.com intrepid/restricted Sources
Hit http://us.archive.ubuntu.com intrepid/universe Packages
Hit http://security.ubuntu.com intrepid-security/universe Sources
Hit http://security.ubuntu.com intrepid-security/multiverse Packages
Hit http://security.ubuntu.com intrepid-security/multiverse Sources
Hit http://us.archive.ubuntu.com intrepid/universe Sources
Hit http://us.archive.ubuntu.com intrepid/multiverse Packages
Hit http://us.archive.ubuntu.com intrepid/multiverse Sources
Hit http://us.archive.ubuntu.com intrepid-updates/main Packages
Hit http://us.archive.ubuntu.com intrepid-updates/restricted Packages
Hit http://us.archive.ubuntu.com intrepid-updates/main Sources
Hit http://us.archive.ubuntu.com intrepid-updates/restricted Sources
Hit http://us.archive.ubuntu.com intrepid-updates/universe Packages
Hit http://us.archive.ubuntu.com intrepid-updates/universe Sources
Hit http://us.archive.ubuntu.com intrepid-updates/multiverse Packages
Hit http://us.archive.ubuntu.com intrepid-updates/multiverse Sources
Reading package lists... Done
E: Could not open lock file /var/cache/apt/archives/lock - open (13 Permission denied)
E: Unable to lock the download directory
josh@acer:~$ sudo wget http://onemyndseye.doesntexist.com/onemyndseye-regnum$(getconf LONG_BIT).list -N -O /etc/apt/sources.list.d/onemyndseye-regnum.list
WARNING: timestamping does nothing in combination with -O. See the manual
for details.

--2009-07-02 23:36:14-- http://onemyndseye.doesntexist.com/onemyndseye-regnum32.list
Resolving onemyndseye.doesntexist.com... 204.13.248.125
Connecting to onemyndseye.doesntexist.com|204.13.248.125|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://files.getdropbox.com/u/1399389/onemyndseye-regnum32.list [following]
--2009-07-02 23:36:14-- http://files.getdropbox.com/u/1399389/onemyndseye-regnum32.list
Resolving files.getdropbox.com... 75.101.148.191, 75.101.129.115, 75.101.136.120
Connecting to files.getdropbox.com|75.101.148.191|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 102 [application/octet-stream]
Saving to: `/etc/apt/sources.list.d/onemyndseye-regnum.list'

100%[======================================>] 102 --.-K/s in 0s

2009-07-02 23:36:16 (7.57 MB/s) - `/etc/apt/sources.list.d/onemyndseye-regnum.list' saved [102/102]

josh@acer:~$ sudo apt-get update && sudo apt-get install regnum-online
Ign http://onemyndseye.doesntexist.com regnum32/ Release.gpg
Hit http://us.archive.ubuntu.com intrepid Release.gpg
Ign http://us.archive.ubuntu.com intrepid/main Translation-en_US
Ign http://onemyndseye.doesntexist.com regnum32/ Translation-en_US
Hit http://security.ubuntu.com intrepid-security Release.gpg
Ign http://security.ubuntu.com intrepid-security/main Translation-en_US
Ign http://security.ubuntu.com intrepid-security/restricted Translation-en_US
Ign http://us.archive.ubuntu.com intrepid/restricted Translation-en_US
Ign http://us.archive.ubuntu.com intrepid/universe Translation-en_US
Ign http://us.archive.ubuntu.com intrepid/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com intrepid-updates Release.gpg
Ign http://us.archive.ubuntu.com intrepid-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com intrepid-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com intrepid-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com intrepid-updates/multiverse Translation-en_US
Ign http://onemyndseye.doesntexist.com regnum32/ Release
Hit http://us.archive.ubuntu.com intrepid Release
Ign http://security.ubuntu.com intrepid-security/universe Translation-en_US
Ign http://security.ubuntu.com intrepid-security/multiverse Translation-en_US
Hit http://security.ubuntu.com intrepid-security Release
Ign http://onemyndseye.doesntexist.com regnum32/ Packages
Hit http://us.archive.ubuntu.com intrepid-updates Release
Err http://onemyndseye.doesntexist.com regnum32/ Packages
302 Found
Hit http://security.ubuntu.com intrepid-security/main Packages
Hit http://us.archive.ubuntu.com intrepid/main Packages
Hit http://us.archive.ubuntu.com intrepid/restricted Packages
Hit http://us.archive.ubuntu.com intrepid/main Sources
Hit http://us.archive.ubuntu.com intrepid/restricted Sources
Hit http://us.archive.ubuntu.com intrepid/universe Packages
Hit http://security.ubuntu.com intrepid-security/restricted Packages
Hit http://security.ubuntu.com intrepid-security/main Sources
Hit http://security.ubuntu.com intrepid-security/restricted Sources
Hit http://security.ubuntu.com intrepid-security/universe Packages
Hit http://us.archive.ubuntu.com intrepid/universe Sources
Hit http://us.archive.ubuntu.com intrepid/multiverse Packages
Hit http://us.archive.ubuntu.com intrepid/multiverse Sources
Hit http://us.archive.ubuntu.com intrepid-updates/main Packages
Hit http://us.archive.ubuntu.com intrepid-updates/restricted Packages
Hit http://us.archive.ubuntu.com intrepid-updates/main Sources
Hit http://us.archive.ubuntu.com intrepid-updates/restricted Sources
Hit http://us.archive.ubuntu.com intrepid-updates/universe Packages
Hit http://us.archive.ubuntu.com intrepid-updates/universe Sources
Hit http://us.archive.ubuntu.com intrepid-updates/multiverse Packages
Hit http://security.ubuntu.com intrepid-security/universe Sources
Hit http://security.ubuntu.com intrepid-security/multiverse Packages
Hit http://security.ubuntu.com intrepid-security/multiverse Sources
Hit http://us.archive.ubuntu.com intrepid-updates/multiverse Sources
W: Failed to fetch http://onemyndseye.doesntexist.com/onemyndseye-ppa/regnum32/Packages.gz 302 Found

E: Some index files failed to download, they have been ignored, or old ones used instead.
josh@acer:~$ sudo apt-get update && apt-get clean && apt-get --reinstall install regnum-online
Ign http://onemyndseye.doesntexist.com regnum32/ Release.gpg
Ign http://onemyndseye.doesntexist.com regnum32/ Translation-en_US
Hit http://security.ubuntu.com intrepid-security Release.gpg
Ign http://security.ubuntu.com intrepid-security/main Translation-en_US
Ign http://security.ubuntu.com intrepid-security/restricted Translation-en_US
Ign http://onemyndseye.doesntexist.com regnum32/ Release
Hit http://us.archive.ubuntu.com intrepid Release.gpg
Ign http://us.archive.ubuntu.com intrepid/main Translation-en_US
Ign http://security.ubuntu.com intrepid-security/universe Translation-en_US
Ign http://security.ubuntu.com intrepid-security/multiverse Translation-en_US
Hit http://security.ubuntu.com intrepid-security Release
Ign http://onemyndseye.doesntexist.com regnum32/ Packages
Ign http://us.archive.ubuntu.com intrepid/restricted Translation-en_US
Ign http://us.archive.ubuntu.com intrepid/universe Translation-en_US
Ign http://us.archive.ubuntu.com intrepid/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com intrepid-updates Release.gpg
Ign http://us.archive.ubuntu.com intrepid-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com intrepid-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com intrepid-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com intrepid-updates/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com intrepid Release
Err http://onemyndseye.doesntexist.com regnum32/ Packages
302 Found
Hit http://security.ubuntu.com intrepid-security/main Packages
Hit http://us.archive.ubuntu.com intrepid-updates Release
Hit http://security.ubuntu.com intrepid-security/restricted Packages
Hit http://security.ubuntu.com intrepid-security/main Sources
Hit http://security.ubuntu.com intrepid-security/restricted Sources
Hit http://security.ubuntu.com intrepid-security/universe Packages
Hit http://us.archive.ubuntu.com intrepid/main Packages
Hit http://us.archive.ubuntu.com intrepid/restricted Packages
Hit http://us.archive.ubuntu.com intrepid/main Sources
Hit http://us.archive.ubuntu.com intrepid/restricted Sources
Hit http://us.archive.ubuntu.com intrepid/universe Packages
Hit http://security.ubuntu.com intrepid-security/universe Sources
Hit http://security.ubuntu.com intrepid-security/multiverse Packages
Hit http://security.ubuntu.com intrepid-security/multiverse Sources
Hit http://us.archive.ubuntu.com intrepid/universe Sources
Hit http://us.archive.ubuntu.com intrepid/multiverse Packages
Hit http://us.archive.ubuntu.com intrepid/multiverse Sources
Hit http://us.archive.ubuntu.com intrepid-updates/main Packages
Hit http://us.archive.ubuntu.com intrepid-updates/restricted Packages
Hit http://us.archive.ubuntu.com intrepid-updates/main Sources
Hit http://us.archive.ubuntu.com intrepid-updates/restricted Sources
Hit http://us.archive.ubuntu.com intrepid-updates/universe Packages
Hit http://us.archive.ubuntu.com intrepid-updates/universe Sources
Hit http://us.archive.ubuntu.com intrepid-updates/multiverse Packages
Hit http://us.archive.ubuntu.com intrepid-updates/multiverse Sources
W: Failed to fetch http://onemyndseye.doesntexist.com/onemyndseye-ppa/regnum32/Packages.gz 302 Found

E: Some index files failed to download, they have been ignored, or old ones used instead.

onemyndseye
07-03-2009, 03:40 AM
i got this trying above?
josh@acer:~$ apt-get update && apt-get clean && apt-get --reinstall install regnum-online
E: Could not open lock file /var/lib/apt/lists/lock - open (13 Permission denied)
E: Unable to lock the list directory
josh@acer:~$



Sorry bro - that post was not directed at you...but ArticWolf
Those commands will do you no good.

show me the output of the following commands:

ls /etc/apt/sources.list.d/

cat /etc/apt/sources.list.d/onemyndseye-ppa.list

cd ~ ; wget http://onemyndseye.doesntexist.com/onemyndseye-ppa/regnum32/Packages.gz

cd ~ ; rm ./Packages.gz


sudo apt-get update

sudo apt-get install regnum-online


If youd like you can connact me via MSN Messenger with the email address shown at the top of the page here: http://onemyndseye.doesntexist.com/onemyndseye-ppa/index.html


In any case you command line still is not formed correctly:

josh@acer:~$ sudo apt-get update && apt-get clean && apt-get --reinstall install regnum-online
[sudo] password for josh:
Hit http://security.ubuntu.com intrepid-security Release.gpg


every apt-get should prefix with sudo

&& = True..

This is like saying if command1 exits without an error do command2

command1 && command2


Thanks,

Mrreality13
07-03-2009, 03:46 AM
hope you ment me-thanx so far buy the way
josh@acer:~$ ls /etc/apt/sources.list.d
onemyndseye-regnum.list onemyndseye-regnum.list.save
josh@acer:~$ cat /etc/apt/sources.list.d/onemyndseye-ppa.list
cat: /etc/apt/sources.list.d/onemyndseye-ppa.list: No such file or directory
josh@acer:~$ cd ~ ; wget http://onemyndseye.doesntexist.com/onemyndseye-ppa/regnum32/Packages.gz
--2009-07-02 23:46:12-- http://onemyndseye.doesntexist.com/onemyndseye-ppa/regnum32/Packages.gz
Resolving onemyndseye.doesntexist.com... 204.13.248.125
Connecting to onemyndseye.doesntexist.com|204.13.248.125|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://files.getdropbox.com/u/1399389/onemyndseye-ppa/regnum32/Packages.gz [following]
--2009-07-02 23:46:12-- http://files.getdropbox.com/u/1399389/onemyndseye-ppa/regnum32/Packages.gz
Resolving files.getdropbox.com... 75.101.129.115, 75.101.136.120, 75.101.148.191
Connecting to files.getdropbox.com|75.101.129.115|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 798 [application/octet-stream]
Saving to: `Packages.gz'

100%[======================================>] 798 --.-K/s in 0s

2009-07-02 23:46:13 (46.2 MB/s) - `Packages.gz' saved [798/798]

josh@acer:~$ cd ~ ; rm ./Packages.gz
josh@acer:~$ sudo apt-get update
Ign http://onemyndseye.doesntexist.com regnum32/ Release.gpg
Ign http://onemyndseye.doesntexist.com regnum32/ Translation-en_US
Ign http://onemyndseye.doesntexist.com regnum32/ Release
Hit http://security.ubuntu.com intrepid-security Release.gpg
Ign http://security.ubuntu.com intrepid-security/main Translation-en_US
Ign http://onemyndseye.doesntexist.com regnum32/ Packages
Hit http://us.archive.ubuntu.com intrepid Release.gpg
Ign http://us.archive.ubuntu.com intrepid/main Translation-en_US
Err http://onemyndseye.doesntexist.com regnum32/ Packages
302 Found
Ign http://security.ubuntu.com intrepid-security/restricted Translation-en_US
Ign http://security.ubuntu.com intrepid-security/universe Translation-en_US
Ign http://security.ubuntu.com intrepid-security/multiverse Translation-en_US
Hit http://security.ubuntu.com intrepid-security Release
Ign http://us.archive.ubuntu.com intrepid/restricted Translation-en_US
Ign http://us.archive.ubuntu.com intrepid/universe Translation-en_US
Ign http://us.archive.ubuntu.com intrepid/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com intrepid-updates Release.gpg
Ign http://us.archive.ubuntu.com intrepid-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com intrepid-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com intrepid-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com intrepid-updates/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com intrepid Release
Hit http://security.ubuntu.com intrepid-security/main Packages
Hit http://us.archive.ubuntu.com intrepid-updates Release
Hit http://security.ubuntu.com intrepid-security/restricted Packages
Hit http://security.ubuntu.com intrepid-security/main Sources
Hit http://security.ubuntu.com intrepid-security/restricted Sources
Hit http://security.ubuntu.com intrepid-security/universe Packages
Hit http://us.archive.ubuntu.com intrepid/main Packages
Hit http://us.archive.ubuntu.com intrepid/restricted Packages
Hit http://us.archive.ubuntu.com intrepid/main Sources
Hit http://us.archive.ubuntu.com intrepid/restricted Sources
Hit http://us.archive.ubuntu.com intrepid/universe Packages
Hit http://security.ubuntu.com intrepid-security/universe Sources
Hit http://security.ubuntu.com intrepid-security/multiverse Packages
Hit http://security.ubuntu.com intrepid-security/multiverse Sources
Hit http://us.archive.ubuntu.com intrepid/universe Sources
Hit http://us.archive.ubuntu.com intrepid/multiverse Packages
Hit http://us.archive.ubuntu.com intrepid/multiverse Sources
Hit http://us.archive.ubuntu.com intrepid-updates/main Packages
Hit http://us.archive.ubuntu.com intrepid-updates/restricted Packages
Hit http://us.archive.ubuntu.com intrepid-updates/main Sources
Hit http://us.archive.ubuntu.com intrepid-updates/restricted Sources
Hit http://us.archive.ubuntu.com intrepid-updates/universe Packages
Hit http://us.archive.ubuntu.com intrepid-updates/universe Sources
Hit http://us.archive.ubuntu.com intrepid-updates/multiverse Packages
Hit http://us.archive.ubuntu.com intrepid-updates/multiverse Sources
W: Failed to fetch http://onemyndseye.doesntexist.com/onemyndseye-ppa/regnum32/Packages.gz 302 Found

E: Some index files failed to download, they have been ignored, or old ones used instead.
josh@acer:~$ sudo apt-get install regnum-online
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package regnum-online
josh@acer:~$

onemyndseye
07-03-2009, 03:58 AM
I think I see your issue...

do this:

sudo rm /etc/apt/sources.list.d/onemyndseye*

sudo apt-get update

sudo wget http://onemyndseye.doesntexist.com/onemyndseye-regnum$(getconf LONG_BIT).list -N -O /etc/apt/sources.list.d/onemyndseye-regnum.list

sudo apt-get update



Post your results

(I accepted your Buddy request but you have not replied to my messages)

onemyndseye
07-03-2009, 04:01 AM
ArticWolf - Sorry to hear of your troubles bro.. please let me know if I can do anything to help.

ArcticWolf
07-03-2009, 04:54 AM
ArticWolf - Sorry to hear of your troubles bro.. please let me know if I can do anything to help.

I think it's just some broken packages and apt-get getting confused over some repos. I'll fix it tomorrow.

Zas_
07-03-2009, 12:40 PM
You need to have correct rights to do those actions. Sudo is your friend, imho. And be sure only one application is accessing the packages stuff at a time.

ArcticWolf
07-03-2009, 11:20 PM
I fixed my package manager - ia32-apt-get had broken dependencies so I had to manually fix that.

Now it is complaining about the package size. It says "E: Se produjo un fallo al descargar http://onemyndseye.doesntexist.com/onemyndseye-ppa/regnum64/regnum-online_090701_amd64.deb: El tamaņo difiere
", which basically means "size doesn't match"

onemyndseye
07-04-2009, 02:50 AM
Now it is complaining about the package size. It says "E: Se produjo un fallo al descargar http://onemyndseye.doesntexist.com/o...701_amd64.deb: El tamaņo difiere
", which basically means "size doesn't match"


ah sorry...

this is because the checksum of the package has changed because of my adding the missing files... I should have mentioned that in my previous instructions instead of telling you to --reinstall .. My fault -- Im pretty new and maintaining a repo -- I generally just use this server for things I have built and wish to reuse.

If you purge the package ( ' dpkg --force-all --purge regnum-online ') it should clear the ckecksum and allow you to install the package again. lol This is why you dont change a package and keep the same version number.

For clarity... to fix:

sudo dpkg --force-all --purge regnum-online
sudo apt-get update
sudo apt-get install regnum-online


***** EDIT:

I uploaded an upgraded package that should fix this issue for you. Only the binary package was updated so your download will still be short.

regnum-online_090703-1_amd64.deb


sudo apt-get update
sudo apt-get upgrade

ArcticWolf
07-04-2009, 03:26 AM
Perfect, I'm downloading it right now... Aptitude kept the data files, so it was a pretty fast update.

It runs perfectly... Congrats! You made an awesome job. ^^

The only complaint was chmod, about the xeph:xeph group. I think it should be chown :P

surak
07-04-2009, 04:15 AM
Hi!

I'm looking at this closely, but i don't have time right now to test it completely. As the linux client mantainer, i love it :P

We'll keep in touch.

onemyndseye
07-04-2009, 04:17 AM
Perfect, I'm downloading it right now... Aptitude kept the data files, so it was a pretty fast update.

It runs perfectly... Congrats! You made an awesome job. ^^

The only complaint was chmod, about the xeph:xeph group. I think it should be chown :P



lol - thanks! Good catch :)


Noted and fixed.. will be included in next build. It will be fine until then as its really more of a precaution lol

thanks again :)

onemyndseye
07-04-2009, 04:37 AM
Hi!

I'm looking at this closely, but i don't have time right now to test it completely. As the linux client mantainer, i love it :P

We'll keep in touch.


Glad ya like it Surak :) Please let me know what you think when you have time to complete testing.. as well as any changes that need to be made.

Mrreality13
07-04-2009, 04:41 AM
will try again BUT i noticed this
nVidia video cards
- nVidia GeForce Series
- Recommended: nVidia GeForce Series 6x00, 7x00, 8x00
ATI video cadrs
- ATI Radeon 7500
- Recommended: ATI Radeon Series 9500 or superior
mine is a nvidia 5200
i am goin to install eek a ati 9700 pro -its better supported for game but might be a pest to swap in my ubuntu box(if i have too ill back up and reinstall 8.10 witch is what i have now)or what do you use debian wise for gaming?
-------------------------------
@surak if you really like it give the man a job --or a cookie :)

ArcticWolf
07-04-2009, 05:54 AM
It would be nice to have a way to check for data changes and add them to a generic folder. I mean, each time the game get modified the script would check the changes and move them to /usr/share/regnum-online. Next time it would set up a symlink, but I don't know if it will work that way. It is ugly, I know...

I'll set up a chroot environment to test every dependency.

By any chance, did you include ia32-libs as a dependency in the amd64 package?


PS: It's 3am, I'm up since 8 am... If I say something that doesn't make sense, tell me and I'll check it out later.

onemyndseye
07-04-2009, 01:40 PM
It would be nice to have a way to check for data changes and add them to a generic folder. I mean, each time the game get modified the script would check the changes and move them to /usr/share/regnum-online. Next time it would set up a symlink, but I don't know if it will work that way. It is ugly, I know...

I'll set up a chroot environment to test every dependency.

By any chance, did you include ia32-libs as a dependency in the amd64 package?


PS: It's 3am, I'm up since 8 am... If I say something that doesn't make sense, tell me and I'll check it out later.


yes .. ia32-libs are depended unless I had another lapse of brain activity. ;)

Your suggestion is interesting but it carries some faults.. ownership being the main.. A norm user wouldnt have the rights to write to a system-wide path such as /opt or /usr/share so at 1st look it wouldnt be possible staying within Debian/Ubuntu standards -- but let me think on it for awhile :)

Thanks for your help

onemyndseye
07-04-2009, 01:53 PM
will try again BUT i noticed this
nVidia video cards
- nVidia GeForce Series
- Recommended: nVidia GeForce Series 6x00, 7x00, 8x00
ATI video cadrs
- ATI Radeon 7500
- Recommended: ATI Radeon Series 9500 or superior
mine is a nvidia 5200
i am goin to install eek a ati 9700 pro -its better supported for game but might be a pest to swap in my ubuntu box(if i have too ill back up and reinstall 8.10 witch is what i have now)or what do you use debian wise for gaming?
-------------------------------
@surak if you really like it give the man a job --or a cookie :)



For Linux gaming NVIDIA atleast my preferred. .. some may have different opinions here and its a LONG diatribe on "why I think ATI sucks a dwarf" .. but suffice to say - In my opinion They do :)

Your NVIDIA 5200 should run RO with a decent framerate... you wont break any records but it shouldbe completely playable.

If you wish to try an ATI I suggest you DO NOT attempt to use an ATI card that is not supported by the official ATI drivers.. which means 9700 should be ok.

onemyndseye
07-04-2009, 04:23 PM
@ Articwolf -

After thinking about it I could include a script or add a command line option to /usr/bin/regnum-online that would prompt for sudo/gksudo build a update .tar.gz .

Best thing I guess would be to use the running users game path as the source.. build the bottle then sudo/gksudo into place and create a symlink. As well as a restore function to roll back to a old .tar.gz

This what you mean?

ArcticWolf
07-04-2009, 06:09 PM
@ Articwolf -

After thinking about it I could include a script or add a command line option to /usr/bin/regnum-online that would prompt for sudo/gksudo build a update .tar.gz .

Best thing I guess would be to use the running users game path as the source.. build the bottle then sudo/gksudo into place and create a symlink. As well as a restore function to roll back to a old .tar.gz

This what you mean?


Exactly. You could copy/move the files to the user folder, allow the updater to change them and then move them again to /opt/regnum-online. Unfortunately, we still depend on sudo/gksudo/kdesu.

You would need to add them as dependencies.

Wouldn't chmod'ing the files to 0666 allow the users to modify the files without ownership problems?

onemyndseye
07-05-2009, 01:10 AM
yes, but presents a security risk that is outside Debian/Ubuntu standards.... Although unlikely.. if the system was compromized the binarys could be replaced by something destructive. :( We wouldnt be running as root but could still easily wipe out ~/ for instance

ArcticWolf
07-05-2009, 04:07 AM
yes, but presents a security risk that is outside Debian/Ubuntu standards.... Although unlikely.. if the system was compromized the binarys could be replaced by something destructive. :( We wouldnt be running as root but could still easily wipe out ~/ for instance

Ouch, I didn't see that coming. I'm not a security expert at all, in fact, that's one of my weaknesses. I rather waste space or wait until a new package gets uploaded than run something with such a security breach.

surak
07-05-2009, 05:01 AM
Hmmm

The experimental server mantains a separate resource database in a file called test0.sdb and it doesn't touch data*.sdb from the official client. A similar technique could be used with a system-wide resource database and a per-user resource database which could hold the updated resources until the package is updated. I've considering this for some time, but I still didn't try it. But seeing how this improves, I'll may try in the near future xD

Just a thought :P

ArcticWolf
07-05-2009, 05:39 AM
So, you mean a master-resources database and an extra per-user database with all the changes? That's a nice workaround over the updater problem. You could use the versioning numbers to check the resources as you're doing now, then check the writing permissions over master-resources and see if you can write to it. If you can't, look for $HOME/.regnum/server/temp.sdb. And if doesn't exist then create a $HOME/.regnum/server/temp.sdb :P

We can make a regnum-updatedb script that would prompt to copy temp.sdb from the user's home folder. Such a change shouldn't pose a security threat. And we can copy it again to the user's folder each time we run the game, since it wouldn't be executable and checked by the game database engine.

onemyndseye
07-06-2009, 10:29 AM
Ouch, I didn't see that coming. I'm not a security expert at all, in fact, that's one of my weaknesses. I rather waste space or wait until a new package gets uploaded than run something with such a security breach.


Yes... having a executable stored anywhere thats world writable is a big "no-no" :) This is WinXP's main problem actually


Hmmm

The experimental server mantains a separate resource database in a file called test0.sdb and it doesn't touch data*.sdb from the official client. A similar technique could be used with a system-wide resource database and a per-user resource database which could hold the updated resources until the package is updated. I've considering this for some time, but I still didn't try it. But seeing how this improves, I'll may try in the near future xD

Just a thought :P


Hi Surak ;)

That certainly sounds like it could work.. please keep me informed on this.

In the meantime.. If I had the correct links to use to download the contents of the ./live folder I could save the users the extra 20meg download on initial run...

The only 2 binarys my packages includes is rolauncher which I am downloading from here:

32bit: http://download01.regnumonline.com.ar/autopatch/launcher2_linux/rolauncher
64bit: http://download01.regnumonline.com.ar/autopatch/launcher2_linux64/rolauncher


if there are similar paths I could download the rest of the files for 64bit I think it would improve the package alot... Perhaps there is a filelist stored on this server that the launcher parses to know what to download? If not are they hard coded?.. I can obtain these URL's for myself using wireshark but I will not do so without your direct permission.



Re: update-regnumdb
-----------------------------------------

The more I think about this if I put something together I'll include it in a separate package perhaps called ' regnum-utils ' that can carry the gksudo etc depends... no reason for the main package to depend here and every user will not want or need this function... It should be set to a Reccomend of regnum-online

onemyndseye
07-06-2009, 11:08 AM
On a side note....

I had the chance to test my package against the offical installer on 6 different Ubuntu Jaunty machines with fresh installs this weekend...

The results?

My Package functioned better in 5/6 of the trials... 5 of the installs using the offical installer had problems such as corrupted textures (Black trees, black cloths, black water). In 100% of the Debian package installs there where no issues at all ;)

Mrreality13
07-07-2009, 01:35 PM
ok i give up --has to be my linux pc will have to try again with a better one --best of luck with this awesome project:juggle:

Acknor
07-07-2009, 01:59 PM
So, I have a friend who's just installed Ubuntu on his PC and has been playing Regnum on XP up until now. He's never used a Linux distro in the past. Would you suggest this method for him to install or is it still not quite ready to go?

onemyndseye
07-07-2009, 02:34 PM
If you are comfortable with adding the repo to your sources Id say its quite stable...

ive had no issues on about 12 different test machines now and several VM's just to test the install process and so far everything seems 100%.. there is a small issue in the /usr/bin/regnum-online where a "chmod" should be a "chown" but this fixed in the next update and shouldnt present any issue on 99.999% installs.

On a plus side, youd be helping support and test this install method :)

Should any issue's arise please refer to this thread and I'll help you work them out.

As a general rule, this package should always function better than NGD's current installer through no fault of NGD or InstallJammer (The software used to package the installer).. It is simply a broad approach to packaging/installing RO on many differnet Linux platforms whereas this package will always contain tweaks and fixups tailored for Debian/Ubuntu (And other distros when I have the time)

Acknor
07-07-2009, 02:43 PM
Okay, I'll help him through this method and let you know how it goes. I've just got my fingers crossed that he hasn't got an unsupported video card since I'm a bit of a Linux noob myself...

onemyndseye
07-20-2009, 07:31 PM
The package has been updated to 1.0.7

x0x0
07-21-2009, 02:19 AM
NGD installer would exit right after I logged in. Running in wine gives me an average of 6 FPS. Downloading this now. Wish me luck.

This closes right after logging in too. :(

onemyndseye
07-21-2009, 03:29 AM
This problem is unrelated...

Please refere to this thread: http://regnumonlinegame.com/forum/showthread.php?t=41850

onemyndseye
08-04-2009, 07:31 AM
Will update the package within the next couple days to include the updated bits of content and hotfixes since 1.0.7

onemyndseye
08-14-2009, 02:34 AM
New packages have been built and are uploading. They will become available automatically once the upload is complete.

Changes:
--------------
** Updated to new content as of 8/13/09 (included the recent hotfix)
** Fixed a problem with gnome and the web links in the launcher window as per linearguilds fix shown here (http://regnumonlinegame.com/forum/showthread.php?p=779455)

The default browser can be changed via /etc/default/regnum-online. The wrapper (/usr/bin/regnum-online) checks to make sure the browser is available to the user and exports the BROWSER variable to the regnum-online game executable.


Enjoy guys,
-onemyndseye

onemyndseye
09-07-2009, 05:29 AM
ArcticWolf or another x64 user:


Please verify the depends on regnum-online for me. A user reported this on Jaunty:


I got this error message when I tried that:

The following packages have unmet dependencies.
regnum-online: Depends: ia32-libs (>= 1.19) but it is not going to be installed
E: Broken packages



At 1st glance this doesnt make sense ... the current version of ia32-libs is 2.7ubuntu6.1 which is certainly "Greater than or equal to" (>=) 1.19

This package is in universe. Is universe not enabled by default on Ubuntu? (I actually use Mint7)

ArcticWolf
09-07-2009, 07:46 PM
I've removed ia32-libs from my system (which means I've also removed your package, temporarily) to test if I can run the game without those libs.

After doing a little bit of research on the spanish forum, apparently Regnum doesn't need ia32 libs; it's just an installer issue.

I think you can safely remove ia32-libs as a dependency. Let me do further testing to confirm this.

onemyndseye
09-08-2009, 05:14 AM
aahh.. nice - Thanks for the help bro

ArcticWolf
09-08-2009, 10:04 AM
You're welcome!


At 1st glance this doesnt make sense ... the current version of ia32-libs is 2.7ubuntu6.1 which is certainly "Greater than or equal to" (>=) 1.19

This package is in universe. Is universe not enabled by default on Ubuntu? (I actually use Mint7)

I think this is just a ia32-libs dependency problem, and not in your deb. This may be due to another conflicting package (manually installed or needed by a manually installed package), and aptitude will refuse to remove or downgrade packages. Or maybe the user is trying to perform an installation using dpkg instead of gdebi or aptitude.

onemyndseye
09-08-2009, 11:29 AM
everything was OK in your tests then?

thats good to hear. I set the depends very very slack - most should match anything from ATLEAST hardy forward so I was confused to see a dep issue.

DkySven
09-08-2009, 08:03 PM
After adding your repository on a 64 bit machine, Ubuntu 9.04, I installed and played without any problems.

I do think Universe should be enabled by default in Ubuntu, but I can't check it right now. (I don't have access to the said 64 bit pc at the moment)

ArcticWolf
09-08-2009, 09:57 PM
IMHO, you can remove ia32-libs safely. The game still depends on some gtk libs for the launcher, but I think you already included them.

onemyndseye
09-22-2009, 04:48 AM
Very good!! Thanks for checking..


I moved to a 64bit on my laptop this week so that will make dealing with both packages easier.

onemyndseye
10-17-2009, 04:30 PM
Will update the package soon.. stability issues in Linux led me to put this off for a couple weeks.


Update comming :)

Acknor
10-17-2009, 05:56 PM
Just so you know, I just bought a new PC and used this package to install RO. Worked like a charm AND my Mumble overlay starting working, something it's never done before.

Thanks for making it easy for us Linux newbs. xD

onemyndseye
10-17-2009, 06:10 PM
Great to hear!!!!


Thanks very much for the feedback

onemyndseye
10-17-2009, 06:40 PM
New packages built and being uploaded. As usuall they will come available once the upload complete successfully.


*** EDIT: Upload complete

onemyndseye
12-18-2009, 04:21 PM
New packages built and being uploaded and will come available once the upload complete successfully.

This brings us current to the version 1.5 and includes afew small changes to the session wrapper. Also, per request, the 32bit libs have been removed from the amd64 package depends.

I must ask for supporters once again. The packages are increasing in size every time they are built and space on my server is tight. PLEASE, users of this package if you would be so kind as to follow the "Help me" instructions on the 1st page of this thread. Last time I ask only 2 users (Znurre and Nighchill - thanks guys) were nice enough to provide 5min of their time. Hopefully this time we can do alittle better :) I need about 8 users of this forum/package to step forward and lend their support... thanks.


Space concerns.... atleast for now I will be hosting this and its REALLY knocking the hell outa my space lol when added to the rest of the personal packages on this repo. This repo is hosted with DropBox (http://getdropbox.com/) If you would like to help please PM me with your email address (or you can get my email adress from HERE (http://onemyndseye.doesntexist.com/onemyndseye-ppa/index.html)) and allow me to invite you to use this great service. I will get extra space and so will you :) After signing up with the emailed link, download and run the program ATLEAST ONCE. Its a 14mb download for windows and 80k or so for Linux... after the inital run it doesnt matter if you ever use it again. I need 12 invites :) comeon guys :)


I assure you I have no want, desire or marketing needs for your email addy :P


** EDIT:
Upload complete and tested on x64

ArcticWolf
12-18-2009, 05:08 PM
Ok, I'll try to test it today if I can. I appreciate your efforts! :D

onemyndseye
12-18-2009, 09:58 PM
I just realized my package is still using the old launcher. Which seems to work "OK" but alot of setup options are missing.

I need NGD to PLEASE provide me with a http link to grab the new launch for both i386 and amd64 as these:

http://download01.regnumonline.com.ar/autopatch/launcher2_linux/rolauncher
http://download01.regnumonline.com.ar/autopatch/launcher2_linux64/rolauncher


are no longer correct.

onemyndseye
12-20-2009, 04:57 PM
Surak fixed this issue for me.. the packages have be fixed and all should be OK.

Thanks Surak for responding to this request so quickly~

Daeos
12-24-2009, 04:12 AM
Did you still need emails to help you out?

onemyndseye
12-24-2009, 09:30 AM
Yes.. PM sent - thanks so much for the reply.

onemyndseye
02-04-2010, 07:35 AM
Due to a seeming lack of interest in this project and issues in my personal life I will not longer be able to maintain this package and thread. I will keep the current packages online for as long as possible.

Thanks to everyone that supported this project and helped in testing. If anyone is interested you may find a thread Here (http://regnumonlinegame.com/forum/showthread.php?t=50205) that details the way the packages are built and displays the automated scripts that I have used over the past 6 months in maintaining the packages.

This pretty much spells my official "goodbye" to the RO community as I have very little time to devote these days... though I will stop in from time to time.

Again, thanks again everyone and maybe I will see ya in battle :)

Inn Post (http://regnumonlinegame.com/forum/showthread.php?t=55974)
:closed2: