Questions tagged [file-format]

The structure of data files and how they are stored.

Filter by
Sorted by
Tagged with
0
votes
0answers
16 views

is there any way to convert .unr file?

i'd like to make harry potter game for study all of resources are fine except map file maps are .unr file. i know it is unreal map file Is there any way to convert .unr file to .fbx or .obj, or, pskx?...
0
votes
1answer
2k views

Understanding .obj file

I downloaded a 3d model of a car. By judging by the skins and images available model treats wheels and car body as separate nodes. I want to access its child nodes (wheels) to specify animation. But ...
1
vote
1answer
4k 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
vote
0answers
13 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)?
18
votes
2answers
4k views

What are the pros and cons of these voxel data file formats? [closed]

.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: ...
0
votes
1answer
17 views

Easy way to generate colour-per-vertex models for input to Blender

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 ...
0
votes
2answers
502 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 ...
8
votes
3answers
7k views

Parsing .sc2replay files [closed]

How do I parse StarCraft 2 replay files (.sc2replay)? Is there an API? I know of Sc2gears, but it doesn't quite fulfil my needs.
3
votes
2answers
63 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
0answers
99 views

Creating own archive file format for levels? (.wad like)

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 ...
0
votes
1answer
92 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
1answer
345 views

C# JSONs not formatting array of objects stored inside another object.

I know the title is a bit confusing because I don't really know how to phrase this. This is what I have: ...
5
votes
1answer
39k views

Convert Autocad DWG to OBJ, FBX or similar

I know this is only partially game development related, but couldnt find another place to ask. How can i convert an autocad dwg or dxf file to a more 'common' format like OBJ, FBX, 3DS, etc. ? i ...
0
votes
1answer
684 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 ...
22
votes
3answers
4k views

How to avoid hard coding in game engines

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 ...
4
votes
1answer
370 views

What record stores the inventory in a Skyrim savegame file?

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 ...
1
vote
1answer
268 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 ...
0
votes
2answers
978 views

Storing a block world

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 ...
0
votes
0answers
65 views

Unreal Engine Ubuntu: Failed to import video, unknown file extension

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....
8
votes
1answer
1k views

Which 3D file format should my engine use if I don't want to have to change it later? [closed]

Is there a de facto format for exporting a 3D model from modeling software to a game engine? I know it varies by engine and situation, but what is the general idea that comes to a skilled game ...
1
vote
1answer
360 views

Way to deserialized or load last save state scene with GameObject and other classes instead of storing normal fields via binary format?

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 ...
1
vote
0answers
47 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
2answers
10k views

Can GMod/SFM models be converted to Unity GameObjects?

Someone made a suite of GMod/SFM models available for free for people making games and videos in GMod and SFM. These are of type .dmx, ...
2
votes
1answer
192 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
1answer
929 views

What is an example of a binary 3d file format? [closed]

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)...
24
votes
3answers
44k views

How can I include vertex color information in .OBJ files?

The .obj files I export are missing data for vertex colors. Is there a way to include color information in the .obj file? If not, what are the alternatives?
6
votes
2answers
801 views

What are the benefits of binary format when storing map info?

I am developing isometric 2D exploration game. At this moment I faced with a problem where game takes too much disk space. Game's world at this moment is about 1 square kilometer and it's about 50MB. ...
1
vote
0answers
31 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
1answer
335 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 ...
2
votes
1answer
73 views

How to save one color channel, taking only 1 byte per pixel?

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 ...
4
votes
3answers
366 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: ...
5
votes
1answer
3k views

Converting a Google Sketchup file to 3DS?

I have a couple models that I've made or found in Google Sketchup, and I want to be able to use them in some programs I have that only support 3DS. What is the best way to convert, without paying for ...
1
vote
0answers
257 views

Edit bone transforms for each key frame to fix mixamo animation

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 ...
1
vote
0answers
162 views

What is the most efficient way to store world data for a 2D tile game? [closed]

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 ...
0
votes
2answers
355 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 ...
0
votes
1answer
271 views

Pygame.display.set_icon unable to show transparecy

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 <...
1
vote
0answers
304 views

Storing game resources in the *.dat file format to reduce file size [closed]

How can I store sprites(png) or audio files(wav) in the *.dat file format?
2
votes
1answer
371 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
2answers
196 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
0answers
86 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 ....
2
votes
1answer
1k views

How do I convert an image into a tile map?

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 ...
0
votes
3answers
678 views

How do I convert a greyscale height map to .3ds format? [closed]

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?
-1
votes
2answers
93 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
1answer
396 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: ...
1
vote
1answer
299 views

Question about save games format

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 ...
0
votes
1answer
253 views

Why does RGB order differ between color formats?

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. ...
0
votes
1answer
421 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 ...
2
votes
1answer
454 views

How does the Maya ASCII FBX format store positions within animation?

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 ...
6
votes
1answer
396 views

Can SFML load anything other than RGBA8888? (RGBA4444, RGB565, etc.)

I can't see this mentioned in the documentation. Am I missing something obvious? Or does SFML really give you no option, forcing everything to be loaded as RGBA8888? Searches on Google and the SFML ...
208
votes
4answers
17k views

How can I store game metadata in a .png file?

Spore allows player-created creatures to be shared by exporting a .png file. That .png is a photo of the creature, but if it's ...