Commit Graph

287 Commits

Author SHA1 Message Date
rtw1x1
9eea8d9bc0 ML-Client: Item Names client sided 2026-01-21 01:51:43 +00:00
rtw1x1
e40fdcb7d6 ML-Client: NPC Names client sided #2 2026-01-21 01:07:17 +00:00
rtw1x1
1903420820 ML-Client: NPC Names client sided 2026-01-21 00:22:18 +00:00
rtw1x1
4e41646822 Merge pull request #82 from MindRapist/mr-8
MR-8: Fix semi-transparent effects
2026-01-20 22:55:30 +00:00
rtw1x1
7d0b5d545d Merge pull request #81 from ErLullo/letter-autoremove
letter-autoremove fix
2026-01-20 22:55:09 +00:00
rtw1x1
e38dfaca45 Merge pull request #83 from rtw1x1/main
Optimization for BiDi algorithm, UTF8, Debug, Arabic.
Fixed skill desc
2026-01-20 21:25:14 +00:00
rtw1x1
100dd2b87b fix: Optimized UTF8, BiDi, Debug 2026-01-20 21:23:31 +00:00
Mind Rapist
4df27653da MR-8: Fix semi-transparent effects 2026-01-18 09:00:29 +02:00
ErLullo
d08b2fb53b letter-autoremove fix 2026-01-15 11:12:35 +01:00
rtw1x1
ba79e137f0 Merge pull request #79 from rtw1x1/main
ML: Hot-Reload Locale
2026-01-07 20:20:40 +00:00
rtw1x1
34c6e514d4 Merge branch 'd1str4ught:main' into main 2026-01-07 17:53:31 +00:00
rtw1x1
874f6a7fd5 Merge pull request #72 from savisxss/main 2026-01-07 17:40:58 +00:00
rtw1x1
86a6fbb1d2 Merge pull request #78 from amun3808/main 2026-01-07 17:40:39 +00:00
Amun
6320f99388 Sound effects volume bug 2026-01-07 18:47:25 +02:00
savis
b94b971e32 Refactor GameThreadPool for improved thread-safety and lifecycle management 2026-01-07 15:26:37 +01:00
savis
3b32269a74 Merge branch 'main' of https://github.com/savisxss/m2dev-client-src-1 2026-01-07 15:22:42 +01:00
savis
144dddb518 removed preload motions 2026-01-07 15:22:32 +01:00
rtw1x1
dfe2368c8f ML: Refactored Hot-Reload System 2026-01-07 09:55:18 +00:00
rtw1x1
c4cc59a4f2 ML: Hot reload locale system 2026-01-05 18:55:36 +00:00
savis
2243141402 Merge branch 'main' of https://github.com/savisxss/m2dev-client-src-1 2026-01-05 17:42:19 +01:00
savis
4e68003fdd Consolidate file loading threading to CGameThreadPool 2026-01-05 17:42:13 +01:00
rtw1x1
f19dfa1fe2 Merge pull request #74 from savisxss/dsdsdsds 2026-01-05 16:21:48 +00:00
savis
7718c65d7a add GameThreadPool 2026-01-05 17:20:12 +01:00
rtw1x1
dbdfd57c41 Merge pull request #73 from d1str4ught/rtw1x1-patch-1
Reverted horse rotation speed
2026-01-05 15:29:28 +00:00
rtw1x1
d5c659d404 Reverted horse rotation speed 2026-01-05 15:29:02 +00:00
savis
40625c8bd8 add DumpProto 2026-01-05 15:58:48 +01:00
rtw1x1
625849e0e4 Merge pull request #70 from savisxss/main 2026-01-04 19:51:40 +00:00
savis
074a05bb9b Optimize terrain 2026-01-04 19:44:59 +01:00
rtw1x1
b4171084c3 Merge pull request #68 from savisxss/main
Add parallel race/motion loading and thread-safe Pack/Pool managers
2026-01-04 16:30:19 +00:00
savis
d5624a8cdd Add parallel race/motion loading and thread-safe Pack/Pool managers 2026-01-04 17:27:32 +01:00
rtw1x1
fa96b25dad Merge pull request #46 from rfdomingues98/fix/client-freeze-on-drag
Added Amun fix for window freeze on drag
2026-01-04 11:10:38 +00:00
rtw1x1
9b57cd1414 Merge branch 'main' into fix/client-freeze-on-drag 2026-01-04 11:10:28 +00:00
rtw1x1
54b6f8c4a9 Merge pull request #67 from savisxss/main
eliminate freeze when encountering players by preloading race motions
2026-01-04 09:43:36 +00:00
savis
2550008f6d eliminate freeze when encountering players by preloading race motions 2026-01-04 10:41:48 +01:00
rtw1x1
4c21fe697c Merge pull request #66 from rfdomingues98/feat/add-bravery-cape-effect
Added new effect for Bravery Cape
2026-01-04 09:29:14 +00:00
rtw1x1
3d8a8f8e3b Merge pull request #65 from savisxss/main
A bit late, but Happy New Year!
2026-01-04 09:29:02 +00:00
rtw1x1
3b359393d1 Merge pull request #63 from MindRapist/mr-7
MR-7
2026-01-04 09:28:48 +00:00
Ricardo Domingues
117f1234b5 Added new effect for Bravery Cape 2026-01-03 20:47:56 +00:00
savis
6fcf2c58e2 Parallelize pack file initialization
- Load pack files across multiple threads
- Scales to CPU core count
- Load root.pck first, then parallelize remaining packs
- Track and report failed pack loads
2026-01-03 20:38:21 +01:00
savis
de0b8052fe Batch terrain texture loading
- Pre-request all textures for async loading
- Reduces sequential blocking during terrain load
2026-01-03 20:38:10 +01:00
savis
6984fef736 Integrate async loading infrastructure
- Initialize FileLoaderThreadPool and TextureCache
- Route file requests through thread pool
- Handle pre-decoded images from worker threads
- Reduce loading delay from 20ms to 1ms
- 512MB texture cache (up from 256MB)
2026-01-03 20:38:02 +01:00
savis
f702b4953d Add support for pre-decoded image loading
- OnLoadFromDecodedData method for async decoded images
- Bypasses redundant decoding when data comes from worker thread
- Integrates with FileLoaderThreadPool pipeline
2026-01-03 20:37:52 +01:00
savis
3f0f3c792d Add SIMD-optimized texture color conversion
- SSE2/SSSE3 RGBA to BGRA conversion (10x faster)
- Processes 4 pixels per iteration
- Automatic fallback for non-x86 platforms
- Applied to both STB and decoded image paths
2026-01-03 20:37:41 +01:00
savis
e55fc4db17 Optimize pack file loading
- Add thread-local ZSTD decompression context reuse
- Integrate BufferPool for temporary buffers
- PackManager auto-uses BufferPool for all GetFile calls
- Thread-safe pack loading with mutex
2026-01-03 20:37:32 +01:00
savis
0958ea6214 Add multi-threaded file loader pool
- 4-16 worker threads based on CPU core count
- Auto-detects and decodes images on worker threads
- SPSC queues: 16K request, 32K completion
- Atomic task counter for fast idle checks
- Smart idle handling with yield and minimal sleep
2026-01-03 20:37:22 +01:00
savis
049eca38a4 Add LRU texture cache
- 512MB default cache size for decoded textures
- Thread-safe LRU eviction policy
- Tracks hit/miss statistics
- Prevents re-decoding frequently used textures
2026-01-03 20:37:08 +01:00
savis
fd1218bd4e Add worker-thread image decoder
- Decodes DDS, PNG, JPG, TGA, BMP formats
- Thread-safe for use in worker threads
- Uses stb_image for common formats
- Custom DDS header parsing
2026-01-03 20:36:37 +01:00
savis
c6aa6b4149 Add decoded image data structure
- Stores decoded pixel data ready for GPU upload
- Supports RGBA8, RGB8, and DDS formats
- Separates CPU decoding from GPU upload phases
2026-01-03 20:35:45 +01:00
savis
7fb832ad6b Add buffer pool for I/O operations
- Reuses vector<uint8_t> buffers to reduce allocations
- Thread-safe with mutex protection
- Max 64 buffers, 64MB buffer size limit
- Tracks allocation statistics and pooled memory
2026-01-03 20:35:06 +01:00
savis
33ac4b69f4 Add lock-free SPSC queue implementation
- Single producer/single consumer bounded queue
- Cache-line aligned atomics to prevent false sharing
- Used for async file loading communication
2026-01-03 20:34:47 +01:00