Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #39  
Old Today, 03:32
Lord.Freddy's Avatar
Lord.Freddy Lord.Freddy is offline
Registered User
 
Join Date: Apr 2022
Location: ...
Posts: 56
Thanks: 237
Thanked 48 Times in 27 Posts
Lord.Freddy is on a distinguished road
MPZ Wrapper v2

Changelog:
Code:
▪︎ Complete rewrite of the wrapper core — replaced the old C++/coroutine-based implementation with a cleaner C89-compatible state-machine design.
▪︎ More reliable DLL handling — MpzSlimmer.dll is now loaded from the executable directory with validation and safer dependency/search-path handling.
▪︎ Safer codec execution — codec crashes and unexpected failures are caught and reported instead of leaving the process hanging or terminating silently.
▪︎ Robust input/output handling — improved Win32 I/O, buffering, seeking, partial reads/writes and support for both regular files and stdin/stdout.
▪︎ Configurable I/O buffer size — buffer size can now be specified from the command line for better control over performance and memory usage.
▪︎ Progress reporting — file-to-file operations now show processing progress.
▪︎ 2 GB stream protection — inputs and outputs exceeding the codec's supported 32-bit limit are detected and rejected safely.
▪︎ Same-file protection — prevents accidentally using the same file as both input and output.
▪︎ Automatic cleanup on failure — incomplete output files are removed when processing fails, avoiding misleading/corrupted results.
▪︎ Better command-line interface — explicit c / d modes, - for stdin/stdout, optional buffer size, and -h / --help.
▪︎ Overall stability improvements — numerous edge cases around EOF, pipes, large files, errors and cleanup were handled explicitly instead of relying on the old coroutine behavior.
In short: v2 is not just a small update; it is a substantial rewrite focused on reliability, safer error handling, better I/O, easier usage and a much cleaner codebase.
Compiled with: gcc-14.2.0-mingw-w64msvcrt-12.0.0

The source code will be added to the post shortly, once I’ve finished a few final cleanups and adjustments.
Attached Files
File Type: zip MPZ_Wrapper_v2.zip (89.2 KB, 12 views)
Reply With Quote
The Following 3 Users Say Thank You to Lord.Freddy For This Useful Post:
DomoVoi_96 (Today), Dunnowho69 (Today), ScOOt3r (Today)
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Support and Help on Game Compression Tools and Methods Snake288 Conversion Tutorials 4 18-04-2020 06:30
Help choosing an mp3 player ikermalli Media Players 8 22-08-2010 23:15
[REQ] Pac-Man World 2 Starforce 3 Crack (RLD Tools inside) newone111 PC Games 48 21-03-2010 00:22
Frequently Asked Questions Joe Forster/STA PC Games - Frequently Asked Questions 0 29-11-2005 09:48
Daemon Tools Question Overthere PC Games 11 16-06-2003 17:02



All times are GMT -7. The time now is 07:21.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com