LunaLua
LunaLua copied to clipboard
Add PGE File Library support from Kevsoft's "experimental-reader" branch
Some times ago Kevsoft have made an experiment to use PGE File Library instead of built-in LVL file parser. It possibly works fine in a pure engine runtime, but it works very clunky when it's running from the SMBX Editor.
- Branch where Kevsoft made his experiment: https://github.com/WohlSoft/LunaLua/tree/experimental-reader
- ~Current mainstream branch: https://github.com/WohlSoft/LunaLua/tree/experimental-npcid-extension~ [Branch has been removed!]
- Current working branch: https://github.com/WohlSoft/LunaLua/tree/experimental-reader-updated
It's need to take most of Kevsoft's changes and polish the whole stuff to make it be working.
-
experimental-npcid-extension (now changed to a tag) has been merged to master so that master will be the current mainstream branch.
-
experimental-reader-updated has been created, from the combination of latest latest master and experimental-reader. This resolves all merge conflicts and the merged result builds successfully. It still has a very old PGE File Library though.
- Okay
- Yeah, therefore is needed to put the PGE File Library as submodule or ExternalProject of CMake build. I'll check out the whole stuff at evening, for this moment it's morning and 9:46 AM.
Agreed. I just did a merge as a first step, which makes it easier to look at the changes experimental-reader had made in the context of the up-to-date code. Good to to have a proper merge that builds correctly without extra done beyond what was strictly necessary to build. Changing the PGE File Library to a submodule or something can be the next step.
The support for level files is almost completed, the one thing is still need is:
- -[x] On side of PGE Editor fix a crash of LunaTester that unreasonable happens after level testing launch
- -[x] Implement Lua binding for PGE-FL to dump files as lua-table trees
- -[ ] Implement NPC-*.txt replacement to use PGE-FL
- -[ ] Implement World Maps replacement to use PGE-FL
Basic PGE File Library has been added!