Commit graph

1221 commits

Author SHA1 Message Date
/home/neo be4bfdbdcc
Merge branch 'main' into fix/fourkit 2026-04-18 11:33:49 +03:00
Lord_Cambion 22953367f4 fix: Adventure Mode to Spectator
in the previous commit i implemented few things for the armorstand using ida and i forgot to change the gametype for spectator
2026-04-18 10:30:29 +02:00
George V. 8098805ae6
fix: add missing material IDs to prevent server crash
Adds missing material constants (e.g. LEAVES2, LOG2, PRISMARINE,
BOOK_AND_QUILL, PRISMARINE_SHARD, doors, fences, fence gates)
so the server enum matches the client and avoids crashes.
2026-04-18 05:04:48 +03:00
Lord_Cambion 383302eb2e feat: armorstand from decomp 2026-04-18 03:46:45 +02:00
SevenToaster509 27d0a8ffc3 feat: Skulls worn by mobs/players now display on the armor layer 2026-04-17 20:50:32 +01:00
/home/neo 4771bac148
Upstream merge (#18)
Co-authored-by: Loki <lokirautio@gmail.com>
Co-authored-by: Riley M. <69326171+ryleu@users.noreply.github.com>
Co-authored-by: Loki Rautio <lokio.casebstv@gmail.com>
Co-authored-by: itsRevela <rexmarek@gmail.com>
Co-authored-by: Alisa Vulpes <zomka@fard.ing>
Co-authored-by: dtentiion <dtentiongit@gmail.com>
Co-authored-by: DrPerkyLegit <116128211+DrPerkyLegit@users.noreply.github.com>
2026-04-17 21:50:04 +03:00
George V. 00399fc2da
fix: Update hardcore mode UI to correctly set gamemode slider 2026-04-17 21:37:15 +03:00
George V. 82c6c5db8f
Merge remote-tracking branch 'itsRevela/main' into upstream-merge
# Conflicts:
#	.github/ISSUE_TEMPLATE/config.yml
#	.github/workflows/nightly.yml
#	Minecraft.Client/Windows64/4JLibs/libs/4J_Profile.lib
#	README.md
2026-04-17 21:22:20 +03:00
SevenToaster509 0f1a2542c8 fix: quick equip
fixed quick equip in survival
removed redundant and commented out code
2026-04-17 19:04:55 +01:00
itsRevela afa3e22715 fix: force backbuffer clear alpha to 1.0 to prevent DWM window transparency 2026-04-17 12:43:46 -05:00
itsRevela cf81dd9d13 fix: apostrophes and quotes displaying as HTML entities in chat 2026-04-17 12:20:58 -05:00
itsRevela fde5fbe6f4 fix: force VSync on main menu to prevent GPU coil whine 2026-04-17 11:55:04 -05:00
itsRevela af39797303 chore: add PDB to nightly release, update readme
- Enable /Zi and /DEBUG for Release builds to generate PDB files
- Stage Minecraft.Client.pdb as standalone release asset
- Exclude .pdb from the zip release (dev-only artifact)
- Update release notes to separate player and developer instructions
- Update readme Latest section with recent bug fixes
2026-04-17 07:21:29 -05:00
itsRevela ce2efc1a4d fix: crash when opening UI scenes at sub-720p window size
SWF movie loading crashed with __debugbreak when the window height was
below 720px (e.g. after leaving exclusive fullscreen). The fallback
chain only tried 720.swf which doesn't exist. Now falls back through
720 -> 1080 so scenes always find a valid SWF.
2026-04-17 07:07:02 -05:00
itsRevela eb5aa9fa8f fix: chat color codes not rendering in singleplayer
PlayerConnection::handleChat called FormatChatMessage with
applyStyling=false before broadcasting, which stripped all color codes
from the message. The client then had nothing left to format. Send the
raw message and let the client handle formatting on receive.
2026-04-17 07:06:39 -05:00
itsRevela 59f9dbc8c6 fix: hardcore mode UI not locking difficulty/gamemode on world load
Three issues fixed:

- Save file path used hardcoded saveData.ms but new 4JLibs names files
  as <title>.ms. ReadLevelNameFromSaveFile now constructs the correct
  path with fallback to saveData.ms for old saves.
- The level.dat code path for reading the hardcore flag (sidecar rename)
  returned early without ever parsing level.dat. Now stores the sidecar
  name and continues to read the hardcore flag from NBT.
- The thumbnail host options path could overwrite m_bHardcore to false.
  Now only upgrades to true, never downgrades.
- Load menu constructor and tick handler both lock difficulty slider to
  Hardcore and gamemode to Survival when hardcore is detected.
- Hide title logo on load menu to match create world menu.
2026-04-17 07:06:26 -05:00
itsRevela bc6e445f0c fix: capture save thumbnails directly from D3D11 backbuffer
The new 4JLibs CaptureThumbnail produces all-black 64x64 PNGs because
its internal m_backBufferTexture copy fails silently. Bypass it entirely
and capture from the swap chain backbuffer using the same proven approach
as our F2 screenshot, with center-crop and downsample to 64x64 PNG.
2026-04-17 07:06:02 -05:00
itsRevela ec5ec84407 feat: add 4JLibs comparison tooling
Tools for comparing 4JLibs binary changes between git refs:
- compare-4jlibs.py: Extracts libs, parses symbol tables via dumpbin,
  demangles with undname, generates structured diff reports
- extract_lib.py: Extracts .obj members from COFF .lib archives
- ExportLibInfo.java: Ghidra headless script for non-LTCG object files
- list-lib-symbols.sh / compare-4jlibs.sh: Shell wrappers
2026-04-17 05:55:25 -05:00
itsRevela 019b790fb3 chore: sync upstream MinecraftConsoles through 1a552fbd 2026-04-17 05:53:46 -05:00
DrPerkyLegit 9ddb95e7ad Fix broken Chat Formatting behavior (#1520)
- Remove shadowcolor from font tags (Iggy doesn't support multiple)
- Enforce HTML text mode on chat labels and jukebox
- Move IDS translatable pattern matching into FormatChatMessage
- Add §r (reset) color code support
- Fix message truncation to count visible characters, skipping HTML tags
- Fix CJK truncation using raw index instead of visible char count
2026-04-17 05:52:26 -05:00
dtentiion 8464bfd448 fix: Skin pack names showing only first letter after 4JLibs update (#1518) 2026-04-17 05:49:22 -05:00
Loki Rautio 0e0f8f696d 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-17 05:40:38 -05:00
Loki 6ef535d53e Add new Discord invite to issue config 2026-04-17 05:39:51 -05:00
Alisa Vulpes 004cd72ba5 Add .DS_Store to .gitignore (#1509) 2026-04-17 05:38:39 -05:00
SevenToaster509 5d4d16329d feat: reimplement quick equip
fixed hella bad exploit X_X, additionally fixed multiplayer (part of the same issue)
2026-04-17 10:21:23 +01:00
SevenToaster509 68f2e91ad8
Merge pull request #16 from MarvelcoCode/main
Bug fixes
2026-04-17 09:03:58 +00:00
Marvelco 1bcc761da8
Merge branch 'pieeebot:main' into main 2026-04-17 11:46:51 +03:00
Marvelco f31a5235a4 fixed Torches can be placed on top of all type of fences 2026-04-17 11:46:01 +03:00
Marvelco a6cdeec75c fixed fishing line floating in mid air 2026-04-17 11:31:02 +03:00
SevenToaster509 2b5a46a4fa fix: enchanting
fixes:
fishing rod crashing in enchantment table
updated more swfs that were not updated in a recent merge
sort costs in ascending order
randomise enchantment seeds for new players
2026-04-17 08:26:13 +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
SevenToaster509 add784b259 fix: clients crashing on enchantment attempt, disabled quick equip until further notice, updated enchantingmenu swfs because lapis slot was missing? 2026-04-16 20:47:14 +01:00
piebot 5dd8d982bb
fix: add missing dlcs (greek mythology and halloween 2015)
Added Missing DLC's
2026-04-16 22:10:29 +03:00
Marvelco bbc8c599b5 removed duplicates 2026-04-16 21:57:24 +03:00
piebot e8315e87ac
fix: Fixed Stained Glass/Panes not rendering water
Fixed Stained Glass/Panes not rendering water
2026-04-16 21:51:06 +03:00
Marvelco 0bc80a6e04 added missing dlc's 2026-04-16 21:50:43 +03:00
Marvelco 3b9e4bf5fa Merge branch 'main' of https://github.com/MarvelcoCode/neoLegacy 2026-04-16 21:41:46 +03:00
Marvelco 6b1a9911dc nether portal 2026-04-16 21:39:15 +03:00
Marvelco 63a8eb2fbd
Merge branch 'pieeebot:main' into main 2026-04-16 21:27:18 +03:00
Marvelco fcbf81b5ae forgot this 2026-04-16 21:26:54 +03:00
Marvelco 833e449c8c fixed stained glass not rendering the water 2026-04-16 21:26:40 +03:00
George V. bd6586e45b fix: prevent crash when copying version when no ingame 2026-04-16 20:33:50 +03:00
George V. 295c4cf358 chore: remove MediaWindows64.arc asset copy for server targets 2026-04-16 20:33:50 +03:00
George V. 56705f0576 feat: add version display and copy-to-clipboard functionality
Add version string (branch/version) to the debug overlay when F3 is active.
Also add a new keyboard shortcut (B key while F3 is held) to copy the
version string to the clipboard and show a confirmation message. This
improves debugging and support by making version information easily
accessible.
2026-04-16 20:33:50 +03:00
/home/neo ad0939acab
fix(ci): fsck you git 2026-04-16 19:00:36 +03:00
piebot 40cc78882a
chore: Update README.md 2026-04-16 18:42:13 +03:00
/home/neo d55d4a22ca
fix(ci): remove GPG 2026-04-16 18:40:40 +03:00
/home/neo 93820b637b
ci: build FourKit 2026-04-16 18:25:24 +03:00