Closed Sieluna closed 5 months ago
In regards to the page rendering time, I want to make it load them asynchronously. Encoding them as base64 was just a way to simplify development and ship a "minimum viable product."
The architecture to support asynchronous loading would also let people use AssetRipper more like a library, which is a shadow goal of switching to the web UI.
Describe the new feature or enhancement
Transmitting large assets directly through documents is not a perfect solution because base64, which increases the size about 20%, besides this will increase page rendering time as well. I think some gentle transmission can be considered. The following is a draft for transmission through websocket.
https://github.com/AssetRipper/AssetRipper/blob/ef00ea8494ac685b27f18b648b6387084f08b9ae/Source/AssetRipper.GUI.Web/WebApplicationLauncher.cs#L215
Some possible usage: