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

Reply
 
Thread Tools Display Modes
  #781  
Old 12-04-2020, 06:14
pincoball pincoball is offline
Registered User
 
Join Date: Mar 2020
Location: Italy
Posts: 29
Thanks: 20
Thanked 10 Times in 8 Posts
pincoball is on a distinguished road
Ok I fixed it, it was a mistake I made in my script. Actually even leaving the Disk number in the records.ini unchanged works fine as well. Since it seems to be needed only to change the disk number that appears in the messagebox that appears in case of missing file

Last edited by pincoball; 12-04-2020 at 06:18.
Reply With Quote
The Following 2 Users Say Thank You to pincoball For This Useful Post:
KaktoR (12-04-2020), Titeuf (12-04-2020)
Sponsored Links
  #782  
Old 12-04-2020, 09:11
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,402
Thanks: 1,077
Thanked 7,005 Times in 2,653 Posts
KaktoR is on a distinguished road
Code:
v7.1.6
_____________________________________________________
- Fixed diskspan file search window
  > Clsinit function was missing and is now back
- Fixed positioning of CRC Checkbox on CompactMode
- If no Setup.ico is present, compiler will use default icon now instead of giving a error message while compile
- Added PMT support for MPZ
- Changed Time Remaining label
  > Before it showed "Infinity" if you used more then one record inside records.ini.
    If you use more then one record, Time Remaining will not show up anymore.
PS: Some of you may noticed the option "InternalCompression" inside Settings.ini. This setting does nothing until now, but in future there will be the possibility to use Inno build-in compression (lzma(2), zip) to use. I have to change big parts, especially for the time functions, progressbar and some other. I have no ETA but it may come in future.
__________________
Haters gonna hate

Last edited by KaktoR; 12-04-2020 at 09:21.
Reply With Quote
The Following 3 Users Say Thank You to KaktoR For This Useful Post:
mausschieber (12-04-2020), Titeuf (12-04-2020), XxAZAxX (12-04-2020)
  #783  
Old 12-04-2020, 12:00
XxAZAxX XxAZAxX is offline
Registered User
 
Join Date: Jul 2018
Location: LUNA
Posts: 26
Thanks: 48
Thanked 6 Times in 5 Posts
XxAZAxX is on a distinguished road
Smile FIX Italian Custom Message

Hi, I am new in your world ... I have reviewed the files in "Italian" language since I am of Italian mother tongue, and I found errors scattered a little here and there, so I wanted to correct them and maybe share them for the other users I have thought it might help. Thanks for your splendid Script.

=============================================
Attached Images
File Type: png Screenshot_1.png (57.0 KB, 259 views)
Attached Files
File Type: zip FIX Italian Message.zip (8.7 KB, 9 views)
Reply With Quote
The Following User Says Thank You to XxAZAxX For This Useful Post:
KaktoR (12-04-2020)
  #784  
Old 15-04-2020, 12:00
pincoball pincoball is offline
Registered User
 
Join Date: Mar 2020
Location: Italy
Posts: 29
Thanks: 20
Thanked 10 Times in 8 Posts
pincoball is on a distinguished road
I've been trying to repack this sample file (helloworld.dat) with this method (and UltraARC R7)

Code:
xZLib+srep:m1f:l512+4x4:b128mb:lzma:a1:mfbt4:64m:fb273:mc1000000:lc8
It always gives me Error -12 on failed CRC check. I've been repacking this files among other files but it gives the error only on this one.

Here there are the original file
https://gofile.io/?c=DWMX4V

and compressed one
https://gofile.io/?c=EqIKaK

Is there something I can do for decompress it correctly? I don't know if it is right posting it here since it is a rather generic problem

Last edited by pincoball; 15-04-2020 at 12:02.
Reply With Quote
  #785  
Old 15-04-2020, 12:31
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,402
Thanks: 1,077
Thanked 7,005 Times in 2,653 Posts
KaktoR is on a distinguished road
This file has no streams, therefore xtool is useless on this.

exclude this file using xtool or try with ztool instead.

the file unpack works properly without xtool.
__________________
Haters gonna hate
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
pincoball (15-04-2020)
  #786  
Old 15-04-2020, 12:57
pincoball pincoball is offline
Registered User
 
Join Date: Mar 2020
Location: Italy
Posts: 29
Thanks: 20
Thanked 10 Times in 8 Posts
pincoball is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
This file has no streams, therefore xtool is useless on this.

exclude this file using xtool or try with ztool instead.

the file unpack works properly without xtool.
Sorry for the dumb question, but how do see that the file has no stream? And also have you been able to unpack it from the archive I posted or a recompressed one? What are at this point the difference of using Xtool and Ztool in this case?

I would say I surely lack of knowledge of about compression and would like to know how to see in advance what I should exclude in general when using Xtool.
Reply With Quote
  #787  
Old 15-04-2020, 13:28
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,402
Thanks: 1,077
Thanked 7,005 Times in 2,653 Posts
KaktoR is on a distinguished road
Throw an eye inside the detectors folder (I guess you know because UltraArc R7 is from there).

XTool has some bugs left, but not noticeable most of the time (well this time it is noticeable )

And no, I was not able to unpack the file, only recompress without xtool.
__________________
Haters gonna hate
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
pincoball (15-04-2020)
  #788  
Old 18-04-2020, 10:40
nicola16's Avatar
nicola16 nicola16 is offline
Registered User
 
Join Date: Nov 2008
Location: Italia
Posts: 74
Thanks: 23
Thanked 15 Times in 12 Posts
nicola16 is on a distinguished road
I found a code and modified it you say it looks like it?
Quote:
; Elamigos example username page ini file section
[INI]
Filename: {app}\uplay_r1_loader.ini; Section: Settings; Key: UserName; String: {code:GetUserName}


; Elamigos example username page code sections

[code]
var
UserNamePage : TInputQueryWizardPage;

procedure InitializeWizard;
begin
UserNamePage := CreateInputQueryPage(wpWelcome,
'Modificare il nome del giocatore', 'Nome del giocatore',
'Cambia il nome utente nel gioco');
UserNamePage.Add(' Username:', False);
end;

function UserNameForm_NextButtonClick(Page: TWizardPage): Boolean;
begin
Result := True;
end;

function GetUserName(Param: String): string;
begin
result := UserNamePage.Values[0];
end;

Last edited by nicola16; 18-04-2020 at 11:07.
Reply With Quote
  #789  
Old 20-04-2020, 09:23
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,161
Thanks: 284
Thanked 1,354 Times in 614 Posts
Masquerade is on a distinguished road
Hey there, I'm using A.S.I.S 7.1.4 still but I'm encoutering a small issue.

I normally could use packjpg/packmp3 without issues (I just added them into Arc.ini and used the BPK folder to include them because anything that goes in there gets included in the installer).

Now however, when I try and decompress a file packed with either, it just crashes without an error message. I haven't changed any files in my compressor or installer before the issueso I'm not sure what could be causing it. It's only with these 2 compressors.

Also, on an unrelated note: is it possible to remove the Compressors.ini file and replace it with a simple Include folder that just intakes everytihng inside, just like the BPK folder?

Thanks again for the brilliant installer script.
Reply With Quote
  #790  
Old 21-04-2020, 08:58
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,402
Thanks: 1,077
Thanked 7,005 Times in 2,653 Posts
KaktoR is on a distinguished road
packjpg/packmp3 are already included inside MPZ folder.

Maybe the files cause the error (jpg/mp3). Did you try to unpack them with a batch file instead to see if the error comes actually from the script itself?

Yes it is possible, but you could also just move all files you need inside FreeArc folder.
__________________
Haters gonna hate
Reply With Quote
  #791  
Old 23-04-2020, 12:07
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,161
Thanks: 284
Thanked 1,354 Times in 614 Posts
Masquerade is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
packjpg/packmp3 are already included inside MPZ folder.

Maybe the files cause the error (jpg/mp3). Did you try to unpack them with a batch file instead to see if the error comes actually from the script itself?

Yes it is possible, but you could also just move all files you need inside FreeArc folder.
Sorry it took me a while to get back to you, but I did a bit of digging and when I was rearranging my Arc.ini in the Installer, I missed out a line causing everything to turn nasty:

Compress:
Code:
[External compressor:packjpg]
header = 0
packcmd = packjpg_x64 -np $$arcdatafile$$.jpg
datafile = $$arcdatafile$$.jpg
packedfile = $$arcdatafile$$.pjg
solid = 0
Unpack Arc.ini
Code:
[External compressor:packjpg]
packcmd = packjpg_x64 -np $$arcdatafile$$.jpg
datafile = $$arcdatafile$$.jpg
packedfile = $$arcdatafile$$.pjg
solid = 0
Added the header = 0 line back and now all is good. Thanks again for the great script.
Reply With Quote
  #792  
Old 24-04-2020, 02:17
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,161
Thanks: 284
Thanked 1,354 Times in 614 Posts
Masquerade is on a distinguished road
The issue with the Bonus Components Back Button going missing is still happening.



I suggested changing screen resolution.

Apologies for giving you all of these problems I really wish I could help.
Reply With Quote
  #793  
Old 24-04-2020, 03:14
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,402
Thanks: 1,077
Thanked 7,005 Times in 2,653 Posts
KaktoR is on a distinguished road
I think the problem is
Code:
Left        := ScaleX(WizardForm.ClientWidth - 80);
    Top         := ScaleY(WizardForm.ClientHeight - 28);
I will try to use absolute numbers without doing math.

Otherwise I don't know
__________________
Haters gonna hate
Reply With Quote
  #794  
Old 28-04-2020, 06:25
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,402
Thanks: 1,077
Thanked 7,005 Times in 2,653 Posts
KaktoR is on a distinguished road
The previous update had some bugs left, here is the hotfix

Code:
v7.1.7 Hotfix
_____________________________________________________
- Fixed "OK" button on components page (CompactMode) with higher desktop resolutions
  > Hopefully this will be the last one
- Fixed "Background" button on FinishedPage with special settings
- Added a new [Executable#] section to Settings.ini
  > There will be set executables for shortcuts
- Reworked creating icons for your application
  > It is now possible to set/create more then one icon
  > Theoretical you can create an infinite number of shortcuts
- Updated all languages
- Some script cleanup, now be less unneccessary doubled codes and trash 
- Hotfix: Fixed hash check if more then from 1 disc/iso is installed
  > Before the file was extracted on hash page, and if you were installing from more
    then one disc/iso and changed the disc/iso, Installer couldn't extract the file 
    because Setup.exe was not in {src} folder anymore, so you had to remount the disc/iso
    and click "Retry" to start the hash check. This is now fixed.
- Hotfix: Fixed broken FinishPage if CRC checkbox was checked (NormalMode)
If you encounter more then tell me please
Attached Files
File Type: 7z Update.v7.1.7H.7z (3.74 MB, 25 views)
__________________
Haters gonna hate
Reply With Quote
The Following 2 Users Say Thank You to KaktoR For This Useful Post:
pincoball (28-04-2020), Titeuf (28-04-2020)
  #795  
Old 28-04-2020, 09:24
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,161
Thanks: 284
Thanked 1,354 Times in 614 Posts
Masquerade is on a distinguished road
I was wondering if it's possible to change the button placement in compact mode? I'm having a little play around with the layout and I can move everything so far except from the install, pause and cancel buttons. Is there something I'm missing?

Code:
  PauseButton := TNewButton.Create(WizardForm);
  with PauseButton do
  begin
    Parent  := WizardForm;
    Left    := ScaleX(10);
    Top     := ScaleY(310);
    Width   := ScaleX(225);
    Height  := ScaleY(23);
    Caption := ExpandConstant('{cm:Pause}');
    OnClick := @PauseButtonClick;
  end;
Here's an example. According to the above config, the button should be larger and on the left instead of the right, however ther button still appears in the top right.

I extended the installer slightly to 500 (Y) value, so that's why the button can go lower than the normal compact mode window.

Is there some kind of lock on the button / or can buttons not be resized or moved?
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
[Help] need Advanced Installer script with Razor1911's UltraArc module rez3vil Conversion Tutorials 3 15-04-2024 03:24
Portable Installer Inno Setup Script y_thelastknight Conversion Tutorials 59 23-10-2020 01:02
INDEX - Conversion Tutorial Index Razor12911 Conversion Tutorials 5 11-06-2020 03:05
Simple Arc Installer 78372 Conversion Tutorials 1 15-06-2017 16:37
MSC+Srep+lzma Simple Script Example gozarck Conversion Tutorials 10 07-09-2015 17:31



All times are GMT -7. The time now is 02:15.


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