Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 19-01-2016, 06:38
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,754
Thanks: 2,191
Thanked 11,223 Times in 2,312 Posts
Razor12911 is on a distinguished road
You have to edit the source and make it possible. That cls thing is very complicated even for me,
I don't know about CPP but on delphi, there is a type of stream that works with handles.
You just detect a certain type of handle, which is simple, just detect stdin and stdout.
You don't have to worry of how to exchangd data between freearc and precomp, with handles all you have to do is read using the stdin handle stream thenfrom there you let precomp handle the data then you send the output back to freearc, simple as that, progress will move automatically. The only tip I can give you is to never write anything on cmd window because that is also regarded as stdout data.

Here is a simple example but in delphi

var
hs1, hs2: THandleStream;

begin
hs1:= Thandlestream.create(GetStdHandle(STD_INPUT_HANDLE )) ;
hs2:= THandleStream.create(GetStdHandle(STD_OUTPUT_HANDL E));
hs1.read.... or use copyfrom to get data directly from freearc <stdin>
//precomp should process the data here...
hs2.write or hs2.copyfrom to send the processed/unpacked data back to freearc //this moves the progress bar.


If I knew the header structure of precomp, I could make precomp that uses stdin and stdout for unpacking to show progress.
Reply With Quote
The Following 2 Users Say Thank You to Razor12911 For This Useful Post:
panker1992 (19-01-2016), RamiroCruzo (19-01-2016)
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Best Compression Format DRAGoN.X Chit Chat 11 07-09-2017 23:13
Dragon Age: Origins Ultimate Edition 3xDVD5 [CIU 2.0.2] NamelessOne PC Games - CD/DVD Conversions 16 03-03-2017 11:38
compression -msrep+rep+delta+nzip Danik1B9 Conversion Tutorials 11 21-12-2014 08:13
Borderlands 2: Ultimate Vault Hunter Edition - 3xDVD5 [ALL DLCs + CIU V2] REV0 PC Games - CD/DVD Conversions 7 06-07-2013 03:14
Fallout New Vegas Ultimate Edition 3xDVD9 to 2xDVD5 1LANGUAGE senseman PC Games - CD/DVD Conversions 29 04-06-2013 10:36



All times are GMT -7. The time now is 12:53.


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