1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-07-20 07:47:45 +00:00
Commit graph

9 commits

Author SHA1 Message Date
5a5896a126 Fix loading the Solution Nine background LGB
See #13
2025-07-01 18:18:02 -04:00
21a5ddc763 Fix parsing of certain LGB files
These have unknown instance objects, and were tripping up our parsing. I
don't know what these are yet, but I added them anyway.

I also made sure that the parser doesn't return None for technically
valid but empty LGB files.
2025-06-22 10:24:21 -04:00
7bf8f5016c Remove a panic when reading certain LGB files 2025-06-21 09:45:48 -04:00
1d3192de23 Fix various Cargo and Clippy warnings 2025-06-02 17:32:31 -04:00
39f1c9665f Read BGInstanceObject asset and collision paths, expose LayerHeader 2025-05-14 20:02:37 -04:00
cdc39ad4b6
Partial map write support (#9)
This adds initial support for writing new/modified maps, which are made up of layer groups (LGB) and terrain (TERA). Neither one is really tested yet, but I started checking some simple examples and it seems to work.
2025-04-13 18:34:18 -04:00
a34361b956 Try to reject erreonous planner.lgb files 2025-03-28 22:09:39 -04:00
3273070cef Make more layer-related types public 2025-03-15 17:47:29 -04:00
f8db40d74d Improve layer group parsing (lgb files)
I guessed the name, it's more like a collection of layers. This actually fixes a
bunch of mistakes (on my part) as I copied the layout from Lumina, but added a
few changes to make it work with modern zones. There's a whole lot more work
here to do, but now it works to parse New & Old Gridania.
2025-03-15 17:38:54 -04:00