230 Commits
Author SHA1 Message Date
Raven Szewczyk d8ee738696 Add EFR banners to extensible enums list 2.0.7 2024-04-28 07:37:34 +01:00
Andrey RatnikovandRaven Szewczyk 3e1b8a30c3 Add more default LOTR mod ExtensibleEnums (#140)
* Update EarlyConfig.java

Add LOTR Enums

* spotlessApply

* Separate the lotr addons section in enum list

---------

Co-authored-by: Raven Szewczyk <[email protected]>
2024-04-28 06:29:58 +00:00
Lily Autumn 107e4acf9e add LOTRFaction to earlyconfig (#139)
* add LOTRFaction to earlyconfig

* i hate spotless
2.0.6
2024-04-22 07:15:47 +00:00
Raven Szewczyk d6d35f73fa Activate Modrinth publishing 2024-04-16 17:08:18 +01:00
Raven Szewczyk 8a9f6f4893 Add automatic modrinth&curse publishing, mr is disabled until they fix the PAT webpage 2.0.5 2024-04-14 13:58:00 +01:00
Raven Szewczyk c7bc58feb8 Save downloaded libraries to .tmp, then rename once successful to avoid creating broken jars on errors 2024-04-14 13:33:00 +01:00
Raven Szewczyk a62c401665 Fix EarlyConfig loading in two classloaders by forcing it into RFB-System
Closes #136
2024-04-14 13:26:41 +01:00
Raven Szewczyk b59bdfad68 Fix broken keybinds 2.0.4 2024-04-06 12:59:21 +01:00
Raven Szewczyk 414f425d0e Add a logo 2024-04-06 11:37:04 +01:00
Raven Szewczyk fdfc54e7ad Add a raw mouse input mode toggle 2.0.3 2024-04-06 10:56:56 +01:00
Raven Szewczyk 1e0a33c448 Disable LCL for lwjgl(x), if you need to transform them you can use the RFB api or reflection.
Closes #133
2024-04-06 10:39:49 +01:00
Raven Szewczyk 6fe3cbef4c Relauncher: hide the "do not show on future launches" option for now 2024-04-06 10:32:36 +01:00
Raven Szewczyk 7d4e9ad9ad Relauncher: do not use disable-atfiles for wider compatibility 2024-04-06 10:25:35 +01:00
Raven Szewczyk e1db8b0b92 Update asm to 9.7, buildscript 2024-04-06 10:19:11 +01:00
Raven Szewczyk 5eb91b5f11 Update README with a link to 1.x java args
Closes #130
2024-04-06 10:16:21 +01:00
Raven Szewczyk 64c4469668 Bump RFB 2.0.2 2024-03-23 11:07:55 +00:00
Raven Szewczyk 7ee9c0f98d Upgrade RFB
Closes https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/15565
2.0.1
2024-03-20 19:24:11 +00:00
glowredman 8f3bf90b63 Fix time token in version.json 2024-03-17 21:36:59 +01:00
Raven Szewczyk 6769363d96 Use RetroFuturaBootstrap instead of LaunchWrapper, significant compatibility improvements (#113)
* Start work on RFB bundling/support

* Use the first RFB release

* Upgrade GSON, RFB, migrate lwjglx redirector to an rfb plugin

* Update rfb again

* Update to RFB 0.3 APIs

* Migrate LCL transformers to RFB

* Update release workflow

* Fix server main class name

* Update RFB with the server fix

* Forgot Spotless...

* Fix maven publishing of snapshots

* Prism: Use included forgePatches jar instead of downloading from Nexus

* Fix crash when config/ doesn't already exist

* Change server entry point to a custom class, remove SLW forge patch.

* Move ASM upgrade to a batch transformer in RFB

* Bump RFB

* Update Apache Commons Compress

* Start work on the relauncher coremod

* Update bs&rfb

* Fix latest GTNHGradle compat

* Update dep versions

* Kotlinify buildscript

* Fix some more kts bugs, make it easier to run with GT

* Fix coremod not loading

* Fix remaining LCL.getSources issues that caused e.g. broken NEI handlers

* RIP forge patches, you won't be missed

* Start on parsing version.json in the relauncher

* WIP library downloader

* Skip downloading existing files, exit without tripping the SecurityManager

* Add missing relauncher libraries, fix jvm arg order

* Fix lwjgl3ify not loading itself as a mod, not downloading the main client jar

* Progress bar dialog for library downloads

* Start work on relauncher guis

* Working java detection and selection on Linux

* Fix use of some library functions not present in a lwjgl3ify-less instance

* Include the ServerMain class in the forgepatches jar

* Relauncher stub + graphical console for the new instance

* Add a fallback $VALUES search loop

* Switch from Rhino to Nashorn for JS

* Update rfb and apache commons-lang3

* Fix ItemStackHolder setting, simplify both object holders

Closes #93

* Add missing lwjgl.util subpackages

Closes #92

* Bump RFB with more asm fixes

Closes #37

* Update RFB with the dragonapi fix

* Exclude nashorn from LCL to avoid coremods complaining about it

* Add proxy lwjglx calls to lwjgl dummy Keyboard/Mouse classes for reflection

* Add InputEvents API, handle Minecraft keybindings with it to fix dead key support

* Update RFB

* Fix some warnings

* Add OSX and Windows JVM installation scanning

* Start work on translatable strings in the relauncher GUI

* Spotless, fix being able to walk with inventory screen open

Closes #123

* Update rfb with the java.lang.Compiler fix

* Finish rest of gui translations, allow any whitespace to split args, assign very little ram to the bootstrapper process

* Add a manifest attribute to more conveniently opt-out of lwjgl3ify transformers

* Update RFB, commons-compress, shade in newer commons-io too

* Remove the server jar name from java9argx.txt

* Update RFB with the #127 fix

* Add LiteLoader compatibility, tested with Voxelmap

Closes #67

* GL tweaks: move glGetString safety check into bindings, fix GL debug log notification spam

* Implement custom OpenGL context version&profile settings via the LWJGL2 Display API

* Simple sharedDrawable implementation

* Downgrade the servlet api to fix journeymap's new webmap crash

* Add sun.awt opens

* README updates

* RFB 1.0.0 (no changes from 0.4.1)
2.0.0
2024-03-11 21:09:38 +00:00
Kam 2229295b9f Add Config Toggle to Enable / Disable HRTF Bools in OpenAl (#119)
* Add Config Toggle to Enable / Disable HRTF Bools in OpenAl

* Import from Config without Static Import
1.5.16
2024-02-07 21:24:03 +00:00
Raven Szewczyk 2a47599202 Fix gradle error 1.5.15 2024-02-07 17:53:16 +00:00
Raven Szewczyk 5dc207584c Update buildscript 2024-02-07 17:48:57 +00:00
Kam 7fff831dfb Add Enum Map to keep track of all Enum Names associated with their Enum Classes (#118)
- $1, $2, $3, $4.... and so on will be appended to the Enum Name until the Duplication clause is satisfied.

Closes #115
2024-02-07 17:36:26 +00:00
Raven Szewczyk 907de2f991 [ci skip] upgraded build system 2024-02-04 20:00:00 +00:00
Raven Szewczyk 786d3c4c8b Fix null safety in AL.destroy 1.5.14 2024-01-20 18:35:53 +00:00
Raven Szewczykandkappa_maintainer c95fa5f315 Set OpenAL EFX max aux sends to 4 (#111)
Co-Authored-By: kappa_maintainer <[email protected]>
1.5.13
2024-01-20 09:36:15 +00:00
Raven Szewczyk 3c03c17404 Fix missing key index mappings (#110)
* Fix missing key index->name mappings at runtime

* Update dependencies

* Keyboard init goes into ClientProxy

* Spotless
2024-01-20 09:27:09 +00:00
Raven Szewczyk b4b733ceb2 Fix handling of null device/context in ALC bindings (#108)
Closes #100
1.5.12
2024-01-11 22:18:54 +00:00
Raven Szewczyk 8e5ce1ec21 Fix handling of Ctrl+Alt vs AltGr on Windows (#107)
Closes #91
2024-01-11 22:06:51 +00:00
Raven Szewczyk 725ec6ccf8 [ci skip] upgraded build system 2024-01-08 21:27:12 +00:00
Raven Szewczyk f67c0091c0 Remove the need for lwjgl package transformer exclusions (#106)
* Remove the need for lwjgl package transformer exclusions

* fix derp
1.5.11
2024-01-07 20:06:19 +00:00
Martin Robertz 89bbfc8ec3 update deps 1.5.10 2024-01-06 16:28:34 +01:00
Raven Szewczyk 7bd0ab589d Fix key name display on non-QWERTY keyboard layouts (#105)
Closes #103
2024-01-05 21:13:44 +00:00
Raven Szewczyk 92507e0541 Fix maven publishing of version.json 1.5.9 2024-01-02 11:58:46 +00:00
glowredmanandRaven Szewczyk a5a3412334 Publish version.json (#104)
* Update buildscript

* Add publishing for version.json

* Switch remaining maven urls

* Publish to github releases too

---------

Co-authored-by: Raven Szewczyk <[email protected]>
1.5.8
2024-01-01 21:03:40 +00:00
glowredman b3d9d804fe Create version.json (#98) 1.5.7 2023-11-29 21:37:16 +00:00
makamys d79565c56f Disable STB stitching if FC 1.23 is present even with OF (#97)
(cc https://github.com/GTNewHorizons/lwjgl3ify/issues/47)
2023-11-29 21:15:24 +00:00
Katherine ecdd15f325 Fix for horizontal scrolling (#96)
* Account for horizontal mouse wheel scrolling

Display$Window#scrollCallback: when the vertical scrolling offset (yoffset) is 0, pass the horizontal scrolling offset (xoffset) to Mouse#addWheelEvent instead

Fixes #90

Signed-off-by: unilock <[email protected]>

* Allow inverting horizontal scrolling via config

Respects "invertScrollWheel", in that horizontal scrolling will be double-inverted if both config options are enabled. (thus: not inverted)

Disabled by default.

(Technically, when horizontal scrolling was fixed in Minecraft 1.20.2, it was made to be inverted by default.)

(However, all mods that implemented the same fix before Mojang did (EmuNO, MacOS Input Fixes, McMouser, etc.) do *not* invert horizontal scrolling by default - LWJGL3ify follows this standard.)

Signed-off-by: unilock <[email protected]>

* SPOTLESS...

Signed-off-by: unilock <[email protected]>

---------

Signed-off-by: unilock <[email protected]>
1.5.6
2023-11-26 17:59:52 +00:00
Jason Mitchell c218cb06ae Add missing GL_ARB_direct_state_access needed for osx 1.5.5 2023-11-25 05:31:20 -08:00
Jason Mitchell 7ba5867a7c Check for GLFW_KEY_UNKNOWN (#94) 1.5.4 2023-11-24 11:49:24 -08:00
Jason MitchellandRaven Szewczyk f8c4a5e330 Adjustments needed to get Angelica (Iris/Oculus backport) working (#88)
* WIP Adjustments needed to get Angelica (Iris/Oculus backport) working

* Move to GL20

* Hacky lwjglx.debug support since its transformer doesn't like lwjgl3ify's init call

* Don't submit invalid keycodes

* Add missing glTextureParameter

* Update buildscript

* Better setupDebugMessageCallback.

* Fix up the isKeyDown patch

* Better glGetActiveUniform sizetype impl

* Clean up the debug handler code

* Update the buildscript

---------

Co-authored-by: Raven Szewczyk <[email protected]>
1.5.3
2023-11-23 20:58:11 +00:00
Raven Szewczyk f5906d082e Fix a wrong log4j config file being included in forgePatches (#86) 1.5.2 2023-10-13 18:45:12 +01:00
Raven Szewczyk ba6e459fdd Fix Display.isCloseRequested not resetting the flag upon call like in lwjgl2 (#83) 1.5.1 2023-09-24 17:46:44 +01:00
Raven Szewczyk 03c6021fca Installation simplification and ASM upgrade (#82)
* Upstream TerminalTransformer

* TerminalTransformer: support ASM9 opcodes

* Mod*Visitor: accept newer asm (mixin)

* Gradle fix: disable runClient17/runServer17 as the regular tasks already use java 17 in this repo

* Update to asm 9.5 for better Java 21 support

* Installation overhaul: embed the modified libraries in the forgePatches jar to remove a complex installation step of merging libraries folders.
1.5.0
2023-09-23 13:38:17 +01:00
Raven Szewczyk 0fd9137540 [ci skip] Add latest spotless update to git-blame-ignore-revs 2023-09-23 11:47:33 +01:00
Raven Szewczyk 16fae70244 [ci skip] Update the spotless config 2023-09-23 11:47:09 +01:00
Raven Szewczyk 8a0d12a428 Update to mojang's lwjgl 3.3.2 distribution to match vanilla 1.20.2 (#81) 1.4.5 2023-09-23 11:30:20 +01:00
Raven Szewczyk f06ec1ec18 Synthesize ASCII escape codes for ctrl+alt+CHAR inputs too (#76) 1.4.4 2023-09-23 11:21:17 +01:00
ghostflybyandRaven Szewczyk be28e276b8 Fix macOS cmd + <key> not sending <key> pressed (#79)
* Fix macOS cmd + <key> not sending <key> pressed

* Cancel Super+key char events on non-mac platforms

* Update buildscript and fix wildcard imports

---------

Co-authored-by: Raven Szewczyk <[email protected]>
2023-09-23 11:17:20 +01:00
Raven Szewczyk 4cf597e9b3 Add missing OpenAL bindings to fix SoundPhysics (#75)
* Add missing OpenAL EFX bindings and a couple of AL/ALC10 functions

* Log the classloader and transformer exclusions for easier post-mortem debugging.
1.4.3
2023-09-04 17:16:13 +01:00