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

Reply
 
Thread Tools Display Modes
  #1  
Old 27-05-2017, 05:05
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 1,986
Thanks: 512
Thanked 2,779 Times in 995 Posts
KaktoR is on a distinguished road
[CIUv2] Custom Installer Ultimate v2 Project Source Codes

Code:
################################
########### v2.0.3.9 ###########
################################
Update 14.2
-Fixed SmallInstaller_<LANG>.png image not found bug
-Fixed language box balloon tip title in unicode languages (show correct unicode characters)
-Fixed to show BalloonTip if selected language box option ShowOnly=0
-Fixed system bars on system requirements page when the space of the text area is insufficient
  > Decrease the bars to not overlap the labels on the left
-Fixed SmallInstaller labels shadows
  > Now if the SmallInstaller is created the shadow options will be read first in the SmallInstaller section and if there is no search for the values 
    in the TextStage section
  > If the SmallInstaller is not created the shadow values in the TextStage section will be read
  ** The percentage label can not add shadow because it is not a label, it is a button text
-Fixed the hiding of the labels of the page installing by the percentage label
  ** The label percentage was overwriting the texts of others if you used ProgressImg.png with a high Height value,
     but the visible progress area of the png was smaller and moved the labels over the ProgressImg.png image.
-Fixed text wrapping on label "LabelCurrFileName" that occurred when extracting files with long paths
-Added MusicIcon, MusicIconAR sections to Setup.ini (compatibility to upgrade CI to CIU with border)
  > Music Button Icon name as MusicIcon.png, MusicIconAR.png
  > Options in section MusicIcon or MusicIconAR: Left, Top, Width, Height, Visible
-Added localized site option in Setup.ini [WebSite#Button] section 
  > Site=, SiteEN=, SiteDE=, SiteFR, ...
-Added support for locale (LANG) in Setup.ini keys Text= in the sections Play#Button, Readme#Button and Manual#Button
  > Now just put Text<LANG>= as example TextEN= to english language
-Added [IniFileInfo] section on Setup.ini
  > SetIniFile#={app}\FileName.ini; Section: Settings; Key: Language; Value: EN=english|ES=Spanish|FR=French|DE=German
  > "Create: 1" - Force to create file if not exist
-Added separate Logo sections for Installer, Autorun and Background
  > There are now 3 separate sections: [Logo], [LogoAR] and [LogoBG]
  > Section [LogoAR] Images: Setup\Autorun\LogoAR.png ... Setup\Autorun\LogoAR_<LANG>.png
  > Section [Logo] Images: Setup\Setup\Logo.png ... Setup\Setup\Logo_<LANG>.png
  > Section [LogoBG] Images: Setup\Background\LogoBG.png ... Setup\Background\LogoBG_<LANG>.png
-Added option to create Installer without autorun page (delay on update labels and shadows, will be corrected later)
  > To use the installer without autorun just rename the Autorun folder, or delete the image Autorun.png
  > Language bar will be visible on Installer page
-Added option MoveY= to [ProgressBar] section
  > MoveY need to adjust uninstall ProgressBar or if not use Backgrund images
  > First set value to MoveY, and after set ProgressBar top value (Top = Top - MoveY)
-Added 3 new shadow colors options (Optional) in all buttons section
  > ShadowColorSelected, ShadowColorClicked, ShadowColorDisabled
-Added ClickAreaLeft, ClickAreaTop, ClickAreaWidth, ClickAreaHeight in the groups of button groups (StandardButton, StandardButtonAR, SmallButton)
  > Previously these functions only existed within the section referring to the button, as for example in the sections NextButton and SmallCancelButton
  > Now it will be searched for by the ClickAreaXXXXX values within the section corresponding to the button and if there is no value in the section,
    it will be searched within the group section of buttons.
-Added 4 new options in the [ProgressBar] section.
  > These are the values that the bar starts to appear
    * SpaceLeft = >> Space where only Progressbackground.png exists during uninstallation or installation without the SmallInstaller. Only from the value will the progress bar be shown. This point is the 0% position of the progress bar.
    * SpaceRight = >> Empty space at the end of Progressbackground.png in the UninstallPage or installer without the SmallInstaller. This point is the 100% position of the progress bar.
    * SmallSpaceLeft = >> Space in which there is only Progressbackground.png in the SmallInstaller. Only from the value will the progress bar be shown. This point is the 0% position of the progress bar.
    * SmallSpaceRight = >> Empty space at the end of Progressbackground.png in the SmallInstaller. This point is the 100% position of the progress bar.
-Added "#define ProgressBarPercentTest XX" function for converson creators 
  > Set the progress bar by setting percentage of the progress bar and pausing to display the progress bar
  > If define percent value 0 to 100 to pause progress bar only to test in creation of the conversion	  
-Added in Setup.ini a section called [SubTitle] that is unique to subtitles. Subtitle section includes keys:
  > MoveY, Delay, Font, FontSize, FontColor, FontUC, FontBold, ShadowVisible, ShadowColor, ShadowMoveX, ShadowMoveY
  * The key Delay was moved from the Background section that was previously called SubtitleDelay
  * See _Setup.ini file for a better understanding of each item in the SubTitle section.  
-Changed all options "Shadow=" to "ShadowVisible=" in Setup.ini
Hotfix: Fixed archive merging for ultraarc


Update 14.1
-Fixed LabelX= bug when you have set Alignment=right in installer buttons
-Fixed ™ © ® ª º characters in Setup.ini values
-Fixed a problem with Equalizer on Installer screen if you disabled music on Autorun page
-Fixed to show custom cursor on CheckBoxes (Licence Page, Components Page, Launcher Page)
-Fixed Installer page image mask error
-Fixed to show SmallInstaller buttons (BringToFront Buttons)
-Fixed custom cursor language selection arrows 
-Fixed equalizer line for visible when stopping the music
-Fixed Equalizer option Visible=0 it was not working
-Changed WebsiteButton, ReadmeButton and ManualButton
  > Unlimited amount is possible again
-Changed AreaLeft to ClickAreaLeft, AreaTop to ClickAreaTop, AreaWidth to ClickAreaWidth, AreaHeight to ClickAreaHeight
-Changed some Setup.ini section names 
  > [ExitButton] to [CloseButton] (also its belonging images - Exit.png to Close.png, etc.)
  > [Exit2Button] to [CloseARButton] (also its belonging images - Exit2.png to CloseAR.png, etc.)
  > [Exit1Button] to [ExitButton] (also its belonging images - Exit1.png to Exit.png, etc.)
-Added automatic bitmap mask creation for Autorun.png, Installer1.png and SmallInstaller.png
  > Make sure bitmap masks do not exist in Autorun/Setup folder
  > Make sure that the CreateMask = option in Setup.ini is NOT set to 0
-Added play sound to Equalizer on mouse enter (Mouse Leave)
-Added new option BetweenStripes= in Equalizer section in Setup.ini
  > Space between columns (BetweenStripes) and space between blocks (BetweenBlocks) can be set separately
-Added new [BackGround] section in Setup.ini
  > Some keys have been moved from [InterfaceSettings] section to [BackGround] section and renamed
  > New options in [BackGround] section:
     >> AnimationEfect=          {Value default 1}     // Suported value 1 to 12 (1=Random Effect | 2=Alpha Blend | 3=Blocks | 4=Circle | 5=Diagonal | 6=Fuse | 7=InterLaced | 8=Page | 9=Radial | 10=Roll | 11=Waterfall | 12=Wipe)
     >> AnimationSlideTime=      {Value default 10000} // Slide time in miliseconds (If value 0 divides the progress bar by the number of slides)
     >> AnimationTransitionTime= {Value default 1000}  // Transition time in milesecconds
-Updated IsSlideShow.dll to version 1.03
-Updated "Equalizer_Calculator_Tool" to v1.0.0.3
  > Now it's possible to create bitmap masks to later import in photoshop and color the equalizer, block by block
  > Black color in mask is a equalizer visible part
-Updated alternative DiskSpan.bat compressor
  > It is now possible to choose Shutdown [Y/N] and Create ISO [Y/N] before compression
  > Also it creates now a log file with precise time stamps and Actions

Hotfix 1: Fixed "SmallInstaller_<LANG>.png" not found error


Update 14
-Removed OggDecode and xdelta
  > Not needed anymore
-Added Equalizer to SmallInstaller
  > Setup.ini [EqualizerSI]
  > Setup\Setup\EqualizerSI.png
-Added Visible= option for Play#Button
  > For Play1Button default value is Visible=1, to all other Play#Button default value is Visible=0
-Added support for custom cursor in InfoPage
-Added option AboutFontColor=$0000000 (RGB) in Setup.ini into section [InterfaceSettings]
  > With this option, you can change the font color in InfoPage (right-click on installer surface)
-Added option Stretch= for [ProgressBar]
  > If set to 1, ProgressImg.png will be stretched when progress goes on (default, like before)
  > If set to 0, ProgressImg.png will appear as a real progress (example: https://i.imgur.com/Q5tzZeN.png)
-Added 5 new options to all Equalizer sections in Setup.ini
  > BetweenBlocks={Default = 1}. Space between blocks (vertical and horizontal) (Grid)
  > AwayLine={Default = 1}. Distance between full line and Equalizer blocks
  > Position={1, 2, 3, 4} or {Bottom, right, top, left} {Default = BOTTOM}. According to the preference. No case sensitive
  > HideLine={Default = 0}. Hide first line (Hide full line)
  > AnimationTime={0 to 100} {Default 50}. Equallizer animation speed. Default value (50) is at the same speed as currently used
-Added ShadowVisible=, ShadowColor=, ShadowMoveX=, ShadowMoveY=
  > Added to all buttons, [MinSystemReq], [Title] and [BigTitle]
  > [RecSystemReq] will take values from [MinSystemReq]
-Added "DUAL" definition for compressors in "External Compressor.ini" which has x64 and x86 version
  > If set to "DUAL", both x64 and x86 will be included. Installer will use x64 or x86 depending on OS architecture
-Added localized button sounds and a few images
  > (A)ButtonSelected_<LANGSHORT>.wav, (A)ButtonClicked_<LANGSHORT>.wav
  > Autorun_<LANGSHORT>.png, Installer#_<LANGSHORT>.png, SmallInstalle_<LANGSHORT>.png
    Logo_<LANGSHORT>.png, TextBG_<LANGSHORT>.png
  > Splash#_<LANGSHORT>.png, SplashAR#_<LANGSHORT>.png
-Changed language for Portuguese and Portuguese (Brazil) to PT / PTBR
-Changed back Eula and Subtitle file names
  > It is now Eula_<LANGSHORT>.rtf and Subtitle_<LANGSHORT>.srt again
-Changed some Setup.ini section names 
  > [Flash1] to [Flash]
  > [Exit2Button] to [ExitARButton] (also its belonging images - Exit2.png to ExitAR.png, etc.)
  > [Exit1Button] to [CloseButton] (also its belonging images - Exit1.png to CloseAR.png, etc.)
  > [WebsiteButton] to [Website1Button] (also its belonging images - Website.png to Website1.png, etc.)
-Changed ManualButton and ReadmeButton
  > It is now possible to only have 2 buttons for each
-Facompress is always active now
-Fixed LabelX= bug when you have set Alignment=right in installer buttons
-Fixed minor Bugs

Update 13.7
-Added Creator Mode
  > With this option you don't have to recompile everytime when you make changes (reads external Setup.ini)
  > Before you post your conversion, disable Creator Mode in script
-Fixed registry remove
  > Stuff that was added with Registry.iss will now be removed after uninstall
-Fixed balloon tip that does not appear on the active language flag
-Fixed a error that when including x64 compressors, also x86 were added
-Fixed custom cursor on the indicator bars of the System Requirements page
-Updated UltraARC R5 (thanks to Simorq)
  > Also added some settings to CIU Arc.ini to be compatible with UltraARC R5

-Hotfix1: Fixed a compile error when your Conversion has a ' character in name

Update 13.6.4
-Fixed CLS-DiskSpan component installation
  > Installing components with DiskSpan is now possible!
  > Component archives must be named as Data1.001 (for Component 1), Data2.001 (for Component 2), etc.
-Fixed EULA page if you used EulaENUS.rtf + EulaENUK.rtf
-Fixed another EULA bug with OS language
-Fixed UWP Game uninstallation when you Uninstall the game with Setup.exe instead of UnInstall.exe
-Fixed the "System can't find mentioned path" error
  > It was a bug in shortcut creation for {group} constant
-Fixed leaking ghost button on SmallInstaller in some special circumstances (testing)
-Fixed Setup.ini Tab bug
-Fixed minor bugs
-Removed ReflateDLL/pZLib3 from CIU
  > Not needed anymore because we have ZTool/XTool, + less confusing for some people :)
  > Only enable ZTool or XTool, not both at the same time!
  > Because they have some same files but different file versions!
-Replaced LabelCurrFileName with a message for UWP_Tool.exe when it's registering a UWP game at the end of installation
  > Instead a file name, you will now get a text like "Registering UWP Game"
-Added SendToBack= option for progress bar images
  > If set to 1, ProgressBackground.png is in background, ProgressImg.png is overlapping ProgressBackground.png
  > This is usefull, if you use full collored progress bar images
-Added BalloonTip= and BalloonTipTitle= (tooltip)
  > If set BalloonTip=1, language flags will have a balloon tip (tooltip) if you hover the mouse cursor over it
  > If setp BalloonTipTitle=1, Balloontips will have a "Language" title over it in the respective language you've choosen
-Added ShortcutProt= and RunAsAdmin= to [Executable#]
  > ShortcutProt=1 protects shortcut properties
  > RunAsAdmin=1 set the shortcut to "Run as admin" in file properties
  > If both options are set to 1, the "Run as admin icon" will not appear on shortcut
-Updated DiskSpan batch compressor for single archive and component archive
  > You can find it in _Tools\DiskSpan\Original folder
-Updated Too_lazy_to_copy_myself.bat to match with new versions
  > You can find it in _Tools\Too_lazy_to_copy_myself folder
  > Also added shell support made by Simorq
-Updated UltraARC to v2.9.0.0 R5 BETA
  > Supports now XTool

Update 13.5
-Updated Script (thanks to LuisCésar82)
  > Compiling with Inno EE is not longer neccessary (you can use standard Inno Unicode now)
  > Setup extraction is a bit slower now (just a few ms), but script editor have more choices (Inno EE was limited)
  > Removed some things
-Changed file handling for compressors, especially for xTool
  > Now you don't have to put ExtractTemporaryFile('') anymore
-Updated UWP Tool to Beta 6
-Fixed ISDone error (ERROR_INIT_LOW_MEM) (thanks to Simorq)
-Splash images should now named as "Splash#.png" for Setup splash between Autorun and WelcomePage, 
 and "SplashAR#.png" for Setup splash before Autorun
-Joined all .iss modules into the main script (facilitate debug mode)
-Modified "External Compressor.ini" handling
  > F.e.: "#Define SevenZip "x64"" to define x64 and only use "#Define SevenZip" to define x86
  > Defined in this way simplifies the script
-The files included in the CIU were organized
  > Realocated "Langsymbols" folder into folder "Languages".
-Added About.png in Setup folder
  > Background Info form image 500x480 pixels
-Added support for GIF splash images
  > Setup\Autorun\SplashAR1.gif / Setup\Setup\Splash1.gif
  > It's only possible to use GIF or PNG for one folder, not both
  > However, you can use GIF for Autorun and PNG for Setup splash (or vise-versa)
-Fixed Manual/Readme button
  > Changed Readme function: "{src}\Readme\Readme[any extension]" or 
    "{src}\Readme\Readme[ActLangShort][any extension]" as .txt, .doc, .docx, etc.
  > The same for Manual: "{src}\Manual\Manual[any extension]" or 
    "{src}\Manual\Manual[ActLangShort][any extension]" as .pdf, .html, etc.
-Removed InnoCallback.dll (now CallbackCtrl.dll is used where it's necessary)
-Updated to botva2 library 0.9.9.156
-Added support for Cursor.ani (animated cursor)
  > If both "Cursor.cur" and "Cursor.ani" exist, Setup will use "Cursor.cur"
-Updated ISSysInfo to v0.1.9.9 (thanks to peterf1999)

Update 13.4
-Updated Xtool to v0.9/0.10 (thanks to Razor12911)
-Fixed standard directory for UWP installation
-Changed UWP Tools (thanks to LuisCésar82)
  > To configure it, select UWP_Tool.exe, press CTRL+Enter and HOLD CTRL until UWP_Tool.ini is open
  > To save UWP_Tool.ini, just press CTRL+S. UWP_Tool.exe will be updated with new INI automatically
  > To import UWP_Tool.ini, copy it to UWP_Tool.exe path, run tool by pressing CTRL
  > To export UWP_Tool.ini, select UWP_Tool.exe, press CTRL+SHIFT+Enter and HOLD CTRL+SHIFT until INI is exported

Update 13.3
-Updated Xtool to v0.7 (thanks to Razor12911)
-Merged standard and UWP script to a single one.
  > Added UWPGame= option to Setup.ini under [InstallOptions]
-Added nocompression flag to mp3 and video files
  > Faster Setup.exe creation, no compression loss in Setup.exe size, faster extracting setup files
-Added switch for original ISDone.dll into script
  > If you encounter error (ERROR_INIT_LOW_MEM), enable ISDoneOriginal and recompile Setup.exe

Update 13.2
-Updated UELR to v0.1.1c (thanks to Edison007)
-Changed width for Equalizer(AR).png to 200px
  > Script will decrase width automatically if given options are mathematically below 200px
  > Script does the math as follow: NumberOfStripes * BlockWidth + 2
-Updated XTool to v0.3 (thanks to Razor12911)
-Removed pOodle

Update 13.1:
-Updated Hebrew language (thanks to VollachR)
-Removed Update feature and other not needed stuff from script
-Updated XTool

Update 13:
-Added XTool (thanks to Razor12911)
-Re-added DLZ
-Added option for animated backgrounds to Setup.ini
  > You can find it in [InterfaceSettings]
-Added option for 64-Bit OS to Setup.ini
  > You can find it in [InstallOptions]
-Added TASKKILL for AFR and XTool
-Corrected a bunch of wrong orders and duplicates in Setup.ini
-Removed a bunch of debug/not needed stuff from script
-Fixed button sound bug (thanks to LuisCésar82)

Update 12:
-Added background animations (thanks to Razor12911)
-Added better MPZ files (?)

Update 11:
-Added compatibility with UDiskSpanR2 by Razor12911 (Alpha)
  > Whenever you share Setup.exe with DiskSpan, share Records.ini too!
-Added Password to Records.ini
-External Compressor updated
-CLS.ini updated
-TASKKILL optimization for pZLib
-Reduce False Positives

Update 10:
-Added compatibility with UWP games 
  > (leave [Executable#] blank in Setup.ini if you make UWP conversions)
  > Default install dir is now on (SystemDrive)\Users\(UserName)\UniversalApps\(ApplicationName)
-Fixed cls for bink unpack 
  > should be packed with [ExtComp:bpk]
-Added MPZ Slimmer
-Seperated lolz (x64, x86)
-Fixed pOodle decompression 
  > (fixed large and lower case (it is important for arc.ini) + added missing dll files) 
  > should be packed with [ExtComp:pOodle]
-Updated RAZOR to v1.03.6

-Hotfix 1: Fixed DirEdit when you leave mouse cursor (it stays now on "input")
-Hotfix 1: Fixed desktop shortcut creation for UWP games (use [Executable#] in Setup.ini, point to "UniUWP_Launcher V2.exe")
-Hotfix 1: Changed behavior for copying UWP executables for registration, uninstallation and launching

Update 9:
-Added AFR Alpha 7 + stdIO patch (Edison007, Razor12911)
-Added file checks for skin files. If no skin is included, skin dll files will be not included in Setup (saving some MB)
-Fixed ProgressBar, if Height is set to 0, is empty or disabled, 16 will be used instead (thanks to Altef_4)

-Hotfix 1: Fixed vsf/cjstyles skin if one of them are not present in Setup folder (compile error)
-Hotfix 2: Fixed arc.ini (sorry)

Update 8:
-Added Precomp, BinkPack, DLZ, lolz, OGGRE, pOodle, UELR, RAZOR
-Added some INI's

Update 7:
-Added compatibility for UltraARC R3 Hotfix (v2.8.0.1)

Update 6:
-Changed names for (A)Button.wav/(A)ButtonOnMouse.wav to (A)ButtonClicked.wav/(A)ButtonSelected.wav
-Changed names for FontColorOnMouse/FontColorMouseDown in Setup.ini to FontColorSelected/FontColorClicked
-Added ChineseS language
-MinimizeButton now plays sound again ((A)ButtonSelected.wav), same as ExitButton

-Hotfix 1: Fixed a bug where installer freezes after double clicking on surface (thanks to houcine80)
-Hotfix 2: Fixed wrong SrepInit which causes problems for some users
-Hotfix 2: Fixed VCL Styles for RequestDisc window, SelectFolder window, InfoWindow

Update 5: (removed)
-Fixed leaking Button on SmallInstaller (thanks to LuisCésar82)

Update 4:
-Added zTool by Razor12911
-Removed vpatch (not needed anymore)
-Rebuilt Splash#/SplashAR# handling. Splash# is now in Setup\Setup folder again (again thanks to LuisCésar82)
-Fixed showing Splash#/SplashAR# using UnInstall.exe

Update 3:
-Added SplashAR#.png to Autorun folder. This SplashAR#.png appears before the Autorun page. If not needed, delete all SplashAR#.png in Autorun folder.
-Re-added WikiPage to InfoPage
-Removed languages for Autorun.png, Logo.png, Installer.png and Splash.png (they were never in use in CIU history)

-Added Multiple Splash ( see Splash subfolder )
-Added functions from 2.0.3.8d Internal
-Updated Romanian translation
-Added Checked= option to [Component#] and [Launch#]. 1 = default state (checked), 0 = turned off (not checked)
-Replaced split.exe with advsplit.exe

-Hotfix 1: Fixed a bug where Setup asks for "ReflateAPI.exe"

Known Bugs:
-If disable DirectX= in Setup.ini, System Page not showing (i don't know why)
-For [ProgressBar] you have to set any number greater then 0. Otherwise progressbar doesn't show

################################
##### v2.0.3.8.d Internal ######
################################

-Added #define SpecialRegChars for names with special chars (') for registry.iss (thanks to peterf1999)
-Rearranged [Files] section, get rid of left overs
-Updated split.exe (testing)
-Updated german translation
-Removed ReflateSTD (thanks to Simorq)
-Added Checked= option to [Component#] and [Launch#]. 1 = default state (checked), 0 = turned off (not checked). I'm not always in the mood to disable all manually :p

-Hotfix 1: Fixed importing registry.iss
-Hotfix 2: Fixed Music Button
-Hotfix 3: Fixed HW page

Known Bugs: If disable DirectX= in Setup.ini, System Page not showing (i don't know why ^^).

Update 3:
-Updated italian translation
-Replaced split.exe with advsplit.exe
-Removed #define SpecialRegChars
-Added ' character for registry.iss  (thanks to LuisCésar82)

Update 4:
-Fixed ProgressBar Height (thanks to sajmon83)

################################
####### v2.0.3.8.c Final #######
################################

-Completely reworked ExternalCompressors. Now decompressing reflate is possible again (big thanks to Simorq)
-Removed doubled Ghz from Processor (HW page)
-Translated some UltraArc messages (hopefully more to come). Non-translated languages use english as default as long as no translation is aviable (big thanks to LuisCésar82 for helping me out)
-Fixed FontSize for CPU (HW Page). It's now 6 instead of 7, as intended.
-Small additions to InfoFormPage
-Removed Noodle
-Removed NanoZip

Update 1:
-Updated german translation
-Updated italian translation
-Removed #define SpecialRegChars
-Added ' character for registry.iss (thanks to LuisCésar82)

Update 2:
-Fixed ProgressBar Height (thanks to sajmon83)
-UltraARC 2800 R2 Edition compatible
Hotfix: -Fixed ProgressBar Height again :D
Hotfix 2: No jokes, seriously, ProgressBar is fixed! 


################################
###### v2.0.3.8.c beta 1 #######
################################

-Ported hardware info to ISSysInfo.dll (thanks to peterf1999 for the great job)
-Removed duplicate files (thanks to LuisCésar82)


################################
#########  v2.0.3.8.b  #########
################################

-Added editable folder field to manually type installation dir
-Fixed a bug where using pzlib compression always gives out a -12 crc error code
-Removed WikiPage


################################
#########  v2.0.3.8.a  #########
################################

-Changed collor notation from $BGR to $RGB
-Added ConversionPage= to Setup.ini
-Added ConversionPage and WikiPage to InfoForm
-Added Hebrew (again^^) and updated Indonesian (again^^) (thanks to vollachr and edwinkyr)
Since yener90 (the initial creator) and BAMsE (the former modder) moved away (for differently reasons, i wish you all the best ) we decided to move on and continue this project as best as we can.

Special thanks goes out to all of you who helped making this possible.

I decided to create a own topic for this, since the UltraArc thread should be only for UltraArc purposes. It's just confusing to publish and discuss two subjects on one for another purpose declared topic.


Some Info left: If you like to protect your setup (images, music, ...), go here -> http://fileforums.com/showthread.php?t=99345


For newest versions of UltraArc and discuss/help, check this thread -> http://fileforums.com/showthread.php?t=96619


Thanks to: BAMsE, Razor12911, Simorq, peterf1999, pakrat2k2, LuisCésar82, mausschieber, Chayan Manna, for their help in making the script even better


How to use CIU with UltraARC?
As always

How to use CIU with DiskSpan?
Compile Setup.exe, share Setup.exe + Records.ini (probably you must changed archive name inside Records.ini) alongside with diskspan compressor (use the one from Razor12911 or UCC from VollachR).

What are the differences between UltraARC and DiskSpan?
UltraARC will create splitted archives, which will be merged on installation before data file unpacking starts. DiskSpan creates splitted archives too, but no need to merge them (similar as rar/7z splitted archives), means less I/O.
UltraARC supports Masked data compression, while DiskSpan does not.
__________________
Haters gonna hate
RIP Voksi

Last edited by KaktoR; Yesterday at 14:37.
Reply With Quote
The Following 36 Users Say Thank You to KaktoR For This Useful Post:
0xffaded (10-06-2017), 78372 (09-07-2017), ahmetbtmn (05-02-2018), altef_4 (06-06-2017), arkantos7 (29-05-2017), Cesar82 (03-06-2017), Chayan Manna (27-05-2017), clagby (23-05-2018), Crash24 (15-08-2018), Crynuvo (27-05-2017), DarkSyrius (25-12-2017), EzzEldin16 (13-08-2017), Grumpy (27-05-2017), GTX590 (28-05-2017), houcine80 (27-05-2017), JRD! (23-10-2017), kassane (27-05-2017), macut18 (07-06-2017), mamamiaf (21-03-2018), mausschieber (28-05-2017), MOSTAPHA_VIP (05-03-2018), nemesis8 (17-11-2017), nsaer (08-07-2018), oltjon (09-05-2018), omdj (27-05-2017), pakrat2k2 (27-05-2017), rambohazard (27-03-2018), Razor12911 (30-05-2017), rez3vil (21-08-2017), sajmon83 (11-06-2017), Simorq (31-05-2017), Stor31 (07-06-2017), SunLion (31-07-2018), Titeuf (19-06-2017), wit (25-06-2017), zirkhaki (28-10-2017)
Sponsored Links
  #2  
Old 27-05-2017, 05:11
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 1,986
Thanks: 512
Thanked 2,779 Times in 995 Posts
KaktoR is on a distinguished road
Still needed translations:


Code:
UltraArcMessage1=Extracting %1...
UltraArcMessage2=Merging %1...
UltraArcMessage3=Decoding %1...
UltraArcMessage4=%1 was not found.
UltraArcMessage5=Please Insert Disc %1 With %2 File
UltraArcMessage6=Browse For Required File?
%1 describes Data#.bin
except
UltraArcMessage5= %1 describes Disc # and %2 is Data#.bin

For
Albanian
Arabic - houcine80
Bosnian
Chinese (Traditional)
Croatian
Czech
Danish
Dutch
Farsi
Finnish
French - houcine80
Greek
Hebrew
Hungarian
Indonesian
Italian - 0xffaded
Japanese
Korean
Norwegian
Polish - arkantos7
PortugueseBR - kassane
PortuguesePO
Romanian
Russian
Serbian
Spanish - omdj
Spanish (Mexico) - omdj
Swedish
Thai
Turkish
Ukrainian
Vietnamese
__________________
Haters gonna hate
RIP Voksi

Last edited by KaktoR; 14-06-2017 at 13:30.
Reply With Quote
The Following 5 Users Say Thank You to KaktoR For This Useful Post:
Crynuvo (27-05-2017), GTX590 (05-05-2018), houcine80 (27-05-2017), mausschieber (28-05-2017), Stor31 (03-08-2018)
  #3  
Old 28-05-2017, 13:20
Th3Raven's Avatar
Th3Raven Th3Raven is offline
Registered User
 
Join Date: Mar 2012
Location: Romania
Posts: 90
Thanks: 54
Thanked 51 Times in 33 Posts
Th3Raven is on a distinguished road
Send a message via Yahoo to Th3Raven
Quote:
Originally Posted by KaktoR View Post
Still needed translations:


Code:
UltraArcMessage1=Extracting %1...
UltraArcMessage2=Merging %1...
UltraArcMessage3=Decoding %1...
UltraArcMessage4=%1 was not found.
UltraArcMessage5=Please Insert Disc %1 With %2 File
UltraArcMessage6=Browse For Required File?
%1 describes Data#.bin
except
UltraArcMessage5= %1 describes Disc # and %2 is Data#.bin

For
Albanian
Arabic - houcine80
Bosnian
Chinese (Traditional)
Croatian
Czech
Danish
Dutch
Farsi
Finnish
French - houcine80
German
Greek
Hebrew
Hungarian
Indonesian
Italian
Japanese
Korean
Norwegian
Polish - arkantos7
PortugueseBR - kassane
PortuguesePO
Romanian
Russian
Serbian
Spanish - omdj
Spanish (Mexico) - omdj
Swedish
Thai
Turkish
Ukrainian
Vietnamese


Romanian will be on me
Reply With Quote
The Following User Says Thank You to Th3Raven For This Useful Post:
KaktoR (28-05-2017)
  #4  
Old 31-05-2017, 06:07
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 1,986
Thanks: 512
Thanked 2,779 Times in 995 Posts
KaktoR is on a distinguished road
I noticed since Win10 Creators Update Setup.exe CPU usage going crazy (50%+) and it lags much, but only if you use vector graphics.

PS: This is the task that goes crazy -> https://msdn.microsoft.com/library/w...(v=vs.85).aspx
__________________
Haters gonna hate
RIP Voksi

Last edited by KaktoR; 31-05-2017 at 06:11.
Reply With Quote
The Following 3 Users Say Thank You to KaktoR For This Useful Post:
EzzEldin16 (13-08-2017), houcine80 (31-05-2017), kassane (31-05-2017)
  #5  
Old 31-05-2017, 07:29
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 1,986
Thanks: 512
Thanked 2,779 Times in 995 Posts
KaktoR is on a distinguished road
Bug List:

...
__________________
Haters gonna hate
RIP Voksi

Last edited by KaktoR; 15-04-2018 at 05:20.
Reply With Quote
The Following 7 Users Say Thank You to KaktoR For This Useful Post:
GTX590 (06-06-2017), houcine80 (31-05-2017), kassane (31-05-2017), mausschieber (06-06-2017), Razor12911 (01-06-2017), Simorq (31-05-2017), Stor31 (11-07-2017)
  #6  
Old 31-05-2017, 13:42
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: cesar.zanetti.82********com
Posts: 147
Thanks: 94
Thanked 207 Times in 48 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
Bug List:
## Error in Split.exe sugestion
if not show progess on join files(Do not use split.exe here), Try replace split exe to prompt function COPY /B to test to see if this way no errors occur.

Code:
function JoinFile(const FileName, OutFile: String): Boolean;
var
  Param: String;
  ResultCode: Integer;
begin
  ForceDirectories(ExtractFileDir(OutFile));
  if FileExists(OutFile) then
    Param := 'COPY /B "' + OutFile + '" + "' + FileName + '" "' + OutFile + '"'
  else
    Param := 'COPY /B "' + FileName + '" "' + OutFile + '"';
  Result := Exec(ExpandConstant('{cmd}'), '/C "' + Param + '"', '',SW_HIDE, ewWaitUntilTerminated, ResultCode);
end;
Reply With Quote
The Following 3 Users Say Thank You to Cesar82 For This Useful Post:
houcine80 (31-05-2017), KaktoR (31-05-2017), Simorq (31-05-2017)
  #7  
Old 31-05-2017, 13:53
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 1,986
Thanks: 512
Thanked 2,779 Times in 995 Posts
KaktoR is on a distinguished road
Thank you.

Will try it tomorrow.

PS: I am not sure, because UA using the same split.exe. But i guess merging files is always the same?

Edit: I am in search for the standard split/merge routine.
__________________
Haters gonna hate
RIP Voksi

Last edited by KaktoR; 31-05-2017 at 16:35.
Reply With Quote
  #8  
Old 31-05-2017, 20:44
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: cesar.zanetti.82********com
Posts: 147
Thanks: 94
Thanked 207 Times in 48 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
Thank you.

Will try it tomorrow.

PS: I am not sure, because UA using the same split.exe. But i guess merging files is always the same?

Edit: I am in search for the standard split/merge routine.
I tested joining the files created with UltraArc 2.5 (Rar Store Mode) using cmd and got the same file (MD5 identical) after merging and extracting.

I used the Advanced File Splitter (By Razor12911) to split file and joined using cmd and the result was the same Checksum.
You can test by just replacing the CIU "split.exe" executable using advsplit.exe (Advanced File Splitter).
I believe that "advsplit.exe" is just a newer version of "split.exe" and the bug may have been fixed.
Reply With Quote
  #9  
Old 01-06-2017, 12:42
Simorq's Avatar
Simorq Simorq is offline
Registered User
 
Join Date: Mar 2014
Location: Iran
Posts: 446
Thanks: 2,879
Thanked 655 Times in 253 Posts
Simorq is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
Bug List:
ReflateAPI Big File Use:

[External compressor:precomp]
header = 0
packcmd = ReflateAPI c -s120 -l9 $$arcdatafile$$.tmp -o $$arcpackedfile$$.tmp
unpackcmd = ReflateAPI d -s120 - -o - <stdin> <stdout>

Code:
Reflate created by RamiroCruzo, Gozarck and Panker1992
Special Thanks to Razor12911 and Shelwien

Usage:
  reflate c/d -l9 -s120 -t75p inputfile -o outputfile
  reflate c/d -t75p  -s120 - -o - <stdin> <stdout>

  -t#: Number of threads to use
  -t#p: (default = 50) Percentage of threads to use
  -s#: Number of streams to store in memory to process. For games with big streams, use smaller values (e.g. 120)

Last edited by pakrat2k2; 02-06-2017 at 08:45.
Reply With Quote
The Following 2 Users Say Thank You to Simorq For This Useful Post:
houcine80 (01-06-2017), KaktoR (01-06-2017)
  #10  
Old 01-06-2017, 13:36
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 1,986
Thanks: 512
Thanked 2,779 Times in 995 Posts
KaktoR is on a distinguished road
I think it's better to disable and remove refstd then
__________________
Haters gonna hate
RIP Voksi
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
houcine80 (01-06-2017)
  #11  
Old 06-06-2017, 14:43
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 1,986
Thanks: 512
Thanked 2,779 Times in 995 Posts
KaktoR is on a distinguished road
Bug list updated.
__________________
Haters gonna hate
RIP Voksi
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
houcine80 (06-06-2017)
  #12  
Old 10-06-2017, 01:01
mausschieber's Avatar
mausschieber mausschieber is offline
Conversion Designer
 
Join Date: Jan 2011
Location: germany
Posts: 769
Thanks: 2,489
Thanked 2,200 Times in 557 Posts
mausschieber is on a distinguished road
After several test I give up, I can not find the error
Also is after installing the application the folder name 2 times in the registry
available.

Reply With Quote
  #13  
Old 10-06-2017, 06:23
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 6,773
Thanks: 2,633
Thanked 7,542 Times in 2,700 Posts
pakrat2k2 is on a distinguished road
^^ add to your post the setup folder, will take a look
Reply With Quote
  #14  
Old 10-06-2017, 06:40
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 1,986
Thanks: 512
Thanked 2,779 Times in 995 Posts
KaktoR is on a distinguished road
Use && in Setup.ini. Thing is, install folder will using "&&" then (twice instead of a single "&").

Will look at script tomorrow if i can define a constant for the install path just for this type of games.

But if i remember right, it has been always like this, that if you using "&" in ApplicationName=, the "&" doesn't show. In those cases you have to use "and".

Edit:

For the registry...

You know why?

Because of this:

Code:
ValueData: {app}\Command & Conquer The First Decade\
{app} is already "Command & Conquer The First Decade".

{app} = C:\Command & Conquer The First Decade

If you using

{app}\Command & Conquer The First Decade = C:\Command & Conquer The First Decade\Command & Conquer The First Decade

So you can say...

{app} = Drive + ApplicationName


So if eg Generals is in
C:\Command & Conquer The First Decade\Command & Conquer The First Decade\Generals\*
then your way is correct.

If Generals is in
C:\Command & Conquer The First Decade\Generals
it has to be
{app}\Generals
__________________
Haters gonna hate
RIP Voksi

Last edited by KaktoR; 10-06-2017 at 07:30.
Reply With Quote
The Following 2 Users Say Thank You to KaktoR For This Useful Post:
mausschieber (10-06-2017), pakrat2k2 (10-06-2017)
  #15  
Old 10-06-2017, 10:31
mausschieber's Avatar
mausschieber mausschieber is offline
Conversion Designer
 
Join Date: Jan 2011
Location: germany
Posts: 769
Thanks: 2,489
Thanked 2,200 Times in 557 Posts
mausschieber is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
Use && in Setup.ini. Thing is, install folder will using "&&" then (twice instead of a single "&").

Will look at script tomorrow if i can define a constant for the install path just for this type of games.

But if i remember right, it has been always like this, that if you using "&" in ApplicationName=, the "&" doesn't show. In those cases you have to use "and".

Edit:

For the registry...

You know why?

Because of this:

Code:
ValueData: {app}\Command & Conquer The First Decade\
{app} is already "Command & Conquer The First Decade".

{app} = C:\Command & Conquer The First Decade

If you using

{app}\Command & Conquer The First Decade = C:\Command & Conquer The First Decade\Command & Conquer The First Decade

So you can say...

{app} = Drive + ApplicationName


So if eg Generals is in
C:\Command & Conquer The First Decade\Command & Conquer The First Decade\Generals\*
then your way is correct.

If Generals is in
C:\Command & Conquer The First Decade\Generals
it has to be
{app}\Generals
now i solve the problem but for the special character i use this from LuisCésar82
now i need not use {code:GetAppName}
Code:
#sub DeleteRegistryValue
  #if Pos("Root:", FileLine) > 0 & Pos("SubKey:", FileLine) > 0
    #define FileLine StringChange(FileLine, ": ", ":")
    #define FileLine StringChange(FileLine, "; ", ";")
    #define FileLine StringChange(FileLine, """", "")
    #define FileLine StringChange(FileLine, "'", "''")
    #define RootKey Copy(FileLine, Pos("Root:",FileLine) + 5, Len(FileLine))
    #define RootKey Copy(RootKey, 0, Pos(";",RootKey)-1)
    #define SubKeyName Copy(FileLine, Pos("SubKey:",FileLine) + 7, Len(FileLine))
    #define SubKeyName Copy(SubKeyName, 0, Pos(";",SubKeyName)-1)
    #if Pos("ValueName:", FileLine) > 0
      #define ValueName Copy(FileLine, Pos("ValueName:",FileLine) + 10, Len(FileLine))
      #define ValueName Copy(ValueName, 0, Pos(";",ValueName)-1)
    #else
      #define ValueName ""
    #endif
    if not (not IsWin64 and (Pos('64', '{#RootKey}') > 0)) then begin
      RegDeleteValue({#RootKey}, '{#SubKeyName}', '{#ValueName}');
      CurrentRegKey := '{#SubKeyName}' + '\' + '{#ValueName}';
      repeat
        CurrentRegKey := ExtractFilePath(CurrentRegKey);
        SetLength(CurrentRegKey, Length(CurrentRegKey) - 1);
        RegDeleteKeyIfEmpty({#RootKey},CurrentRegKey);
      until RegKeyExists({#RootKey},CurrentRegKey);
    end;

  #endif
#endsub
Reply With Quote
The Following 2 Users Say Thank You to mausschieber For This Useful Post:
KaktoR (10-06-2017), sajmon83 (12-06-2017)
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 1584 30-06-2018 10:45
INNO TROUBLESHOOT - Questions Here REV0 Conversion Tutorials 1345 11-06-2018 09:26
Game Installer Designer by altef_4 altef_4 Conversion Tutorials 234 10-05-2018 17:16
yener90's Inno Project Source Codes yener90 Conversion Tutorials 1475 21-10-2014 09:50
yener90's older Inno Project Source Codes THADEADMAN2011 PC Games - CD/DVD Conversions 0 16-06-2012 03:40



All times are GMT -7. The time now is 17:59.


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