The file tag has no usage guidance.
0
votes
0answers
38 views
How do I create a direct URL download for a launcher? [on hold]
I've been stuck on this for a couple days now. I want to be able to create a direct download link to a .txt or .zip file, but I want to be able to change the file periodically, without changing the ...
7
votes
1answer
122 views
How to implement large data files without using up a lot of space at runtime?
Say I have a bunch of images that I want to use with my game; I want the image files to be external, so overall I have the game's executable and a directory full of images. Let's say there are 100+ ...
0
votes
1answer
26 views
How do you save the rendering of a tiled map to an image?
Im currently using LibGDX and drawing a tiledmap with the OrthogonalTiledMapRenderer. Is there a way to save one rendering and put it into some file as an image? If you know of a method that doesnt ...
0
votes
3answers
73 views
Unity - Where should downloaded level data be stored?
I've been looking around and it appears suggestions are only to store data to UserPrefs, or PersistentDataPath.
I intend to have map files streamed to the client on demand, and saved for reuse. ...
0
votes
1answer
17 views
AudioSource not working. Empty Exception
I'm trying to load and play an wav file that exists in my Application.dataPath but when the game gets to the line _GoAudioSource.PlayOneShot(audioLoader.audioClip); It justs throws a empty exception ...
1
vote
0answers
18 views
Unity DirectoryInfo not working in OSX standalone build
So I'm building an application in unity which I hope to use at a market day coming up soon at my school (it's not a game, it's basically like a checkout app, kind of...) Anyway, I'd like to be able to ...
0
votes
0answers
57 views
Java .dae file loader problem
I am making a COLLADA parser in Java, and I have made a loader that reads a .dae file, and saves it's content in a string. But, when I load a specific file, it doesn't get read correctly. Specifically ...
0
votes
0answers
34 views
Why aren't .blend files importing into unity?
So I for the past week or so I have been having extreme difficulty trying to import .blend file that I made into unity. When I either drag or import the .blend file into unity I automatically get a ...
0
votes
1answer
78 views
LibGdx: search through text file without lots of String garbage
I'm reading a text file from Gdx.files.internal in LibGdx. This is essentially streaming a file from a compressed Jar file so random access is not possible.
I want to search through the text file ...
0
votes
1answer
639 views
How to save variables into a file unity
I've wanted to save progress of my game (i don't have the code , sorry)
without using PlayerPrefs.
If it's possible ; with UnityEngine.
0
votes
1answer
181 views
How to read a custom binary file made with Adobe air into Unity 3D & C#
I have a custom data file from a project that was authored in actionscript some years ago by another developer. I am porting parts of the project over to Unity 3D. I don't have any documentation for ...
3
votes
1answer
2k views
How do i play mp3 files in Unity Standalone?
I am making a game in Unity in which the player can select music files in their hard drive to use them in-game. I use the WWW class to load the sound files, but this only works for OGG, WAV and ...
-1
votes
1answer
102 views
Reading from txt causes null pointer exception [closed]
I'm reading from this text file called beatSheet.txt.
A: 100
A: 101
A: 102
A: 103
A: 104
A: 105
A: 117
A: 120
A: 122
A: 126
A: 128
A: 129
A: 130
A: 131
A: 133
A: 138
...
2
votes
1answer
71 views
How can I get direction or link of file in computer
I want to import an .obj file in my Engine or open some files : To do that I write a link or direction of that file in my computer. Like this
file.open("../Engine/data/model.obj");
But I dont want ...
2
votes
1answer
1k views
In Unity, on an Android device, CaptureScreenshot writing to Phone, but persistentdatapath linking to the external card
I'm using CaptureScreentshot() to get an image. But when I try to access it on an Android device it's giving me:
Could not find file "/storage/emulated/0/Android/data/appname/screenshot.png"
When I ...
1
vote
1answer
214 views
storing game options in java
I'm making a game using java. I'm wondering what would be the best way to store games options (like screen height and width, full screen boolean and many other similar options the user can select) at ...
4
votes
4answers
525 views
LibGDX - Can't read .ttf file when running Android configuration
when running or debugging my game on android device, i get this error in the logcat:
com.badlogic.gdx.utils.GdxRuntimeException: Error reading file: data/fonts/myFont.ttf (Internal)
which is ...
1
vote
2answers
464 views
How to make a function in Haxe that reads content from text file and does something with each line?
How can I make a function in Haxe that reads a line from a text file, prints it/saves it to a variable, and then goes to the next line?
My objective is to make the dialogues on a text file, having ...
9
votes
4answers
29k views
How to read a data from text file in unity
Can anybody help me out with giving the steps needed for reading data from the text file in unity and how can the script be added.
2
votes
1answer
106 views
How do I serialise a mesh to a text file?
I'm building a game engine in OpenTK (OpenGL for C#). Is it ossible to take a terrain mesh (in any format) and convert it into a text file (or a really small character-filled file, no more than a few ...
-1
votes
1answer
812 views
How to encode game files or pack to one file like game_data.dat [duplicate]
I am a beginner C++ programmer. I am creating a custom Open Tibia Server and I use the alternative Tibia client (OTClient).
I want encode game files (image, sound, lua, etc.) or pack all files into ...
0
votes
0answers
30 views
Loading dynamically created files with XNA
I'm trying to implement a structured save/load functionality so if the user saves, it will take up one of 10 slots, and if the user loads, they would select one of these slots.
To do this, I need ...
26
votes
3answers
18k views
Which Unreal Engine 4 project files can I ignore in source control?
I want to put an Unreal Engine 4 project under source control with git. (I know the editor has Perforce and Subversion support, but I don't care for those.)
What folder and files do I include in the ...
0
votes
2answers
264 views
SDL sprite animation problem
I'm currently drawing my character from a single file, and my sprite class handles it taking the file path as an argument. Now, I need to add a simple animation, cycling between two frames. The ...
2
votes
1answer
780 views
Unity3d reading profiler binary information
So I'm using Unity's profiler to help debug some of my code in the standalone. I've got it running smoothly, and writing all it's data to a .data file which I can read.
However, the binary file Unity ...
2
votes
1answer
2k views
Making a Video Splash Screen for an Android Based Game
I'm planning to make a video-based splash screen for the simple game app for Android under client's cigarette brand project. I was thinking if can this video file type, AVI, run on Android or not? ...
-1
votes
1answer
122 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
2answers
1k 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
127 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 ...
5
votes
2answers
4k 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 ...
1
vote
4answers
920 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]
3
votes
3answers
6k 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 = "file://"+(Application.dataPath)+"/...
2
votes
1answer
484 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 ...
1
vote
1answer
93 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
0answers
52 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: ...
-4
votes
1answer
348 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 ...
1
vote
1answer
501 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 stage....
-3
votes
1answer
1k 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: ...
0
votes
1answer
771 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 ...
4
votes
1answer
389 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, ...
4
votes
5answers
14k 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 ...
17
votes
2answers
2k 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?
34
votes
6answers
12k 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 ...
2
votes
1answer
629 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 ...
7
votes
1answer
3k 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 ...
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 ...
4
votes
1answer
888 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 materials/...
5
votes
1answer
15k 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)
4
votes
3answers
281 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
2answers
1k 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 ...