Commit Graph

88 Commits

Author SHA1 Message Date
Maschell
429d55ba9f
Apply suggestions from code review
Co-authored-by: Daniel López Guimaraes <112760654+DaniElectra@users.noreply.github.com>
2025-02-03 19:38:44 +01:00
Maschell
e2cf529b3f fix: Only allow the plugin to init Inkay at boot to avoid potential crashes 2025-02-03 12:45:17 +01:00
Maschell
24f680c6fb fix: Only do function patches if the plugin had to to update init Inkay 2025-02-03 12:44:29 +01:00
Maschell
cc3fac1cc7 (chore): clean up includes 2025-01-30 18:27:20 +01:00
Maschell
1ffb9cf65a feat: Show notification is plugin is missing or module was never initialized 2025-01-30 18:26:01 +01:00
Ash Logan
9e376f7839 feat: Move all URL defines into a central location
Some checks failed
Inkay-CI / build-inkay (push) Has been cancelled
2024-12-17 16:44:59 +11:00
Ash Logan
38f1b1848e fix(account-settings): Don't re-add function patches on every application boot
libfunctionpatcher stuff is persistent from plugin init time to plugin teardown time. but the memory replacements DO need to happen on every launch, so rearrange things a bit.
2024-12-17 15:13:39 +11:00
Dimitri A.
6c78a95872 fix(account_settings): Avoid mixing up FSReadFile / FSCloseFile patches
This copy-and-paste error was a culprit of the bug described in issue #55.
It made the Account Settings applet on Wii U softlock during its initialisation, forcing the user to power off the system.

The applet now works again. However, trying to access it a second time without rebooting still freezes the Wii U, which is another regression listed in issue #55.
2024-12-15 00:29:27 +01:00
Ash Tails
8d7df27d42
Translated using Weblate (English (en@uwu))
Currently translated at 100.0% (13 of 13 strings)

Translation: Pretendo Network/Inkay
Translate-URL: https://hosted.weblate.org/projects/pretendonetwork/inkay/en@uwu/
2024-11-30 10:11:52 +01:00
redmine4404
0f1e05b021
Translated using Weblate (French)
Currently translated at 84.6% (11 of 13 strings)

Translation: Pretendo Network/Inkay
Translate-URL: https://hosted.weblate.org/projects/pretendonetwork/inkay/fr/
2024-11-30 10:11:51 +01:00
Ash Tails
2510c691f1
Added translation using Weblate (English (en@uwu)) 2024-11-30 10:11:51 +01:00
Ash Tails
4009d44a97
Deleted translation using Weblate (English (en@uwu)) 2024-11-30 10:11:50 +01:00
Ash Tails
e6edcec5a5
Added translation using Weblate (English (en@uwu)) 2024-11-30 10:11:50 +01:00
Ash Logan
a6b91be935 feat(p2p): Port overrides for Splatoon and MK8
Some checks are pending
Inkay-CI / build-inkay (push) Waiting to run
2024-11-29 21:40:21 +11:00
Ash Logan
cd1d530da9 fix(config): Switch to snprintf for formatting
Some checks failed
Inkay-CI / build-inkay (push) Has been cancelled
while vformat is closer to modern string-formatting sensibilities, it added 400KiB to our binaries, whereas snprintf has no noticeable impact. so... suffer, and hope the translators know what's up
2024-11-22 11:44:20 +11:00
Daniel López Guimaraes
0f3115a402
fix(p2p): Don't apply patches when not using Pretendo 2024-11-21 20:43:17 +00:00
Ash Logan
a710bd985a feat(lang): Tell users how to fix module-related errors
Realistically, 99% of people will not know how to "ensure the inkay module is properly installed" - Aroma updater is designed to automatically fix random stuff like this
It hashes every individual file so it will pick up SD card corruption, partial installs, etc
2024-11-21 13:49:54 +11:00
Ash Logan
ea71879bb1 chore: Introduce common directory to deduplicate shared code 2024-11-21 13:19:06 +11:00
Daniel López Guimaraes
68bc066c7b feat: Add translation for module not found errors 2024-11-21 12:50:38 +11:00
Daniel López Guimaraes
7958373394 feat: Improvements in module exports
Add new `Inkay_GetStatus` which can be used for retrieving the status of
the module. Also add better handling of module initialization, and show
a notification from the plugin if the module can't be found.
2024-11-21 12:50:23 +11:00
Daniel López Guimaraes
d3ff378cc4 chore: Remove unnecesary file
`wut_extra.h` is only used in the plugin, not in the module.
2024-11-21 12:49:19 +11:00
Daniel López Guimaraes
f4aeee8034 feat!: Split Inkay into a module and a plugin
This is necessary for a future Aroma feature. This also makes more clear
the immutability of the patches that Pretendo requires, since they
cannot be reverted easily.

All patching code is now managed inside the module, which the plugin
triggers by calling an exported function from it. The WWP reset code
remains within the plugin as it isn't strictly tied to the patches.
2024-11-21 12:49:16 +11:00
Ash Logan
cc967126fe feat(p2p): Show p2p port in the config menu
Some checks failed
Inkay-CI / build-inkay (push) Has been cancelled
with love to my weblate people
2024-11-17 23:59:26 +11:00
Ash Logan
22bebff027 feat(p2p): Allow overriding the p2p udp port for Minecraft
the idea is that you might port forward this in your router and give yourself NAT type A for free
2024-11-17 23:59:26 +11:00
Weblate (bot)
a1375ca608
Translations update from Hosted Weblate (#52)
Some checks failed
Inkay-CI / build-inkay (push) Has been cancelled
* Translated using Weblate (Spanish)

Currently translated at 100.0% (10 of 10 strings)

Translation: Pretendo Network/Inkay
Translate-URL: https://hosted.weblate.org/projects/pretendonetwork/inkay/es/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (10 of 10 strings)

Translation: Pretendo Network/Inkay
Translate-URL: https://hosted.weblate.org/projects/pretendonetwork/inkay/es/

---------

Co-authored-by: Arnau Bàrcia <a.barcia.sallegi@gmail.com>
2024-11-06 00:41:54 +11:00
Weblate (bot)
9d29ad78fd
Translated using Weblate (Spanish) (#47)
Some checks failed
Inkay-CI / build-inkay (push) Has been cancelled
Currently translated at 100.0% (10 of 10 strings)

Translation: Pretendo Network/Inkay
Translate-URL: https://hosted.weblate.org/projects/pretendonetwork/inkay/es/

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
2024-10-06 13:33:51 +11:00
Ash Logan
6baee13685 feat(i18n): Move all texts into .lang files which are actually Java properties and C structs at the same time
no further comment
2024-10-03 00:00:56 +10:00
Ash Logan
1d1e094257 feat(i18n): Move NN/PN messages to main config_strings struct 2024-10-02 23:46:35 +10:00
Ash Logan
b16237417c fix(olv): Allow RPLs with null names
CafeGLSL is an offender here
2024-09-11 13:07:29 +10:00
Ash Logan
aedd02b0d1 chore(config): Switch to string_view for translated strings
Elides about 100 strlen calls by allowing the length to be calculated at compile time

ofc the WUPS backend doesn't USE this info but, y'know.
2024-08-04 18:15:26 +10:00
Ash Logan
c6d80bd550 chore(config): Refactor error handling and remove exceptions
Honestly kinda feeling like the C++ API isn't worth it
2024-08-04 17:44:24 +10:00
Ash Logan
1a85a45ce3 chore: Tighten up logspam and binary size
Remove some old stuff to Make Small Inkay
2024-08-04 16:24:01 +10:00
yarb00
04d723137b feat(i18n): Add Russian translation
Closes #41

Co-authored-by: Ash Logan <ash@heyquark.com>
2024-08-03 22:05:28 +10:00
JouriR
956419a438 feat(i18n): Add Dutch translation
Closes #36

Co-authored-by: Ash Logan <ash@heyquark.com>
2024-08-03 22:00:50 +10:00
Dekokiyo
bdfb6ca859 feat(i18n): Add Japanese translation
Closes #33

Co-authored-by: Ash Logan <ash@heyquark.com>
2024-08-03 21:59:02 +10:00
Luís
a6fd3783f1 feat(i18n): Add Portuguese translation
Closes #31

Co-authored-by: Ash Logan <ash@heyquark.com>
2024-08-03 21:57:15 +10:00
一时 三月
867ea12f17 feat(i18n): Add Traditional Chinese, Simplified Chinese
Closes #25

Co-authored-by: Ash Logan <ash@heyquark.com>
2024-08-03 21:54:16 +10:00
Ash Logan
734e5d40c9 chore: clean up old includes
caused compile issues on latest tools - the curl include is old and the wut headers added C++ templates
2024-08-03 21:46:46 +10:00
Ash
538fc25014 feat(main): Version 2.6.0 2024-07-25 13:20:23 +00:00
Ash Logan
3f59781bd8 feat(spotpass): Force BOSS policy list refresh on each boot
hours in ghidra for a single line of code
2024-07-24 19:13:43 +10:00
Ash Logan
349b1f38aa fix(main): Version v2.5.0
Updating the aroma APIs does not demand a major version bump imho
Users are always expected to be on latest aroma anyway, v3 would be saved for like. Stroopwafel
2024-05-28 16:48:10 +10:00
Ash Logan
9a9bf0949d fix(config): Don't use C++ exceptions
they almost certainly don't work in this environment, and just returning is better
2024-05-28 16:47:12 +10:00
Ash Logan
695a077ebd chore: Run code formatter across project
this is the CLion formatter since I haven't set up clang-format for Inkay yet
2024-05-28 16:36:39 +10:00
TraceEntertains
b02db3f20b
feat!: Support for newer Aroma releases (#28)
* Fix aroma beta 17 incompatibilities (no network notification, no unregister boss tasks), and fix debug logger

* Update Dockerfile

* Fix logger.h

* Simplify notifcations

* Init nn::boss::Task

* Small fixes for the storage/config API usage

* Do a bunch of stuff, wish I knew what I did but I honestly forgot most of it (this is not considered a 100% functional commit

* Remove remnants of has_displayed_popup variables (not needed anymore)

* More notifications stuff

* Even more notifications stuff

* Fix notifications (yay) (thanks maschell)

* Disable debug by default

* Fix compiler warnings

* Update some stuff, cant test have to go

---------

Co-authored-by: Maschell <Maschell@gmx.de>
2024-05-13 15:45:43 +10:00
Ash Logan
b239ae82db fixup! feat(i18n): Add German translation (forgot a file) 2024-04-18 11:48:44 +10:00
Ash Logan
636354493b feat(i18n): Add German translation (thanks @SteffoSpieler and @BlinkingJarl482)
Add TL note about "Using" vs. "Connected", though I'm willing to change this later
2024-04-18 11:48:14 +10:00
Kintsugi
ddd2c9c803
Update main.cpp to include Italian (#24)
* Update main.cpp

Added Italian translation, thanks Spanish guys

* Update main.cpp
2024-04-17 11:12:42 +10:00
Kintsugi
11c170dc06 Update config.cpp
Added Italian translation
2024-04-17 11:11:32 +10:00
Ash
c05c3325d3
feat(i18n): Add French translation (thanks @InternalLoss) 2024-04-15 13:35:19 +10:00
Ash
bf0031faa8
Update Spanish translation
Was informed:
- "Pretendo" is us
- "Pretendo Network" is the network we run
2024-04-15 13:28:19 +10:00