FileForums

FileForums (https://fileforums.com/index.php)
-   PC Games - CD/DVD Conversions (https://fileforums.com/forumdisplay.php?f=39)
-   -   NASCAR The Game 2013 (inno setup script) (https://fileforums.com/showthread.php?t=94995)

sentinelks 30-07-2013 21:55

NASCAR The Game 2013 (inno setup script)
 
Script Sentinelks

LANGUAGE EN-ITA

Include InnoSetup (a) [[ISA folder]]

NOTE: File needed can be found in Post #2

http://i.imgur.com/GQOTbrA.png

Legenda:

Original Directory:
Code:

C:\Program Files (x86)\Eutechnyx\NASCAR The Game 2013\
in different directory:
add your directory
EXAMPLE:
Code:

C:\Program Files (x86)\XXXXXX\XXXXXXX
C:\Program Files (x86)\XXXXXXX
C:\Program Files\XXXXXX\XXXXXXX
C:\Program Files\XXXXXX  ecc.

proceed as follows

Add file Redist the following files:
DirectX with its related files inside the folder DirectX

Add file Redist the following files:
vcredist_x86.exe, vcredist_x64.exe in the root folder

Add file Redist the following files:
PhysX.exe inside the folder PhysX

Move the uninstall files and unins000.dat unins000.exe of the game and _CommonRedist folder before proceeding with the conversion
or add string under [setup]:
Code:

UninstallFilesDir={app}\Uninstall
1) Lanch bat auto compile your script :)


to add application drivers read the ReadMe file in the Redist folder

NOTE: File needed can be found in Post #2

pakrat2k2 31-07-2013 05:15

1 Attachment(s)
looks like you've figured out that blackbox script pretty well.

Few more details on what needs to be done ( add any redist files if needed, remove uninstall files etc etc ) sure would help those newer to doing these conversions.

Restored original file from post #1

sentinelks 31-07-2013 08:32

Quote:

Originally Posted by pakrat2k2 (Post 421506)
looks like you've figured out that blackbox script pretty well.

Few more details on what needs to be done ( add any redist files if needed, remove uninstall files etc etc ) sure would help those newer to doing these conversions.



ReadME in Redist folder :D

Ok add in topic

Cale2201 01-08-2013 04:54

Not Work For Me Or I Don't Understand How To Do It! Help!!

sorry for my bad English!!

sentinelks 01-08-2013 07:39

Quote:

Originally Posted by Cale2201 (Post 421519)
Not Work For Me Or I Don't Understand How To Do It! Help!!

sorry for my bad English!!


Hmmmm. concerned about the game, just run the conversion.
but if to a different directory from the one above, then you must enter the correct

example: you have the game in directory = C:\Program Files (x86)\NASCAR The Game 2013

you have to use these settings:

Quote:

#define SourcePath "C:\Program Files (x86)\NASCAR The Game 2013\"
= defines the directory where you installed your game
and
Quote:

Source:{#SourcePath}*; DestDir: {app}; Flags: ignoreversion recursesubdirs
= refers to the directory

Cale2201 01-08-2013 08:44

When I run the conversion, I get this:

*** Starting compile. [5:32:50 PM]

[ISPP] Preprocessing.
[ISPP] Preprocessed.

Parsing [Setup] section, line 28
Parsing [Setup] section, line 29
Parsing [Setup] section, line 30
Parsing [Setup] section, line 31
Parsing [Setup] section, line 32
Parsing [Setup] section, line 33
Parsing [Setup] section, line 35
Parsing [Setup] section, line 36
Parsing [Setup] section, line 37
Parsing [Setup] section, line 38
Parsing [Setup] section, line 39
Parsing [Setup] section, line 42
Parsing [Setup] section, line 43
Parsing [Setup] section, line 44
Parsing [Setup] section, line 45
Parsing [Setup] section, line 46
Parsing [Setup] section, line 48
Reading file (WizardImageFile)
File: D:\Games\Temp\NASCAR The Game 2013\ISA\WIZMODERNIMAGE.BMP
Reading file (WizardSmallImageFile)
File: D:\Games\Temp\NASCAR The Game 2013\ISA\WIZMODERNSMALLIMAGE.BMP
Preparing Setup program executable
Updating icons (SETUP.E32)
Reading default messages from Default.isl
Parsing [Languages] section, line 2 of D:\Games\Temp\NASCAR The Game 2013\iss\Messages.iss
File: D:\Games\Temp\NASCAR The Game 2013\ISA\Default.isl
Parsing [Languages] section, line 3 of D:\Games\Temp\NASCAR The Game 2013\iss\Messages.iss
File: D:\Games\Temp\NASCAR The Game 2013\ISA\Languages\Italian.isl
Parsing [LangOptions], [Messages], and [CustomMessages] sections
Messages in script file
Reading [Code] section
Parsing [Icons] section, line 90
Parsing [UninstallDelete] section, line 94
Parsing [UninstallDelete] section, line 2 of D:\Games\Temp\NASCAR The Game 2013\iss\ISDone.iss
Parsing [Run] section, line 84
Parsing [Run] section, line 85
Parsing [Run] section, line 86
Parsing [Run] section, line 87
Parsing [Files] section, line 52
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\1.png
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\bass.dll
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\botva2.dll
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\Button.png
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\Check.wav
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\CheckBox.png
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\Click.wav
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\DirFolder.png
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\Edit.png
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\Enter.wav
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\facompress.dll
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\get_hw_caps.dll
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\GroupFolder.png
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\HardDrivePanel.png
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\HDD.png
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\icon.ico
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\InnoCallback.dll
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\ISDone.dll
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\IsProgressBar.dll
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\ISSkin.dll
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\Line.png
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\logo.bmp
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\Music.mp3
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\MusicButton.png
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\packjpg_dll.dll
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\precomp038.exe
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\precomp04.exe
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\ProgressBackground.png
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\ProgressBackground2.png
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\ProgressImg.png
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\RequirementsPanel.png
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\RTconsole.exe
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\sentinelk.cjstyles
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\unarc.dll
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\unrar.dll
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\WFEnter.wav
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\WizardImg.png
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\WizardSmallImage.png
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\Workspace.png
Reading version info: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\zlib1.dll
Parsing [Files] section, line 53
Parsing [Files] section, line 54
Parsing [Files] section, line 55
Parsing [Files] section, line 56
Parsing [Files] section, line 57
Parsing [Files] section, line 69
Parsing [Files] section, line 70
Parsing [Files] section, line 71
Compiling [Code] section
Deleting Setup_NTG2013.exe from output directory
Deleting Setup_NTG2013-1a.bin from output directory
Creating setup files
Updating icons (SETUP.EXE)
Compressing Setup program executable
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\1.png
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\bass.dll (2.3.0.3)
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\botva2.dll (0.9.4.126)
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\Button.png
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\Check.wav
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\CheckBox.png
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\Click.wav
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\DirFolder.png
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\Edit.png
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\Enter.wav
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\facompress.dll
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\get_hw_caps.dll (1.0.0.3)
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\GroupFolder.png
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\HardDrivePanel.png
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\HDD.png
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\icon.ico
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\InnoCallback.dll (1.0.0.0)
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\ISDone.dll (0.5.0.0)
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\IsProgressBar.dll (1.0.1.0)
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\ISSkin.dll (3.0.0.0)
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\Line.png
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\logo.bmp
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\Music.mp3
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\MusicButton.png
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\packjpg_dll.dll
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\precomp038.exe
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\precomp04.exe
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\ProgressBackground.png
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\ProgressBackground2.png
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\ProgressImg.png
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\RequirementsPanel.png
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\RTconsole.exe
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\sentinelk.cjstyles
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\unarc.dll
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\unrar.dll (3.93.100.73)
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\WFEnter.wav
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\WizardImg.png
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\WizardSmallImage.png
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\Workspace.png
Compressing: D:\Games\Temp\NASCAR The Game 2013\InstallFiles\zlib1.dll (1.2.3.0)
Updating version info

Warning: Line 208, Column 13: [Hint] Variable 'I' never used
Warning: Line 1653, Column 25: [Warning] Calculation always evaluates to True
Warning: Line 110, Column 63: [Hint] Variable 'SELECTCOMPONENTSPAGE' never used
Warning: Line 112, Column 84: [Hint] Variable 'LOGO' never used
Warning: Line 114, Column 31: [Hint] Variable 'ERRORCODE' never used
Warning: Line 116, Column 91: [Hint] Variable 'HCANCELUNINSTBTN' never used
Warning: Line 116, Column 91: [Hint] Variable 'QUICKLAUNCHCHECK' never used
Warning: Line 121, Column 141: [Hint] Variable 'WELCOMELABEL1' never used
Warning: Line 121, Column 141: [Hint] Variable 'WELCOMELABEL2' never used
Warning: Line 122, Column 35: [Hint] Variable 'UPFBUTTONFONT' never used
Warning: Line 128, Column 55: [Hint] Variable 'COMPONENTS' never used
Warning: D:\Games\Temp\NASCAR The Game 2013\iss\PB.iss, Line 6, Column 49: [Hint] Variable 'OLDPOSITION' never used
Warning: D:\Games\Temp\NASCAR The Game 2013\iss\PB.iss, Line 9, Column 63: [Hint] Variable 'PRLABEL' never used
Warning: D:\Games\Temp\NASCAR The Game 2013\iss\ISDone.iss, Line 9, Column 33: [Hint] Variable 'OVERALPCT' never used
Warning: D:\Games\Temp\NASCAR The Game 2013\iss\ISDone.iss, Line 9, Column 33: [Hint] Variable 'N' never used
Warning: D:\Games\Temp\NASCAR The Game 2013\iss\ISDone.iss, Line 12, Column 14: [Hint] Variable 'PR' never used
*** Finished. [5:32:52 PM, 00:02.121 elapsed]

Game Is In Original Directory!
And i get two files (Setup_NTG2013-1a.bin, Setup_NTG2013.exe = 4 mb)

sentinelks 01-08-2013 09:03

scrennshot you directory games please :cool:

Cale2201 01-08-2013 09:16

http://i.imgur.com/nb8PRPv.jpg?1

pakrat2k2 01-08-2013 09:32

your using Unicode version of Inno ?

EDIT

Don't run the bat file, just open the ISS script directly,
and change first line to where you have game installed if not default.

Cale2201 01-08-2013 09:37

Yes, But "COMPILE_SCRIPT.bat" runs inno from "ISA folder"!

sentinelks 01-08-2013 09:38

mmmmm.. directory perfect.


its weird .. using this or I'll do a quick conversion unicode .. maybe deleting the welcomelabel bha!

1) ISA is inno (a) script is Ansi
2) bat no working = install inno setup ansi, open script and click compile (( script working 100%))

pakrat2k2 01-08-2013 09:41

just runs better without using bat file, ISPP is NOT needed to compile script.

sentinelks 01-08-2013 10:01

I understand that works without add-ons, but always needs inno setup ansi .. then so does the compilation prepocessor or not ... or maybe I realized another pakrat2k2 :D

Cale2201 01-08-2013 10:07

I Install inno setup ansi and again nothing.
I Don't know what else to do!

sentinelks 01-08-2013 10:20

unicode-ansi no cjstyle (test for you)

sentinelks 01-08-2013 10:25

there are many downloads and no comment saying (working perfect) (not working) so not good for us we post script :(

REV0 01-08-2013 13:43

Quote:

Originally Posted by sentinelks (Post 421536)
there are many downloads and no comment saying (working perfect) (not working) so not good for us we post script :(

welcome to the internet:the world of leechers

ps: if there's less comments means it works.

more comments: bad
less comments: better

sentinelks 01-08-2013 15:25

:p

pakrat2k2 01-08-2013 15:38

Quote:

Originally Posted by sentinelks (Post 421535)
unicode-ansi no cjstyle (test for you)

cjstyle works in both versions. so more likely user error :rolleyes: then script error. But also do not need to include all the ISPP stuff etc., just whatever dlls / exes etc are needed, makes d/l that much smaller & a lot less confusion for the end user.

sentinelks 01-08-2013 15:42

Quote:

pakrat2k2
ok master :)

pakrat2k2 01-08-2013 15:51

Quote:

Originally Posted by sentinelks (Post 421540)
ok master :)

LOL not by a long shot, but for those who may be new to doing conversions, its always best to have fewest files as possible, and instructions written out as clear as possible, to avoid any confusion.

I know not all users here read/write English as their first language & if you struggle to write out proper instructions & don't have anyone who can help, then try using screenshots as well as instructions. Just a suggestion. :D

Grumpy 01-08-2013 18:40

Quote:

Originally Posted by REV0 (Post 421537)
if there's less comments means it works.

more comments: bad
less comments: better

Yep, most people only comment if something goes wrong. (the are exceptions).

There are many examples of this in real life, a PC only tells you when something goes wrong, it never tells u when you do something correct.

The police don't pull you over in your car and say "oh wow, nice driving dude. Here have one of my doughnuts"

I could give you many more examples. :p

Maxgrilo 04-08-2013 20:58

It does not work.

Tested with version unicode and ansi, and I did the 3 files from the first page, none of the right.

NASCAR The Game 2013.rar (4.74 MB)

1) ISA is inno (a) script is Ansi
2) bat no working = install inno setup ansi, open script and click compile (( script working 100%))

NASCAR The Game 2013.rar

unicode-ansi no cjstyle (test for you)

main.rar

http://i.imgur.com/HTy4Dgd.png

Cale2201 05-08-2013 05:51

;Source:{#SourcePath}*; DestDir: {app}; Flags: ignoreversion recursesubdirs
;Source:C:\Program Files (x86)\Eutechnyx\NASCAR The Game 2013\*; DestDir: {app}; Flags: ignoreversion recursesubdirs

I Delete ";" And Now Work. Finally!!!

pakrat2k2 05-08-2013 10:06

from what file source? Post #1, #11, or #15.. because Ive tried all 3 & NONE of them work as they are. ( file location NOT specified for Ico, cjstyle, dll etc )

sentinelks 05-08-2013 12:09

I say no I find it strange that the thing (errors in the script), but I do not have windows 8 for a full test, then you can include files \ * or include (directory name.dll, file.avi, etc. file.jpg. or . ini file or retrieve them from external directories (app), now the methods are varied and the problem is only one problem ... specify the error (STOP) i read 2 different comments (for call path for (sourcepath)

freez semicolomn = ( internal compression ) yes cale2201 perfect
;Source:{#SourcePath}*; DestDir: {app}; Flags: ignoreversion recursesubdirs
;Source:C:\Program Files (x86)\Eutechnyx\NASCAR The Game 2013\*; DestDir: {app}; Flags: ignoreversion recursesubdirs

Maxgrilo

add code per file skin
in root
Source: file.cjstyles; DestDir: {tmp}; Flags: dontcopy
in folder
Source: folder\file.cjstyles; DestDir: {tmp}; Flags: dontcopy

opt

#ifexist "folder\file.cjstyles"
Source: folder\file.cjstyles; DestDir: {tmp}; Flags: dontcopy
#endif

sorry mi BAD BAD BAD english :(

and tnkx x comments to post

mausschieber 06-08-2013 07:53

Script work fine with compile script bat
no errors

script error when compile in inno setup compiler
line 119 duplicate identifier

remove WelcomeLabel1, WelcomeLabel2 in line 117
script work also fine

i have windows 8 64bit

inno unicode 5.5.3

sentinelks 06-08-2013 09:58

Quote:

Originally Posted by mausschieber (Post 421638)
Script work fine with compile script bat
no errors

script error when compile in inno setup compiler
line 119 duplicate identifier

remove WelcomeLabel1, WelcomeLabel2 in line 117
script work also fine

i have windows 8 64bit

error 117 in inno setup unicode
in inno ansi no error bro

Maxgrilo 08-09-2013 20:30

Finally it worked.

More is to leave uncompressed.


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

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