Welcome, Guest

Author Topic: I want to pack my own files for the game, and not use a site from the internet.  (Read 1515 times)

Nick

  • Administrator
  • *****
  • Posts: 475
    • View Profile
You can do that using our custom protocol, coui://. You need a to implement a custom file reader that inherits from Coherent::UI::FileHandler and implement the ReadFile method (for reading, there is also WriteFile for writing).

You just need to supply the raw bytes for the requested resource, there is no limitation how you get them. As an example, you can check our CustomFileReader sample, which reads file from a zip.
R&D Director @CoherentLabs

Tags: