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)

BAMsE 05-08-2012 14:35

First: you really shouldn't have space there. Should be
Code:

-mprecomp:v+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
Second: maybe it's silly question, but... did you copy also packjpg_dll.dll and zlib1.dll?

Third: maybe it's another one... your precomp file is named precomp.exe or precomp042.exe, because in reference to your arc.ini it should has this second name

lupetto77 05-08-2012 14:47

Quote:

Originally Posted by BAMsE (Post 404894)
First: you really shouldn't have space there. Should be
Code:

-mprecomp:v+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
Second: maybe it's silly question, but... did you copy also packjpg_dll.dll and zlib1.dll?

Third: maybe it's another one... your precomp file is named precomp.exe or precomp042.exe, because in reference to your arc.ini it should has this second name

1. It has no space to put it when I wrote the message
2. I put these files: arc.exe - arc.ini - packjpg_dll.dll - precomp.exe - srep.exe - zlib1.dll - Compress.bat
3. I also tried to rename precomp042.exe and wrong.

Please can you pass all the files including the file Compress.bat ...

REV0 05-08-2012 15:04

Do we have faster compression values gentlemen ? Pretty much equal of this:

arc a -ep -w.\ .\Disk1\Data1.bin -msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8

Unlike current one it's not taking years to compress, only 10 minutes and result is agreeable, 5GB to 1.1GB

I tried these values but they're not compatible with yener's script, had exract errors.

Any suggestions ?

Onizuka87k 05-08-2012 15:33

Quote:

Originally Posted by REV0 (Post 404896)
Any suggestions ?

What is the error?

REV0 05-08-2012 15:49

Quote:

Originally Posted by Onizuka87k (Post 404899)
What is the error?

There's none, i've dealt with it no problem now:rolleyes:

shanrq 06-08-2012 03:18

Quote:

Do we have faster compression values gentlemen ? Pretty much equal of this:

arc a -ep -w.\ .\Disk1\Data1.bin -msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8

Unlike current one it's not taking years to compress, only 10 minutes and result is agreeable, 5GB to 1.1GB

I tried these values but they're not compatible with yener's script, had exract errors.

Any suggestions ?
Quote:

Originally Posted by REV0 (Post 404901)
There's none, i've dealt with it no problem now:rolleyes:

REVO may i know how you resolve it?

REV0 06-08-2012 03:26

Didnt use it :D

Onizuka87k 06-08-2012 05:54

Quote:

Originally Posted by REV0 (Post 404919)
Didnt use it :D

REV0, i don't know what is the problem because i tried to compress something with
Code:

-msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
and then trying to install it with Yener90 latest installer: all works fine for me, extraction included! :confused:

REV0 06-08-2012 06:11

Quote:

Originally Posted by Onizuka87k (Post 404924)
REV0, i don't know what is the problem because i tried to compress something with
Code:

-msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
and then trying to install it with Yener90 latest installer: all works fine for me, extraction included! :confused:

maybe output and arc bla bla is the key. what's the complete line in your setup ?

Onizuka87k 06-08-2012 07:01

Quote:

Originally Posted by REV0 (Post 404926)
maybe output and arc bla bla is the key. what's the complete line in your setup ?

I downloaded the example (attachment) Yener90 put on the first post.
Then i used the same arc.ini he put on Setup.cab to compress something (i compressed for example two files and a whole folder) with this command line:
Code:

arc a -ep -w.\ .\Disk1\Data1.bin -msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "path\file1.test" "path\file2.test" "file\folder\*"
I put the .bin into installer folder.
Then i edited it with the right path and the Setup.ini:
Code:

[ExtractSettings]
FreeArcFile1={src}\Data1.bin;DestDir:{app};Disk:1

That's all. It works!;)

yener90 06-08-2012 08:45

new pics from project (50% currently finished) :
http://img11.imageshack.us/img11/5722/preview060801.jpg
http://img42.imageshack.us/img42/9636/preview060802.jpg
http://img268.imageshack.us/img268/7...view060803.jpg
http://img803.imageshack.us/img803/6...view060804.jpg

shanrq 06-08-2012 09:24

awesome
 
yener your genius.. awesome man..
the installer design 4 thumbs up..
left one.. idea about easy better compression.. i believe you can do it man :p
4 thumbs up for you man..

elbubi 06-08-2012 10:25

Yener could you please give me a hint on how to fix blank backgrounds on REV0 Prototype 2 conversion?

Thanks indeed for you patience!

REV0 06-08-2012 11:49

I can help too, you know. And what fix backgrounds are those http://swngz.com/images/smilies/smilies%20v2/33.gif

yener90 06-08-2012 11:56

just use newest CI.
REV0 port your one for CI 8.4.3 :P

REV0 06-08-2012 12:13

Quote:

Originally Posted by yener90 (Post 404958)
just use newest CI.
REV0 port your one for CI 8.4.3 :P

Which one ? Sleeping Dogs, Darksiders II, Dishonored, Watchdogs or Rome 2 :rolleyes:

I used 8.4.3 in Napoleon, if you want more complicated work i'll put Sleeping Dogs at your service, only for personal use tho, since it's not released http://swngz.com/images/smilies/smilies%20v2/33.gif

yener90 06-08-2012 12:28

Quote:

Originally Posted by REV0 (Post 404959)
Which one ? Sleeping Dogs, Darksiders II, Dishonored, Watchdogs or Rome 2 :rolleyes:

I used 8.4.3 in Napoleon, if you want more complicated work i'll put Sleeping Dogs at your service, only for personal use tho, since it's not released http://swngz.com/images/smilies/smilies%20v2/33.gif

Muhahaha nice nice.
waiting for :D
provide it i could test my designer :p

REV0 06-08-2012 12:35

Quote:

Originally Posted by yener90 (Post 404960)
Muhahaha nice nice.
waiting for :D
provide it i could test my designer :p

Need to edit BG and add EULA for it, will send you today http://swngz.com/images/smilies/smilies%20v2/devil.png

yener90 06-08-2012 14:05

i read about degrees etc...its not possible due limitation of inno setup :/

REV0 06-08-2012 14:17

Quote:

Originally Posted by yener90 (Post 404965)
i read about degrees etc...its not possible due limitation of inno setup :/

I asked this for Dishonored, it's not looking bad tho:

http://fileforums.com/showthread.php?t=93154

Cesar82 07-08-2012 11:58

Suggestion for future project yener90
 
Ignore errors in the text (PT-BR text translated in Google Translate)

Suggestion for future project:
Suggestion 1
Add Remove support for a second save game folder or settings created in the execution of the game.
The project already has an IC 8.4.3
If possible add another folder to be deleted on uninstall.
EX: In the Setup.ini file contains:
SaveGameFolder =
If you can add:
SaveGameFolder2 =
For some games alike as Darksiders puts files in: "{userdocs}\My Game\ Darksiders" and "{localappdata}\Darksiders"

Suggestion 2
Create autorun setup separately (Two EXE files).

Suggestion 3
Add a function to disable the message by clicking the cancel button's label setup
Put function in setup.ini, to enable, disable it.
This function only before starting the install. After starting inatall is necessary to take this message.

Suggestion 4
Add function components

Suggestion 5
Add folder Inno Setup unicode integrated CI for anyone who uses the ANSI version does not need to change version.
You just put a .bat file to open the script with the Inno folder. (7 mb)

Suggestion 6
Add to Setup.ini option to disable the title bar of the Setup label

Suggestion 7
Add help file txt for editing setup.ini (for users new), and also about the first lines of the script, What is every line: # define XXX ""

Congratulations for the excelent work.

yener90 07-08-2012 12:34

Suggestion 1 -> makeable
Suggestion 2 -> not possible
-> how should the users select the language that they want?
Suggestion 3 -> i dont really see the usage of this
while installing it asks you, there are only two(three) windows without this message
this part was really difficult because of isdone etc
dont want to break it.
Suggestion 4 -> too difficult
-> how integrate to setup.ini
if you can explain this part it could be makeable
Suggestion 5 -> not possible
-> it requires more than just the inno setup
why do people use ansi version?
it doesnt work multilingual properly.
Suggestion 6 -> makeable
Suggestion 7 -> converter creators need only one line
other ones are private for me.

There was also one with system requirements...
why people need this?
if you buy a game you watch the requirements.
if you later want to use your game, i dont believe that someone has worse system then before.

yener90 07-08-2012 12:47

lil question:
how should the video be handled??
one time play than show normal background??
should the sound be switched off in video so music got played??
any suggestion about this point are welcome

REV0 07-08-2012 13:28

hi yener,

I personally prefer, one time video, then backgrounds with music. And video should be 720p or original resolution (tried it in Napoleon it was fullscreen)

BTW,

''There was also one with system requirements...
why people need this?
if you buy a game you watch the requirements.
if you later want to use your game, i dont believe that someone has worse system then before.''

Same reason they want to see EULA... I never read them, just click 'I accept' I think some people want to have more 'legit' setups.

As suggestion, if someone want system requirements so bad, write them down on rtf. file then add it as EULA to conversion, problem solved

lupetto77 07-08-2012 13:57

Quote:

Originally Posted by REV0 (Post 404896)
Do we have faster compression values gentlemen ? Pretty much equal of this:

arc a -ep -w.\ .\Disk1\Data1.bin -msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8

Unlike current one it's not taking years to compress, only 10 minutes and result is agreeable, 5GB to 1.1GB

I tried these values but they're not compatible with yener's script, had exract errors.

Any suggestions ?

Revo but how to compress made ​​from 5gb to 1.1GB.
Me with the same string that you used to be able to compress a folder with 7GB to 5.9 gb.

There is another string to use ... if you post it please.

REV0 07-08-2012 14:30

Depends on stuff i guess, i applied same values for TDU2, and it reduced to 5.68gb from 15.6 GB

BTW yener i detected a bug on Turkish selected setup, it says 'Express Bilgisayar' on left side of the setup (you can see on screenshot below):

http://img845.imageshack.us/img845/4671/adszaxw.jpg

lupetto77 07-08-2012 14:43

Bamse I tried the command lines that you posted, it compiles but when I go to install I get this error ...

http://s4.imagestime.com/out.php/i755278_REVO.jpg

help on how I can solve this problem?

BAMsE 07-08-2012 15:04

lupetto77 screen is really bad, besides I don't know Italian :p
If it is general Windows message, that precomp.exe stops working and will be terminated, so... I had the same with my Prototype 2 conv. My solution is partial and quite primitive. Yener90 works on it.

Onizuka87k 07-08-2012 15:09

Quote:

Originally Posted by lupetto77 (Post 405025)
Bamse I tried the command lines that you posted, it compiles but when I go to install I get this error ...

http://s4.imagestime.com/out.php/i755278_REVO.jpg

help on how I can solve this problem?

It's the same bug i had with my personal installer of Prototype2.
I don't know if it's the right way but i solved excluding (by comment) CLS-precomp.dll:
Code:

;Source: include\CLS-precomp.dll; DestDir: {tmp}; Flags: dontcopy
and
Code:

//ExtractTemporaryFile('CLS-precomp.dll');
My lines of code will be different from yours but these points should be respectively close to the lines 70 and 4930.

ps: Since you use the arc command-line, do you edit the line about precomp version on Setup.ini like this?
Code:

PrecompVer=inside
Try this way! :o

lupetto77 07-08-2012 15:54

Thank you commenting the two lines as you said you now works great

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


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

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