gamevault-backend icon indicating copy to clipboard operation
gamevault-backend copied to clipboard

Support for non-archived games.

Open TheDuckMan64 opened this issue 1 year ago • 4 comments

I store my games in a non-archived format as this use case makes more sense for me individually than archiving them.

gamefolder/ data1.bin data2.bin setup.exe

I would love to see support for unarchived games!

TheDuckMan64 avatar Apr 19 '24 01:04 TheDuckMan64

The only easy way to integrate this into our infrastructure I can think of is to tar them on the fly when a client downloads the game. What do you think about that.

Alfagun74 avatar Apr 19 '24 06:04 Alfagun74

All things considered that sounds like a achievable approach. Would the server be able to tar a file in ram (potentially in segments) and stream it, or would you need to save the whole file to disk before sending to client? Either would work for me, I'm just curious :P

TheDuckMan64 avatar Apr 19 '24 11:04 TheDuckMan64

If I use the approach I use for exes right now, which I probably will, it will tar it and store it in /tmp and reuse that file for every future download until you restart your server. then stream it to you for download.

Alfagun74 avatar Apr 28 '24 02:04 Alfagun74

But this ticket here definitely relies on #148 and thus #149 to be implemented.

Alfagun74 avatar Apr 28 '24 02:04 Alfagun74