How to Upload a Save File to Unreal Project by Pixel Streaming in Eagle 3D Streaming System.
Before Using some of the features take a look at the document below covering how to send a pixel streaming command to E3DS System:
How to send a Pixel Streaming Response
How Epic Games handles save files:
In Shipping Build, save files are stored in C:/Users/Documents.
In Development Build, it is saved in Project Directory/Saved Folder.
How to get Project Saved path to upload save file:
You can get a project saved folder, by “Get Project Saved Directory” node. It will return the exact path of the project and you can upload your Save game there.
![](../__attachments/187596807/image-20230912-155133.png?inst-v=27e98e0b-a7f8-4fea-87e8-8659c502a385)
Add an Append and add “SaveGames/” to get the exact same path where you should upload the .sav files.
![](../__attachments/187596807/image-20230912-165126.png?inst-v=27e98e0b-a7f8-4fea-87e8-8659c502a385)
Now add another Append and attach it with Send Pixel Streaming Response. Make three inputs and Put: {"cmd": "sendLocalFileToUE4","pathToSaveFile": "
In the second, give the path.
In the third, add:
“}
This will complete the whole command that will tell E3DS system to upload a save file to Saved/SaveGames/ Folder.
More information on Relative and Absolute Paths can be found on the document below:
Difference in Relative Path and Absolute Path in Unreal Engine
![](../__attachments/187596807/image-20230912-165203.png?inst-v=27e98e0b-a7f8-4fea-87e8-8659c502a385)
You can also use “Directory exists” with a branch to make sure this path exists or not. So, it will not execute the code if you have not provided the path correctly.
![](../__attachments/187596807/image-20230912-165538.png?inst-v=27e98e0b-a7f8-4fea-87e8-8659c502a385)
This Method works only for development builds, and it is not guaranteed to work for Shipping builds. To make it work for Shipping builds, you will need to modify the C++ code of Unreal Engine.
When you upload your app to E3DS system and try to execute this command you will get a popup which will ask you to upload a file to this folder. Just browse the file that you want to upload, and it will be uploaded to your project folder.
![](../__attachments/187596807/image-20230912-175437.png?inst-v=27e98e0b-a7f8-4fea-87e8-8659c502a385)
We don’t have a demo for this right now, in future we will provide a booth in the feature template for this.
Need help? Contact Support
If you still need help, contact support to get your issue resolved quickly.
Submit a new request at E3DS support portal or send an Email at support@eagle3dstreaming.com.
Seek advice. Connect with others. Share your experiences. Join our lively Community Forum today.