lighter version of vegastrike

Talk among developers, and propose and discuss general development planning/tackling/etc... feature in this forum.
Post Reply
ceros
Star Pilot
Star Pilot
Posts: 4
Joined: Sat Dec 01, 2007 8:06 am

lighter version of vegastrike

Post by ceros »

Hello,

The Debian Games Team is packaging vegastrike-0.5.0 at the moment. We were wondering if you would be willing to release a lighter version of vegastrike in terms of size. 500 MB is a lot to place in the Debian archive.
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Post by klauss »

You can try removing per-faction textures. That should reduce the size a lot. Then, you could also remove some music, though I don't think you'll get that much of a reduction there (there is a lot of music yes, but there's just so much you can remove without getting into boring-music land).

Both do have a rather detrimental impact on the game, but if you definitely must reduce the size, then... I guess that's what it takes.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
safemode
Developer
Developer
Posts: 2150
Joined: Mon Apr 23, 2007 1:17 am
Location: Pennsylvania
Contact:

Post by safemode »

music is actually very significant. I think it's around 100MB or so.

get rid of your /bin dir, that's significant too. 0.5.0 had it in data4.x still.

that should bring you around the 350 range.

Not sure about the faction specific textures. but last i checked i dont think we had many actually. maybe i'm wrong.


The problem with a graphic intensive game is that there are a lot of graphics. Perhaps the deb could pull the data tarball from a mirror somewhere like it pulls the nvidia cg toolkit.
Ed Sweetman endorses this message.
safemode
Developer
Developer
Posts: 2150
Joined: Mon Apr 23, 2007 1:17 am
Location: Pennsylvania
Contact:

Post by safemode »

on a side note. We'd like it if the debian games team could provide the /debian dir used to generate the packages so that we can add it upstream to help test the cmake system that with any luck, will be a success.

post 0.5.0 changes to be of significance:
The configure script needs to be modified a bit. It should check system boost-python and boost files and if none are found, check if any in-tree ones exist, if not , cry. After that occurs,the debian pkged source could not pull the external defs of /boost ... not sure how much that reduces the compressed pkg.
Ed Sweetman endorses this message.
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Post by klauss »

I hadn't considered removing music altogether, but that's an option yes.

I remember per-faction textures using up a LOT of ram, and so presumably also a lot of HD ;)

I would have to grep to be sure in any case. But certainly the only way to make the package smaller is remove data (graphics), because the code, although big, is quite compressible.

I believe you could also remove speech for those mods with speech. And that's a big chunk of bytes you'd be saving. Vanilla VS doesn't have any speech last time I checked.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
bgaskey
Elite Venturer
Elite Venturer
Posts: 718
Joined: Wed Mar 07, 2007 9:05 pm
Location: Rimward of Eden

Post by bgaskey »

There is a fair amount of space to be saved in faction textures, and for most AI ships you don't see the texture much anyway. Also, nobody mentioned the cockpit huds that are still included in SVN but not used in game ATM. 8)
ceros
Star Pilot
Star Pilot
Posts: 4
Joined: Sat Dec 01, 2007 8:06 am

Post by ceros »

Here is where the packaging is done for vegastrike and vegastrike-data.
Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/vegastrike/
Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/pa ... ke/?op=log
Vcs-Svn: svn://svn.debian.org/pkg-games/packages/trunk/vegastrike-data
Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/pa ... ta/?op=log

One question, I see that the music is now a part of the package you ship for vegastrike. Is it possible to play vegastrike without any music? What I mean is can vegastrike run without any changes aside from a missing music directory?
bgaskey
Elite Venturer
Elite Venturer
Posts: 718
Joined: Wed Mar 07, 2007 9:05 pm
Location: Rimward of Eden

Post by bgaskey »

I think it will run if you hand-edit the config file to disable music. I'll test later on and get back to you. 8)

EDIT: Surprisingly enough, it works fine without the music dir. I just renamed it and it continued to load, other sounds worked, no problem afaik.
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Post by loki1950 »

The music can be in a package of it's own which is what fedora did for 0.4.3.

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
bgaskey
Elite Venturer
Elite Venturer
Posts: 718
Joined: Wed Mar 07, 2007 9:05 pm
Location: Rimward of Eden

Post by bgaskey »

So did Debian, in fact. I was just looking at the VS packages in the Ubuntu repos, and music was separate there.
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

@bgaskey, I believe that was the 0.4.3 version that you were looking at... afaik Ubuntu doesn't have 0.5.0 yet, unless it's in some unstable repository somewhere.

The reason we did it together in the tarballs is that it is often confusing for people to download two tarballs and then extract one of them into a specific place.

For package managers like debian, however, it is trivial to make one package install in a subdirectory of the other... so no good reason not to split up the music into a separate package.
chuck_starchaser
Elite
Elite
Posts: 8014
Joined: Fri Sep 05, 2003 4:03 am
Location: Montreal
Contact:

Post by chuck_starchaser »

This might seem counterintuitive, but you might also save some space by packaging hqtextures with it. JPG's of backgrounds are a lot smaller than DDS's, file-size-wise.

EDIT:
It was only yesterday (or was it the day before?) that Freegamer convinced us (PU) to put out a release.
And we started brainstorming about it, then Dilloh came up with the idea of releasing a *demo* of PU; --namely, only the Troy system, and only the basic ships (Tarsus, Orion, Galaxy, Centurion, Talon and Drayman).
Ironically, we decided to do it this way because a) we'd like our users to use svn, and b) because we thought that a release with a small footprint might be more appealing to distros.

You guys (VS) might care to consider going the same route: Just pick one system, or a few systems that have nice planets and bases, pick the best-looking ships, and the nicest musics, and make that into a demo. We're about to create a demo branch, btw. Just my $0.02.
bgaskey
Elite Venturer
Elite Venturer
Posts: 718
Joined: Wed Mar 07, 2007 9:05 pm
Location: Rimward of Eden

Post by bgaskey »

ace123 wrote:@bgaskey, I believe that was the 0.4.3 version that you were looking at... afaik Ubuntu doesn't have 0.5.0 yet, unless it's in some unstable repository somewhere.
Yeah it was indeed 043.

Interesting idea about putting out a demo. VS may be more exploration oriented than PU though so less interesting to play a small demo.
chuck_starchaser
Elite
Elite
Posts: 8014
Joined: Fri Sep 05, 2003 4:03 am
Location: Montreal
Contact:

Post by chuck_starchaser »

I'd say, quite the contrary. *Because* it's more exploration-oriented, people would want to get the svn, full version, to continue exploring. Or, maybe we're in full agreement: It IS less interesting to play a demo; but the victims won't know it until they've already played it; and by then it's too late... :D
bgaskey
Elite Venturer
Elite Venturer
Posts: 718
Joined: Wed Mar 07, 2007 9:05 pm
Location: Rimward of Eden

Post by bgaskey »

chuck_starchaser wrote:I'd say, quite the contrary. *Because* it's more exploration-oriented, people would want to get the svn, full version, to continue exploring. Or, maybe we're in full agreement: It IS less interesting to play a demo; but the victims won't know it until they've already played it; and by then it's too late... :D
Yeah... we are agreeing. But on the other hand, people could feel limited by the demo and give up and go play CoD4 :? I think a demo is something that should be considered, because the full VS has a growing network footprint and makes a serious dent in smaller hard drives.
drinkypoo
Hunter
Hunter
Posts: 81
Joined: Thu Oct 11, 2007 6:19 pm
Location: Kelseyville, CA, USA
Contact:

Post by drinkypoo »

bgaskey wrote:I think a demo is something that should be considered, because the full VS has a growing network footprint and makes a serious dent in smaller hard drives.
What about a reduced-quality/lo-fi version? Low-quality textures, low-quality sounds, et cetera? It could run on reduced-capability systems.

I would definitely split music out of the download, though. I recognize how important ambience is, but that's a major portion of the download size. Splitting music, faction textures, and anything else possible out into other packs is of course a potential source of confusion, but at least provides for a smaller download.
Post Reply