Menu Content/Inhalt
Home arrow Forum arrow Fleet Operationsarrow Technical Stuffarrow Why Is Fleet Operations Not Packed In Zip?

January 09, 2009, 06:08:13 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Overview   Help Search Login Register  
Pages: 1 2 [3] 4 5 6
  Send this topic  |  Print  
Author Topic: Why Is Fleet Operations Not Packed In Zip?  (Read 3427 times)
cts006

Offline Offline

Posts: 1958



WWW
« Reply #30 on: May 09, 2005, 07:06:25 PM »

If you want to know specificaly why it would be bigger zipped, learn how file compression works.

*a quick guide to file comression*
Most types of computer files are fairly redundant -- they have the same information listed over and over again. File-compression programs simply get rid of the redundancy. Instead of listing a piece of information over and over again, a file-compression program lists that information once and then refers back to it whenever it appears in the original program.
As an example, let's look at a type of information we're all familiar with: words.

In John F. Kennedy's 1961 inaugural address, he delivered this famous line:


"Ask not what your country can do for you -- ask what you can do for your country."
The quote has 17 words, made up of 61 letters, 16 spaces, one dash and one period. If each letter, space or punctuation mark takes up one unit of memory, we get a total file size of 79 units. To get the file size down, we need to look for redundancies.

Immediately, we notice that:

"ask" appears two times
"what" appears two times
"your" appears two times
"country" appears two times
"can" appears two times
"do" appears two times
"for" appears two times
"you" appears two times
Ignoring the difference between capital and lower-case letters, roughly half of the phrase is redundant. Nine words -- ask, not, what, your, country, can, do, for, you -- give us almost everything we need for the entire quote. To construct the second half of the phrase, we just point to the words in the first half and fill in the spaces and punctuation. In the next section, we'll see how file-compression systems accomplish this.

Most compression programs use a variation of the LZ adaptive dictionary-based algorithm to shrink files. "LZ" refers to Lempel and Ziv, the algorithm's creators, and "dictionary" refers to the method of cataloging pieces of data.
The system for arranging dictionaries varies, but it could be as simple as a numbered list. When we go through Kennedy's famous words, we pick out the words that are repeated and put them into the numbered index. Then, we simply write the number instead of writing out the whole word.

So, if this is our dictionary:

 
ask
what
your
country
can
do
for
you
 


Our sentence now reads:

 
"1 not 2 3 4 5 6 7 8 -- 1 2 8 5 6 7 3 4"
   


If you knew the system, you could easily reconstruct the original phrase using only this dictionary and number pattern. This is what the expansion program on your computer does when it expands a downloaded file. You might also have encountered compressed files that open themselves up. To create this sort of file, the programmer includes a simple expansion program with the compressed file. It automatically reconstructs the original file once it's downloaded.

But how much space have we actually saved with this system? "1 not 2 3 4 5 6 7 8 -- 1 2 8 5 6 7 3 4" is certainly shorter than "Ask not what your country can do for you; ask what you can do for your country;" but keep in mind that we need to save the dictionary itself along with the file.

In an actual compression scheme, figuring out the various file requirements would be fairly complicated; but for our purposes, let's go back to the idea that every character and every space takes up one unit of memory. We already saw that the full phrase takes up 79 units. Our compressed sentence (including spaces) takes up 37 units, and the dictionary (words and numbers) also takes up 37 units. This gives us a file size of 74, so we haven't reduced the file size by very much.

But this is only one sentence! You can imagine that if the compression program worked through the rest of Kennedy's speech, it would find these words and others repeated many more times. And, as we'll see in the next section, it would also be rewriting the dictionary to get the most efficient organization possible.

In our example, we picked out all the repeated words and put those in a dictionary. To us, this is the most obvious way to write a dictionary. But a compression program sees it quite differently: It doesn't have any concept of separate words -- it only looks for patterns. And in order to reduce the file size as much as possible, it carefully selects which patterns to include in the dictionary.
If we approach the phrase from this perspective, we end up with a completely different dictionary.

If the compression program scanned Kennedy's phrase, the first redundancy it would come across would be only a couple of letters long. In "ask not what your," there is a repeated pattern of the letter "t" followed by a space -- in "not" and "what." If the compression program wrote this to the dictionary, it could write a "1" every time a "t" were followed by a space. But in this short phrase, this pattern doesn't occur enough to make it a worthwhile entry, so the program would eventually overwrite it.

The next thing the program might notice is "ou," which appears in both "your" and "country." If this were a longer document, writing this pattern to the dictionary could save a lot of space -- "ou" is a fairly common combination in the English language. But as the compression program worked through this sentence, it would quickly discover a better choice for a dictionary entry: Not only is "ou" repeated, but the entire words "your" and "country" are both repeated, and they are actually repeated together, as the phrase "your country." In this case, the program would overwrite the dictionary entry for "ou" with the entry for "your country."

The phrase "can do for" is also repeated, one time followed by "your" and one time followed by "you," giving us a repeated pattern of "can do for you." This lets us write 15 characters (including spaces) with one number value, while "your country" only lets us write 13 characters (with spaces) with one number value, so the program would overwrite the "your country" entry as just "r country," and then write a separate entry for "can do for you." The program proceeds in this way, picking up all repeated bits of information and then calculating which patterns it should write to the dictionary. This ability to rewrite the dictionary is the "adaptive" part of LZ adaptive dictionary-based algorithm. The way a program actually does this is fairly complicated, as you can see by the discussions on Data-Compression.com.

No matter what specific method you use, this in-depth searching system lets you compress the file much more efficiently than you could by just picking out words. Using the patterns we picked out above, and adding "__" for spaces, we come up with this larger dictionary:

 
ask__
what__
you
r__country
__can__do__for__you
 


And this smaller sentence:

 
"1not__2345__--__12354"
   


The sentence now takes up 18 units of memory, and our dictionary takes up 41 units. So we've compressed the total file size from 79 units to 59 units! This is just one way of compressing the phrase, and not necessarily the most efficient one. (See if you can find a better way!) In the next section, we'll see some of the ways in which compression percentage might vary.

So how good is this system? The file-reduction ratio depends on a number of factors, including file type, file size and compression scheme.
In most languages of the world, certain letters and words often appear together in the same pattern. Because of this high rate of redundancy, text files compress very well. A reduction of 50 percent or more is typical for a good-sized text file. Most programming languages are also very redundant because they use a relatively small collection of commands, which frequently go together in a set pattern. Files that include a lot of unique information, such as graphics or MP3 files, cannot be compressed much with this system because they don't repeat many patterns (more on this in the next section).

If a file has a lot of repeated patterns, the rate of reduction typically increases with file size. You can see this just by looking at our example -- if we had more of Kennedy's speech, we would be able to refer to the patterns in our dictionary more often, and so get more out of each entry's file space. Also, more pervasive patterns might emerge in the longer work, allowing us to create a more efficient dictionary.

This efficiency also depends on the specific algorithm used by the compression program. Some programs are particularly suited to picking up patterns in certain types of files, and so may compress them more succinctly. Others have dictionaries within dictionaries, which might compress efficiently for larger files but not for smaller ones. While all compression programs of this sort work with the same basic idea, there is actually a good deal of variation in the manner of execution. Programmers are always trying to build a better system.

As Optec states fleetops uses the best free compression so it makes having anyother compression even outside it pointless as it would make it bigger just beacuse the ditcionary file would be bigger.

If you have dialup, or sh*tty broadband, try a download manager such as Download Accelerator plus at www.speedbit.com. It can save the process of a download.

Now that you know dont complain about the size, it already compresses everything to the max and realize that it is a total conversion and uses less and less original game data every release.

Just remember if the fleetops team wasnt as smart as they are it may be a 200mb+ download.
Logged

PREATOR DEFIANT

Offline Offline

Posts: 4518



WWW
« Reply #31 on: May 09, 2005, 08:13:41 PM »

Heh, lets all listen to degra and keep a crappy mac!
Logged

*^*
cts006

Offline Offline

Posts: 1958



WWW
« Reply #32 on: May 09, 2005, 08:20:27 PM »

Degra, have you read aything here, a cdless version means it wont be compartible.
Logged

Degra

Offline Offline

Posts: 18



« Reply #33 on: May 10, 2005, 06:26:18 AM »

Quote
If you want to know specificaly why it would be bigger zipped, learn how file compression works.

*a quick guide to file comression*
Most types of computer files are fairly redundant -- they have the same information listed over and over again. File-compression programs simply get rid of the redundancy. Instead of listing a piece of information over and over again, a file-compression program lists that information once and then refers back to it whenever it appears in the original program.
As an example, let's look at a type of information we're all familiar with: words.

In John F. Kennedy's 1961 inaugural address, he delivered this famous line:


"Ask not what your country can do for you -- ask what you can do for your country."
The quote has 17 words, made up of 61 letters, 16 spaces, one dash and one period. If each letter, space or punctuation mark takes up one unit of memory, we get a total file size of 79 units. To get the file size down, we need to look for redundancies.

Immediately, we notice that:

"ask" appears two times
"what" appears two times
"your" appears two times
"country" appears two times
"can" appears two times
"do" appears two times
"for" appears two times
"you" appears two times
Ignoring the difference between capital and lower-case letters, roughly half of the phrase is redundant. Nine words -- ask, not, what, your, country, can, do, for, you -- give us almost everything we need for the entire quote. To construct the second half of the phrase, we just point to the words in the first half and fill in the spaces and punctuation. In the next section, we'll see how file-compression systems accomplish this.

Most compression programs use a variation of the LZ adaptive dictionary-based algorithm to shrink files. "LZ" refers to Lempel and Ziv, the algorithm's creators, and "dictionary" refers to the method of cataloging pieces of data.
The system for arranging dictionaries varies, but it could be as simple as a numbered list. When we go through Kennedy's famous words, we pick out the words that are repeated and put them into the numbered index. Then, we simply write the number instead of writing out the whole word.

So, if this is our dictionary:

 
ask
what
your
country
can
do
for
you
 


Our sentence now reads:

 
"1 not 2 3 4 5 6 7 8 -- 1 2 8 5 6 7 3 4"
   


If you knew the system, you could easily reconstruct the original phrase using only this dictionary and number pattern. This is what the expansion program on your computer does when it expands a downloaded file. You might also have encountered compressed files that open themselves up. To create this sort of file, the programmer includes a simple expansion program with the compressed file. It automatically reconstructs the original file once it's downloaded.

But how much space have we actually saved with this system? "1 not 2 3 4 5 6 7 8 -- 1 2 8 5 6 7 3 4" is certainly shorter than "Ask not what your country can do for you; ask what you can do for your country;" but keep in mind that we need to save the dictionary itself along with the file.

In an actual compression scheme, figuring out the various file requirements would be fairly complicated; but for our purposes, let's go back to the idea that every character and every space takes up one unit of memory. We already saw that the full phrase takes up 79 units. Our compressed sentence (including spaces) takes up 37 units, and the dictionary (words and numbers) also takes up 37 units. This gives us a file size of 74, so we haven't reduced the file size by very much.

But this is only one sentence! You can imagine that if the compression program worked through the rest of Kennedy's speech, it would find these words and others repeated many more times. And, as we'll see in the next section, it would also be rewriting the dictionary to get the most efficient organization possible.

In our example, we picked out all the repeated words and put those in a dictionary. To us, this is the most obvious way to write a dictionary. But a compression program sees it quite differently: It doesn't have any concept of separate words -- it only looks for patterns. And in order to reduce the file size as much as possible, it carefully selects which patterns to include in the dictionary.
If we approach the phrase from this perspective, we end up with a completely different dictionary.

If the compression program scanned Kennedy's phrase, the first redundancy it would come across would be only a couple of letters long. In "ask not what your," there is a repeated pattern of the letter "t" followed by a space -- in "not" and "what." If the compression program wrote this to the dictionary, it could write a "1" every time a "t" were followed by a space. But in this short phrase, this pattern doesn't occur enough to make it a worthwhile entry, so the program would eventually overwrite it.

The next thing the program might notice is "ou," which appears in both "your" and "country." If this were a longer document, writing this pattern to the dictionary could save a lot of space -- "ou" is a fairly common combination in the English language. But as the compression program worked through this sentence, it would quickly discover a better choice for a dictionary entry: Not only is "ou" repeated, but the entire words "your" and "country" are both repeated, and they are actually repeated together, as the phrase "your country." In this case, the program would overwrite the dictionary entry for "ou" with the entry for "your country."

The phrase "can do for" is also repeated, one time followed by "your" and one time followed by "you," giving us a repeated pattern of "can do for you." This lets us write 15 characters (including spaces) with one number value, while "your country" only lets us write 13 characters (with spaces) with one number value, so the program would overwrite the "your country" entry as just "r country," and then write a separate entry for "can do for you." The program proceeds in this way, picking up all repeated bits of information and then calculating which patterns it should write to the dictionary. This ability to rewrite the dictionary is the "adaptive" part of LZ adaptive dictionary-based algorithm. The way a program actually does this is fairly complicated, as you can see by the discussions on Data-Compression.com.

No matter what specific method you use, this in-depth searching system lets you compress the file much more efficiently than you could by just picking out words. Using the patterns we picked out above, and adding "__" for spaces, we come up with this larger dictionary:

 
ask__
what__
you
r__country
__can__do__for__you
 


And this smaller sentence:

 
"1not__2345__--__12354"
   


The sentence now takes up 18 units of memory, and our dictionary takes up 41 units. So we've compressed the total file size from 79 units to 59 units! This is just one way of compressing the phrase, and not necessarily the most efficient one. (See if you can find a better way!) In the next section, we'll see some of the ways in which compression percentage might vary.

So how good is this system? The file-reduction ratio depends on a number of factors, including file type, file size and compression scheme.
In most languages of the world, certain letters and words often appear together in the same pattern. Because of this high rate of redundancy, text files compress very well. A reduction of 50 percent or more is typical for a good-sized text file. Most programming languages are also very redundant because they use a relatively small collection of commands, which frequently go together in a set pattern. Files that include a lot of unique information, such as graphics or MP3 files, cannot be compressed much with this system because they don't repeat many patterns (more on this in the next section).

If a file has a lot of repeated patterns, the rate of reduction typically increases with file size. You can see this just by looking at our example -- if we had more of Kennedy's speech, we would be able to refer to the patterns in our dictionary more often, and so get more out of each entry's file space. Also, more pervasive patterns might emerge in the longer work, allowing us to create a more efficient dictionary.

This efficiency also depends on the specific algorithm used by the compression program. Some programs are particularly suited to picking up patterns in certain types of files, and so may compress them more succinctly. Others have dictionaries within dictionaries, which might compress efficiently for larger files but not for smaller ones. While all compression programs of this sort work with the same basic idea, there is actually a good deal of variation in the manner of execution. Programmers are always trying to build a better system.

As Optec states fleetops uses the best free compression so it makes having anyother compression even outside it pointless as it would make it bigger just beacuse the ditcionary file would be bigger.

If you have dialup, or sh*tty broadband, try a download manager such as Download Accelerator plus at www.speedbit.com. It can save the process of a download.

Now that you know dont complain about the size, it already compresses everything to the max and realize that it is a total conversion and uses less and less original game data every release.

Just remember if the fleetops team wasnt as smart as they are it may be a 200mb+ download.
i think cts006 is getting mad about his mac, better get the G5 then Tongue
and no i didn't saw anything about it...
Logged

I am not death...
Optec
*
Offline Offline

Posts: 2558



WWW
« Reply #34 on: May 10, 2005, 10:35:37 AM »

i think it's not that much work to put a little cd in your cd drive.. except you don't have one! that of course would make you an ignorant ******* who penetrates the gaming industry which brings all the blinking stuff to you!  :cry:

You see, we *starting to sing* do it the riiiiight way  Cheesy






Get a download manager!  cheesy
« Last Edit: May 10, 2005, 05:01:31 PM by Optec » Logged

Please support Fleet Operations by donating

Send a standard greeting... Full spread!
PREATOR DEFIANT

Offline Offline

Posts: 4518



WWW
« Reply #35 on: May 10, 2005, 04:48:24 PM »

Optec is showing his claws today!
Logged

*^*
Optec
*
Offline Offline

Posts: 2558



WWW
« Reply #36 on: May 10, 2005, 05:00:21 PM »

hey, there was a smiley at the end Wink
« Last Edit: May 10, 2005, 05:00:31 PM by Optec » Logged

Please support Fleet Operations by donating

Send a standard greeting... Full spread!
Degra

Offline Offline

Posts: 18



« Reply #37 on: May 10, 2005, 05:46:50 PM »

1 thing i got to say:

LOL get a mac!  LOL

i am so evil Tongue
but how do i need to get a CD of armade when i can't buy it any more in the store's? last CD was broken  :cry:  and i downloaded a no cd crack...
Logged

I am not death...
Eufnoc
Star Trek Armada II: Fleet Operation’s Tournament Staff
*
Offline Offline

Posts: 4183


Star Trek Armada II: Fleet Operation’s Tournament


WWW
« Reply #38 on: May 10, 2005, 06:36:42 PM »

umm, you could always get a second hand one, get a copy of one etc, where do you live? if its in the uki will send you one.
Logged

Degra

Offline Offline

Posts: 18



« Reply #39 on: May 10, 2005, 07:06:04 PM »

no, i dont life in the UK  huh
I live in that big country next to deutschland Tongue ( netherlands )
 
Logged

I am not death...
Major A Payne

Offline Offline

Posts: 33


WWW
« Reply #40 on: May 10, 2005, 07:22:17 PM »

Although this doesnt' effect me due to my high speed cable modem, has it been suggested that the mod be split into several smaller chunks with a BAT file to recombine them?? I did it with BI2 to make it more user freindly for 56kers
Logged
Degra

Offline Offline

Posts: 18



« Reply #41 on: May 10, 2005, 08:25:36 PM »

thats possible...i think but you got 1 problem, if you rejoin them wil it be zip or exe?
in most times i play skirmish now i have the mod Borg incrusion 2 installed Tongue
wich i really like... but i want a want to play this mod once in mine life Tongue
and also

 LOL  Get a mac!  LOL  
Logged

I am not death...
PREATOR DEFIANT

Offline Offline

Posts: 4518



WWW
« Reply #42 on: May 10, 2005, 08:43:38 PM »

MACINTOSH SUX ASS. Notice no smiley.
Logged

*^*
Optec
*
Offline Offline

Posts: 2558



WWW
« Reply #43 on: May 10, 2005, 09:30:39 PM »

i will bring this ideas to our installer chief docacola cheesy
Logged

Please support Fleet Operations by donating

Send a standard greeting... Full spread!
cts006

Offline Offline

Posts: 1958



WWW
« Reply #44 on: May 10, 2005, 09:39:52 PM »

http:///files.redvsblue.com/switch/RvB_Switch.mov
Case closed on the mac.
(Right click and save as)
« Last Edit: May 10, 2005, 09:40:22 PM by cts006 » Logged

Pages: 1 2 [3] 4 5 6
  Send this topic  |  Print  
 
Jump to:  

© 2003-2008 DOCa Cola. All rights reserved.
Star Trek and related marks are trademarks of Paramount Pictures.
Powered by Joomla
Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com