The tag has no wiki summary.

learn more… | top users | synonyms

30
votes
6answers
2k views

What is a good file format for saving game data?

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 ...
13
votes
2answers
1k views

Why are big files better than small files for consoles?

Why do console game developers use large files to store game data instead of small files like on PC? Less streams in memory? Need to access file tree many times? Other reason?
7
votes
2answers
583 views

Splitting into files - how much splitting?

If I say I have a hierarchal entity framework, rather than a component model. Something like: (Yes, this is made up) Weapon->Gun->AutomaticGun->MP44 Or, more of a classical example: ...
7
votes
1answer
1k 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 ...
5
votes
1answer
8k views

.XNB file reader

I'd like to open an XNB file on Linux. It should be an XNA Game Studio Express XNA Framework Content Pipeline Binary File. Any tool to open it? (also for windows which I can emulate on wine)
5
votes
2answers
484 views

How do I prevent getting an access denied loading a file in XNA, when I have the application running in the program files directory (in Windows 7)?

I'm creating an app in XNA. I'm trying to load a custom save file. I named the file with my own custom extension. It's an XML file serialized with the DataContractSerializer. I've tried several ...
4
votes
3answers
252 views

Runtime Storage vs Static Storage

Runtime Storage (hardcoded) vs Static Storage (file storage) (original question) I extended my engines GUI from procedural style to object orientated style, but I still have to create ...
4
votes
1answer
524 views

Ogre3D : seeking advices about game files management

I'm working on a new game, and its related level editor, based on Ogre3D. I was thinking about how i could manage the game files, knowing that Ogre use .mesh files for models, .material for ...
4
votes
2answers
964 views

Writing a custom model file format

I am using Ogre for my rendering engine, and I planned on just using the .mesh format that is setup by default with Ogre. However, I recently purchased a large number of 3d assets from a company, only ...
3
votes
1answer
75 views

Simplest format for video

I've been dwelling with a question lately, I can generate screenshots with my library, but i found that i would like to be able to record video from a game. Since video is just(well-simply enough, ...
2
votes
2answers
233 views

How do I store level-data in Android?

I'm building a game where enemies come in waves. I want to create a file where I can define data about the waves (# of enemies, spawn times, speeds, etc.). I come from a background in iOS and would ...
2
votes
2answers
109 views

How to pack the game files into one without using any file compressor?

Well, one example is this file of the game The Sims 2 for PS2: quickdat.arc. The file contains this .arc extension, but it's no one an archive file and it contains some data of the game inside. How ...
2
votes
1answer
123 views

Loading files while running game

I am curious as to what technique(s) are used to load files in while a game is running. For example, Minecraft will load chunks as you get within a certain range of them. How is this achieved without ...
2
votes
1answer
361 views

Flash saves in Windows, not in Linux, FileReference.save()

The code below compiles fine on the Flex 4 SDK on Fedora 15. Mouse-click opens the dialog box, I click okay, and a file is saved, but the file is empty. I run the same SWF file (that was compiled on ...
2
votes
3answers
298 views

Directory paths for resources and assets

If I have a file stucture for my final, released game something like: Main folder Media Images Other assets Sounds Executable List item And a different one for my 'in development' project, ...
2
votes
2answers
208 views

In Unity, can I load a local (/Resources folder) website to safari on an ipad

In Unity, can I load a local (/Resources folder) website to safari on an ipad? This works fine on a Mac, opening up a wepage from my Resources folder. string path = ...
2
votes
1answer
461 views

How to save an arbitrarily large image to a file in XNA?

I have built a level editor for an XNA-based Megaman clone I am working on and one of the features I would like to implement is the ability to save a full-resolution map of the entire level (like this ...
1
vote
1answer
80 views

File Path Characters

I have a simple question that I can't find a answer to: With the .NET Framework what is the difference in saying "folder1/folder2/file" and "folder1\\folder2\\file" in a file directory? Is there even ...
1
vote
3answers
2k views

How do I save files with libgdx so that users can't read them?

Writing my game in libgdx, I arrived at the point when I need to save the player stats and the info of the levels. However, in libgdx it's not allowed to write the file inside folder of the ...
1
vote
1answer
157 views

Export information to a custom file type from Air

So I have an engine (air application) that basically (for now) is loading some windows on the screen/stage, and you can drag them around. And later on, I'll be able to add other objects onto the ...
1
vote
0answers
37 views

How i can sign and/or group a specific set of vertices in a 3D file container like OBJ ? - in Blender

I would like to export a 3D model with each part having a name or a label if you will. For example i would like to export a model of an human body and name each part in specifics vertex groups like: ...
0
votes
4answers
164 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]
0
votes
1answer
788 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 ...
0
votes
1answer
227 views

How to load a text file from a server into iPhone game with AS3 in Adobe AIR?

Im creating an iPhone game with Adobe AIR, and I want to be able to load a simple text msg into an dynamic text box on the games front screen from my server (and then be able to update that text file ...
0
votes
0answers
139 views

How export .xsi or .x files from maya 2013

Is it possible to export a Maya 2013 scene as a .x or a .xsi file? i have no animations on this scene, its just a fancy cube? I need to then convert this to a .mdx file? Ive goggled this but there ...
-1
votes
1answer
100 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
92 views

3d objects in binary files

Currently I have 11 3d spheres created at runtime in my application. The application runs well as it is, but I'm anticipating some garbage collection hiccups due to camera panning. Would performance ...
-3
votes
1answer
581 views

xml file save/read error (making a highscore system for XNA game)

i get an error after i write player name to the file for second or third time (An unhandled exception of type 'System.InvalidOperationException' occurred in System.Xml.dll Additional information: ...
-3
votes
1answer
245 views

UDK dedicated server project. How to create user information files

Now I know how to launch my dedicated server in udk. But now I need to know, that how can I put the server to make a information file for every registered user in my server(whitch stores information ...