Questions tagged [file-format]
The structure of data files and how they are stored.
108 questions
0
votes
1
answer
167
views
Open model file format that supports skeletal animation
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 (....
2
votes
2
answers
97
views
Moving "theme" file to a different folder - is it possible to update the resource paths within the "theme"?
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 ...
1
vote
0
answers
3k
views
RGBA32 and ARGB32: what are they? what's the difference?
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 ...
0
votes
1
answer
769
views
How would I save texture along with other data in binary file in Unity?
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 ...
0
votes
0
answers
130
views
file format and animation in unity
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 ...
2
votes
1
answer
104
views
Tilemaps are loading differently each time
Tilemap data is stored in a 2D array.
It is saved using the following code
...
1
vote
0
answers
225
views
How do I make Unity use UTF-8 and LF characters for new script files? [duplicate]
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)?
4
votes
2
answers
124
views
Solutions for maintaining importers and exporters when chaning file formats
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 ...
0
votes
1
answer
236
views
Why is there no standard 3d file format that saves models as (collections of) primitives?
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 ...
0
votes
1
answer
2k
views
unity & c# - File.ReadAllLines() vs TextAsset Split('\n')
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 ...
1
vote
1
answer
927
views
Importing levels at runtime
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 ...
1
vote
0
answers
53
views
Text tool for designing gameplay elements [closed]
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 ...
1
vote
0
answers
47
views
Facet file that contains face coloring inside the file [closed]
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 ...
0
votes
1
answer
1k
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 ...
4
votes
3
answers
985
views
How can I implement a file format that allows for random access to varying-sized sub-files?
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:
...
2
votes
1
answer
568
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 ...
0
votes
2
answers
1k
views
How are animations specified by an artist but implicitly understood by the game engine?
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 ...
2
votes
1
answer
867
views
In Unity, how can I register a custom file type that is always opened with my game?
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 ...
4
votes
2
answers
222
views
What format should I choose? [closed]
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.
1
vote
0
answers
96
views
File Path conflicts on GitHub with Unity
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 ....
1
vote
1
answer
6k
views
Parsing Blender exported collada file in c++
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, ...
-1
votes
2
answers
121
views
How to make a proper cache on user computer?
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 ...
0
votes
1
answer
508
views
How can I store tile maps as PNG images?
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:
...
2
votes
2
answers
851
views
Format for storing quest data
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 ...
0
votes
1
answer
569
views
minecraft mapping from tibia OTBM file
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 ...