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

Reply
 
Thread Tools Display Modes
  #811  
Old 14-06-2019, 08:14
wollercoller wollercoller is offline
Registered User
 
Join Date: Jun 2019
Location: Mars
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
wollercoller is on a distinguished road
This function is used in this Installer:
function ProgressCallback (OveralPct, CurrentPct: integer; CurrentFile, TimeStr1, TimeStr2, TimeStr3: PAnsiChar): longword;

I used TimeStr3 value for remaining time label but it is not working can any one help
me
thank you.
Reply With Quote
Sponsored Links
  #812  
Old 14-06-2019, 10:27
Jiva newstone's Avatar
Jiva newstone Jiva newstone is offline
Registered User
 
Join Date: Nov 2016
Location: India
Posts: 171
Thanks: 192
Thanked 277 Times in 76 Posts
Jiva newstone is on a distinguished road
Quote:
Originally Posted by wollercoller View Post
This function is used in this Installer:
function ProgressCallback (OveralPct, CurrentPct: integer; CurrentFile, TimeStr1, TimeStr2, TimeStr3: PAnsiChar): longword;

I used TimeStr3 value for remaining time label but it is not working can any one help
me
thank you.
TimeStr3 is estimated time
TimeStr2 is elapsed time
TimeStr1 is remaining time
i think it won't if u using disk like arc extract method
if u usin ISARCEXTRACT with progress value it works fine
Reply With Quote
  #813  
Old 15-06-2019, 01:19
wollercoller wollercoller is offline
Registered User
 
Join Date: Jun 2019
Location: Mars
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
wollercoller is on a distinguished road
Quote:
Originally Posted by Jiva newstone View Post
TimeStr3 is estimated time
TimeStr2 is elapsed time
TimeStr1 is remaining time
i think it won't if u using disk like arc extract method
if u usin ISARCEXTRACT with progress value it works fine
Can you tell me How I can add ISARCEXTRACT in wpi.
Reply With Quote
  #814  
Old 15-06-2019, 04:45
Carldric Clement's Avatar
Carldric Clement Carldric Clement is offline
Registered User
 
Join Date: Aug 2014
Location: Toboh, Sabah, Malaysia
Posts: 420
Thanks: 461
Thanked 351 Times in 133 Posts
Carldric Clement is on a distinguished road
Quote:
Originally Posted by wollercoller View Post
Can you tell me How I can add ISARCEXTRACT in wpi.
If you first time to use it:
Quote:
function ISArcExtract(CurComponent:Cardinal; PctOfTotal:double; InName, OutPath, ExtractedPath: AnsiString; DeleteInFile:boolean; Password, CfgFile, WorkPath: AnsiString; ExtractPCF: boolean ):boolean; external '[email protected]:ISDone.dll stdcall delayload';
then here's of example:
Quote:
if not ISArcExtract(0, 50, ExpandConstant('{src}\Data1.arc'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
__________________
Project: Mini Compresor & Inno Maker
Reply With Quote
  #815  
Old 08-07-2019, 03:29
Saifuddin Saifuddin is offline
Registered User
 
Join Date: May 2019
Location: India
Posts: 5
Thanks: 3
Thanked 0 Times in 0 Posts
Saifuddin is on a distinguished road
Help me! Editing the script for my game and after compiling it doesnt change the name to my repack game it always shows Battlefiels 4
Reply With Quote
  #816  
Old 08-07-2019, 09:17
Carldric Clement's Avatar
Carldric Clement Carldric Clement is offline
Registered User
 
Join Date: Aug 2014
Location: Toboh, Sabah, Malaysia
Posts: 420
Thanks: 461
Thanked 351 Times in 133 Posts
Carldric Clement is on a distinguished road
Quote:
Originally Posted by Saifuddin View Post
Help me! Editing the script for my game and after compiling it doesnt change the name to my repack game it always shows Battlefiels 4
I recommended use WPI Wizard.
__________________
Project: Mini Compresor & Inno Maker
Reply With Quote
The Following 2 Users Say Thank You to Carldric Clement For This Useful Post:
Saifuddin (08-07-2019), Titeuf (08-07-2019)
  #817  
Old 09-07-2019, 20:50
PsYcHo_RaGE's Avatar
PsYcHo_RaGE PsYcHo_RaGE is offline
Registered User
 
Join Date: Mar 2018
Location: Darck Repacks
Posts: 167
Thanks: 121
Thanked 67 Times in 46 Posts
PsYcHo_RaGE is on a distinguished road
Quote:
Originally Posted by Saifuddin View Post
Help me! Editing the script for my game and after compiling it doesnt change the name to my repack game it always shows Battlefiels 4
you didn't completely edited the script! check again, it should better change the name
__________________
I AM NOT LIKE ME, I AM LIKE YOU! XD
RIP DARCK!
Reply With Quote
  #818  
Old 10-07-2019, 02:18
Saifuddin Saifuddin is offline
Registered User
 
Join Date: May 2019
Location: India
Posts: 5
Thanks: 3
Thanked 0 Times in 0 Posts
Saifuddin is on a distinguished road
Quote:
Originally Posted by PsYcHo_RaGE View Post
you didn't completely edited the script! check again, it should better change the name
Thanks for the reply, I found where i was making mistake and it works the preview looks awesome. But now the setup doesn't read compressed data.bin it installs with no extracted files in the destination folder, create blank desktop shortcut and finishes installation.
Reply With Quote
  #819  
Old 11-07-2019, 05:42
heihuanlanhun heihuanlanhun is offline
Registered User
 
Join Date: Dec 2017
Location: china
Posts: 26
Thanks: 5
Thanked 1 Time in 1 Post
heihuanlanhun is on a distinguished road
Quote:
Originally Posted by PsYcHo_RaGE View Post
you didn't completely edited the script! check again, it should better change the name
Help me,please.It is wrong.

unarc.dll returned an error code:-2
error:unsupported compression method
xZLib+srep:m3f+lzma:a1:mfbt4:256m:fb273:mc10000000 00:lc8+diskspan:7900mb:7950mb
Reply With Quote
  #820  
Old 11-07-2019, 06:55
PsYcHo_RaGE's Avatar
PsYcHo_RaGE PsYcHo_RaGE is offline
Registered User
 
Join Date: Mar 2018
Location: Darck Repacks
Posts: 167
Thanks: 121
Thanked 67 Times in 46 Posts
PsYcHo_RaGE is on a distinguished road
Quote:
Originally Posted by Saifuddin View Post
Thanks for the reply, I found where i was making mistake and it works the preview looks awesome. But now the setup doesn't read compressed data.bin it installs with no extracted files in the destination folder, create blank desktop shortcut and finishes installation.
any error pops up?

and are you sure that you have given the same name to the data files which you have in the script?
in the script, it should be something like this > data.bin or data.rip or data.xax
and the data file a.k.a compressed/repacked also should be having the same name which should reside in the same folder as setup.exe
__________________
I AM NOT LIKE ME, I AM LIKE YOU! XD
RIP DARCK!
Reply With Quote
  #821  
Old 11-07-2019, 06:57
PsYcHo_RaGE's Avatar
PsYcHo_RaGE PsYcHo_RaGE is offline
Registered User
 
Join Date: Mar 2018
Location: Darck Repacks
Posts: 167
Thanks: 121
Thanked 67 Times in 46 Posts
PsYcHo_RaGE is on a distinguished road
Quote:
Originally Posted by heihuanlanhun View Post
Help me,please.It is wrong.

unarc.dll returned an error code:-2
error:unsupported compression method
xZLib+srep:m3f+lzma:a1:mfbt4:256m:fb273:mc10000000 00:lc8+diskspan:7900mb:7950mb
check the decompression files a.k.a unpack files and also the settings in arc.ini
make sure every file is there for some purpose
__________________
I AM NOT LIKE ME, I AM LIKE YOU! XD
RIP DARCK!
Reply With Quote
The Following User Says Thank You to PsYcHo_RaGE For This Useful Post:
heihuanlanhun (11-07-2019)
  #822  
Old 11-07-2019, 10:24
heihuanlanhun heihuanlanhun is offline
Registered User
 
Join Date: Dec 2017
Location: china
Posts: 26
Thanks: 5
Thanked 1 Time in 1 Post
heihuanlanhun is on a distinguished road
Quote:
Originally Posted by PsYcHo_RaGE View Post
check the decompression files a.k.a unpack files and also the settings in arc.ini
make sure every file is there for some purpose
thanks.brother.i will try .
Reply With Quote
  #823  
Old 11-07-2019, 21:52
Saifuddin Saifuddin is offline
Registered User
 
Join Date: May 2019
Location: India
Posts: 5
Thanks: 3
Thanked 0 Times in 0 Posts
Saifuddin is on a distinguished road
Quote:
Originally Posted by PsYcHo_RaGE View Post
any error pops up?

and are you sure that you have given the same name to the data files which you have in the script?
in the script, it should be something like this > data.bin or data.rip or data.xax
and the data file a.k.a compressed/repacked also should be having the same name which should reside in the same folder as setup.exe
Yes no error pop ups. everythis is correct but it doesnt extract data.bin file. Then i checked it with WPI Wizard it worked. but this script and the script modified by Gupta also did not worked.
Reply With Quote
  #824  
Old 14-07-2019, 06:59
PsYcHo_RaGE's Avatar
PsYcHo_RaGE PsYcHo_RaGE is offline
Registered User
 
Join Date: Mar 2018
Location: Darck Repacks
Posts: 167
Thanks: 121
Thanked 67 Times in 46 Posts
PsYcHo_RaGE is on a distinguished road
Quote:
Originally Posted by Saifuddin View Post
Yes no error pop ups. everythis is correct but it doesnt extract data.bin file. Then i checked it with WPI Wizard it worked. but this script and the script modified by Gupta also did not worked.
weird, everything should work smoothly

btw, are you trying to become a repacker? i can help you only if you want to
__________________
I AM NOT LIKE ME, I AM LIKE YOU! XD
RIP DARCK!
Reply With Quote
  #825  
Old 14-07-2019, 22:24
Saifuddin Saifuddin is offline
Registered User
 
Join Date: May 2019
Location: India
Posts: 5
Thanks: 3
Thanked 0 Times in 0 Posts
Saifuddin is on a distinguished road
Quote:
Originally Posted by PsYcHo_RaGE View Post
weird, everything should work smoothly

btw, are you trying to become a repacker? i can help you only if you want to
No i dont, but i have games installed which i wanted to back it up. I dont have main installer of those games.
Reply With Quote
Reply

Thread Tools
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
Conversion Designer/Installer Creator Razor12911 Conversion Tutorials 1587 27-07-2019 22:47
Windows XP - Tricks gargujjwal Software 3 25-05-2008 02:54
Error Windows Installer: Command And Conquer 3 Kane Edition glfsd PC Games 14 24-01-2008 06:00
Frequently Asked Questions Joe Forster/STA PC Games - Frequently Asked Questions 0 29-11-2005 09:48



All times are GMT -7. The time now is 19:46.


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