Update README.md

This commit is contained in:
pyral 2024-12-03 13:24:35 -05:00
parent b23afbd902
commit ad6d0e6d23

View File

@ -11,13 +11,13 @@ Crop and Claw 2 is being written with moddability and engine-agnosticism in mind
For example, the runtime loads the base game package it expects, then mods, then allows for listening to a mods directory outside of zip archives. To do all this, we need to be able to load various file formats (png, ogg, specialized non-Godot formats, etc) into the engine and convert them to usable assets. This is obnoxious because loading and searching for files is different depending on if you are loading from directories or zip archives, and you have to manually cascade through zips and directories to find override assets. What's worse is more complications are added when new sources of file data could be encountered, such as streaming assets directly from a server. In order to reduce the pains, these scripts help build a dynamic virtual file loader. For example, the runtime loads the base game package it expects, then mods, then allows for listening to a mods directory outside of zip archives. To do all this, we need to be able to load various file formats (png, ogg, specialized non-Godot formats, etc) into the engine and convert them to usable assets. This is obnoxious because loading and searching for files is different depending on if you are loading from directories or zip archives, and you have to manually cascade through zips and directories to find override assets. What's worse is more complications are added when new sources of file data could be encountered, such as streaming assets directly from a server. In order to reduce the pains, these scripts help build a dynamic virtual file loader.
Currently supported loaders: Currently supported loaders:
- FileAccess - for direct file/directory operations - FileAccess - for direct file/directory operations (Read/Write)
- ZIPReader - to read one or many zip files at a time - ZIPReader - to read one or many zip files at a time (Read)
- ZIPWriter - to write to a target zip file. - ZIPWriter - to write to a target zip file. (Write)
- VFileAccess - Yes, you can recursively use multiple VFileAccess instances to check for files using different methods. - VFileAccess - Yes, you can recursively use multiple VFileAccess instances to check for files using different methods. (Read)
To be implemented: To be implemented:
- HTTP requests - coroutine-based streaming a file from a network connection. - HTTP requests - coroutine-based streaming a file from a network connection. (Read)
## This thing's confusing. ## This thing's confusing.