Current cache structure breaks using multiple servers or multiple-profiles functionality.
[ ] Restructure stored data by client, so it allows for multiple profiles and servers. See below.
No option to open the cache folder directly from the app.
[ ] Add an option to open the cache folder from the app.
Cached Data/Configs by GameVault are not saved in a nice to look at & machine-readable format.
[ ] All data is saved in a human-readable format (json).
Non-descriptive folder names (e.g., 'gbg') and unconventional image filenames.
[ ] Use descriptive names for files and folders
Images lack proper file extensions and naming, making them unreadable.
[ ] Save images in a readable format with proper file extensions.
Cache only gets written on download/installation so it gets outdated and shows wrong data.
[ ] Cache Library using a time-to-live index.
Proposed Data Structure
.
├── profiles.json # Contains profile information, app settings per profile and links users on a server to a specific profile
└── Servers # Contains numerical list of all servers this client has ever connected to
├── 1 # Incremental ID
│ ├── Games # Contains Metadata for each game on a server
│ │ ├── 1 # Serverside Game ID
│ │ │ ├── background.png # Clearly viewable background image
│ │ │ ├── cover.png # Clearly viewable cover image
│ │ │ └── game.json # Contains Game metadata and Time to Live
│ │ ├── 2
│ │ │ ├── background.png
│ │ │ ├── cover.png
│ │ │ └── game.json
│ ├── server.json # Contains Server Metadata, like URL and so on
│ └── Users # Contains Metadata for each user on a server
│ ├── 1 # Serverside User ID
│ │ ├── avatar.png # Clearly viewable avatar image
│ │ ├── background.png # Clearly viewable background image
│ │ └── user.json # Contains User metadata, like progresses, and information and a Time to Live
│ ├── 2
│ │ ├── avatar.png
│ │ ├── background.png
│ │ └── user.json
└── 2
├── Games
│ ├── 1
│ │ ├── background.png
│ │ ├── cover.png
│ │ └── game.json
│ ├── 2
│ │ ├── background.png
│ │ ├── cover.png
│ │ └── game.json
├── server.json
└── Users
├── 1
│ ├── avatar.png
│ ├── background.png
│ └── user.json
├── 2
│ ├── avatar.png
│ └── user.json
Current Issues and Proposed Improvements:**
Proposed Data Structure
Additional Information: