Questions tagged [filesystem]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
47
votes
6answers
4k views

Why do games seemingly reload the entire level when restarting a level?

Is the data really modified that much during play? I'm assuming the longish pause between restarting a level is the entire level reloading. But it seems to me that a well implemented system should ...
11
votes
1answer
662 views

Finding asset files in Linux games

What is the usual method of storing 3D models, textures, sounds and scripts (e.g. Lua files) during development and in a release? I am developing a game with my friends in mainly C++; in the ...
7
votes
5answers
12k views

Is there a cross-platform special directory I can use for game save files?

I'm developing with LWJGL and Java on a Windows 7 laptop. I've successfully set up saving to the %appdata%\gamename\saves\ or long form ...
3
votes
2answers
1k views

Cant write/read to/from external storage with LibGDX [closed]

My create method looks like this: ...
2
votes
1answer
379 views

Saving Game Data In Windows Store App

I am creating a windows store game using unity . I want to save the current high score data . I most probably use StreamReader / StreamWriter for saving data but when i build the executable for ...
1
vote
2answers
299 views

Determining the location of installed/on disk game assets

I've been thinking a lot about the best way to store and load assets in your filesystem. By this I mean where in the file system to store them, and how to retrieve them when loading etc., as opposed ...
1
vote
2answers
84 views

LibGDX - Bundling Files

I have 3 files. A JSON file, a PNG file, and a TXT file. Is there any possible way I can put all three inside a common file with a custom extension? (for example "fileName.abc") I searched the web a ...
1
vote
1answer
656 views

How can I hide game asset files in my release build?

My SFML 2.0 release build has a file path to game assets relative to the .exe file, so folders such as Fonts, SoundEffects, etc. are explicitly listed in Windows Explorer with the .exe. I'd like to ...
1
vote
1answer
1k views

Saving and Loading the Game (Automatically or Manually) via Internal Storage Only (Tablet PC Issues)

Here is my question. When making a game app for Android, I considered first the device. It's no problem to save progress everything (from levels to records) on a smartphone because it has an SD Card ...
1
vote
1answer
3k views

Make Love2D load resource from inside the .love file

I've just made my first (very simple, ugly) game in Love2D. The game works fine when run directly off my hard drive. However, when I package it up as a .love file,...
1
vote
0answers
50 views

Godot: How do I edit the exe icons of other sizes

I asked this question on Godot Q & A: https://godotengine.org/qa/53521/godot-program-icons Basically, my problem is that I want My executable file's icon to display my own custom icon instead ...
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 ....
0
votes
2answers
82 views

How to create a separate bin folder?

I am now creating a 64 bit and 32 bit executable of my game. How could I achieve so that the executable and dlls lie in a separate folder without changing all the path variables in the game? To ...
0
votes
2answers
606 views

Loading sprite resources from nested folders

This is how I try to load my sprite images: ...
0
votes
2answers
97 views

How to access files in Chrome

So, I am making a game-like html file that needs to load a few assets. I have a loading animation which uses the timing of the loading files to create a progress bar. This all goes fine. The files all ...
0
votes
1answer
195 views

Is this technique for stat tracking without a database workable?

If I wanted to create a chess game, for iOS, that tracked both player moves (for retracing the progression of a game and for player stats), what would be the simplest route to take? To clarify, I ...
0
votes
1answer
40 views

UnityTeams: Files to publish but no Upload button

I am using Unity 2019.2.14f1 to build a game. As I am working with a team, we have decided to use Unity Teams for the collaboration. The project escalated and we ended up having to architecture a ...
0
votes
2answers
47 views

How to set my game to load low-level drivers from a different System32 folder path

The title says it all I'm doing a test with my game and I need to know how to set it up where my game loads low-level drivers from a System32 Folder that is in another path instead of this example:...
0
votes
0answers
34 views

Fast route for utilizing images produced in python matplotlib (or within Julia) to be displayed in Unity?

I would like to use within Unity heatmaps produced with matplotlib invoked using python or julialang such as the heatmap shown in: Source: heatmap from matplot lib I can invoke python (or Julialang) ...
0
votes
1answer
395 views

String table or a tree for virtual filesystem

I am developing a binary file format to store my game's assets and I am thinking about how to implement the "file table". One option to would be to create a structure for file entries like this: <...
0
votes
1answer
249 views

Approach on how to split game assets into split archives

With a custom binary file format for archives that is structured similiar to Valve's VPK files I have a Game.index.gcf which holds information about all files and ...
-1
votes
1answer
59 views

How to set C++ language standard for VS2019 in an Unreal project?

I am trying to a simple thing, just like that, in a header file; #include <filesystem> #include <iostream> namespace fs = std::filesystem; And ...