Commit Graph
18 Commits
Author SHA1 Message Date
MegaMechandLywx a809755d7d Update DisplayListFactory.cpp 2024-03-12 11:57:30 -06:00
KiritoDv 70800a9144 Used to_string instead 2024-03-10 16:26:48 -06:00
KiritoDv 914e7e6ddb Changed hex to dec on count factories 2024-03-10 16:24:37 -06:00
KiritoDv 951e84d97d Replaced displaylists and vertices with size:, and added debug for textures 2024-03-10 16:09:20 -06:00
KiritoDv ef6befae9a Skipped autogenerated assets 2024-03-10 15:58:45 -06:00
KiritoDv 5d4bd639df Refactored vtx overlap function 2024-03-10 15:58:45 -06:00
c4bb1ad8ee Update IsDebug (#25)
Co-authored-by: = <=>
2024-03-09 23:42:25 -06:00
f06ed7388d Detect Compression Type and Improve Yaml Structure (#21)
* Auto detect mio0

* Altered decompressor

* Fix bug

* Bug fix

* fix

* debugging

* fix debug

* Remove logging

* Fix spacing

* node change

* Cleanup

* Track compression offset using global var

* Implementation

* Renames

* Simplification

* Fixes

* Fix debugging output

* yaml config segments uses array style

* Fix to_hex zero fill

* Bug fixes

---------

Co-authored-by: = <=>
2024-03-08 14:24:58 -06:00
KiritoDv 3845d02cf6 Added size on DisplayList and Vtx 2024-02-20 21:19:21 -06:00
KiritoDv 510ffd4710 Removed unnecesary TranslateAddrs 2024-02-18 16:23:12 -06:00
KiritoDv 752c6a2ac0 Removed addr translation when is asset is segmented 2024-02-18 14:18:54 -06:00
KiritoDv 8f7f877306 Added symbol generation for tluts 2024-02-18 12:54:55 -06:00
KiritoDv af3f59fde5 Removed useless warning prefix 2024-01-31 12:05:40 -06:00
KiritoDv 4668cf08fb Refactored code and added per file config 2024-01-31 12:05:40 -06:00
KiritoDv 242f8acf21 Swapped mio with offset and fixed samples and animations 2024-01-31 12:05:40 -06:00
KiritoDv c54ef39005 Removed GBI, added GeoLayout and Lights extraction 2024-01-31 12:05:40 -06:00
KiritoDv 57f61f8e65 Added WIP Geo Layout Exporter and some code cleanups 2024-01-31 12:05:40 -06:00
eaddecd0b4 Torch v0.1 (#12)
* Splitted version yamls and implemented wip geo and dlist extraction

* Fixed linux compilation

* Added PoC WSL 2 detection

* Add undefined behaviour

* Added gfxdis as submodule

* update

* Removed gfxdis as a submodule

* Code works

* Replace ByteSwap with BSWAP

* Cleanup vertice factory

* readability

* readability 2

* Cleanup gfxfactory

* last one

* Rename name to symbol

* More implementation

* Implemented first PoC of C file generation

* Added output formatting on factories

* changes

* Moved generated dlists onto their respective folder

* Migrated more factories onto the new extractor system

* Fully ported all factories and added header generation

* Some updates

* Added Lights factory

* fix

* Fixed vtx extraction

* Lights work now

* delete old startup_logo yaml

* Generate all sections in single file

* Added support to generate header and code for textures

* Added O3 for release builds

* Added WIP dlist extraction and moved to use f3dold microcode

* Added segment support, autogeneration and fixed C generation

* Added symbol names on display list extraction

* Removed warnings

* Moved back to transform and replace

* Removed unnecesary macros

* Added extraction order and reversed vtx order

* Implemented true backwards sort

* [WIP] Implemented runtime gbi, more headers and a few config features

* Fix CLI11 on WSL and variety of fixes

* Fixes

* Update DisplayListFactory.h

* Update TextureFactory.cpp

* wip lights

* fix

* Correct callback

* Added waypoints

* Update ceremony_data.yml

* Changes

* Update TextureFactory.cpp

* Update commandline args

* Update comment

* Remove printf

* Update couple commands

* Renamed cubeos  to torch

* Removed unused stuff and added an example config file

---------

Co-authored-by: KiritoDv <kiritodev01@gmail.com>
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
2023-11-15 15:11:15 -06:00