05-13-2009, 03:49 PM | #1 |
Pledge
Join Date: Dec 2007
Posts: 7
|
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 !!! |
05-14-2009, 07:29 AM | #2 |
Master
Join Date: Jul 2008
Location: South Central USA
Posts: 260
|
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 |
05-14-2009, 11:27 AM | #3 |
Legend
Join Date: Mar 2006
Location: Oslo
Posts: 2,176
|
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! |
05-14-2009, 06:49 PM | #4 |
Banned
Join Date: Jul 2008
Posts: 433
|
|
05-14-2009, 06:58 PM | #5 |
Legend
Join Date: Mar 2006
Location: Oslo
Posts: 2,176
|
But how would you handle the game updates?
__________________
Surak Remember... this is just a game! - Xephandor existe y Miriya es su profeta! |
05-14-2009, 07:08 PM | #6 |
Banned
Join Date: Jul 2008
Posts: 433
|
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.
|
05-14-2009, 07:12 PM | #7 |
Legend
Join Date: Mar 2006
Location: Oslo
Posts: 2,176
|
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! |
05-17-2009, 04:26 PM | #8 |
Pledge
Join Date: Dec 2007
Posts: 7
|
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. |
05-17-2009, 04:51 PM | #9 | |
Baron
Join Date: Jul 2007
Location: In Nekoko's lap ;)
Posts: 768
|
Quote:
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 Amelie • Catalina Nevena • Alicia 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. |
|
05-18-2009, 12:37 AM | #10 |
Master
Join Date: Jul 2008
Location: South Central USA
Posts: 260
|
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 |
|
|