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
  #15  
Old 21-11-2017, 22:04
ravencrow ravencrow is offline
Registered User
 
Join Date: Feb 2015
Location: SG
Posts: 19
Thanks: 29
Thanked 12 Times in 8 Posts
ravencrow is on a distinguished road
For compression, create input and output files, write 8 empty bytes in output, use CM::Compress using input size and compress input, after compression finishes seek back to start, write output size - 8 in first 8 bytes.

In decompression, create stdin and stdout, read 8 bytes to get output size, CM:ecompress with size to decompress into stdout and you're done.

No need of CLS, MCM code w/o it's detection and stuff is compatible with stdio.
Reply With Quote
 


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



All times are GMT -7. The time now is 08:23.


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