[Closed] Streaming paks from server
I am trying to adapt the code found in this repo (https://github.com/moritz-wundke/AsyncPackageStreamer) to stream a .pak from a remote server. Right now I am testing with this AWS server (https://s3.amazonaws.com/it-ms-cloudfront/PakMat.pak), but I'm just looking for a proof of concept. I have been able to mount the materials in a pak once it has been downloaded, but I'm struggling with the streaming half of my problem.
Any help or advice would be really appreciated! Thanks! -Rudy
asked Aug 08 '15 at 09:06 PM in Packaging & Deployment
The question has been closed Jul 15 '16 at 08:09 PM by Samantha Sutton for the following reason:
The question is answered, right answer was accepted
I just glanced at that async stream code and would approach it differently. My approach would be to use a HttpRequest to download the data. Then use our file helpers to save an array of bytes to a file. Mount that pak file and you're ready to read from it. This is what Paragon does and is very similar to what Infinity Blade and Gears of War did (I wrote all 3 versions).
answered Jan 06 '16 at 12:03 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here