Commit graph

236 commits

Author SHA1 Message Date
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
djoslin
7ee00a12a8 Add Mac coopnet support 2023-04-29 00:23:40 -07:00
MysterD
93a1b7af8c 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
f45db70587 Disable sound precomp for now 2023-04-23 14:00:09 -07:00
MysterD
4566b7ee14 Ripped out discord network system, started re-adding invites 2023-04-15 19:53:34 -07:00
MysterD
46dcd3cc50 Fix windows builds of coopnet 2023-04-10 20:00:18 -07:00
MysterD
ba338ec2dd Fix warnings, add Makefile logic for coopnet in other OS 2023-04-10 19:45:06 -07:00
MysterD
7fac22c265 Basic lobby browser 2023-04-10 01:10:24 -07:00
MysterD
b79db3b203 Add coopnet defines 2023-04-09 23:45:52 -07:00
MysterD
2e854cda60 Merge branch 'coop' into coopnet 2023-04-09 22:52:35 -07:00
MysterD
2c8488e879 Add hacky precomp for custom sounds on Windows 2023-04-09 21:43:45 -07:00
MysterD
435f64fe24 Remove failsafe, was causing problems 2023-04-09 18:35:13 -07:00
MysterD
04032a14af Started adding CoopNet 2023-04-09 17:20:07 -07:00
MysterD
9c6fef9ecd Allowed Drag & Drop importing of mods and DynOS packs 2023-04-03 19:22:22 -07:00
MysterD
090122491f Force tools to rebuild if they weren't built before the luigi sound fix 2023-04-01 17:54:21 -07:00
MysterD
74b773d5fd Add in a failsafe when extracting custom sound files 2023-04-01 03:15:41 -07:00
MysterD
fe8c510ee4 Started adding the ability to translate DJUI menus 2023-03-31 15:18:19 -07:00
MysterD
0435bf7b68 Revert audio makefile change 2023-03-27 16:32:30 -07:00
PeachyPeach
b738cf73f9
/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
6c8b6387b4 Fix debug builds on linux 2023-03-26 14:53:01 -07:00