FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   yener90's Inno Project Source Codes (https://fileforums.com/showthread.php?t=91563)

Onizuka87k 07-08-2012 16:16

Quote:

Originally Posted by lupetto77 (Post 405028)
Thank you commenting the two lines as you said you now works great

Np but this is a temporary "workaround" until Yener90 will fix it! :p
The "side effect" using this way is you won't have any progress in the installer progress-bar during decompression of precomp files (and for big files the setup might seems freezed while it's really working!)
;)

lupetto77 08-08-2012 15:09

Since I'm a beginner with these command lines I wanted to ask you a few things:

1.quale between these compresses more
Code:

-mprecomp:zl68:d1+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
-mprecomp:zl68:d0+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
-mprecomp:zl11,68:d1+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
-mprecomp:zl98:d1+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8

2.With this code how do I compress multiple folders?
I have a folder such as Mass Effect 3 and inside there are 3 more folders 1 - 2 - 3 as I pack them in single file Data2.bin

code:

Code:

echo off
cls
set choice1=
echo.
set /p choice1=Please type game folder path (e.g. c:\program files (x86)\BioWare\Mass Effect 3):
echo.
echo Creating archive files, please wait...
arc a -ep1 -r -w.\ .\Disk1\Data1.bin -mprecomp:zl68:d1+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "%choice1%\Binaries\*"
if ERRORLEVEL 1 goto arcfail
echo.All done.
pause
goto EOF
:arcfail
echo.
echo.WARNING: FreeArc returns an error, please retry...
pause
:EOF


Onizuka87k 08-08-2012 20:30

Quote:

Originally Posted by lupetto77 (Post 405092)
Since I'm a beginner with these command lines I wanted to ask you a few things:

1.quale between these compresses more

2.With this code how do I compress multiple folders?
I have a folder such as Mass Effect 3 and inside there are 3 more folders 1 - 2 - 3 as I pack them in single file Data2.bin

I'm not a guru but:

1) It depends on the type of data you are compressing. The command-line number 3 might does a great job but not always. Anyway you can run precomp without any parameters and it might suggest you the best parameters! According to the guide of precomp:
Quote:

-zl: (Comfort: zLib_Levels)

After precompressing a file with Precomp, it tells you how to use this parameter to speed up the precompression the next time you precompress this file. These are one or more two-digit numbers. The first digit is the compression level, the second digit is the memory settings which are tried on this file. However, using this on a different file could lead to Precomp missing some compressed parts of it.
2) Maybe this is what you looking for?
Code:

arc a -ep1 -r -w.\ .\Disk1\Data1.bin -mprecomp:zl68:d1+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "Folder1\*" "Folder2\*" "Folder3\*"

Cesar82 09-08-2012 07:26

Suggestion
In the new project could be added a sound related to the game to execute when displaying the splash.
With relation to what I suggested earlier, putting componetes section, I have no idea how to integrate the setup.ini. But it would be nice to have a checkbox option to add the interface of the installer, then add the reference to a particular file setup.ini section [ExtractSettings] of FreeArc.
You said that the unicode version of Inno Setup is better. I thought it was best to ansi. I switched to unicode version now.
System requirements do not really need. In scripts Peterf1999 sometimes the requirements of a game do not pass the requirements section and the game works perfectly.
Is this a foolishness function requisios.
-> The graphical interface of your new project will be English only? Could have the text in a file Lang_eng.ini to anyone who wanted could edit the ini file to your local language.
Thank you for your attention.
(I know: This is a forum, not an MSN)

BAMsE 09-08-2012 09:05

lupetto77 the most effective and sufficient command for precomp is
Code:

precomp -intense0 -c-
and it should be placed in arc.ini. Parameters -zl#,#,# and -d# should be used ONLY for second compressing THE SAME files to speed up whole process. These parameters haven't positive effect for ratio. What's more - improper may worsen it! So don't use them.
Exception is when you've prepared conversion and want to post it. Then you may give us parameters returned at the end of precomping to speed up compression of THE SAME files that you've precomped

yener90 09-08-2012 11:29

i need following lines in every possible language please:
english, german, and turkish maybe italian can make myself :p
Code:

Extracting=Extracting %1 ...
Elapsed=Elapsed (Time related)
Remaining=Remaining (Time related)
Hours=hours
Hour=hour
Minutes=minutes
Minute=minute
Seconds=seconds
Second=second

-> for following:
http://img860.imageshack.us/img860/5585/ci85.jpg

Th3Raven 09-08-2012 12:25

1 Attachment(s)
Quote:

Originally Posted by yener90 (Post 405153)
i need following lines in every possible language please:
english, german, and turkish maybe italian can make myself :p
Code:

Extracting=Extracting %1 ...
Elapsed=Elapsed (Time related)
Remaining=Remaining (Time related)
Hours=hours
Minutes=minutes
Seconds=seconds

-> for following:
http://img860.imageshack.us/img860/5585/ci85.jpg

Here are for Romanian language.
Code:

Original(English)

Extracting=Extracting %1 ...
Elapsed=Elapsed (Time related)
Remaining=Remaining (Time related)
Hours=hours
Minutes=minutes
Seconds=seconds


Translated(Romanian- Romānă)

Extracting=Extragere %1 ...
Elapsed=Timp Trecut (Time related)
Remaining=Timp Rămas (Time related)
Hours=Ore
Minutes=Minute
Seconds=Secunde

I have put an attachment because of the character encoding.

lupetto77 09-08-2012 12:31

Quote:

Originally Posted by BAMsE (Post 405143)
lupetto77 the most effective and sufficient command for precomp is
Code:

precomp -intense0 -c-
and it should be placed in arc.ini. Parameters -zl#,#,# and -d# should be used ONLY for second compressing THE SAME files to speed up whole process. These parameters haven't positive effect for ratio. What's more - improper may worsen it! So don't use them.
Exception is when you've prepared conversion and want to post it. Then you may give us parameters returned at the end of precomping to speed up compression of THE SAME files that you've precomped



not affects

As I wrote above because I'm starting out with the command lines you may postarmi a full command line that compresses enough and as fast as possible in the extraction ... and above 100% working with the project Yener Thanks for the help

Onizuka87k 09-08-2012 12:39

Quote:

Originally Posted by lupetto77 (Post 405159)
As I wrote above because I'm starting out with the command lines you may postarmi a full command line that compresses enough and as fast as possible in the extraction ... and above 100% working with the project Yener Thanks for the help

Try only the baseline:
Code:

-mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
something like:
Code:

arc a -r -w.\ Data.cab -mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "Folder1\*" "Folder2\*" "Folder3\*"
(if this last example it compress 3 folders (and relative subfolders) because i don't know what do you want to compress (folders, files, etc..)! It's just an example!)

BAMsE 09-08-2012 12:44

Polish

Code:

Extracting=Dekompresowanie  %1 ...
Elapsed=Upłynęło
Remaining=Pozostało
Hours=godzin(a)(y)
Minutes=minut(a)(y)
Seconds=sekund(a)(y)

(a) is form for 1
(y) for 2, 3, 4
without is for 5 and more :p

My suggestion:
In its present form, "Elapsed" and "Remaining" will move due to variable width of digits. It'll be difficult to read.
"Elapsed" should be aligned to the left and "Remaining" to the right side of window. Eventually above and under progressbar

Fabioddq 09-08-2012 12:49

Quote:

Originally Posted by yener90 (Post 405153)
i need following lines in every possible language please:
english, german, and turkish maybe italian can make myself :p
Code:

Extracting=Extracting %1 ...
Elapsed=Elapsed (Time related)
Remaining=Remaining (Time related)
Hours=ours
Minutes=minutes
Seconds=seconds

-> for following:
http://img860.imageshack.us/img860/5585/ci85.jpg

For Portuguese Brasil:

Extracting = Extraindo %1 ...
Elapsed = Decorrido
Remaining = Restando
Hours = Horas
Minutes = Minutos
Seconds = Segundos

yener90 09-08-2012 13:47

@all thx for the translations :D

Quote:

Originally Posted by BAMsE (Post 405161)
Polish
My suggestion:
In its present form, "Elapsed" and "Remaining" will move due to variable width of digits. It'll be difficult to read.
"Elapsed" should be aligned to the left and "Remaining" to the right side of window. Eventually above and under progressbar

following system
-> x hour minutes <- if hours are available
-> x minutes x seconds <-- if minutes are available
-> x seconds

it would look bad :/
how about creating for remaining label in center a label which is left aligned?
the chance that both touch is really low.

i really need to finish gui works, so i can work on designer...

BAMsE 09-08-2012 14:19

Quote:

Originally Posted by yener90 (Post 405168)
how about creating for remaining label in center a label which is left aligned?

IMO will be good.
And don't bother bracket forms in my translation. Just use primary, without brackets :p

elbubi 09-08-2012 16:10

For Spanish:

Extracting = Extrayendo
Elapsed = Transcurrido
Remaining = Restante
Hours = Horas
Minutes = Minutos
Seconds = Segundos

;)

pakrat2k2 09-08-2012 18:46

1 Attachment(s)
Quote:

Originally Posted by yener90 (Post 405153)
i need following lines in every possible language please:
english, german, and turkish maybe italian can make myself :p
Code:

Extracting=Extracting %1 ...
Elapsed=Elapsed (Time related)
Remaining=Remaining (Time related)
Hours=hours
Hour=hour
Minutes=minutes
Minute=minute
Seconds=seconds
Second=second


here is text file with the following languages inside:
english, czech, danish, dutch, french, polish, russian, turkish, vietnamese, swedish, ukrainian.


All times are GMT -7. The time now is 07:23.

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