Commit Graph

31 Commits

Author SHA1 Message Date
coco875
922f810fcf put g_verbosity in static (#191) 2025-08-09 18:00:03 -06:00
coco875
625860eb32 simplify 2025-08-06 09:16:54 -06:00
coco875
4066bf7968 less extern and ignore lib c file 2025-08-06 09:16:54 -06:00
coco875
3118a7fbc3 add more extern 2025-08-06 09:16:54 -06:00
coco875
052a13b38d add extern C for cpp 2025-08-06 09:16:54 -06:00
coco875
a8934257b3 Update n64graphics.c 2025-08-06 09:16:54 -06:00
coco875
8e918bd915 Update n64graphics.c 2025-08-06 09:16:54 -06:00
coco875
d3339b6880 same for image write 2025-08-06 09:16:54 -06:00
coco875
85529e8536 ensure only one stb_image declaration 2025-08-06 09:16:54 -06:00
coco875
0269f1968a no longer support v142 and update stb image (just in case) 2025-08-06 09:16:54 -06:00
inspectredc
8b5ef9129c ma2d1 support 2025-07-04 17:40:01 -06:00
Lywx
7da8ae8e25 Added options to have a better lib implementation (#158)
* Added options to have a better lib implementation

* Cleaned up possible conflicts

* Fixed compilation errors

* Fixed more compilation errors

* Compiled library on windows as MT

* Fixed MT

* Readded cmake deps

* Fixed stormlib and some ifdefs

* Added an option to ignore cache

* Added no auto link when working as an standalone

* Fixes for torchlib build/inclusion.

* Fix standalone building.
Fix extraction initialization in lib mode.

* Fix stack size declaration.

* Implemented comptool and preprocess system

* Fixed cmake

* Cleaned up a little bit

* Added support for disabling stormlib

* Fixed compilation errors and added support for disabling fzero and naudio

* Renamed from CreateFile to AddFile because windows is stupid

* Added STORMLIB_NO_AUTO_LINK

* Trying to fix windows again

* Fixed spdlog

* Fixed enum parsing

---------

Co-authored-by: Malkierian <malkierian@gmail.com>
Co-authored-by: Malkierian <malkierian@live.com>
2025-01-15 19:29:27 -06:00
KiritoDv
82c4397160 Fixed o2r generation and moved from libzip to miniz 2025-01-15 10:01:49 -06:00
KiritoDv
6ccdeaa226 Added Yay0 support with auto detection for pkmn-stadium files 2024-10-11 13:54:38 -06:00
KiritoDv
afd800afc0 Fixed possible conflicts with LUS 2024-05-25 16:31:32 -06:00
=
d24b5b3193 Add tkmk00 2024-05-02 18:32:48 -06:00
AltoXorg
4513708c95 Fix CI texture depth when png export 2024-04-13 00:02:41 -06:00
MegaMech
24633ebd7c Introduce Metadata and ItemCurve Factories (#27)
* Introduce metadata

* Metadata works now

* Cleanup

* Fixes

* Cleanup 2

* yaml improvement

* Comment update

* Rename tables to metadata

* Update

* Fix warnings

* Implement ItemCurve

* Remove unused enum

* Replace static with const

* Fix bug

* Add const

* More fixes

* Fix quote bug in IncludeFactory

* Fix header in ItemCurve

* Fixes

* Fix texture factory

* updates

* Clearer debug info

* Fixes

* Working ci8 png

* Fix size output

* Fix

* Add gitignore for modding

* Fix precision for mtx

* Remove header exporter from metadata

* Remove hardcoded enum

* Remove tabs

* Remove tabs

* tlut temp fix

---------

Co-authored-by: = <=>
2024-04-06 15:36:03 -06:00
MegaMech
cd7dd6f59a Add Mtx, float, and mk64 Factories (#43)
* Create MtxFactory.cpp

* Add mtx factory

* Implement mtx output

* Changed implementation

* Update comment

* Finish Mtx factory

* Add float factory

* Add runtime error for untested code

* Add DrivingBehaviour factory & fix bug

* Remove limit

* Add mk64 graphics

* Changes

* fix

* Update

* Improve error checking
2024-03-23 01:57:53 -06:00
KiritoDv
1682451d2e Fixed windows compilation 2024-02-21 21:05:28 -06:00
KiritoDv
12532b1a76 [WIP] Added palette and tlut export 2024-02-21 20:38:05 -06:00
KiritoDv
70a6bb7cf1 Added asset mods support 2024-02-21 20:38:05 -06:00
Lywx
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
KiritoDv
396f732bc5 Refactored to use a better file format 2023-09-17 23:55:59 -06:00
KiritoDv
fc7bf4c6ec Added full bank extraction 2023-09-15 20:46:06 -06:00