Commit graph

3853 commits

Author SHA1 Message Date
Agent X
e35e4529a2 Fix overflow, hex codes not working, and add dev prints 2024-05-21 17:10:00 -04:00
Agent X
5fe4aeb605 Fix Windows compilation error 2024-05-21 17:10:00 -04:00
Agent X
13e6197107 Added hex code support and sanity checks to palette INIs 2024-05-21 17:10:00 -04:00
Agent X
70fb580311 Re-enable DynOS Vtx rounding 2024-05-21 17:10:00 -04:00
Agent X
ceb7aa4649 Palette system overhaul and preset rewrite 2024-05-21 17:09:59 -04:00
Isaac0-dev
0d71c6c12f
remove animation dma tables, and provide mods more access to mario animations (#47)
This removes the old animation system which would create 16 copies of the animation table, so this should use less memory. Made m->animation->targetAnim always be a pointer to the actual animation in gMarioAnims, so mods can grab the pointer and reuse it.
added get_mario_vanilla_animation to Lua, which lets a mod get any of mario's built in animations from its index.
2024-05-21 21:17:30 +10:00
Cooliokid956
bb34e9f501
quick patch: don't rename tmp folder if .tmp already exists (#48)
if ex-coop is ran after the tmp folder is renamed, a new tmp folder will be created, which coopdx will then attempt to rename on the next run and fail to do so since .tmp already exists, resulting in the game failing to open
2024-05-20 12:42:06 +10:00
Agent X
f5db61f864 Whoops 2024-05-16 17:28:00 -04:00
Agent X
f2a6891a08 Rework new user folder system, make it just read sm64ex-coop if sm64coopdx isn't present, no more copying 2024-05-16 17:15:25 -04:00
Agent X
3b13b06b00 Fix Nametags color inconsistency 2024-05-15 18:35:13 -04:00
Agent X
b3e49f408b Force compilation to be the US version due to rom asset extractor 2024-05-15 18:07:42 -04:00
Agent X
591261fd41 Rename tmp to .tmp and hide on Windows (Will test after making this commit) 2024-05-15 18:00:16 -04:00
Agent X
12aff40090 Make user folder sm64coopdx instead of sm64ex-coop, add auto folder copy 2024-05-15 18:00:16 -04:00
Isaac0-dev
6995b1a07c
revert texture coordinates as ints instead of shorts (#46)
This reverts commit f994ffbe8c.
2024-05-15 21:30:52 +10:00
Isaac0-dev
37528b7ee8
fix flashbang while pause entering a level (#45) 2024-05-14 23:02:27 +10:00
Isaac0-dev
2f5b0c4880
reset mario state on player disconnect (#44)
fixes some mod related bugs
2024-05-14 10:12:20 +10:00
Isaac0-dev
eaa1a59996
fixed some mario cutscene action related bugs (#43)
- fixed a bug where remote players would show mario's head repeatedly twitching up and down while reading automatic dialog
- fixed a bug where remote mario's would sometimes not update while unlocking a star door, resulting in the previous animation playing during that action
- fixed a bug where players exiting a warp door could get stuck for a few extra frames due to other players opening that same door.

- added dialogId to MarioState, which is synced for remote players the dialog id that player has active. this can be used by Lua mods - don't access the local player's dialog id because that isn't updated as that is unnecessary
2024-05-14 09:45:33 +10:00
Isaac0-dev
bab8be49af
fixed a crash & memory leak from smlua_text_utils (#40)
* fixed a crash & memory leak from smlua_text_utils

* prevent autogen from exposing smlua_text_utils_shutdown

* forgot to push this
2024-05-13 19:38:53 -04:00
Isaac0-dev
45d42dbf73
fix crash when importing textures that exceed expected size (#42) 2024-05-14 09:38:21 +10:00
Isaac0-dev
626970c022
fixed scuttlebugs incorrect behavior (#41)
scuttlebugs used to always target the closest mario in range, due to angleToPlayer being updated every frame, overwriting the angle if its set to the angle to the scuttlebug's home
2024-05-13 19:37:40 -04:00
Isaac0-dev
082b6dd6da
interpolate scrolling textures (#30)
* interpolate scrolling textures

* cleaner way to skip interpolation

* fixed interpolation only lasting for one frame

* just reorder these

just because
2024-05-13 19:37:29 -04:00
PeachyPeach
a6c1b2a3d1
Fix surface_load memory leaks and improve performance (#38) 2024-05-14 09:08:51 +10:00
PeachyPeach
14cbb673fc
Proper custom object fields (#39) 2024-05-14 08:52:56 +10:00
Agent X
3a7adb8b40 Change "Global PLayer Models" to "Local Player Model Only" 2024-05-12 09:56:27 -04:00
Agent X
8209554f69 Disable freecam options if freecam is off 2024-05-12 09:51:17 -04:00
Agent X
3d2436c808 Rename is_playerlist_open to djui_is_playerlist_open 2024-05-12 09:18:40 -04:00
Agent X
9910aa32ad Add eeliottheking to credits.txt 2024-05-12 09:16:55 -04:00
Agent X
34113d3b53 Make tex files generate even with other ones in the dir 2024-05-12 09:16:55 -04:00
Agent X
3c86c0c83b Add is_playerlist_open() 2024-05-12 09:16:55 -04:00
Isaac0-dev
4fc0cc92e6
fix headless servers with mods that access marioObj on load (#37) 2024-05-12 22:58:43 +10:00
Agent X
cb6f5f2b30 Revert "Add gServerSettings.enableChat"
This reverts commit c21c255241.
2024-05-12 08:15:57 -04:00
Agent X
f3b583ac47 Make rainbow text colors brighter 2024-05-11 22:08:35 -04:00
Agent X
cdd23f5952 Add save file names 2024-05-11 22:05:35 -04:00
Agent X
dd6ce3d7f9 Actually fix Waluigi anims 2024-05-11 19:17:50 -04:00
Agent X
ec3fb07e76 Add @Hex4dec HOOK_ON_ATTACK_OBJECT 2024-05-11 18:44:18 -04:00
Agent X
307d5e993a Fix changing language breaking staff roll background 2024-05-11 18:26:17 -04:00
Agent X
96018588cd Fix convert_constants.py on Python 3.12 2024-05-11 17:55:38 -04:00
Agent X
e6880a5fee Add new networked water level functions 2024-05-11 17:55:18 -04:00
Agent X
2d314c539c DynOS NPOT texture warning instead of error 2024-05-11 17:52:42 -04:00
Agent X
c21c255241 Add gServerSettings.enableChat 2024-05-11 16:48:59 -04:00
Agent X
ee1034a79b Disable Waluigi anims for now 2024-05-11 16:43:07 -04:00
Agent X
c91b390d80 Remove some legacy sm64ex code 2024-05-11 16:30:25 -04:00
Agent X
940a05a2d1 Fix sounds on Python 3.12 2024-05-11 15:11:55 -04:00
Isaac0-dev
1e4e1f8e75
fix bugs caused by interpolating the frame an object spawns (#36) 2024-05-11 08:28:20 +10:00
Isaac0-dev
8845b3ef0c
fixed a bug where sync objects could be duplicated (#35)
this would happen if the sync object was spawned before the other players in the level's area sync was valid
2024-05-10 19:32:50 +10:00
Isaac0-dev
533404ca10
fixed camera palette editor cutscene breaking while transitioning to different cutscenes (#34) 2024-05-10 09:08:37 +10:00
Isaac0-dev
35a4119137
delete iZeSaveStates.lua 2024-05-10 00:06:04 +10:00
Isaac0-dev
108f35c369
credit dj clearly in info panel 2024-05-10 00:04:08 +10:00
Isaac0-dev
85c3bde7e3
improve frame delaying and vsync (#31)
use uncapped framerate and vsync for the best experience
2024-05-09 23:56:54 +10:00
defacube
e3bfbb65b1
Update Arena's description (#27) 2024-05-09 23:55:16 +10:00