The structure of data files and how they are stored.

learn more… | top users | synonyms

4
votes
2answers
168 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.
0
votes
0answers
24 views

How do I extract the UV data from an FBX file?

I've written a FBX file loader for my 3D graphics application. The FBX file was created with Blender and saved in ASCII format. I'm having trouble converting the UV data. In the file is the following: ...
0
votes
1answer
14 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 image = ...
0
votes
0answers
18 views

How to parse animation data of a .x file in SlimDX

I have a managed Direct3D9 application that uses SlimDX. I need to implement a custom animation controller. I want to parse the .x file for animation data. The SlimDX.Direct3D9.XFile and ...
1
vote
0answers
14 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
1answer
175 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
1answer
212 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, ...
0
votes
2answers
120 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 ...
-1
votes
2answers
68 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
3answers
130 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?
0
votes
1answer
134 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: BufferedImage mapImg = ...
1
vote
1answer
69 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 ...
0
votes
2answers
70 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
0answers
31 views

Covertion of .usm files

Is there a way or a free software which would convert the .usm game files (usually cinematics/cut scenes/...) into some other format, e.g. .mp4, .mov ?
0
votes
1answer
84 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. Further down the page, it describes the ...
0
votes
1answer
258 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 ...
1
vote
1answer
74 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
192 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
26 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
203 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 ...
3
votes
1answer
303 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
990 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 ...
155
votes
4answers
10k 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
338 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
151 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
838 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
3k 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
246 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
53 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
238 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
326 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
441 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
119 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
238 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 ...
-1
votes
1answer
122 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
136 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
518 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
582 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
487 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
537 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
2k 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
2k 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
218 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
574 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
353 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
1k 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
5k 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
124 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 ...