|
|
|
#1
|
||||
|
||||
|
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. |
| The Following 2 Users Say Thank You to Razor12911 For This Useful Post: | ||
panker1992 (19-01-2016), RamiroCruzo (19-01-2016) | ||
| Sponsored Links |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |