Go Back   Champions of Regnum > English > Technical Support > Linux

Linux Technical issues under Linux platform

Reply
 
Thread Tools Display Modes
Old 05-13-2009, 03:49 PM   #1
Boukarou
Pledge
 
Join Date: Dec 2007
Posts: 7
Boukarou is on a distinguished road
Default Questions to NGD

Hi,

I'm contributing to the Slax live distro by porting packages for that slackware based OS, i've been using it to play Regnum for a while with very good performance.
Now i'd like to share that package with the Slax community who's enthousiastic about proposing quality games. Of-course, the game would be proposed exactly as it is for the official release you provide already.

I wouldn't post my Regnum packages unless I get your permission to do so.

Tell me how you feel about that.

Regards,
__________________
Boukarou - Bruce Campbell
Red Supremacist of the new but already infamous Order Of The MiddleFinger
What do I want ? RED POWA !!!
Boukarou no ha iniciado sesión   Reply With Quote
Old 05-14-2009, 07:29 AM   #2
onemyndseye
Master
 
onemyndseye's Avatar
 
Join Date: Jul 2008
Location: South Central USA
Posts: 260
onemyndseye is on a distinguished road
Default

Hi Bruce...

I dunno if we can expect an answer here but I have considered doing the same for debian based systems. I think I even still have some scripts lying around to wrap up rolaucher for a system-wide type install if you are interested

take care
onemyndseye no ha iniciado sesión   Reply With Quote
Old 05-14-2009, 11:27 AM   #3
surak
Legend
 
surak's Avatar
 
Join Date: Mar 2006
Location: Oslo
Posts: 2,176
surak has a spectacular aura aboutsurak has a spectacular aura about
Default

A system wide install wouldn't need a game directory writable by everybody?
__________________
Surak Remember... this is just a game! - Xephandor existe y Miriya es su profeta!
surak no ha iniciado sesión   Reply With Quote
Old 05-14-2009, 06:49 PM   #4
Nightchill
Banned
 
Join Date: Jul 2008
Posts: 433
Nightchill is on a distinguished road
Default

Quote:
Originally Posted by surak View Post
A system wide install wouldn't need a game directory writable by everybody?
i'm guessing you'd still need ~/.regnum/live/ for writing if that's what you mean
Nightchill no ha iniciado sesión   Reply With Quote
Old 05-14-2009, 06:58 PM   #5
surak
Legend
 
surak's Avatar
 
Join Date: Mar 2006
Location: Oslo
Posts: 2,176
surak has a spectacular aura aboutsurak has a spectacular aura about
Default

But how would you handle the game updates?
__________________
Surak Remember... this is just a game! - Xephandor existe y Miriya es su profeta!
surak no ha iniciado sesión   Reply With Quote
Old 05-14-2009, 07:08 PM   #6
Nightchill
Banned
 
Join Date: Jul 2008
Posts: 433
Nightchill is on a distinguished road
Default

well regnum package could be updated from repository in a manner that with every new update someone puts the latest version in repos, but it'd be much easier if regnum could just download new patches to the home dir and have only it's core installed system wide.
Nightchill no ha iniciado sesión   Reply With Quote
Old 05-14-2009, 07:12 PM   #7
surak
Legend
 
surak's Avatar
 
Join Date: Mar 2006
Location: Oslo
Posts: 2,176
surak has a spectacular aura aboutsurak has a spectacular aura about
Default

That wouldn't solve the problem of the launcher updating itself...

EDIT: or the game binaries.
__________________
Surak Remember... this is just a game! - Xephandor existe y Miriya es su profeta!
surak no ha iniciado sesión   Reply With Quote
Old 05-17-2009, 04:26 PM   #8
Boukarou
Pledge
 
Join Date: Dec 2007
Posts: 7
Boukarou is on a distinguished road
Default

In the case of Slax, the packages are simply compressed folders that are added to your root directory and every changes you made are saved in a separate package. So the update files are automatically stored in a separated package next to your screenshots, logs etc ...

I've been using it for more than one year on my computer on a usb stick with no worries. The only time i remade my 'distributable' package is when you guys released the version 1.0, but that was for the fun of it, I still could play the game with my original 'release'.

On a computer with 2 gig of ram, i can store the entire OS and the game into a ramdisk, and that is very very sweet.
__________________
Boukarou - Bruce Campbell
Red Supremacist of the new but already infamous Order Of The MiddleFinger
What do I want ? RED POWA !!!

Last edited by Boukarou; 05-17-2009 at 04:44 PM.
Boukarou no ha iniciado sesión   Reply With Quote
Old 05-17-2009, 04:51 PM   #9
Mikan
Baron
 
Mikan's Avatar
 
Join Date: Jul 2007
Location: In Nekoko's lap ;)
Posts: 768
Mikan has a spectacular aura aboutMikan has a spectacular aura about
Default

Quote:
Originally Posted by surak View Post
That wouldn't solve the problem of the launcher updating itself...

EDIT: or the game binaries.
Hi Surak,

Games that need this kind of functionality tend to use an "overlay file system". Essentially, you have a base directory, such as /usr/local/bin and /usr/local/share where the game's primary files reside and are assumed to be read-only. Then you "overlay" another directory on top of it, such as ~/.regnum, and file from that directory take higher priority for patching purposes. For example, when the launcher starts up, it would first look for ~/.regnum/rolauncher, and if it exists, run it instead. The game would also have the same behavior - it would look for resources in ~/.regnum/live before it looked for them in /usr/share/games/regnum/live.

In this way every component of the game could be updated at will, with the downside that eventually all of the userspace content may replace all of the system-wide content and thus you will have two almost-complete installations of significant size wasting disk space. However, this would be very unliikely to happen as distributions would update their packages and thus, the system wide files, to newer Regnum versions periodically. The game would simply have to check for outdated patch files in userspace and delete them to conserve disk space if the same file is already available system-wide.

This functionality would be difficult to code, but very flexible, as it would allow "Program Files" installations of Regnum Online on Windows Vista and Windows 7, not to mention the promotional benefits and bandwidth savings of getting into Linux distributions.

Regards.
__________________
Hannah AmelieCatalina NevenaAlicia Godwyn
Alsius Horus ✝ No chance of victory, no chance of defeat ✝ Frozen Flame
Individually, we are one drop. Together, we are an ocean. An ocean of drama.
Mikan no ha iniciado sesión   Reply With Quote
Old 05-18-2009, 12:37 AM   #10
onemyndseye
Master
 
onemyndseye's Avatar
 
Join Date: Jul 2008
Location: South Central USA
Posts: 260
onemyndseye is on a distinguished road
Default

What Mikan said

In the past I've goten around this by installing RO to /opt/regnum and setting modes and ownership to root:games +775

But RO updates sometimes break it by reverting ownership of a file or 2 back to root:root
__________________
RA/Syrtis Hunter LVL50: Elusis
RA/Syrtis Barba LVL50: Artemisia
RA/Syrtis Conju Lvl45: Nellas Miriel
onemyndseye no ha iniciado sesión   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:30 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
NGD Studios 2002-2024 © All rights reserved