You are here

SuperTuxKart Portable Compression

11 posts / 0 new
Last post
digitxp
digitxp's picture
Offline
Last seen: 13 years 3 months ago
Joined: 2007-11-03 18:33
SuperTuxKart Portable Compression

Woah, SuperTuxKart reaches to 180 MB.

   _________
  /         \
 /  O     O  \
 |   __/\__   \
 \  /      \  /
  \_\  | | /_/
    |  | | |
     \ |_|/
      \__/

(Okay, I stink at ascii art.)
I ran WinDirStat and found that the top extensions for size are:

  • .svn-base (88 MB/ 50%)
  • .rbg (42 MB/ 24%)
  • .ogg (24 MB/ 14%)
  • .ac (21 MB/ 12%)

For .svn-base, I'm pretty sure they are useless, but I can't be sure. I can't find any information from google.
For .rbg, they are 3d image files, don't know if they are compressible.
For .ogg, I know that it is compressible, but I don't know how (I can't even play an audio file in Audacity.)
For .ac, I found that they are essentially text files, from here.
I'm wondering if anyone could help me find out how to compress these files and therefore supertuxkart. Thanks in advance!

Travis Carrico
Offline
Last seen: 16 years 1 month ago
Developer
Joined: 2006-10-22 00:30
ogg

well idk about the other file types but i can try to re-encode the ogg files for you. i'll post back later

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 6 months ago
Joined: 2007-04-15 21:08
scrunching

.svn-base is the SVN repository "base" file - used for comparisons. It looks as though you've nabbed SVN, rather than an export of it. You can safely delete them. Better, though, is just to recursively remove all folders ".svn" (note that it should have the hidden attribute, but you could just run rmdir /s /ad .svn in command prompt)
.rgb are just ordinary images - try opening one in GIMP. The "3Dness" is just a color channel, I believe. At least it is with Tux Racer. I don't know whether they are compressible or not.
.ogg are audio files, and are compressible by lowering the quality. BonkEnc should be able to do that.
.ac is the AC3D graphics format; you can open it in Blender and fiddle with the track! Smile I don't know whether they are compressible or not.

I won't disagree with your statement about your ASCII art skills. It's unbalanced, too

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

digitxp
digitxp's picture
Offline
Last seen: 13 years 3 months ago
Joined: 2007-11-03 18:33
Command prompt says /ad isn't

a valid switch.
Those files, strangely engough, came with the default installation.
Okay, I'll try bookenc, and find a universal image compressor (if there is one).

Insert original signature here with Greasemonkey Script.

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 6 months ago
Joined: 2007-04-15 21:08
rmdir

Hmm... I didn't check. I'm used to DIR supporting it. You could try it without it.

Also, BonkEnc, not bookenc.

Please ask the SuperTuxKart people to do an SVN Export for distributions, instead of using the working copy. This may even have security implications (I believe that the password can be stored in the .svn directory somewhere, but I'm not sure.)

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

digitxp
digitxp's picture
Offline
Last seen: 13 years 3 months ago
Joined: 2007-11-03 18:33
I don't really get

your last paragraph. What do you mean by SVN Export instead of a working copy?

Insert original signature here with Greasemonkey Script.

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 6 months ago
Joined: 2007-04-15 21:08
SVN Export vs. Working Copy

An SVN Export only copies the directories and files in the SVN repository, from the trunk, or a branch or a tag, and leaves out the SVN junk which is not needed for anything other than development.

A working copy has all the SVN metadata intact (in ".svn" subdirectories of all directories in the repository), meaning that you can do an update, commit, diff, or whatever. Working copies are, as you have seen, much larger, as they must duplicate everything.

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

digitxp
digitxp's picture
Offline
Last seen: 13 years 3 months ago
Joined: 2007-11-03 18:33
ohhh...

I get it now...
BonkEnc is giving me troubles, does anyone know of an alternative?

Insert original signature here with Greasemonkey Script.

Patrick Patience
Offline
Last seen: 5 years 1 week ago
DeveloperModerator
Joined: 2007-02-20 19:26
MediaCoder?

You can try MediaCoder.

digitxp
digitxp's picture
Offline
Last seen: 13 years 3 months ago
Joined: 2007-11-03 18:33
Sounds good

and I already have it installed :D.

Insert original signature here with Greasemonkey Script.

enderandrew
Offline
Last seen: 14 years 5 months ago
Joined: 2007-07-27 07:26
0.6-rc1

Version 0.6-rc1 just came out, and it is considerably larger. Your checkout was 88 MB of SVN files. So, deleting those you should be under 100 megs. The new version, without SVN files is over 190 megs, almost twice as large. Again, the bulk of that is with .rbg files. These are textures. Did anyone come up with a way to compress them?

Did you compress the .ogg files to a reasonable level without sacrificing too much sound quality?

The new release does have some cruft (a few *~ backup files, redundant characters/karts), but deleting the cruft doesn't save that much room.

Nihilism makes me smile.

Log in or register to post comments