Tagged Questions

The structure of data files and how they are stored.

learn more… | top users | synonyms

-5
votes
0answers
39 views

What is a .zmesh file? [closed]

The first 4 bytes of a .zmesh file is ZMSH. Which program should I use to open it?
1
vote
1answer
15 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 ...
-1
votes
1answer
43 views

Using multiple strings within the path to Write to Text File [closed]

In Unity3D, How would I use something like this: path = "C:\Users\Jonathan\Documents\FileData" + fileName + ".txt"; so I can make a for loop and create several text files under desired path? The loop ...
1
vote
0answers
13 views

Best practice for saving content-dependent metadata? [closed]

What is the best practice (compliant with the 3D pipeline) for saving content-dependent metadata, such as barycentre? I don't want to render the metadata, but I want to inform the users about it. I ...
1
vote
1answer
117 views

Data structures for territories in a 2D map

I am diving into game development with a 2D game. The game will display a territorial map (borders, capitals, etc.). What is a common data structure to use for storing and manipulating the data in ...
2
votes
1answer
175 views

In Slick2D, how can I generate a 2D platformer map from an image?

I'm fairly new to game development. I've been messing around with Slick2D. My map consists of rectangular objects. I want to use an image to represent my map, similar to this: How could I generate ...
4
votes
1answer
501 views

How do I convert a .dds texture to .png bitmap in C#?

This question is from someone who has not written a line of code for games, but several Game Save editors and other game tools. I'm working on a Save Editor and would like to display icons of some of ...
148
votes
4answers
9k 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 imported into the game, the creature's information (such as textures, ...
1
vote
1answer
182 views

How can I have human-readable key names in a configuration file?

Given a file mapping keys to controls, such as this: up w down s left a right d jump space run shift crouch ctrl The values need to be converted into game commands, ...
1
vote
1answer
126 views

How to define data for an input sequence game?

I'm starting to program my very first game, it's a clone of DDR/Stepmania done for research purposes and learning. I (at this early stage) get most of the UI/Music/input work that should be done, but ...
-3
votes
1answer
296 views

How do I export a .tmx file into a custom format?

I just created a map in tiled software. The problem is that it has created a .tmx file. But I need a different format than that, something I can easily store in 2D int array. By 2D int array I mean: ...
0
votes
2answers
1k 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, .dx80.vtx, .dx90.vtx, .mdl, .phy, .sw.vtx, .vvd, .vmt, and .vtf. ...
6
votes
1answer
180 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 ...
0
votes
1answer
38 views

What does this FVF value in the FVFData block of an .X file equate to?

I'm trying to read and ultimately write a mesh from/to file. This mesh has 2 sets of texture coordinates. The second set I know are held within the FVFData{} block of the .x file. The second set of ...
2
votes
1answer
179 views

Advantages And Disadvantages Of Resource Serialization

A good example is let's say I'm making a pong game. I have a PNG image for the ball and another PNG image for the paddles. Now which would be better, loading the PNG images with a PNG loader, or ...
0
votes
1answer
218 views

Physique and exports from 3ds Max

Are there any file formats that support Physique and are compatible with Unity? I really don't want to start over from scratch and have to use the Skin modifier...
5
votes
2answers
377 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
votes
1answer
115 views

Optimization of Storage of Spells a Character Knows

I need to store which spells a character knows. While the game is executing I have them stored in a vector. Obviously storing this many values is either going to take a lot of computing to get the ...
2
votes
1answer
140 views

Is there a material format for OpenCTM files?

I consider using OpenCTM files for my game. Since the format only claims to store raw mesh data, my question is if there is a associated file format for material data and paths to texture maps. For ...
-2
votes
1answer
99 views

Is OpenCTM sill under active development? [closed]

After struggling with *.3ds files, which I could not export as I wanted, and *.obj files for which I haven't found an available library, I continue the search for a file format for my little game ...
2
votes
1answer
132 views

What format(s) does Blender 2.6 support well enough to use with my game?

I'm using Blender 2.6 to create meshes to be loaded by my engine while in development. I've noticed that Blender 2.6 has very few exporters compared to previous versions of Blender (but a MUCH ...
0
votes
4answers
370 views

Good map file structure?

I need a map file structure for my game but does anyone know a good way to map it out? I was thinking something like this: name=MyMap add[floor[stone]][solid][20, 640] add[playerspawn][20, 620]
1
vote
1answer
396 views

Dealing with binary data and endianness

When distributing my game, I am going to compile all the resources and level data into a single binary package file, which is loaded from by the game. Do I have to worry about my machine being a ...
2
votes
1answer
392 views

Map format for 3d open world

I am making an open world 3d platformer in Ogre3D, and I have no idea on what kind of 3d map file format I should use for it. I want to make low-polygon blocky-style objects. Probably rectangles and ...
0
votes
1answer
438 views

How can I convert .obj files to .3ds on Mac?

I am on a Mac. I am currently looking for a tool that is able to correctly convert .obj files (Wavefront) to .3ds files (Autodesk 3ds Max). I tried Blender but the exported file failed to include ...
-4
votes
2answers
1k views

How can you store item data from a game? [duplicate]

Possible Duplicate: Would it be better to use XML/JSON/Text or a database to store game content? How to choose how to store data? When I look at games such as warcraft 3, or Diablo, or ...
6
votes
2answers
1k views

Custom extensible file format for 2d tiled maps

I have implemented much of my game logic right now, but still create my maps with nasty for-loops on-the-fly to be able to work with something. Now I wanted to move on and to do some research on how ...
-4
votes
1answer
206 views

Human-readable text file format for game parameters

Basically what I want to do is put a lot of different parameters in a text file I edit by-hand, to avoid recompiling. I'm using Ogre3D, so I'm using configfile, but it gets messed up, and I'm looking ...
1
vote
1answer
506 views

File format for animated scene

I've got a custom OpenGL based rendering engine and I'd like to add support for cinema-type scene animation. The artist that is helping me uses primarily 3DSMax. I'd like a file format for exporting ...
1
vote
1answer
345 views

2D game editor with SDK or open format (Windows)

I need 2d editor (Windows) for game like rpg. Mostly important features for me: Load tiles as classes with attributes, for example "tile1 with coordinates [25,30] is object of class FlyingMonster ...
1
vote
4answers
882 views

What are different types of online game formats besides Flash? [closed]

I am currently looking into making a website that hosts various online games and would like to support as many formats as possible no matter how obscure. I was wondering if anybody could inform me on ...
4
votes
3answers
4k views

How can I create a pack file / archive for game data files, and then load them? (zlib?)

I'm starting to think about how I'm going to go about loading models, images, sounds, etc for my game. I have two competing lines of thought to deal with: If possible, it would be nice to make use ...
6
votes
2answers
4k views

How to Export Flash Animation Data

I'd love for my partner, the artist, to be able to animate using flash movieclips and timelines. Then I, the programmer, would like to read the raw Flash info and re-program it into my engine of ...
2
votes
1answer
1k views

Which is better for mobile games, PNG or SVG? [closed]

I want to make several 2D games for mobile platforms, mainly using Qt for iOS, Android, Symbian, MeeGo and whatever supported by Qt. I've made one game already using PNGs. Now I'm thinking of making ...
0
votes
1answer
120 views

Support of multiple 3d formats in engine

What is the best practice to add support of loading models from multiple file formats (.obj, .3ds ...)? What class hierarchy should I use (now I have Mesh class( containing vertex, data ) and ...
1
vote
1answer
369 views

Google Sketchup pro exporter/importer for MD5 model format?

Where can I find google sketchup pro MD5 (The doom3 model format) exporter/importer? If there isn't one what modeling program can I use to export/import MD5 models?
3
votes
4answers
1k views

Public format for 2D animations

What public animation file formats are there available for 2D games? I'd like to know about both formats for procedural/skeletal animation, as well as traditional animation.
9
votes
3answers
8k 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?
14
votes
4answers
1k views

Why would some PNG files extracted from games display incorrectly?

I've noticed extracting PNGs from some game files that the image becomes distorted part-way through. For example, here are a couple of PNGs extracted from the Textures file in Skyrim: Is this some ...
17
votes
1answer
2k 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: ...
31
votes
6answers
5k views

What is a good file format for saving game data? [closed]

I need to save some custom game data. Map, player, etc. All of them will have "sub objects". For example, a map and map will have an "array" of tiles. ie, hierarchical data. Hopefully nothing ...
1
vote
1answer
15k 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 ...
6
votes
1answer
2k views

Are there any open source Source engine VTX/VVD viewers?

I've been playing with loading and displaying Source Engine models (TF2, specifically) and have had mild success, but there are some aspects of it that are eluding me still. I've been primarily ...
7
votes
1answer
2k views

How to create a game save file format in c++ using STL

Hey so i just learned about the i/o part of the STL, more specifically fstream. Although I can now save binary info and classes i've made to the hard drive, i am not sure how to define how the info ...
3
votes
3answers
144 views

Loading resources in a portable manner

I've been looking at ways to load data into a game. I even asked a question on stack overflow about reading binary data in a portable manner . The gist of the answer seemed to be that you can use ...
2
votes
1answer
634 views

How can I convert .X files from text to binary form?

Is there a tool for Linux (preferably a command-line tool) that can convert from the .x text format to the binary format? I wish to use this format with Irrlicht but the text format is loading very ...
0
votes
2answers
2k views

C++ SDL, Opengl 3D Game

I have been learning C++ for long time (but only learning game development for eight days) and I have made a simple game using 2D textures. I was thinking of starting on 3D game development. I wanted ...
8
votes
1answer
766 views

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

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 ...
0
votes
1answer
1k 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 ...
2
votes
1answer
633 views

Why hasn't OBJ been extended to support skinning?

Out of every format I know, the only one that works accross all applications perfectly is OBJ. I think it is an excellent format and I would use it for everything - except it does not support ...