Skip to main content

Questions tagged [compression]

The name given to the process of encoding data such that it uses lesser number of bits as compared to the original representation.

Filter by
Sorted by
Tagged with
1 vote
1 answer
137 views

I would like to perform bulk operations of a large number of .DDS files (over 100,000) which may appear in any variety of different BCn formats. I would normally use the ImageMagick command line tools ...
Zhro's user avatar
  • 155
1 vote
0 answers
59 views

Is there a better format than PNG to store R16uint depth data on Android I find I get precision artifacts when using ASTC.
gpu's user avatar
  • 21
0 votes
1 answer
118 views

I know that you have to keep in mind what platform you're targeting, but it feels like you might have to have multiple sets of textures. Like let's say you're targeting desktop. How do I know what ...
Zebrafish's user avatar
  • 189
10 votes
2 answers
4k views

I am trying to remake Super Mario Bros. in JavaScript and I am trying to figure out if there is a more efficient way to create and store the level data. I have created 1-1 and here's what the code ...
Jake Miahn's user avatar
0 votes
1 answer
106 views

I get 'undefined' from the BasisParser that I use from Pixi itself, when loading a KTX2 file with a custom extension (through Assets.load): ...
Kristof Van Der Haeghen's user avatar
0 votes
1 answer
5k views

This question is about Unity texture compression. I have an image that has the dimensions as follows: width = 724, and height = 1044. The original size is 348 Kbytes. This means that both the width ...
Job_September_2020's user avatar
0 votes
1 answer
254 views

In my app I’m producing for my deferred shading 4 layers of data to show up occluded parts of the scene during screen space reflection (SSR) pass. I need normal maps with bumpiness of these layers for ...
philB's user avatar
  • 333
0 votes
1 answer
110 views

I'm making a game in which a row of tiles may look something like this, in which each block is represented with a unicode char: “gggggggggggggggggggggggggggggggggggtttttttttjjjjjjjjjjjjjjj” So my ...
Coder2195's user avatar
  • 123
1 vote
1 answer
349 views

Not sure whether this would be better in the retro-computing exchange, but I'm trying in game development first. During the 80s I played a lot of what would now be called "arcade adventures" on the ...
amkingTRP's user avatar
  • 198
1 vote
2 answers
940 views

I have started work on a new game project where users are in an open environment and fight each other in a fast-paced shoot-out. I know that compressing all of the WebSocket's payload data using zlib ...
Jacob Gunther's user avatar
1 vote
4 answers
2k views

I'm creating an HTML5 game. We have high fidelity composed music, in the format of wavs and mp3s— some ...
user3871's user avatar
  • 1,065
0 votes
1 answer
1k views

I'm creating a music game in unity, and the first issue I encountered was that I had no way to load music into the game from a file. I tried using a WWW to load the mp3 files, but in my research I ...
Tanner Fix-It Smith's user avatar
2 votes
1 answer
606 views

I want to know the right and good way to compress my game when I build it. I made 3 levels with all my enemies there. The size of the game file 3GB in the desktop. When I build my game I get 1GB. All ...
user43474's user avatar
  • 547
3 votes
0 answers
695 views

So I read about ASTC and that it should be preferred over S3TC. Where I'm concerned is the current status of hardware support. According to Wikipedia every major GPU manufacturer supports ASTC but ...
SargasDev's user avatar
0 votes
1 answer
1k views

I am working on packaging my game resources into a single file. I have chosen the format but I don't know whether I should use compression or not. I understand the possible pros and cons: Compression ...
VP.'s user avatar
  • 413
3 votes
1 answer
11k views

What is the difference? As far as i know, compressed textures would speed things up, because the PCIe bus has to transfer less amount of data, and the interconnect is the main latency issue with GPU'...
KeyC0de's user avatar
  • 140
28 votes
9 answers
14k views

Many games use the technique of delta compression in order to lower the data load sent. I fail to understand how this technique actually lowers the data load? For example, let's say I want to send a ...
user101051's user avatar
0 votes
0 answers
130 views

Currently in my game I have a large amount of sounds and am getting to the point where I need to find a way to reduce the overall size of the sounds to save space when I deploy. I was wondering if ...
Elliott's user avatar
  • 473
0 votes
1 answer
1k views

I'm making a game similar to Dwarf Fortress and I've run into a large problem from the start. How can you store such a large amount of land on disk. With every voxel holding an integer with the 28 MSB ...
Ben Beazley's user avatar
1 vote
0 answers
238 views

I am currently trying to load 3D models and animations into a program. The file format has no public description, so I am decoding them piece by piece. (I'm studying computer science and it's for ...
rootmenu's user avatar
  • 131
3 votes
0 answers
108 views

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?
john's user avatar
  • 131
0 votes
1 answer
1k views

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 ...
Damia's user avatar
  • 21
2 votes
1 answer
573 views

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 ...
Euthyphro's user avatar
  • 237
1 vote
0 answers
144 views

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 ...
James McMahon's user avatar
0 votes
1 answer
199 views

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 ...
Muhammad Omer's user avatar
0 votes
1 answer
648 views

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 ...
M. Bedi's user avatar
  • 101
7 votes
1 answer
1k views

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 ...
Curiosity's user avatar
  • 123
1 vote
2 answers
593 views

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 ...
Alexandre TryHard Leblanc's user avatar
-1 votes
1 answer
129 views

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 ...
hpsMouse's user avatar
  • 107
1 vote
3 answers
1k views

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... ...
Superdoggy's user avatar
3 votes
1 answer
701 views

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 ...
user3742637's user avatar
1 vote
2 answers
1k views

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 ...
Nick Jarvis's user avatar
1 vote
1 answer
193 views

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) ...
Ace Caserya's user avatar
2 votes
1 answer
905 views

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 to ...
guitar80's user avatar
  • 139
0 votes
1 answer
426 views

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 ...
hidayat's user avatar
  • 309
0 votes
1 answer
1k views

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 ...
guitar80's user avatar
  • 139
1 vote
1 answer
347 views

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 ...
user avatar
4 votes
3 answers
2k views

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 ...
FrankMonza's user avatar
1 vote
1 answer
602 views

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 ...
Inuart's user avatar
  • 113
0 votes
4 answers
2k views

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?
user3333072's user avatar
3 votes
2 answers
812 views

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 ...
BlackAfricano's user avatar
13 votes
4 answers
2k views

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 ...
user1095108's user avatar
3 votes
2 answers
14k views

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 ...
SiliconMind's user avatar
-5 votes
2 answers
430 views

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 ...
user1306322's user avatar
  • 1,411
0 votes
3 answers
7k views

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 ...
Carter81's user avatar
  • 878
2 votes
2 answers
2k views

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 ...
zinx's user avatar
  • 21
0 votes
2 answers
2k views

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 ...
user1040769's user avatar
1 vote
1 answer
301 views

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 ...
Cyan's user avatar
  • 325
0 votes
1 answer
1k views

I use standard android tool for compressing PNG texture and archiving it with gzip: /android-sdks/tools/etc1tool texture.png --encodeNoHeader gzip texture.pkm ...
eleven's user avatar
  • 399
1 vote
2 answers
5k views

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 ...
Joey Tawadrous's user avatar