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
  #34  
Old 17-05-2026, 02:23
wrathma wrathma is offline
Registered User
 
Join Date: Apr 2024
Location: Dhaka
Posts: 59
Thanks: 46
Thanked 40 Times in 23 Posts
wrathma is on a distinguished road
RAZOR "true" stdio patch

so this patched dll uses true stdio (no fileio) compression. directly
from ram to ram. it doesnt write anything to disk by itself.
as it is ram to ram, it will use more memory compared to fileio.

maximum memory usage during compression - input filesize +
output file size + compression memory. maximum memory
usage during decompression - decompression memory + ~4mb.

notes:
  1. as i hooked multiple fileio functions of win32api, normal fileio
    compression/decompression through razor is not possible (with
    my patch). using fileio with my patch may lead to bsod. so i have
    added some checks to prevent accidental fileio operations. to do
    fileio operations use the original rz.exe.
  2. you might see my patch reading/writing V_IN.SYMM or
    V_OUT.SYMM files, those are just my handles for virtual memory
    address. not actual files on disk.
  3. its NOT interchangeable with Razor12911's patch or my old
    "fake" stdio patch.

compiled with mingw-clang. will add the source code after some
cleaning. works fine with arc. added sample arc.ini. for usage
instructions see test.bat/arc.ini.

edit:
fixed a memory leak issue (idk how it slipped past me). removed
debug-specific checks that are not required now. some cosmetic
changes and removed unused debug code. also fixed a bug where
it would fail with freearc decompression.
during testing i found out that razor decompressor is sequential so
made this patch do sequential streamed decompression. so memory
usage is same as (+ ~4 mb) non stdio operations. optimized dll
size (115kb to 14 kb).
Attached Files
File Type: 7z RZ_patch.7z (80.6 KB, 5 views)

Last edited by wrathma; 18-05-2026 at 13:19.
Reply With Quote
The Following 3 Users Say Thank You to wrathma For This Useful Post:
Dunnowho69 (17-05-2026), KaktoR (17-05-2026), kj911 (17-05-2026)
 


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 15:49.


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