Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor chat and add configurable chat messages #369

Merged
merged 29 commits into from
Jun 7, 2023

Conversation

rapito
Copy link
Contributor

@rapito rapito commented Nov 9, 2022

Changes

  • Extended character support for macos using iconv fallbacks so all chars are shown
  • Codeset built based on ASM code and C code to handle Chat and SysText as a standalone in-game feature.

Notes

  • Server does not allow these characters but both the Game and Dolphin supports them: (Note that there are katakana chars in it as well)
ヴヵヶ
、。 •—
×
扱押軍源個
込指示取書詳人生説
体団電読発抜閑本明
  • The character ¥ is the only one that is not properly converted from UTF to SJIS by dolphin (on macos), however the game and chat handle it if the proper bytes are passed back to it.

@rapito rapito marked this pull request as ready for review November 9, 2022 01:37
@rapito rapito changed the title Refactor/quickchat Refactor/chat Nov 9, 2022
@NikhilNarayana NikhilNarayana changed the title Refactor/chat refactor chat and add configurable chat messages Jun 7, 2023
@NikhilNarayana NikhilNarayana merged commit 76c8d8a into project-slippi:slippi Jun 7, 2023
rapito added a commit to rapito/Ishiiruka that referenced this pull request Aug 31, 2023
* update asm and c codeset

- Make MxDt reference our CSS methods

* chore: update asm codeset

* update codeset and fix default debug command

* chore: update codeset chat refactor

* update codeset

* Update codeset

* Update codeset

* chore: update asm and c codesets

project-slippi/slippi-ssbm-asm#106

* Use iconv fallbacks on macos so special and SJIS characters are properly converted and rendered in-game.

* build codesets

* start support for configured chat messages

* use test default messages

* receive chat messages from mm service

* feature: show configured messages in preview

* chore: clean comments and loggers

* fix: ifdef iconvctl for mac only

* chore: try to get linux building

* chore: use nullptr instead of NULL

* chore: ifdef attempt 3 for linux

* chore: dont call functions that dont exist

* swap elif for else

* undo template name move

* chore: update code lists

---------

Co-authored-by: Jas Laferriere <Fizzi36@gmail.com>
Co-authored-by: Nikhil Narayana <nikhil.narayana@live.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants