How to load, save or access data over the internet?

I’m starting a project that needs to access external data. Images, audio files, csv files with data… Nothing too fancy, but it’s projected to be pixelstreamed. Will run in a server.

I’m told I need to redirect my saves and loads to internet instead of local harddrives.

How can I do that? Been searching for a while but found no turorial, doc or example project to take a look.

Anyone has a link to share on this topic?

Take my answer with salt.

In case that you want to download raw file and convert to Unreal Format in realtime, Use FHttpModule. Unfortunately, I don’t remember the process for each file format.

If you want to package content to separate .pak, download and install in real time.
You will need to reverse engineer a bit. See the following

1 Like

Hey, sorry BoboMX, I forgot this post…

More than importing assets, what I need is to save game data persistently somewhere, because every time the pixelstream server is disabled everythis is lost. Also needed to play videos, show images and update texts to be accessed runtime, so my client can update content without my intervention.

Anyway, thanks for your answer.

These days I’ve done my research:

To handle text content and users data I’ve made a solution with the RuntimeDataTable plugin. Runtime DataTable in Code Plugins - UE Marketplace
Awesome plugin. Fast and easy.

To use external images there’s a Download Image node. Feed it with an URL and connect the output to a dynamic material instance.


Done.

And for external videos, there’s a StreamVideoSource asset ready to use.

For some unknown reason, images and videos can not be stored in GoogleDrive, but almost any other place is ok.

2 Likes