Commit graph

147 commits

Author SHA1 Message Date
mingokrb
2ae95808ee
Update Portuguese.ini (#871)
* Update Portuguese.ini

* oops forgot some

there goes another commit
2025-06-27 19:00:41 +02:00
djoslin0
c68ee859ea
Add mod development mode (#851)
With mod development mode on you can press the L bind while paused to
reload the active mods. This reload will rescan the directories for
the active modes and thus refresh their file caches.

Mod development mode also enables live lua module reloading. Any time
a lua module is updated, coop will live reload the functions that changed
and do its best to maintain the previous variable states.

---------

Co-authored-by: MysterD <myster@d>
2025-06-22 19:07:15 +10:00
Cooliokid956
aac982a3eb
Add missing mouse scrolling in console + Smooth Scrolling (#790)
* Add mouse wheel scrolling for DJUI Console

forgot to do that before

Bonus: optional Smooth Scrolling (activate in menu options)
Dutch - @benjipg
English - me
French - @Blockyyy
German - @iZePlayzYT
Italian - @wall_e20
Russian - @yoyeet961
Spanish - me

Missing translations:
Czech-Help
Japanese-uhhhh
Polish-maybe
Portuguese- might be able to get this one in tomorrow

i really think something needs to be done about the DJUI prefixing

* Return of the eepy

- actually added the config option
- NEW TRANSLATION:
  - portuguese - @saniky

* Czech translation

by @Dominicentek

* add missing translations, correct others

since this is an actual feature present in major programs (e.g. Chromium), it is widely localized and i can find accepted translations for the term
I have gone and used those instead where applicable

* address nitpicking

* unified clamping

* new clamp + fixed chat jumping to 0 when below max
2025-05-22 08:26:29 -04:00
iZePlayz
8779070d4b
some german translation fixed (#809)
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
* some german translation fixed

* fix

* fixed many more bad german translations

* oops
2025-05-16 13:02:03 -04:00
PeachyPeach
0f351e11fb
Gfx/Vtx improvements (#756)
Some checks failed
Build coop / build-windows (push) Has been cancelled
Build coop / build-ubuntu (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
- Renamed the `new` and `realloc` functions to `create` and `resize`
- Added `delete_all`
- Made Mod Data a class:
  - Allocation is now limited to prevent out-of-memory crashes: 1024 display lists of max size 2048 and 1024 vertex buffers of max size 4096 per mod
  - Added error codes to identify the cause of a failure (name not found, pointer not found, max size exceeded, item pool is full, ...)
2025-04-24 14:03:17 +10:00
Isaac0-dev
4432e8a0b8 fix a typo in the language files for ROMHACK_CAMERA_OFF
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2025-04-17 16:20:02 +10:00
Isaac0-dev
03281c2005 added some options for swapping analog stick axis [build] 2025-04-17 16:17:11 +10:00
Agent X
bcfd4ace75 Add DJUI Gradients, fix version clipping and camera unlock
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2025-04-05 16:07:10 -04:00
Agent X
2479eaabfb This new camera code is NOT up to pollos standards. 2025-03-18 23:06:36 -04:00
Sunk
14f98e4b30
Add automatic toggle (#707)
Some checks failed
Build coop / build-ubuntu (push) Has been cancelled
Build coop / build-windows (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
2025-03-17 13:04:09 +10:00
mingokrb
0f7ba775c2
Update Portuguese.ini (#710) 2025-03-16 21:11:01 +10:00
Sunk
edacdcc7e4
More settings to the Camera settings menu (#555)
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
Sherbie's suggestions from #497 and #538, as well as suggestions from others on discord.
Add 2 new camera settings to free camera, being camera collision and dpad usage.
Add an entire new camera submenu for romhack camera, which are now no longer exclusive to romhacks.
2025-03-14 13:01:51 +10:00
Agent X
3cbd2bbb36 Update Japanese.ini
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
Co-Authored-By: 3UPPER <83761368+3UPPER@users.noreply.github.com>
2025-03-10 20:13:35 -04:00
Agent X
f45b72d00d Fix some language ini inconsistencies
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
2025-03-09 17:04:03 -04:00
Agent X
f163de224d Update Japanese.ini
Co-Authored-By: 3UPPER <83761368+3upper@users.noreply.github.com>
2025-01-06 18:28:30 -05:00
Michael
735a7ec7a7
Japanese Support (#574)
* server console with commands

* better unicode support and japanese translation

* Update README.md

* restore unneeded changes

* missed this

* extra

* restore

* remove extra line

* spacing

* japanese aliased

* language display names

* Update .gitignore

* japanese language support

* more common kanji

* merging new images

* fix line conflicts

* again

* redefinition removal

* Update djui_font.c

* Update djui_font.c

* Update djui_font.c

* separated japanese glyphs and images

* Update .gitignore

* Update djui_font.c

* Revert "Update djui_font.c"

This reverts commit ab2ad8c189.

* Revert "separated japanese glyphs and images"

This reverts commit c3d0fd40e3.

* recombined sheets

* Update djui_font.c

* Update djui_font.c

* Update djui_font.c

* separated japanese glyphs and images

* Update Japanese.ini

---------

Co-authored-by: Isaac0-dev <62234577+Isaac0-dev@users.noreply.github.com>
2024-12-31 10:32:31 -05:00
Agent X
183018cf3c Nice syncing code Sunk 2024-12-23 17:23:06 -05:00
Agent X
459fccea80 Update French rules 2024-12-23 16:18:57 -05:00
Agent X
891485491d Add untranslated lines to languages 2024-12-23 15:18:07 -05:00
Agent X
7e21a58eb3 Update rules 2024-12-15 20:09:21 -05:00
Isaac0-dev
bf2d7b629e refactored mod categories and refresh button
no longer restarts djui
2024-11-26 14:37:37 +10:00
EmeraldLockdown
0f8e397a25
Add Mod Categories (#214)
* Add Mod Categories

* Update French Translation

take 3, hope this coauthor works frfr

Co-Authored-By: Skeltan <110261917+Skeltan@users.noreply.github.com>

* Add "All" option

* Portugese translation

Co-Authored-By: Mechstreme <84944335+Mechstreme@users.noreply.github.com>

* Add Categorias to purtugese

Co-Authored-By: Mechstreme <84944335+Mechstreme@users.noreply.github.com>

* Update French.ini

Co-Authored-By: Skeltan <110261917+Skeltan@users.noreply.github.com>

* Free category from memory

* Update German Language

Co-Authored-By: DMMaster636 <86197998+DMMaster636@users.noreply.github.com>

* Add CS mod category

* Make built in character select mods use CS category

* Remove main Character Select mod from having category entry

CS has its own github repo so gonna let Squishy handle that

* Add all translations using DeepL

* Forgot to remove that

* Actually translate the italian language lol

* Remove uneccessary translation comments

* Ok, now I actually saved all the files, so this should work now :D

---------

Co-authored-by: Skeltan <110261917+Skeltan@users.noreply.github.com>
Co-authored-by: Mechstreme <84944335+Mechstreme@users.noreply.github.com>
Co-authored-by: DMMaster636 <86197998+DMMaster636@users.noreply.github.com>
2024-11-26 12:19:10 +10:00
Sunk
947ce9f080
Rework PvP Balance (#357)
* PvP Rework

This rearranges the damages of last PR. The underused attacks should still see some buffs.

* Adjust how punches apply invincibility

Also increase punch invincibility timer to 12

* EmeraldLoc's easy suggestions

* Rework punching pvp

Punching no longer reduces invincibility frames. Instead, punches can ignore knockback invincibility and the full punch punch kick combo can be done.

* Adjust numbers

Breakdances should not deal 3 damage

* Potential fix for more common tripping

"Trip" here refers to 1 damage kicks

* Add temporary invincibility to rollouts

This is a test to see how different pvp feels with this change. Suggestion by sausrelics.

* Fix invincibility

* Prevent low damage/low knockback kicks altogether

* Update ignored attack list

* Allow dives to be attacked by most actions

A lot of people don't want dives to be entirely invincible and some suggested to make dives be able to only pierce through jump kicks

* Slightly nerf kick knockback

Suggestion by emily

* Rework dive piercing

Instead of all actions being able to hit dives other than jumpkicks, now only slidekicks (and ground pounds) can hit dives.

* Mild kick knockback increase from nerf

* Change direct equality to checking flag

* Decrease dive and punch knockback

* Prevent trades against dives with slidekicks

* Revert "Prevent trades against dives with slidekicks"

This reverts commit 2a2c3266a7.

* Allow ground pounds to always hit a sliding player

* Add server setting to change pvp

* Add pvp settings to config

* Add selection to menu

* Fix issues + autogen

* Rewrite goto statement to not use goto
2024-11-25 20:48:40 +10:00
Agent X
02be2d6f98 Merge branch 'main' into dev 2024-09-01 13:45:37 -04:00
EmeraldLockdown
af8dc6995d
Allow user to change music in menu (#212)
* Allow user to change music in menu

* Remove annoying newline

* Fully reset menu

* No need for sSoundBox

* Add music to castle grounds

* Add translations

* oops

* Why did that not save!!

* Update lang/Polish.ini

Co-authored-by: Radek Krzyśków <46760021+Flower35@users.noreply.github.com>

* Update lang/Czech.ini

Co-authored-by: Radek Krzyśków <46760021+Flower35@users.noreply.github.com>

* Update lang/Russian.ini

Co-authored-by: Radek Krzyśków <46760021+Flower35@users.noreply.github.com>

---------

Co-authored-by: Radek Krzyśków <46760021+Flower35@users.noreply.github.com>
2024-09-01 13:15:04 -04:00
roddy
db3a7e3483
Update sockets and structs for full IPv6 support (#198)
* Initial IPv6 support

The address struct was changed to use sockaddr_in6 instead of sockaddr_in. Resolving domains also uses getaddrinfo() instead of the deprecated gethostbyname(), and if the returned address is IPv4, transform it to an IPv6-mapped address to make it work with the AF_INET6 socket.

* Direct Connection input box behaviour change

This makes the Direct Connection input box accept all types of addresses. IPv4, IPv6 and hostnames are now supported. Direct IPv6 addresses must be enclosed in square brackets [IPv6]:port to be able to separate IP from port, otherwise it will be treated as an IPv4 address or hostname.

* sanity checks

This fixes a weird error while reconnecting when using direct IPv6 addresses. getaddrinfo() doesn't like square brackets on the host IP, so remove those when found.
This commit also fixes a problem where gGetHostName wasn't being properly set when connecting through a hostname.

* cleanup and bugfix

Small code cleanup removing some debugging comments. This also fixes a bug where initializing the game without the --join argument (which initializes network as NT_NONE) was still calling a piece of code where it was resolving a domain and copying an empty gGetHostName to configJoinIp, which made coop_join_ip be cleared on the config file.

* fix rare cases of binding errors

Due to some options in the sockaddr_in6 struct that doesn't need to be set, rare cases can happen that there will be some random data that will interfere with such values. This made binding randomly or persistently fail. This commit makes that before binding, make sure to fill the entire struct with 0 before setting it up.

* Translations for WARN_SOCKET

This provides translations for the new text when hosting a server. I cannot guarantee the accuracy of the translations, except English, Portuguese and German, where it was written by native speakers.

* Update socket_windows.c

yeah right. resolving conflicts and stuff.
2024-09-01 12:48:24 -04:00
frog8412
186e25d72f
Fixed "RULES" text in Rules menu for Russian language (#262)
These kind of texts don't have cyrillic letters, so they display weirdly
2024-09-01 12:45:22 -04:00
Mechstreme
71f1d2f64a
Update & fix issues with #184 and #205 (#215)
* Update improved Portuguese translation

* Update hud.lua (optimizations, updated comments, +2 examples)
2024-07-16 11:58:02 -04:00
Mechstreme
aeecd190c0
Improve Portuguese translation (#184) 2024-07-08 13:03:48 -04:00
fab
b06b697bb7
Update Spanish.ini (#180)
fixed grammar
2024-07-07 20:07:37 -04:00
Radek Krzyśków
b487527339
Minor UI/language improvements (#88)
* Revised Polish translation (given the UI constraints)

* Added explicit DJUI Menu Panel alignment parameter

Previous version was prone to name clashing and could break the UI with some translations and some mod names.
2024-07-01 10:44:35 -04:00
Agent X
099b97b934 Add mute window when unfocused option
Co-Authored-By: Tulpen <63363329+tulpenkiste@users.noreply.github.com>
2024-06-30 11:42:37 -04:00
Agent X
0cf0695fc7 4000 THOUSAND COMMITS! YIPPEEE! Remove unused lang keys 2024-06-27 18:43:41 -04:00
eros71
a17b1aab3f
Fix translation oversight and improve Spanish (#82)
Makes the "Custom" option in the player palette also be translated (the translated strings were unused) and also cleaned up the Spanish translation a little so it sounds more natural.
2024-06-27 18:33:40 -04:00
Agent X
8525a9a2ee DynOS fixes 2024-06-26 18:51:11 -04:00
Agent X
4e6e8b888a Fix missing rules string 2024-06-25 13:33:04 -04:00
Agent X
b7ab4bad4b Update loading screen font scale and Russian translation for rules 2024-06-21 17:37:01 -04:00
Agent X
7a38540211 Add rules panel for public lobbies
Co-Authored-By: Cooliokid956 <68075390+cooliokid956@users.noreply.github.com>
Co-Authored-By: Blockyyy <88585273+blockyyy@users.noreply.github.com>
Co-Authored-By: flipflop bell <118061445+flipflopbell@users.noreply.github.com>
Co-Authored-By: PeachyPeach <72323920+peachypeachsm64@users.noreply.github.com>
2024-06-21 13:51:06 -04:00
Radek Krzyśków
dd966a42d4
Quality-of-Life changes to the Polish translation file (#70)
* Fixed the ASCII representation of glyph "Ł/ł" as "L/l"

* Quality-of-Life updates for the Polish translation file
- added missing diacritics, as they are fully supported by the custom in-game font (regular and aliased)
- changed some of the entries to sound more natural, fixed incorrect translations from English
2024-06-16 15:16:02 -04:00
iZePlayz
95fd534e15
Removed a no-longer-existing command and added a new command to the tab-completion list (#57)
* Removed a no-longer-existing command and added a new command to the tab-completion list

* Bugfix

* bugfix 2

* Fixed a few bad german translations

* Fixed Tabcompletion for the "nametags" command

* Revert "Merge branch 'coop-deluxe:main' into main"

This reverts commit 3803ead26d23256a5200f6fa2c4c9185ce6e05f0, reversing
changes made to bd7ffb38a7560e8791118edce2cdcaf06e683d66.

* Reapply "Merge branch 'coop-deluxe:main' into main"

This reverts commit 28c1d97dd5c8a8648d4271bb59d3ca9c16df5c30.

* Fixed the "mallocation" and "static" issues

* more fixes

* Improved, cleaned up and refactored the iZeSaveStates mod and renamed it to just SaveStates

* bug fix

* removed the savestates mod

* combined both for-loops into a single one
2024-06-11 18:47:54 -04:00
Isaac0-dev
16400321e5
palette editor cutscene fixes, press Z to toggle cap (#54)
this removes the forced taking cap off while in the palette editor. press Z to remove cap now.
it also fixes various problems that could happen that would cause the cap to stay off when it shouldn't. also fixed the taking off cap custom action sometimes playing the animation all the way through when it shouldn't.

translations by DeepL, eros, Flower35 and Skeltan
2024-06-07 19:41:22 +10:00
Agent X
d1bbc05ece Add Odyssey theme to DJUI 2024-06-05 19:33:00 -04:00
Agent X
6305c20410 Add 'script warnings' for using deprecated functions, add new Discord ID function 2024-06-05 18:58:38 -04:00
Agent X
2b2dceb333
Add a mod menu where mods can put DJUI elements (#56)
* Add a menu where mods can put their options at

* Document mod menu hook functions

* Add HOOK_ON_LANGUAGE_CHANGED

* Add new Cheats mod

* Make player menu disable singleplayer pause

* fix some git merge conflicts that weren't resolved (#55)

and added -latomic to build flags to fix compile warnings while compiling miniaudio

* Remove legacy 'deluxe' field from built-in mods

* Lots of improvements to memory safety

* Abbreviated hex color parsing

Co-Authored-By: Mechstreme <84944335+mechstreme@users.noreply.github.com>

---------

Co-authored-by: Isaac0-dev <62234577+Isaac0-dev@users.noreply.github.com>
Co-authored-by: Mechstreme <84944335+mechstreme@users.noreply.github.com>
2024-06-01 20:52:43 -04:00
Agent X
85f58322ab Consistency change 2024-05-26 09:37:51 -04:00
Agent X
ceb7aa4649 Palette system overhaul and preset rewrite 2024-05-21 17:09:59 -04: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
12aff40090 Make user folder sm64coopdx instead of sm64ex-coop, add auto folder copy 2024-05-15 18:00:16 -04:00
Agent X
3a7adb8b40 Change "Global PLayer Models" to "Local Player Model Only" 2024-05-12 09:56:27 -04:00