Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements for GameVault's Offline-Cache and Storage #340

Open
6 tasks
Alfagun74 opened this issue Jan 22, 2024 · 2 comments
Open
6 tasks

Improvements for GameVault's Offline-Cache and Storage #340

Alfagun74 opened this issue Jan 22, 2024 · 2 comments
Labels
💻 client There are things to do on the client 🔧 feature New feature or request

Comments

@Alfagun74
Copy link
Contributor

Alfagun74 commented Jan 22, 2024

Current Issues and Proposed Improvements:**

  • 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

Additional Information:

  • Current system Screenshots:
    Image
    Image
@Alfagun74 Alfagun74 converted this from a draft issue Jan 22, 2024
@Alfagun74 Alfagun74 moved this to 📃 New Issues in GameVault: Public Roadmap Jan 22, 2024
@Alfagun74 Alfagun74 added 🔧 feature New feature or request 💻 client There are things to do on the client labels Jan 22, 2024
@Alfagun74 Alfagun74 moved this from 📃 New Issues to 🔧 Planned in GameVault: Public Roadmap Feb 6, 2024
@Alfagun74
Copy link
Contributor Author

Needed for #339

@Alfagun74 Alfagun74 changed the title Improvements for GameVault's Offline-Cache Improvements for GameVault's Offline-Cache and Storage Oct 24, 2024
@Alfagun74
Copy link
Contributor Author

Probably needed for the full functionality of #447

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💻 client There are things to do on the client 🔧 feature New feature or request
Projects
Status: 🔧 Planned
Development

No branches or pull requests

1 participant