The name given to the process of encoding data such that it uses lesser number of bits as compared to the original representation.
2
votes
0answers
16 views
How can I find an animation's final compression size in Unity?
I've been looking at animation compression, and the only way I can seem to find it's final size is to create a Build and check it in the Profiler. There must be an easier way?
0
votes
1answer
81 views
Minecraft chunk file decompresssion
First of all, hello everyone,
I'm currently making a program to read Minecraft region files (r.#.#.mca) for a server.
The problem I have is that I can't decompress them, I tried GZip and ZLib ...
1
vote
0answers
40 views
Chunk/Region Compression/Decompression
Reading this article here, the author writes about chunk saving and using a lookup table and then saving each chunk in a region file, each region file having 4096 chunks and each chunk having 4096 ...
1
vote
0answers
39 views
Avoiding audio transcoding in Unity?
I'm working on a project where I only have access to MP3s versions of audio tracks I'd like to use. Unity is trying to be helpful and recompressing everything as Vorbis, which is not ideal due to ...
0
votes
1answer
45 views
SVD vs Normal decomposition for BRDF compression
In the slides over here by NVidia, they describe methods for BRDF compression. They first create a BRDF matrix where each column(or row) corresponds to a single light direction (or outgoing view ...
0
votes
1answer
144 views
How to read a custom binary file made with Adobe air into Unity 3D & C#
I have a custom data file from a project that was authored in actionscript some years ago by another developer. I am porting parts of the project over to Unity 3D. I don't have any documentation for ...
6
votes
1answer
270 views
How can I minimise data sent through a network in a modern FPS?
I am aware of snapshot interpolation with the use of delta compression as being a technique used to minimise the amount of data sent in a modern FPS game like Quake 3, but what other techniques are ...
1
vote
2answers
128 views
Efficient way to implement animation from spritesheet?
I'm actually trying to port a GBA game to SDL for educationnal purpose.
The game has many sprites and tiles. Since the GBA screen size is 240x160px, I decided to scale it 2x. At first, it went okay ...
-1
votes
1answer
44 views
What is the recommended way to store compressed textures in files?
Uncompressed textures can be stored in lossy formats such as jpeg and it saves a lot of hard drive space. However for obvious reasons you cannot do the same on compressed textures.
So what is the ...
0
votes
0answers
229 views
Loading Collada Files Quickly (three.js, OpenGL, Javascript)
Okay, so I've created these sleek-looking spaceship models for an OpenGL game that I'm going to make. To make them look sleek and smooth, I used a Subdivision Surface modifier in Blender. Hmm... ...
3
votes
1answer
190 views
How can I compress resources into a single file in Java?
Today I've finished my game, but there's a problem. There're more than 500+ images in my resources folder and I want to compress them into a single file, like other games do (for example put ...
0
votes
2answers
217 views
How to create old-school format music with small file sizes
My friend and I have been working on a project recently, and because we are hard coding everything (other than the graphics library, Pygame), the total size for our project is super small. I feel like ...
1
vote
1answer
124 views
Compressing language for Game use to save Packets
Given ASCII is 8 bits (1 byte), UNICODE is 32 bits (4 bytes).
An idea came to my mind to support multiple language by isolating certain UNICODE Letters to support multiple language for my chat(game) ...
2
votes
1answer
304 views
Client-Server Game Communication (w/ Protobuf, Relevancy and Delta Compression)
So, I have reached another problem while trying to implement my client-server communication. From everything I've read there are three main ways to minimize packet size:
Only send what has changed ...
0
votes
1answer
128 views
Compress 16 bit raw data in webgl
I have a 3D volume where every voxel is 16 bits. Is there anyway I can use some kind of compression to store the data so I can use less video ram?
Webgl supported different compressiosn if you enable ...
0
votes
1answer
265 views
Implementing Client-Server Delta Compression (with Protobufs)
I am writing a 2D real-time RPG in C# and I am trying to implement client-server communication using protocol buffers. I am trying to figure out how to implement delta compression to reduce message ...
1
vote
1answer
184 views
Does compressing data before transfer make a game run faster?
I want to make my game as fast as possible as it is real time and fast paced. I have already decided to encrypt my data here and I was wondering whether compressing it would be faster for the client ...
2
votes
1answer
533 views
Generate ETC2 compressed texture from Android Bitmap in OpenGL ES 2
My app currently uses a lot of textures most of which probably could be compressed quite a lot by using ETC2 (my app runs on 4.4 so i have a lot of devices supporting GLES30), i cannot use ETC1 since ...
1
vote
1answer
200 views
texconv produces texture with same size using BC1 or BC4
According to msdn, the BC1 block compression format is for images with 3 color channels and 1 bit alpha channel and the BC4 is for images with 1 color channel and no alpha.
Using the same RGBA input ...
0
votes
4answers
652 views
Why use compression such as zlib? [closed]
Compression and encryption are different things AFAIK, so why even use compression if you have to still decompress anyway, is this just to reduce distribution size or is there some other reason?
2
votes
2answers
283 views
(XNA) Possible to hide, compress, or rename .XNB files?
I'm fairly new to XNA (only a week into C# and XNA at this point) but I have been developing games for a while now, and the program I used did not require any/many external files in creating an ...
13
votes
4answers
2k views
Avoid double compression of resources
I am using .pngs for my textures and am using a virtual file system in a .zip file for my game project. This means my textures are compressed and decompressed twice. What are the solutions to this ...
2
votes
2answers
10k views
How can I reduce Unity's package size?
I've been experimenting with Unity3D 4.3's 2D features. I've created a simple prototype game to learn how Unity works, how to create sprite animations, collisions and all the basic things. My ...
-5
votes
2answers
227 views
Why is music compressed with lossy codecs down to low bitrates in modern games?
I wonder why anyone would compress the soundtrack of a game with lossy codecs (mp3 mainly) down to 128 kbps bitrate. Thing is I see it on most of the games. Rarely a game has 320 kbps soundtrack, let ...
0
votes
3answers
2k views
Confused about DXT/DDS compression and color depth
I have done my research on DDS/DXT compression, and the information is kind of "everywhere." It is rather difficult to even find good, organized, sensible information on color depth. However, it is ...
2
votes
2answers
917 views
How to pack the game files into one without using any file compressor?
Well, one example is this file of the game The Sims 2 for PS2: quickdat.arc.
The file contains this .arc extension, but it's no one an archive file and it contains some data of the game inside. How ...
0
votes
2answers
479 views
lz4 archive with encryption [duplicate]
I want to make a game data archive that contains all the game assets, now I could use zlib or lz4 to just make a simple zip archive type thing, but I need a bit more security, does anyone have any ...
1
vote
1answer
165 views
Does iOS support BC4 compressed texture?
I've been designing a new OpenGL image algorithm using BC4 textures at its core.
It works well accross Windows and Mac, my main targets up to now.
But today, the customer added a new requirement : it ...
0
votes
1answer
1k views
Using compressed(ETC1) textures in LibGDX
I use standard android tool for compressing PNG texture and archiving it with gzip:
/android-sdks/tools/etc1tool texture.png --encodeNoHeader
gzip texture.pkm
Then I try to load it:
FileHandle ...
1
vote
2answers
3k views
Compress / make Blender .obj file smaller
I have been learning the basics of blender for the best part of the day, and I still cannot figure out how to make models(imported) smaller in file size(where their original file size is 2MB+).
The ...
2
votes
1answer
682 views
Distortion of color space in UDK (material editor)
Question
Using UDK's material editor, I wish to use a texture as a two-dimensional array of values for mathematical computations (basically, the color components of each pixel in the texture alter ...
0
votes
1answer
518 views
Objects won't render when Texture Compression + Mipmapping is Enabled
[EDIT: FIXED - Calling setting texture max level fixed that]
I'm optimizing my game and I've just implemented compressed (DXTn) texture loading in OpenGL. I've worked my way removing bugs but I can't ...
2
votes
2answers
1k views
Best practice for image compression
Which is the best format or best technique to compress images without loss of quality for iPhone/iPad games?
8
votes
3answers
860 views
What is the state of the art at shipping game graphics such as lots of small BMP files?
We have lots of small BMP files which I think would be easier to copy if we had them combined in a big TAR/ZIP/whatever.
What is the state of the art at shipping game graphics?
We are using C# and ...
18
votes
1answer
3k views
What are the pros and cons of these voxel data file formats?
.VXL
.VOX
.KVX
.KV6
.V3A
.V3B
I am trying to decide whether it's worth going with any of the above, or some other, or if I should roll my own. The deciding factors in order of importance are:
...
3
votes
2answers
1k views
State of the art in image compression?
I'm looking for good algorithms for compressing textures offline (ie decompressing them at install or load time, I know about using DXT/3DC to save runtime video memory, but these create awful visual ...
0
votes
3answers
299 views
Converting a Flash animation to Silverlight
I recently had an animated logo done in Flash for Deen Games. I need to display in all my Silverlight games. The problem is, the logo is about ~8 seconds long (205 frames); if I export all the images ...
0
votes
1answer
505 views
Game (X-Plane) boot/startup time / performance
I use X-Plane for my question but it also concerns probably every other flight-simulator or simulation game in general. When developing a plugin what bothers me most is the startup-time of the ...
4
votes
3answers
1k views
Optimal Compression for Speech
I'm designing a game that depends heavily on audio; I will have some 300+ speech files (most of them just a word or two long). This can very quickly escalate the size of my final game.
What's the ...
9
votes
2answers
361 views
Compressing game save data
I'm writing a game that needs to save a lot of detailed data (exact trajectories of some entities) to an external file. I want to save drive space and bandwidth by compressing it, but I've never done ...
3
votes
4answers
348 views
Sanity checks vs file sizes
In your game assets do you make room for explicit sanity checks, or do you have some generally expected bounds which you assert?
I've been thinking about how we compress data and thought that it's ...
11
votes
3answers
948 views
How on earth do you get decent color out of 2BPP?
I've been looking into PowerVR textures, and have run into several textures that are apparently 2 bits per-pixel. This, frankly, boggles my mind. How does one get even half way decent color ...
2
votes
4answers
3k views
Is there a command line ATI texture compression tool?
Is there a command line tool that can convert PNG and JPG files to ATITC compressed textures?
I have my own export pipeline that converts all textures to PVRTC, ATITC, and DXT, so I have no use for a ...
4
votes
1answer
874 views
Ogre3D : seeking advices about game files management
I'm working on a new game, and its related level editor, based on Ogre3D.
I was thinking about how i could manage the game files, knowing that Ogre use .mesh files for models, .material for materials/...
2
votes
1answer
683 views
Does swf provide better compress rate than zlib for png image?
Somebody told me that when a png image is stored in swf, it's separated to several layer, hence the alpha channel can be compressed better. Is it true? Or, once png image is imported into a swf, it's ...
17
votes
7answers
4k views
'Binary XML' for game data?
I'm working on a level editing tool that saves its data as XML.
This is ideal during development, as it's painless to make small changes to the data format, and it works nicely with tree-like data.
...