Commit Graph

218 Commits (5e3dce902095ba4df1f4ca19e8771a302e3d986f)

Author SHA1 Message Date
EmeraldLockdown 139fcc1dd2 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 23c7e0fbc8 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 09a50f7b58 Fixed vanilla sounds on 32-bit 2023-06-24 13:48:44 -07:00
MysterD 19bc36c220 Update win64 coopnet 2023-06-14 01:38:19 -07:00
MysterD fa95af3a34 Remove previous failed attempts at fixing sound compile issues 2023-05-31 00:52:16 -07:00
MysterD 83540a2d01 Fix several more possible crashes from the Lua API 2023-05-15 15:55:16 -07:00
MysterD 8500516159 Add wide character support to language file handling 2023-05-14 18:33:14 -07:00
MysterD ada4421ce5 Prevented hundreds of additional crashes from the Mod API 2023-05-11 20:33:21 -07:00
MysterD 63b6aefa5c Fix 32 bit builds 2023-05-04 01:06:49 -07:00
Prince Frizzy 65887572e2 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 5e9eafd53e port crash handler to Linux (#363) 2023-05-01 20:49:24 -07:00
MysterD 5d785bae28 Moved dev stuff 2023-04-30 17:58:52 -07:00
MysterD 8d1aaf628e Makefile adjustments for coop-compiler 2023-04-29 18:14:44 -07:00
djoslin 960e1f3c1b Add Mac coopnet support 2023-04-29 00:23:40 -07:00
MysterD 96d4595d3f Fix sounds compilation problems
Stopped copying over peach's lines from the mario folder to wario/luigi sound folders
Stopped compiling peach's lines for wario/luigi sound folders
Created a tool to precompile the aiffc tables and append them into custom sounds
    this matches what mario's sound files are like

I believe the issue is that previously we would copy over the sound files and
they were either incomplete or would be compiled during the copying process

I noticed that Mario's sounds had their sound tables inserted into the aiff
file already, and none of our custom sounds did. This caused a different path
to be taken for mario sounds than the rest of ours. In order to prevent the
possibility that there was a problem with that seperate path, I've created
a tool that can insert the table into the file to match how mario sounds are.
2023-04-25 11:25:46 -07:00
MysterD 9d23ca5f1d Disable sound precomp for now 2023-04-23 14:00:09 -07:00
MysterD f2591bd5b4 Ripped out discord network system, started re-adding invites 2023-04-15 19:53:34 -07:00
MysterD 0c16564b16 Fix windows builds of coopnet 2023-04-10 20:00:18 -07:00
MysterD 6413565fc5 Fix warnings, add Makefile logic for coopnet in other OS 2023-04-10 19:45:06 -07:00
MysterD e6ede0d84d Basic lobby browser 2023-04-10 01:10:24 -07:00
MysterD a65136be93 Add coopnet defines 2023-04-09 23:45:52 -07:00
MysterD 033035b887 Merge branch 'coop' into coopnet 2023-04-09 22:52:35 -07:00
MysterD aab3d9f208 Add hacky precomp for custom sounds on Windows 2023-04-09 21:43:45 -07:00
MysterD a1e12aa5e0 Remove failsafe, was causing problems 2023-04-09 18:35:13 -07:00
MysterD 0a142a25f8 Started adding CoopNet 2023-04-09 17:20:07 -07:00
MysterD 48caad4603 Allowed Drag & Drop importing of mods and DynOS packs 2023-04-03 19:22:22 -07:00
MysterD f611755f25 Force tools to rebuild if they weren't built before the luigi sound fix 2023-04-01 17:54:21 -07:00
MysterD e3d5b57dd8 Add in a failsafe when extracting custom sound files 2023-04-01 03:15:41 -07:00
MysterD 6d69253149 Started adding the ability to translate DJUI menus 2023-03-31 15:18:19 -07:00
MysterD 307c9d39fb Revert audio makefile change 2023-03-27 16:32:30 -07:00
PeachyPeach d34e33904d /luaf; fix compilation issues with audio and debug + dev (#328)
/luaf command to execute lua code from a file. Note that this command doesn't load the file the same way mod files are loaded, so no access to gGlobalSyncTable and gPlayerSyncTable. hook_chat_command cannot be called, but hook_event can.

Fix some compilation issues
2023-03-27 15:50:49 -07:00
MysterD bac62f7bca Fix debug builds on linux 2023-03-26 14:53:01 -07:00
Isaac0-dev ac6f2b2ad0 Beta 32.0.1 (#325)
* patch for beta 32

* require the development flag for Lua profiler

* autogen
2023-03-26 01:15:28 -04:00
eros71 4d1376c292 Add Extended Soundbank (#254)
* Add Extended Soundbank

This PR adds a soundbank to the game with every instrument in the game, so there's no need to only use one set of instruments for m64 sequences.

Use the soundbank ID "42" when replacing sequences with lua to use it.

* Remove hardcoded.h include duplicate

There's a duplicated line that shouldn't be there since hardcoded.h is already included.

* Reinclude duplicate include

I'm still learning the commits system and I've noticed I should push this into a different PR instead by making a fork, sorry about that
2023-03-22 19:04:16 -04:00
Isaac0-dev 5911cc4d18 fixes and other improvements (#309)
* HOOK_JOINED_GAME

* expose VERSION_TEXT, and two more adjusments

* show if a constant type is a string with autogen

* fix another blunder by that guy

* should use an or operator here

* fix frame limiter stuff
2023-03-21 19:43:29 -04:00
Agent X 85799cc37b Fix incorrect value for Makefile option (#269)
The comment for TEXTURE_FIX states "Disable texture fixes by default (helps with them purists)" and in spite of that, TEXTURE_FIX is set to 1 (on)
This PR simply sets it back to 0 as the comment intends the value to be, I just noticed this and saw an opportunity to make a PR for it. This doesn't have to be merged and all it does is restore the old smoke and pink on the Koopa's back.
2023-02-20 21:48:53 -05:00
Prince Frizzy 6d9d52581f Add optimization option to Makefile. (#283) 2023-02-19 03:40:49 -05:00
Isaac0-dev 2e072b3184 Fixes and quality of life changes (#213)
Add the Lua Profiler to the debug menu.
    Prevent Mario from sleeping on the main menu.
    Fix IP address string corruption when saving the config file.
    Bring back the Discord fatal message.
2022-10-30 17:29:59 -07:00
Isaac0-dev 184344afc4 multiple improvements (#176) 2022-09-12 20:00:51 -07:00
Agent X f1dcc77854 Remove TARGET_WEB (#159)
Just a simple code cleanup opportunity I saw
"I won't be porting this to the web" - djoslin

Compiled and tested everything to see if it works, feel free to check yourself or look over the code

Also, I noticed TARGET_N64 was there too, might do a clean up on that since we all know this isn't getting ported to the N64 anytime soon.
2022-08-25 17:32:20 -07:00
wRadion 3a491421d7 make distclean invoke cleantools (#158) 2022-08-25 17:30:19 -07:00
PeachyPeach 92f4b22015 DynOS Bin Compression (#131) 2022-06-25 00:52:53 -07:00
Isaac0-dev 40cdfc28f5 Raspberry Pi Support (#117) 2022-06-05 19:40:21 -07:00
EmeraldLoc 1d89f4353e Add .app support and fixed warning (#126) 2022-06-05 19:11:58 -07:00
Filipianosol b9229aea5f Fix icon when `CC` has more than one word (#123)
Takes the first word as an argument instead of the entire `CC` string.
Ensures it's always one word.
2022-05-30 03:08:30 -07:00
MysterD b9353c9dfc Fix icon for coop-compiler 2022-05-29 04:00:09 -07:00
MysterD 46767dff4f Fix indentation 2022-05-21 21:11:17 -07:00
mjcox244 730af8c267 Fix for Icon In dumb msys DIR (#111) 2022-05-21 21:08:54 -07:00
MysterD 5fc6bb0491 Fix clang/mac compile 2022-05-19 19:42:07 -07:00
Isaac 2d3a3c419d Headless compile flag (#107) 2022-05-19 17:12:39 -07:00