Skip to main content

Questions tagged [file-format]

The structure of data files and how they are stored.

Filter by
Sorted by
Tagged with
0 votes
1 answer
167 views

I'm looking for a file format to store and load 3D models with skeletal animation data, which is free to use and distribute without licence restrictions. I've evaluated formats like glTF and Collada (....
Opengraphicspros12's user avatar
1 vote
1 answer
129 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
2 votes
2 answers
98 views

Assume the following: One theme is created via the Godot Editor (version 3.5) and saved under res://themes/my-theme.theme. Due to changes in the project's file ...
dsacre's user avatar
  • 171
0 votes
0 answers
180 views

How can I pack files back into a DTA file from the game "Hidden & Dangerous 2"? I want to change several sounds in the game in the file Sounds.dta. I ...
Dmitry Revenko's user avatar
1 vote
0 answers
3k views

Unity has both TextureFormat.ARGB32 and TextureFormat.RGBA32.The document says it's 8bit each channel in [0..1] range. But what are these formats exactly? 8bit is usually [0..255]. Do they just ...
Kodra's user avatar
  • 23
0 votes
1 answer
80 views

I am writing up my work and I'm trying to think of a word, or phrase, that better describes a 'partial load' of data. In my case, I have one very large file that is "environment A". To ...
James the Flooded Roads Guy's user avatar
0 votes
1 answer
771 views

So I have a save method that can save data to a binary file and another function that saves just the texture. I would like to save both of them in a same file. I guess I would need to create a ...
Ivan's user avatar
  • 379
0 votes
2 answers
2k views

I am building a prototype for a 2D tile based game and I have several sprite sheets in separate image files that in want to use for animation as well as game logic attributes associated each sprite ...
Zeno of Elea's user avatar
0 votes
0 answers
131 views

I've been following this awesome course from udemy for unity, and it's content are in depth. But, on Lesson 12, the author mentions a .unity package which is absent ...
BumbleBee's user avatar
2 votes
2 answers
730 views

Suppose I create a turn based RPG in the veins of Pokémon, with a lot of moves and abilities, that would have elements of hand made code, in cases for special effects after a successful attack or ...
Apoqlite's user avatar
  • 121
2 votes
1 answer
104 views

Tilemap data is stored in a 2D array. It is saved using the following code ...
Featherball's user avatar
1 vote
0 answers
582 views

I'd like to examine a Harry Potter game for study purposes. All of resources are fine except map file. The maps are in a .unr file format. I know it is unreal map ...
문형준's user avatar
1 vote
0 answers
225 views

By default, when you make a new script in Unity on Windows, it will use UTF-8 with BOM and CRLF. How do I change this to be regular UTF-8 without BOM, and LF (Unix-style)?
Aaron Franke's user avatar
0 votes
1 answer
169 views

I procedurally generate 3D planet models that I would like to import into Blender. I use colour per vertex rendering in my shaders (In practice, I use the same colour for all vertices of a face, but ...
Bram's user avatar
  • 3,744
4 votes
2 answers
127 views

After having a very short discussion with Delix on youtube (see link below) on custom data storage formats, I started thinking. What are some useful ways of maintaining importers / exporters when you ...
Peter Verzijl's user avatar
0 votes
0 answers
572 views

I know there are similar questions but my question but my question is about taking some files (like png spritesheets, txt data) and put them in one archive file in general. If I'm correct then I just ...
atanii's user avatar
  • 137
0 votes
1 answer
238 views

I have been looking around for a file format that saves models as a collection of primitives (Boxes, Spheres, Cones, Cylinders, etc.). After some research, I came to the conclusion that pretty much ...
Zemanzo's user avatar
0 votes
1 answer
1k views

I know the title is a bit confusing because I don't really know how to phrase this. This is what I have: ...
volairs22's user avatar
0 votes
1 answer
2k views

I switched from one approach to the other in my code and I noticed that File.ReadAllLines() has a string length of equal to the alpha-numeric chars in the string, with exception of the last line of ...
youGuestIt's user avatar
22 votes
3 answers
5k views

My question isn't a coding question; it applies to all of game engine design in general. How do you avoid hard coding? This question is a lot deeper than it seems. Say, if you want to run a game ...
Marcus Cramer's user avatar
1 vote
1 answer
928 views

I know that the Unity editor can import/export packages which could contains Scenes (levels), but is it possible to import a Scene into a game at runtime without the Unity Editor? What I am trying to ...
Jasper Citi's user avatar
1 vote
1 answer
614 views

I humbly ask for help in order to solve this problem. I successfully take a quick guide to learn more about save and load state of the game. Basically first, I know how to use ...
David Dimalanta's user avatar
1 vote
0 answers
54 views

I'm still in the design phase of my game and I'm realizing that there are too many elements to keep track of and it just looks like a mess in the plain text that I created it in. My notes are ...
user3625087's user avatar
1 vote
1 answer
3k views

I'm new to GD so if this is too broad I apologize. I'm looking for some quick information. What binary file format supports the basic game rendering information? raw position vertices Texture/UV (or) ...
Dellowar's user avatar
  • 113
1 vote
0 answers
47 views

I'm looking for a few example facet file types that allow applying face materials in the same file. At the moment I know of COLLADA (.dae) but I'm looking for others due to the difficulty on manually ...
lemming622's user avatar
3 votes
1 answer
1k views

For The Elder Scrolls V: Skyrim, I'm looking for a way to read the player's inventory without having to go into the game to do it. I've scoured the pages from the UESP wiki on save file format but I ...
Ronan Paixão's user avatar
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
122 views

How can I save only one color channel, such that it would only take 1 byte per pixel? I only want to save the alpha channel and apply colors later using a custom shader. But all the formats I tried ...
Riko's user avatar
  • 155
4 votes
3 answers
992 views

I need to store and update collections of serialized data (of varying sizes) into a single file that is compact and allows for efficient random access to the stored data. Some real world examples: ...
Shroder's user avatar
  • 183
1 vote
0 answers
386 views

I have downloaded FBX animations from Mixamo.com for use in game. But seems like the "root" skeleton bone does not have translations in Z axis; which makes animations like climbing a ladder or ledge ...
Manmohan Bishnoi's user avatar
2 votes
1 answer
570 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
285 views

I'm working on a 2D tile based survival game for my programming class and as I was working on GUIs I realized that I would need an efficient way of storing and recalling not only the tile data and ...
Cody Hausser's user avatar
0 votes
2 answers
1k views

I'm trying to understand the relationships between 3D models (files) and the games that load and use them. As a software engineer, I'm willing to make the few following assumptions: I would assume ...
smeeb's user avatar
  • 1,055
1 vote
0 answers
655 views

How can I store sprites(png) or audio files(wav) in the *.dat file format?
taraz's user avatar
  • 11
2 votes
1 answer
868 views

I want my players to be able to create their own scenes as custom levels, save them as files (say custom1.gamelevel), and open them directly in my game program by ...
Miguet Schwab's user avatar
0 votes
0 answers
235 views

I've been reading tutorials and guides on getting video file playback in Unreal. I have media player materials created and textures. I'm having issues importing video files to Content/Movies directory....
GhostRavenstorm's user avatar
4 votes
2 answers
223 views

I am making models in blender to export them then in unity, and unity can import .blend formats as well as .fbx, so which one is better, is there even any difference.
A.D.'s user avatar
  • 175
0 votes
2 answers
591 views

On Python 3.2.5 32 bit, I installed pygame. I made some code with it. It included pygame.display.set_icon(image). The image file is .png and I loaded it by using <...
WorkingRobot's user avatar
1 vote
0 answers
97 views

I am getting file path errors when a contributor is making commitments to GitHub. All of these errors are file path related or extra white space on the same lines. This should be something in the ....
ChosenWell's user avatar
2 votes
1 answer
3k views

I am working on a game in Pygame/Python, and I'd like to turn an image into a map. The idea is simple: Pixels in the image are colored by tile type. When the program loads the image, I want the color ...
robinspi's user avatar
1 vote
1 answer
6k views

Since I could not find any libraries that can help me parse collada files in my c++/opengl project, I decided to write my own. (I did find assimp, but binaries for Visual Studio 2013 were't available, ...
MyStackOverflowAccount's user avatar
0 votes
2 answers
1k views

I've gotten a basic Minecraft clone working (thanks to gamedev.stackexchange's help! ^_^), but know I have no idea how to save the file. Minecraft itself uses a naive list of block ids as far as I ...
Shien's user avatar
  • 257
-1 votes
2 answers
121 views

Currently when launching the client of the game, it connects to the server and loads all the cachedata in a normal form (= folders, .txt files and .png files). However I don't like that the players ...
minisurma's user avatar
0 votes
3 answers
852 views

I was given some height maps to use for game development, but they are in grayscale PNG format. How can I convert them to 3DS format?
skifans's user avatar
  • 101
0 votes
1 answer
508 views

I want to let players of my top-down game save, load and share worlds as PNG images. How do I read the colors in a PNG file or change them? I imagine something like this: ...
thedobbles's user avatar
1 vote
1 answer
505 views

my question is about save-games format. Look at this screenshot: On the left I made a "simple" fake savegame (Ini format) and on the right there is a "complex" TR2 save game. I'm wondering how does ...
Riptide's user avatar
  • 292
2 votes
2 answers
853 views

Are there any format for storing quest data that can be processed independently by third-party tools? I don't want to code quests in code, because it will be hard to update and extend them, so I just ...
anatoly techtonik's user avatar
0 votes
1 answer
371 views

On the reference page for SurfaceFormat, it indicates that the Bgra4444 format is an unsigned format which is 16-bits long, with 4 bits per color with alpha. ...
Kyle Baran's user avatar
0 votes
1 answer
570 views

I am new to minecraft modding but i program for a living and it looks quite simple to get around. I have this fantasy and a quick internet search shows im not the only one. For those of you who do not ...
PIRATE FIFI's user avatar
2 votes
1 answer
554 views

I want to understand Maya's ASCII FBX format so I can convert animations in it to OSG (OpenSceneGraph) format. I have a simple sphere, with a translation in one direction for 30 frames baked into an ...
sami's user avatar
  • 131