Commit graph

255 commits

Author SHA1 Message Date
Isaac0-dev
39826deadd add a way to find surface types in collision 2024-11-22 08:57:37 +10:00
John S
5300b559d3
Fix weird comment in Makefile (#365) 2024-10-16 17:19:42 +10:00
Isaac0-dev
4aa2a20f72
fixes, clean up and some new features (#259)
- Only inited `smlua_audio_utils` if needed, since there will probably be plenty of people who play without ever using mods with custom audio.
- Fixed the pause anywhere setting - this ended up not being fully accurate to ex-coop, which it was originally intended to be.
- Stopped regenerating dynos collision bin on start up every time therefore giving a slight start up speed boost for some people.
- Added a config file setting that lets people choose to compress dynos bins on startup (disabled by default).
- Fixed a warning that shows on non macs during compiling.
- Properly fixed the chat box focus.
- Made the public lobby rules panel "temporary".
- Added a cleaner loading screen design.
- Added an ex-coop theme easter egg, can only be activated from the config file.
- Cleaned up the Lua traceback logging, now shows the folder and file the error occurred in, rather than the full path.
- Added a way to set `gCheckingSurfaceCollisionsForCamera`, so mods can specify to surface finding functions to ignore `SURFACE_FLAG_NO_CAM_COLLISION` internally.
- Rewrote the way smlua pushes CObjects/CPointers to Lua. Now using the C Lua API entirely to connect to Lua.
	- Fixed a use-after-free bug that could easily crash the game through Lua (explained further in one of my comments below).
- Fixed a common crash in `audio_sanity_check`.
2024-09-12 19:09:01 +10:00
AloXado320
6b4784d0ee
Fix sequences_offsets file reference (#314) 2024-09-10 07:57:47 -04:00
Jordan Russell
de47af0461
Mumble Positional Audio Integration (#247)
* added shared memory for mumble integration
update mumble struct with player and camera data

* osx compile fixes

* renamed methods

* fixed inversed unit vectors

* made mumble camera position mario

* cleaned up spacing

* added separate context for main menu

* added checks to avoid improperly changing contexts
2024-09-01 12:45:43 -04:00
EmeraldLockdown
ba8d4b9c42
Enchantments for cross compiling intel on arm, and intel enchantments (#220) 2024-07-17 15:43:49 -04:00
EmeraldLockdown
035e04ee31
Set min macos ver based on if on intel or arm. Allow var to be edited (#209) 2024-07-14 12:57:48 -04:00
Agent X
33a6256999 Small improvement 2024-07-05 18:57:25 -04:00
Agent X
b27555d614 Update Makefile with macOS fixes
Thanks Emerald!

Co-Authored-By: EmeraldLockdown <86802223+EmeraldLoc@users.noreply.github.com>
2024-07-05 18:14:38 -04:00
Agent X
0991503b6a Fix macOS compilation
Co-Authored-By: EmeraldLockdown <86802223+EmeraldLoc@users.noreply.github.com>
2024-07-02 14:26:00 -04:00
Agent X
a64cc6a77c Add HANDHELD build flag 2024-07-01 12:28:42 -04:00
Agent X
fe114133ff Fix headless compilation and do some formatting 2024-06-30 20:55:47 -04:00
Radek Krzyśków
227a4bbcf3
Using Short Paths (ASCII-compatible) for Exe Dir and User Dir on Windows (#77)
Co-authored-by: Agent X <44549182+AgentXLP@users.noreply.github.com>
2024-06-23 18:38:32 -04:00
Isaac0-dev
a347f77b3c
fix some git merge conflicts that weren't resolved (#55)
and added -latomic to build flags to fix compile warnings while compiling miniaudio
2024-06-01 13:40:58 +10:00
Agent X
ceb7aa4649 Palette system overhaul and preset rewrite 2024-05-21 17:09:59 -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
fd96946962 Remove DirectX 12 2024-03-30 23:57:18 -04:00
EmeraldLockdown
40b1406e29 Remove temp fixes for macOS (#564)
* Remove temp fixes

* Update Makefile
2024-03-25 18:44:42 -04:00
your average coder thingy idk
777c41e50d kablamo (#561) 2024-03-25 18:37:40 -04:00
Isaac0-dev
4473bfffe9
removed bass, replaced with miniaudio (#8) 2024-03-23 16:14:53 -04:00
Isaac0-dev
663e4549d8
extract assets from rom at runtime (#4)
* Proof of concept for loading rom assets at runtime

* Added skybox textures

* Adjusted format

* Load all texture assets from rom

* Adjusted rom asset loading

* Load all Vtx lists from rom

* clean up toad, wario and his cap conflicts

* Load sound samples from rom

* fix toad sounds

* Loaded sequences from rom

* Load collisions from rom

* Object animations are now loaded from the rom

* Load player animations from rom

* Load goddard anims from rom

* whoops

* fix some compile errors

* drag and drop rom checker, everything works now.

* fix errors due to merge conflicts

* fix compile errors on windows, switch to md5

* fix vertex colors during load

Co-Authored-By: Agent X <44549182+agent-11@users.noreply.github.com>

* Load dialogs from rom

* Loaded course/act names from rom

* Loaded ingame text from rom

* rerun autogen & blacklist smlua_text_utils_init

* fix ttc_seg7_vertex_0700B238 colors

---------

Co-authored-by: MysterD <myster@d>
Co-authored-by: Agent X <44549182+agent-11@users.noreply.github.com>
2024-03-23 16:11:30 -04:00
Agent X
40a83f8312 Move dev chat commands to pc dir 2024-03-23 10:10:15 -04:00
Isaac0-dev
f07b74c3d2 cleanup and bug fixes 2024-03-19 19:48:48 +10:00
Agent X
836a7cbdd7 Fix --help and improve console launch param 2024-03-09 11:59:28 -05:00
Agent X
91eb1966a0 [WIP] Update checker 2024-03-07 17:33:43 -05:00
Agent X
8f2288c88a Fix macOS ARM compilation 2024-01-06 09:48:58 -05:00
motoo-tobbler
7c82b37953 MacOS - Overcoming linker failure
modified:   Makefile
2023-12-27 08:14:05 +05:30
Agent X
a3b48fcf6f Update default mods 2023-12-24 16:05:21 -05:00
Agent X
c27da0e382 Add --console, remove WINDOWS_CONSOLE=1 2023-12-24 10:26:44 -05:00
Agent X
a04dd8b297 Fix remove old mod dir script in Makefile 2023-12-21 17:27:13 -05:00
Agent X
8f28eb2e0d Fix bugs and make mod import go to AppData 2023-12-18 16:22:42 -05:00
Isaac0-dev
547928ae16 some changes for rpi (#546)
disable coopnet on rpi until we can get some valid libraries compiled
2023-11-26 21:42:37 -05:00
Agent X
a67395a860 Auto DJUI scale and other improvements 2023-11-26 00:29:59 -05:00
Agent X
508ad40e44 Change output name to sm64coopdx & clean up a bit 2023-11-19 19:38:26 -05:00
Agent X
802affd839 ENHANCE_LEVEL_TEXTURES and make all DynOS textures overridable in Lua 2023-11-11 12:15:32 -05:00
Agent X
a4cb43bbb9 Tear out External Data and make Free Cam always compile 2023-11-01 20:17:55 -04:00
Agent X
49bca1cc01 sm64coopdx
Co-Authored-By: Yuyake <140215214+AngelicMiracles@users.noreply.github.com>
Co-Authored-By: FluffaMario <50761036+FluffaMario@users.noreply.github.com>
Co-Authored-By: Gregory Heskett <gheskett@gmail.com>
Co-Authored-By: iZePlayzYT <69536095+iZePlayzYT@users.noreply.github.com>
Co-Authored-By: Isaac0-dev <62234577+Isaac0-dev@users.noreply.github.com>
Co-Authored-By: eros71 <16540103+eros71-dev@users.noreply.github.com>
2023-10-30 01:03:36 -04:00
EmeraldLockdown
bd17129398
Native Arm Support for macOS (#492)
Remove the need to use rosetta 2, and now use arm instead.
    Intel macs should still work, although have not been tested (I don't have a intel mac).
    Coopnet and lua have both been tested, and both work.
    I ended up removing the logfile stuff, as 1, it was only used once for mario action hang, and 2, it was causing pointer misalignment on macos arm.
    Discord integration is disabled on arm.
    Compilation now takes 25 seconds instead of a minute and 20
2023-10-28 00:19:00 -07:00
Emerald Lockdown
e2e34eb914
Bunch of macOS related changes (#467)
* Fix macOS Sonoma Linker Error

* Just redo the entire app thing

* Make icon .icns instead and make sizing more accurate
2023-09-13 03:08:52 -07:00
MysterD
b93c5e2ff1 Fixed vanilla sounds on 32-bit 2023-06-24 13:48:44 -07:00
MysterD
f35a6621dc Update win64 coopnet 2023-06-14 01:38:19 -07:00
MysterD
dc63c6588f Remove previous failed attempts at fixing sound compile issues 2023-05-31 00:52:16 -07:00
MysterD
60d70d0d38 Fix several more possible crashes from the Lua API 2023-05-15 15:55:16 -07:00
MysterD
05592d524b Add wide character support to language file handling 2023-05-14 18:33:14 -07:00
MysterD
cc1ec3e81f Prevented hundreds of additional crashes from the Mod API 2023-05-11 20:33:21 -07:00
MysterD
14e80106c4 Fix 32 bit builds 2023-05-04 01:06:49 -07:00
Prince Frizzy
ee3a7018ab
Adds support for compiling other regions (#378)
* Initial support for compiling with EU.

* Fix EU text.

* JP now compiles, TODO: Fix Autogen to fix JP and fix text in djui.

* audio: Prevent crash in EU.

* audio: Sync EU audio to 60 Hz instead of 50 Hz

* Add logging and remove sanity check to hopefully track EU crash.

* Various improvements for EU

Improve some memory debugging
Improve sound debugging
Initalize some variables in load.c for the sound system
Synchronize the EU cutscenes with the US version.

* Fix credits music playing in EU, Document some EU audio code.

* Autogen now supports version excluded object fields and functions. Reran autogen in accordance.

* Fix some potentional shifting issues due to version differences.

* Decrease the sleep times in some spots, We do not need them to be so long. (#373)

* Add the region to the version string.

---------

Co-authored-by: djoslin0 <djoslin0@users.noreply.github.com>
2023-05-03 00:54:25 -07:00
Isaac0-dev
0d42098b4e port crash handler to Linux (#363) 2023-05-01 20:49:24 -07:00
MysterD
d5663f2cb1 Moved dev stuff 2023-04-30 17:58:52 -07:00
MysterD
bc0a7f948f Makefile adjustments for coop-compiler 2023-04-29 18:14:44 -07:00