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)

yener90 07-03-2012 05:06

UPDATE 7.2.2
- cleaned up source and fixed language "errors"
- changed launch code -> now you can select seperatly, when every file should be launched
- changed taskbar text

yener90 07-03-2012 08:41

UPDATE 7.2.3
- patched ISDone.dll for not changing taskbar title
- disk require message will be shown in taskbar

OK all problems connected to the newest version of ISDone 0.6f is fixed.
No more problems

yener90 08-03-2012 04:11

UPDATE 7.2.4
- Fixed Button clicking
- For some users Inno Setup versions making conflicts while compiling (Ansi vs Unicode)
-> Therefore ported the messages to ansi compatible format
-> Only InstallScript.iss - For LangScript.iss it is impossible (But its not required that you compile it :D )

gatosky1620 08-03-2012 08:47

yener my friend i have two quetions

1. where it sounds "Button" and "buttononmouse" for each game

2. You can add the function to put a "ISSKIN"????

yener90 08-03-2012 09:25

dont understand exactly bro...what do you mean with button and buttononmouse??

isskin is easily addable XD
but with my installer it will only change the border of the installer and the progressbar, nothing more.

pakrat2k2 08-03-2012 12:44

Quote:

Originally Posted by yener90 (Post 401189)
dont understand exactly bro...what do you mean with button and buttononmouse??

isskin is easily addable XD
but with my installer it will only change the border of the installer and the progressbar, nothing more.

think he means the wav files for button* in setup.cab

gatosky1620 08-03-2012 12:52

Quote:

Originally Posted by pakrat2k2 (Post 401195)
think he means the wav files for button* in setup.cab

I mean where I can download the sounds (wav) for games, for example in the NFS script RUN buttons of the game sounded like

and how do I add ISSKIN, and if not too much to ask can add music to autorun

yener90 08-03-2012 13:07

i recorded from game.
the other things...im not sure about autorunmenu music :/ it just shows a few seconds :/

isskin....will try to add.

yener90 08-03-2012 13:49

UPDATE 7.2.5
- Font Support added (thx to BaMsE for the idea)
-> rename the font that you want to use to font.ttf and insert it to setup.cab
-> change ButtonFont or SetupFont to the name of your added font

BAMsE 08-03-2012 15:43

yener90 thanks a lot. One day I'll come up with an idea that'll give you more difficulties than 30 minutes of codding :p Unfortunately as yet my 2xDVD5 conv of ME3 is interrupted due to problems with resampled biks. Waiting for newer version of RADTools =(

darshana 08-03-2012 16:55

hey yener90,
Can you add a wizard page to show system requirements like in peterf1999 installer.
And thank you very much for what you have done so far.It's really a great installer with a lot of convenience.

sulfurum1989 08-03-2012 17:14

Quote:

Originally Posted by MartinezPL (Post 401100)
Thx but...i'm green from that .bat etc
can someone can post here that commands ?:D



New Precomp 42 & Srep 3


precomp -intense -o[arc archive]arc archive.arc

Like this ,,


precomp -intense -oHL2 HL2.arc


1 creates, arc file with 0 compression -m0

2 use precomp with this commands precomp -intense -oHL2 HL2.arc ( HL2 is an example)

3 use srep with this commands srep -m2 HL2.pcf HL2.srep (srep -m2 or srep -m3)

4 Compress with Freearc , HL2.srep file compression -mx -ld1600m arc , or cab file

5 Use Yener installers for Descompresion : FreeArcFile1={src}\HL2.cab;DestDir:{app};Disk:1;Pr ecSrep:1



Credits to Bamsee

sulfurum1989 08-03-2012 17:41

Quote:

Originally Posted by darshana (Post 401206)
hey yener90,
Can you add a wizard page to show system requirements like in peterf1999 installer.
And thank you very much for what you have done so far.It's really a great installer with a lot of convenience.



Is called HWREQ LINK , would be nice app in the Yener code

vlv 08-03-2012 22:26

Quote:

Originally Posted by sulfurum1989 (Post 401208)


New Precomp 42 & Srep 3


precomp -intense -o[arc archive]arc archive.arc

Like this ,,


precomp -intense -oHL2 HL2.arc


1 creates, arc file with 0 compression -m0

2 use precomp with this commands precomp -intense -oHL2 HL2.arc ( HL2 is an example)

3 use srep with this commands srep -m2 HL2.pcf HL2.srep (srep -m2 or srep -m3)

4 Compress with Freearc , HL2.srep file compression -mx -ld1600m arc , or cab file

5 Use Yener installers for Descompresion : FreeArcFile1={src}\HL2.cab;DestDir:{app};Disk:1;Pr ecSrep:1



Credits to Bamsee

I have a question.
Should I use these paramets to every game. I'm confused because for instance with Fallout we use precomp -slow -c6 -m8 and sprep m2.
Dead Rising: precomp -slow -c189 -m16.
How do I know which paramets I should use?

@yener90
Is it possible to use splash screen .gif with a transparent background and to change the layout/skin of the installer to look (for example) similar to this one:
http://i1102.photobucket.com/albums/...games2/1-9.png

Sisah 09-03-2012 01:33

Can anyone send me simple example script with freearc and precomp support i really want to add this to my installer i have only unarc.dll that is working but my game is too big even on ultra compression with freearc

yener90 09-03-2012 02:58

Sisah
use this one:
http://krinkels.ru/showthread.php?t=34&page=36

vlv
yes you can use. but not gif, png is required. call it Splash.png and put it to Setup.cab. If in Setup.cab is a Splash.bmp then delete this.
Nothing is impossible :D
but i prefer simple setup. too much useless page :D
and it would be much more easier, if inno setup would support alphablend for such setup :/

darshana
:/ for me its useless.
if you buy a game, you always look to system requirement.
so tell me the sense of this :confused:

leo95 09-03-2012 04:02

Quote:

Originally Posted by pakrat2k2 (Post 401077)
in autorun.inf after/before open=setup.exe, open=(readme.txt) whatever textfile name you want, it should open up, there you can put instructions etc.

I followed the steps but does not open even the autorun.exe

[autorun]
open=Autorun.exe, open=(Leer.txt)
icon=Sims3EP06.ico

[IMG]http://img36.imageshack.us/img36/2271/autorunc.jpg Uploaded with ImageShack.us[/IMG]

thanks

leo95 09-03-2012 05:01

How can i add a password to the project; in setup.ini or InstallerScript.iss? Thanks

darshana 09-03-2012 06:00

yener90

1. Is there any way to remove the black border below the background image and to center the image in the screen?
2. Can you add a feature to support "PNG" type to the buttons.

yener90 09-03-2012 06:07

currently working on it :/
which border do you mean?

silviugut 09-03-2012 06:49

I tried to do a conversion with CI 7.2.5. and even I could but I noticed some minor problems with languages ​​in menu install.One of them is that in English instead of Uninstall is Deinstall (I think the only problem with English) and in Romanian instead of Dezinstalare appears Dezinstala and instead Iesire appears Capat.
How can I change the script? (do not know which, languages ​​or installer?) Although I looked into them and I changed everything I wanted to change, but nothing has changed, remain the same issues with both languages​​! I mention I copied all ISL files from Languages folder ​​in the Languages ​​folder of Inno Setup Unicode !

http://img210.imageshack.us/img210/5016/deinstall.png
http://img651.imageshack.us/img651/7...instaleaza.png

Yener90 Thanks for the work that we enjoy the rest of us!! And thanks to REV0 for me3 theme and buttons.

darshana 09-03-2012 08:12

AT yener90

When the background slideshow is displayed the black area below the image is lager than the black area above the image.I think the image is not in the center of the screen.I temporally fixed that by editing a line in the script.(by adding 50 pixels to the top position). I don't know if this is a permanent solution .

Top:= GetSystemMetrics(1) /2 - BackgroundPicSizeCalcY / 2 //original
Top:= GetSystemMetrics(1) /2 - BackgroundPicSizeCalcY / 2 +50 //edited

BAMsE 09-03-2012 08:51

darshana there is a small installer window at the bottom of screen so it looks much better if the background image is moved up... IMO... :)

pakrat2k2 09-03-2012 10:28

Quote:

Originally Posted by leo95 (Post 401229)
I followed the steps but does not open even the autorun.exe

[autorun]
open=Autorun.exe, open=(Leer.txt)
icon=Sims3EP06.ico
thanks

I was trying to remember from memory... not a good idea at my age LOL

it actually need a shellexecute to open the text file..
IE:
ShellExecute=datafile - Specifies an application or data file that is to be opened. Windows will launch the application associated with that file type to open the datafile.

So for your example.
Code:

[autorun]
open=Autorun.exe
icon=Sims3EP06.ico

ShellExecute=Leer.txt
icon=Leer.txt

NOTE: ShellExecute does not work under win95/98.

silviugut 09-03-2012 11:01

Please guys,I need an answer to this...
I tried to do a conversion with CI 7.2.5. and even I could but I noticed some minor problems with languages ​​in menu install.One of them is that in English instead of Uninstall is Deinstall (I think the only problem with English) and in Romanian instead of Dezinstalare appears Dezinstala and instead Iesire appears Capat.
How can I change the script? (do not know which, languages ​​or installer?) Although I looked into them and I changed everything I wanted to change, but nothing has changed, remain the same issues with both languages​​! I mention I copied all ISL files from Languages folder ​​in the Languages ​​folder of Inno Setup Unicode !

http://img210.imageshack.us/img210/5016/deinstall.png
http://img651.imageshack.us/img651/7...instaleaza.png

Yener90 Thanks for the work that we enjoy the rest of us!!

yener90 09-03-2012 11:07

open langscript.iss and look for romplay in custom messages.

the other one is in the code section.
just search for this text.
all infos are in langscript.iss

i hope i can manage to retail 8.0.
new features: fully supported png/jpg support
unfortunately i need to code everything new :/

pakrat2k2 09-03-2012 11:12

Quote:

Originally Posted by silviugut (Post 401242)
Please gays,I need an answer to this...
I tried to do a conversion with CI 7.2.5. and even I could but I noticed some minor problems with languages ​​in menu install.One of them is that in English instead of Uninstall is Deinstall (I think the only problem with English) and in Romanian instead of Dezinstalare appears Dezinstala and instead Iesire appears Capat.
How can I change the script? (do not know which, languages ​​or installer?) Although I looked into them and I changed everything I wanted to change, but nothing has changed, remain the same issues with both languages​​! I mention I copied all ISL files from Languages folder ​​in the Languages ​​folder of Inno Setup Unicode !

Re-extract from CI.7.2.5 archive. DO NOT REPLACE THE ISL files from Inno Setup Unicode Languages folder!!!! Goto X:\CI 7.2.5\Languages folder & open english.isl / Romanian.isl look for [CustomMessages] at bottom of file, make the corrections there & save the file. No more errors!!

vlv 09-03-2012 11:26

How about this one?

Quote:

Originally Posted by sulfurum1989 (Post 401208)


New Precomp 42 & Srep 3


precomp -intense -o[arc archive]arc archive.arc

Like this ,,


precomp -intense -oHL2 HL2.arc


1 creates, arc file with 0 compression -m0

2 use precomp with this commands precomp -intense -oHL2 HL2.arc ( HL2 is an example)

3 use srep with this commands srep -m2 HL2.pcf HL2.srep (srep -m2 or srep -m3)

4 Compress with Freearc , HL2.srep file compression -mx -ld1600m arc , or cab file

5 Use Yener installers for Descompresion : FreeArcFile1={src}\HL2.cab;DestDir:{app};Disk:1;Pr ecSrep:1



Credits to Bamsee

I have a question.
Should I use these paramets to every game. I'm confused because for instance with Fallout we use precomp -slow -c6 -m8 and sprep m2.
Dead Rising: precomp -slow -c189 -m16.
How do I know which paramets I should use?

BAMsE 09-03-2012 11:39

vlv all you need is
Code:

precomp -intense -c- filename.ext
(for older versions -slow instead -intense)

After successful operation it gives you another parameters -zl and -d (-m and - c for older versions) to speed up whole operation if somebody else tries to precompres THIS file (parameters will be different for different input files!!!)

lupetto77 09-03-2012 17:44

What should I change to leave the autorun and install rimuvere images?

Thanks

yener90 09-03-2012 21:40

i give up with png support...
couldnt include on my source and then started completely new.
got also problems. so no support :/

leo95 11-03-2012 08:08

In InstallerScript What lines should I add to copy or create additional folders to specific directories during installation ej: in PES2012
1 - C: \ ProgramData \ KONAMI \ Pro Evolution Soccer 2012 \ download
2 - C: \ Users \ Leo \ Documents \ KONAMI \ Pro Evolution Soccer 2012

Where do I add this in InstallerScript
[HKEY_LOCAL_MACHINE \ SOFTWARE \ KONAMI \ PES2012]
"code" = "xxxx-xxxx-xxxx-xxxx-xxxx"
"installdir" = "C: \ \ Program Files \ \ KONAMI \ \ Pro Evolution Soccer 2012 \ \"
"Version" = "1.03.0000"
thanks

lupetto77 11-03-2012 09:21

sorry for English use google translate


2 things I wanted to ask

------------------------------------------------------------------------------------------------------------------
1. Also in the setup.ini file I added the file PhysX, but why not start the installation even if selected, and how do I remove

and put the check mark in other programs.

Here are the lines setup.ini:

[LauncherSettings]
InstallRedist = 1

Launch1 = DirectX
Launch164 = 0
Launch1BeforeInstall = 0
LaunchCom1 = __ Installer \ directx \ redist \ DXSETUP.exe
LaunchArg1 = / silent

Launch2 = Microsoft Visual C + + 2008 x86
Launch264 = 0
Launch2BeforeInstall = 0
LaunchCom2 = __ Installer \ vc \ vc2008sp1 \ redist \ vcredist_x86.exe
LaunchArg2 = / q: a

Launch3 = Microsoft Visual C + + 2008 x64
Launch364 = 0
Launch3BeforeInstall = 0
LaunchCom3 = __ Installer \ vc \ vc2008sp1 \ redist \ vcredist_x64.exe
LaunchArg3 = / q: a

Launch4 = PhysX
Launch464 = 1
Launch4BeforeInstall = 1
LaunchCom4 = __ Installer \ PhysX \ redist \ PhysX_9.10.0513_SystemSoftware.exe
LaunchArg4 = / quiet...
-------------------------------------------------------------------------------------------------------------------------
2. I tried installing with the skin but the image comes out of the picture and the autorun does not start splashscreen starts with what I did wrong?
I have changed so in setup.ini:

DarkISSkin=1
EnableAutorunMenu=0
EnableFastInstall=0

sulfurum1989 11-03-2012 09:52

and if you delete / quiet... ??

BAMsE 11-03-2012 10:51

leo95 have you InnoIDE? If not - install it. Open script in InnoIDE, there is Setup options panel on the left, choose Files & directories and click add folder icon. Use
Code:

{userdocs}\KONAMI\Pro Evolution Soccer 2012
instead
Code:

C:\Users\Leo\Documents\KONAMI\Pro Evolution Soccer 2012
To add reg entry choose Registry on this panel and click new icon

lupetto77 11-03-2012 11:42

PhysX_9.10.0513_SystemSoftware.exe file installation works perfectly.

What I know is how to put on and remove the checkmarks by default when I go into the installation window.

can explain line by line operation:

[LauncherSettings]
InstallRedist = 1

Launch1 = DirectX (I know)
Launch164 = 0
Launch1BeforeInstall = 0
LaunchCom1 __Installer = \ directx \ redist \ DXSETUP.exe (I know)
LaunchArg1 = / silent (I know)

Fabioddq 11-03-2012 12:15

Now I was confused ... :confused:
The extension of PhysX is ".msi" or ".exe" ?

lupetto77 11-03-2012 13:18

I try to explain better ...
I put the check only if you watch the picture instead Physx are all checked.
how do I do what I asked you?

http://s3.imagestime.com/out.php/i66...tallazione.jpg

yener90 11-03-2012 15:04

dudes i will take time out, got some business etc.
will be back again after 3-4 months bro's ;)

leo95 11-03-2012 16:12

Quote:

Originally Posted by yener90 (Post 401315)
dudes i will take time out, got some business etc.
will be back again after 3-4 months bro's ;)

Good luck in business, and thanks for the great work, I would like to get the maximum to the functions of InnoSetup, but I understand little English and deduction according to the modified scripts from other forum users.


All times are GMT -7. The time now is 00:38.

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