Commit Graph

358 Commits

Author SHA1 Message Date
veroxsity
bbbed8aca4 feat: Implement authenticated JSON request handling with session refresh 2026-05-10 20:23:43 +01:00
veroxsity
5378d722bb Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	README.md
2026-05-10 20:20:33 +01:00
Alex
09df8928ee fix: Properly load and restore the metadata for saves (#1550)
* fix: save metadata loading

Notify others that the thumbnail data is loaded.

Refs: #124

* refactor: remove redundant class field
2026-05-04 17:00:40 -05:00
Loki Rautio
5f931d74fc Update 4JLibs, adjust README 2026-04-29 17:02:40 -05:00
veroxsity
5d570439d3 feat(uwp): D-pad bindings, soft keyboard sync, paired key events
- D-pad Left -> F3 debug overlay, D-pad Right -> chat (rising-edge XInput poll on the CoreWindow thread)

- Mirror ChatScreen open state into g_xbox_chatOpen so the Xbox soft keyboard (IInputPane2) actually shows/hides

- Add XboxOnKeyUp export and pair every CoreWindow KeyDown/KeyUp + D-pad press/release so g_KBMInput's released-edge handlers fire (fixes F3 toggle and chat re-opening)

- Bump version to 1.2.1.0
2026-04-29 00:03:33 +01:00
veroxsity
57981c2fee Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	Minecraft.Client/Common/UI/UIScene.cpp
2026-04-27 01:07:58 +01:00
ModMaker101
585455cef0 Replace MSVC __debugbreak with cross-compiler DEBUG_BREAK macro. (#1540) 2026-04-26 12:23:52 -05:00
ModMaker101
3ab29ec26e Remove HTML escape for apostrophe in chat (#1541)
Fixes #1537
2026-04-26 12:22:51 -05:00
veroxsity
aaf3ad2f99 feat: Implement LCELive username handling and logging for Windows64 client 2026-04-25 21:08:29 +01:00
veroxsity
4d054cb5b1 feat: Add Iggy library linking for Windows64 platform and update version to 1.1.0.0 2026-04-24 00:42:33 +01:00
veroxsity
4569d660e9 merge: sync upstream/main (4JLibs submodule, control mapping fix) 2026-04-22 02:37:42 +01:00
Loki Rautio
5e5b685c72 fix: Control mappings wrong (update 4JLibs)
fixes #1531 and #1528
2026-04-21 19:55:46 -05:00
gsds
1b8a14357c Include 4JLibs as a submodule (#1535)
* feat: 4JLibs as a submodule

* fix: forgot submodule

* fix: actions didn't recurse submodules on checkout

* fix: oops, using old commit
2026-04-21 18:32:02 -05:00
veroxsity
87d2dfbc55 port: Nether portal sounds, save thumbnail display, worlds without worlds fix (#1523, #1519, #1529) 2026-04-21 16:19:02 +01:00
veroxsity
c68b25f205 feat: implement self-managing forwarding session for relay handling 2026-04-19 14:18:13 +01:00
veroxsity
a2187762fd Add initial project structure and audio shims for LCE Xbox port
- Added Wide310x150Logo.png asset for application branding.
- Created LCE.Xbox project file with configurations for Debug and Release.
- Added Package.appxmanifest for application metadata and capabilities.
- Introduced SharedSurface.h for shared memory management between processes.
- Implemented AudioShim with XAudio2 integration for audio playback.
- Developed XSBParser and XWBParser for handling sound bank files.
- Created DXGIShim to intercept DXGI calls and manage swap chains.
- Defined project files for AudioShim and DXGIShim with necessary dependencies.
2026-04-19 01:38:48 +01:00
Sylvessa
7c1606837f fix: worlds without worlds won't open (#1529) 2026-04-18 19:14:42 -05:00
dtentiion
4a7b34f4c2 fix: Display save thumbnail in world detail view on Windows64 (#1519) 2026-04-18 17:49:43 -05:00
dtentiion
9167454767 fix: Nether portal trigger and travel sounds not playing (#1523) 2026-04-18 17:47:18 -05:00
veroxsity
29f95418d5 feat: show screenshot filename in chat after F2 capture 2026-04-18 23:17:31 +01:00
DrPerkyLegit
648a79116c Fix broken Chat Formatting behavior (#1520)
* fix formatting in chat

iggy doesnt like multiple shadow colors

* enforce html labels

* dont format before sending packet, client formats anyway

* move translateables to chat format, restore original empty message results

* fix crappy string cutoff

* forgot a line on last commit, reset color support

* restore function to strip styling from player messages
2026-04-18 22:58:42 +01:00
dtentiion
4587a2fe08 fix: Skin pack names showing only first letter after 4JLibs update (#1518) 2026-04-18 22:58:40 +01:00
Revela
8e9609bbfa Add F2 screenshot functionality (#1262)
- Updated `EControllerActions` to include `MINECRAFT_ACTION_SCREENSHOT`.
- Added conditional compilation for `stb_image_write.h` in `Minecraft.cpp`.
- Modified `run_middle()` to handle screenshot key press.
- Updated `tick()` to capture and save screenshots as PNG files.
- Introduced `KEY_SCREENSHOT` in `KeyboardMouseInput.h` mapped to F2.
- Added `stb_image_write.h` for image writing capabilities.
2026-04-18 22:58:37 +01:00
veroxsity
f3021e6c4d feat: Enhance signaling and relay management for improved invite handling and session recycling 2026-04-18 14:58:09 +01:00
veroxsity
74b78e81e4 feat: Enhance logging functionality with game-specific log file management 2026-04-18 13:31:57 +01:00
veroxsity
da64ef24cc feat: Add IPv4 routability check for public address validation in P2P networking 2026-04-18 12:46:12 +01:00
veroxsity
de125e5275 Add TCP-over-WebSocket relay client for Minecraft
- Implemented Win64LceLiveRelay.h and Win64LceLiveSignaling.cpp to facilitate TCP-over-WebSocket communication for Minecraft, allowing game traffic to route through the LCELive relay server when direct TCP is blocked.
- Introduced signaling mechanisms for host and joiner connections, including session management and candidate exchange.
- Added logging functionality in Windows_Log.cpp and Windows_Log.h for better debugging and session tracking.
- Created build-release.bat script for streamlined build and deployment process, including exclusion of unnecessary files.
2026-04-17 23:47:32 +01:00
veroxsity
0281311e79 feat: Implement game invites functionality and UI integration for LceLive 2026-04-17 20:03:17 +01:00
veroxsity
384967a99a fix: Hide components in UIScene_LceLiveInvites destructor 2026-04-17 12:24:59 +01:00
DrPerkyLegit
1a552fbd0c Fix broken Chat Formatting behavior (#1520)
* fix formatting in chat

iggy doesnt like multiple shadow colors

* enforce html labels

* dont format before sending packet, client formats anyway

* move translateables to chat format, restore original empty message results

* fix crappy string cutoff

* forgot a line on last commit, reset color support

* restore function to strip styling from player messages
2026-04-16 22:41:50 -05:00
dtentiion
cccfd860b9 fix: Skin pack names showing only first letter after 4JLibs update (#1518) 2026-04-16 22:35:14 -05:00
Revela
d0094a6409 Add F2 screenshot functionality (#1262)
- Updated `EControllerActions` to include `MINECRAFT_ACTION_SCREENSHOT`.
- Added conditional compilation for `stb_image_write.h` in `Minecraft.cpp`.
- Modified `run_middle()` to handle screenshot key press.
- Updated `tick()` to capture and save screenshots as PNG files.
- Introduced `KEY_SCREENSHOT` in `KeyboardMouseInput.h` mapped to F2.
- Added `stb_image_write.h` for image writing capabilities.
2026-04-16 22:33:30 -05:00
veroxsity
d57816bff3 feat: Add LceLive Invites functionality and UI integration 2026-04-17 00:52:37 +01:00
veroxsity
e93d57b2bc Add LceLive Friends and Requests UI Scenes
- Implement UIScene_LceLiveFriends for managing friends list with options to add, refresh, and remove friends.
- Implement UIScene_LceLiveRequests for handling incoming and outgoing friend requests with options to accept or decline requests.
- Introduce UIScene_LceLiveLinking for device linking functionality.
- Update CMake files to include new UI scene source files.
- Add necessary UI components and logic for displaying and interacting with friends and requests.
- Ensure compatibility with Windows64 builds and handle UI updates accordingly.
2026-04-17 00:11:35 +01:00
veroxsity
3d6144e10f Add LceLive UI and Windows64 integration
- Implement UIScene_LceLive class for managing the LceLive UI components.
- Create Windows64_LceLive.cpp and Windows64_LceLive.h for handling LceLive authentication and device linking.
- Introduce a Python script for repacking MediaWindows64.arc archives with overlay support.
- Enhance error handling and session management for LceLive interactions.
- Add methods for reading and writing UTF-8 strings in the archive format.
- Implement functionality to apply overlays to existing archive entries.
2026-04-16 20:21:06 +01:00
Loki Rautio
78d4bc80cf feat: Upgrade to 4JLibs libraries
Includes fixes and some modernizations compared to the original 4J
library binaries. Also introduces functionality to support stuff like
F2 screenshots, etc. This is basically the beginning of modernizing the
codebase.
2026-04-15 19:07:15 -05:00
Loki
2fba264c08 Revert "Prevent contextually wrong music from playing (#1138)"
This reverts commit 2d41711055.
2026-04-14 17:00:35 -05:00
Loki Rautio
1533b2138f Swap critical.mp3 for critical.ogg (#1503) 2026-04-14 16:59:58 -05:00
Riley M.
c0da06e4ee major: Switch to forward slashes(+more) to fix compilation on Linux (#1403)
Notably also adds some metadata files for NixOS 

* add support for linux clang cross compiles

* add linux clang instructions

* un-capitalize Mob.horse.*

* update the description in flake.nix

---------

Co-authored-by: Loki <lokirautio@gmail.com>
2026-04-14 16:47:37 -05:00
Loki Rautio
f78dec6e00 Remove redundant/unused 4JLibs files
also adds some countermeasures against, yknow.
2026-04-13 01:26:36 -05:00
Tyler Reese
78afb091a4 fix: Implement missing critical hit sound (#1141)
* Fix

* Crit Sound Now Plays On Death

* Revert BuildVer.h

---------

Co-authored-by: Loki <lokio.casebstv@gmail.com>
2026-04-12 23:24:29 -05:00
Tyler Reese
2d41711055 fix: Prevent contextually wrong music from playing (#1138) 2026-04-12 23:22:14 -05:00
DrPerkyLegit
14f8d793dd Add Chat Formatting Support For Servers (#1483)
* add chat support for html formatting

* html character serialization, normal color format support

* change for chat input handling on color

has a bug where the text after the cursor gets stripped of its color, need to make a function to backstep on a string and find the last used color codes, or get all color codes used before the string is split, and apply them to the start of the next string

* expose jukebox label as action bar like java

* prevent players from sending chat color

* restore non styled chat size check
2026-04-12 23:17:45 -05:00
GabsPuNs
bfcb621808 Exclude more files, reduce build .zip size (#1374)
* Fix Sign

* Exclude more files from the compilation.

* Remove Trial and Tutorial folder in Common, Tutorial world is in windows64media
2026-04-12 23:17:21 -05:00
Toru the Red Fox
050c501786 Request dedicated GPU (#850) 2026-04-12 22:56:24 -05:00
Botch
e5ce9a06cd fix: Disable font mipmapping (#1410)
Fixes visual artifacts with signs, improving legibility at distances
2026-04-12 22:55:07 -05:00
Us3ful"-Dev
e730033bcc fix: Prevent end poem crash (#1489)
Removed player name check that always fails to work on non host instances
2026-04-12 22:53:39 -05:00
DrPerkyLegit
82c1ae1968 fix: Increase entity network limit to 16k entities (#1492) 2026-04-12 22:50:46 -05:00
DrPerkyLegit
c7014f6b18 feat: Scrollable chat (#1493)
* chat scrolling

* allow escape to close chat instead of opening pause
2026-04-12 22:50:16 -05:00
DrPerkyLegit
744048f455 Better Text Scaling (#1494)
* f3 menu text scaling

* Reduce overscaling above 1080p

Restores original scaling for 1440p to try and keep the text size more
sane on high DPI monitors

---------

Co-authored-by: Loki Rautio <lokirautio@gmail.com>
2026-04-12 22:48:08 -05:00