-
Posts
168 -
Joined
-
Last visited
-
Days Won
1
Posts posted by DKRUBEN
-
-
-
@Kotyarko_O , thats are the msn i ricive.
Nova Imagem de Mapa de Bits.bmp
@Kotyarko_O , i try this
Procedure MCTCreatorLaunch(); var ResCode: Integer; Params: String; begin ResCode := 666; if FileExists(ExpandConstant('{app}\Driftkings\MCTCreator\MCTCreator.exe')) then begin Params := (ExpandConstant('/wot-path "{app}"') + ('/operational-mode=0')); if IsComponentSelected('Change the texture of destroyed equipment') then Params := Params + '/DPT-mod "FFFFFF"'; if IsComponentSelected('Change the texture of the downed track/tank') then Params := Params + '/CT-mod "FFFFFF"'; Exec('MCTCreator.exe', Params, ExpandConstant('{app}\Driftkings\MCTCreator'), SW_SHOW, ewWaitUntilTerminated, ResCode); if ResCode <> 0 then MsgBoxEx(WizardForm.Handle, 'Unexpected error.' + #13#10 + 'Result code: ' + IntToStr(ResCode) + '.', '{#__FILE__}: {#__LINE__}', MB_OK or MB_ICONERROR, 0, 0); end else MsgBoxEx(WizardForm.Handle, 'MCTCreator files doesn`t exists.', '{#__FILE__}: {#__LINE__}', MB_OK or MB_ICONERROR, 0, 0); end;
but same error
-
-
@Kotyarko_O i don't have anything problem in expose the Project, in true, its your work and dont my... i just rework them... im soo happy for you expose your work and help guys like me #noobs
@Kotyarko_O , script link:
http://www.mediafire.com/file/n7h8ra14z53i0o8/script.rar/file
-
I, already here I put all this here.
-
@Kotyarko_O Give-me a error...
-
-
-
well it seemed to me, because in my old script I used [files] and [components], and with this, yours is really good for me, I could not find them, I know my question was a little silly.
big thanks for you and @night_dragon_on...
@Kotyarko_O it's this?
Source: "MODS\ComponetsPage\MCTCREATOR\*.cfg"; DestDir: "{app}\Driftkings\MCTCreator"; Flags: ignoreversion; BeforeInstall: SetInstallStatus('Extart MTCreator...:'); Check: ComponentsChecked('Changing game texture (MCTCreator):'); Source: "MODS\ComponetsPage\MCTCREATOR\MCTCreator.exe"; DestDir: "{app}\Driftkings\MCTCreator"; Flags: ignoreversion; BeforeInstall: SetInstallStatus('Extart MTCreator...:'); AfterInstall: "MCTCreatorLaunch()"; Check: ComponentsChecked('Changing game texture (MCTCreator):'); #endif [Code] Var ComponentsPage: TWizardPage; ComponentsList: TNewCheckListBox; ComponentsPageImg: Longint; //// //*2 Procedure MCTCreatorLaunch(); var ResCode: Integer; Params: String; begin ResCode := 666; if FileExists(ExpandConstant('{app}\Driftkings\MCTCreator\MCTCreator.exe')) then begin Params := ExpandConstant('/wot-path "{app}" /operational-mode=0'); if IsComponentSelected('Change the texture of destroyed equipment') then Params := Params + ' /DPT-mod "#FFFFFF"'; if IsComponentSelected('Change the texture of the downed track/tank') then Params := Params + ' /CT-mod "#FFFFFF"'; Exec('MCTCreator.exe', Params, ExpandConstant('{app}\Driftkings\MCTCreator'), SW_SHOW, ewWaitUntilTerminated, ResCode); if ResCode <> 0 then MsgBoxEx(WizardForm.Handle, 'Unexpected error.' + #13#10 + 'Result code: ' + IntToStr(ResCode) + '.', '{#__FILE__}: {#__LINE__}', MB_OK or MB_ICONERROR, 0, 0); end else MsgBoxEx(WizardForm.Handle, 'MCTCreator files doesn`t exists.', '{#__FILE__}: {#__LINE__}', MB_OK or MB_ICONERROR, 0, 0); end;
-
-
@Kotyarko_O, Hello and sorry to be a bit annoying, in your source of the inno I am trying to add MCTCreator as you have but gives me error to compile, any idea?
[Files] Source: "MODS\MCTCREATOR\*.cfg"; DestDir: "{app}\KMP\MCTCreator"; Flags: ignoreversion; BeforeInstall: SetInstallStatus('Изменение игровых текстур..'); Components: KMP\MCT; Source: "MODS\MCTCREATOR\MCTCreator.exe"; DestDir: "{app}\KMP\MCTCreator"; Flags: ignoreversion; BeforeInstall: SetInstallStatus('Изменение игровых текстур..'); AfterInstall: MCTCreatorLaunch(); Components: KMP\MCT; [Code] Var ComponentsPage: TWizardPage; ComponentsList: TNewCheckListBox; ComponentsPageImg: Longint; Procedure MCTCreatorLaunch(); var ResCode: Integer; Params: String; begin ResCode := 666; if FileExists(ExpandConstant('{app}\KMP\MCTCreator\MCTCreator.exe')) then begin Params := ExpandConstant('/wot-path "{app}" /operational-mode=0'); if IsComponentSelected('KMP\MCT\DPT') then Params := Params + ' /DPT-mod "#FFFFFF"'; if IsComponentSelected('KMP\MCT\CT') then Params := Params + ' /CT-mod "#FFFFFF"'; Exec('MCTCreator.exe', Params, ExpandConstant('{app}\KMP\MCTCreator'), SW_SHOW, ewWaitUntilTerminated, ResCode); if ResCode <> 0 then MsgBoxEx(WizardForm.Handle, 'Unexpected error.' + #13#10 + 'Result code: ' + IntToStr(ResCode) + '.', '{#__FILE__}: {#__LINE__}', MB_OK or MB_ICONERROR, 0, 0); end else MsgBoxEx(WizardForm.Handle, 'MCTCreator files doesn`t exists.', '{#__FILE__}: {#__LINE__}', MB_OK or MB_ICONERROR, 0, 0); end;
-
thank you very much ... you're the man ...
if its plossible close topict tanks all to help
- 1
-
@geyojog crash
-
-
-
Well I used this code to inform the client when the modpack had new updates ... attention this code is not mine nor do I know that it is the author of the same ... But recently I tried to put it back into practice but not to give .. Below is the py.log and updater code.
-
for all I leave here a script that can help those who need to write in text file ... It works like the Sed of Linux ..
- 1
-
good work man
- 1
-
until now, nothing
- 1
-
@spoter, thx alot for all and keep your mind free...
- 1
-
12 часов назад, tunut сказал:
[ISPP] File not found: "botva2.ish".
[ISPP] File not found: "DescCtrl.ish".
download this version of inno installer (5.5.9u) # 12.12.16 ... and drag to a folder, then do "open with" set this version as default ...
http://www.mediafire.com/file/mrmujb8xrbtc9bm/inno.7z
-
please add english lang to your mods... thx
-
Good here is a great script example for inno setup. missing the addition to auidio selection and downloads ...
-
hello, I would like to have some help regarding the "gunreload" issue, since the last one launched is not working, thanks
Создание инсталляторов для модпаков на базе Inno Setup
in Modding General Discussion
Posted
@Kotyarko_O , I'll send all the code to you, by private message.