29 Commits
Author SHA1 Message Date
PeachyPeachSM64 98265ae931 Prevent compiling dynos packs with lua variables; Instead of killing the game, don't enable actor in dynos pack if it contains lua variables 2026-05-29 14:04:56 +02:00
PeachyPeach 0a777908e7 Fix DynOS generation bug with duplicates (#1220)
When generating multiple actors, if two or more data nodes share the same name, the generated actors can reference the wrong nodes in their display lists/geo layouts.
This results in:
- The wrong nodes compiled into binary files
- Intermediate layouts generated as actors since nothing is referencing them anymore, treating them as root geo layouts

The simplest fix was to first check for the model identifier (renamed to `mDataIdentifier`, since it's no longer related to models) when looking for nodes, to ensure it picks the right node, even if multiple nodes share the same name.
2026-05-18 07:50:20 +10:00
EmeraldLockdownandAgent X e83985c64e Mark all unused variables as unused, resolve other warnings (#1147)
* Mark all unused variables as unused, resolve some unsafe code, some things still need to be looked at

* Remove a lot of unused variables that didn't need to exisat

* Remove UNUSED keyword from appartion values

---------

Co-authored-by: Agent X <44549182+AgentXLP@users.noreply.github.com>
2026-04-21 23:40:24 -04:00
PeachyPeach 98fe8931e3 Fix DynOS packs Lua code execution (#1194)
* Fix dynos packs code execution

* make mod player models ignore dynos local player model only
2026-04-12 09:42:21 +10:00
Isaac0-dev 2a46689809 some fixes for dynos, and a crash fix (#1040) 2025-12-26 12:59:47 +10:00
PeachyPeachSM64 d1a779d355 Enforce function pointers types in dynos
geo layouts -> geo_* functions only
behaviors -> bhv_* functions only
level scripts -> lvl_* functions only
other -> no function allowed

thanks maniscat for reporting the issue
2025-08-17 19:27:41 +02:00
Sonic The 33329c0437 Lvl Macros (#678)
for dynos levels that use the normal macros
2025-02-23 07:44:53 +10:00
MysterD 1001a729c7 Add Lights0 support to DynOS 2023-06-12 02:08:20 -07:00
MysterD b6a315423a Added in-game console for DynOS and Lua errors 2023-05-19 04:20:08 -07:00
PeachyPeach 3b1816c023 DynOS Bin Compression (#131) 2022-06-25 00:52:53 -07:00
Prince Frizzy 8b3b2a1113 Added a full new custom behavior system (#124) 2022-06-02 12:19:54 -07:00
MysterD ccee2c5f43 Automatically disable billboards on DynOS models with >6 vertices 2022-05-04 00:14:33 -07:00
MysterD 4163373fab Fix DynOS vertex offset writing 2022-04-11 22:54:36 -07:00
MysterD a05032116e Refactored actor geos in DynOS 2022-04-08 18:56:22 -07:00
MysterD be19f2b9de Renaming cleanup 2022-04-08 01:52:53 -07:00
MysterD 2c66cbf78e Function pointer cleanup 2022-04-08 01:46:29 -07:00
MysterD b1618e466d Added vanilla lvl cols to level gen, changed how pointer offsets are saved 2022-04-07 23:06:10 -07:00
MysterD 824b5bcbc4 Fixed token corruption in DynOS, added support for runtime LOAD_MODEL_FROM_GEO 2022-04-07 08:21:19 -07:00
MysterD 0fa41b0769 Refactored how vanilla data is stored/retrieved within DynOS 2022-04-06 21:32:55 -07:00
MysterD b8be483f8e Added support for custom skyboxes in DynOS level gen 2022-04-05 22:56:03 -07:00
MysterD 2010bff29c Fixed how DynOS writes lua variables into level scripts, added all level geos 2022-04-05 00:22:09 -07:00
MysterD da4b7039ed Added Light_t, Ambient_t, and began adding vanilla lvl geos to DynOS level gen 2022-04-04 21:25:40 -07:00
MysterD d7b9b43c5a Added ability for DynOS levels to call into lua for custom objects 2022-04-04 18:16:36 -07:00
MysterD dea9c590d4 Added rooms parsing to DynOS level gen 2022-04-03 23:42:25 -07:00
MysterD d62063546b Added Movtex and MovetexQC to DynOS level gen 2022-04-03 22:12:17 -07:00
MysterD 58e078f410 More DynOS custom level progress - BOB can now compile 2022-04-03 03:30:47 -07:00
MysterD c953d5a32f Added trajectories to custom DynOS levels 2022-04-02 16:08:19 -07:00
MysterD 5c30f22de4 More progress toward custom DynOS levels 2022-04-02 15:14:04 -07:00
MysterD a27bbce90d More DynOS refactoring 2022-04-01 20:04:24 -07:00