Ash Logan
727f11d04d
feat: Compile flags for binary size
...
Small binaries load faster, work better on Aroma Updater, and break the website less
2024-11-29 21:40:21 +11:00
Ash Logan
dbb648729a
fix(config): Use noexcept version of WupsConfigItemStub::create
2024-11-29 21:40:21 +11:00
Ash
4b0e298b8e
Update README.md
2024-11-25 18:24:29 +11:00
Ash Logan
cd1d530da9
fix(config): Switch to snprintf for formatting
...
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
Ash
2bf5f8bd18
Merge pull request #50 from DaniElectra/module
2024-11-22 09:44:10 +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
Daniel López Guimaraes
06847b21e5
fix(p2p): Fix compilation error in multiplayer port text
...
GCC complains about std::make_format_args using non-const references, so
we can't pass along the `get_console_peertopeer_port` directly.
Also replace `unsigned short` with `uint16_t` for clarity.
2024-11-21 20:39:51 +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
3460feeeaf
fix(Makefile): Replicate original compiler settings
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
...
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 )
...
* 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 )
...
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
Ash Logan
216942cb64
feat(i18n): Improve menu text and add Spanish translation (thanks @EmiSocks)
...
This feels like a not very scalable way of doing translations
2024-04-10 00:18:50 +10:00
Ash Logan
24596b1bff
chore: Fix license headers to GPLv3
...
Inkay's been GPLv3 for a while and it's fine to relicense old ISC code to GPL
2024-04-09 23:31:43 +10:00
Ash Logan
e0962577cd
chore: Bump version
2024-04-09 23:21:40 +10:00
Jemma Poffinbarger
cb197bcf40
Account Settings and eShop app support ( #17 )
...
* Added support for eShop and account settings apps (account settings is currently broken)
* Moved account settings patch to run at application start
2024-04-09 23:15:30 +10:00
Ash Logan
4b051b7d48
chore: Bump version
2024-04-08 13:03:51 +10:00
Ash Logan
662ebaf299
chore: Reduce logspam
2024-04-08 12:58:46 +10:00
Ash Logan
b6f9995875
feat(nncs): Update to use Pretendo domains
2024-04-08 12:44:23 +10:00
Ash Logan
283dba27a6
fixup! feat(nncs): Add DNS patches for NNCS hook
...
Patches shouldn't do anything if not on the network, obvs
2024-04-07 16:18:46 +10:00