FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Repack Script V2 (https://fileforums.com/showthread.php?t=97119)

Andrey167 26-08-2015 07:51

Repack Script V2
 
1 Attachment(s)
http://s10.postimg.org/jwhcn0h9h/ban..._57_28_260.jpghttp://s10.postimg.org/b06kj2qn9/ban..._57_30_973.jpghttp://s10.postimg.org/vhmxgzdd1/ban..._57_36_826.jpghttp://s10.postimg.org/604ixdvmt/ban..._57_41_388.jpghttp://s10.postimg.org/7pdm5gbc5/ban..._57_44_674.jpghttp://s10.postimg.org/93590ralh/ban..._57_51_206.jpghttp://s10.postimg.org/7vvwma9ut/ban..._58_04_145.jpg

Script by
andrey_167

Chagelog
Ver 1.0.0

toto621 26-08-2015 09:20

Nice, can you add a black theme edition ? I'm not fan of white :p

Andrey167 26-08-2015 10:09

1 Attachment(s)
Quote:

Originally Posted by toto621 (Post 442841)
Nice, can you add a black theme edition ? I'm not fan of white :p

Like This?

DevilHunter.12 26-08-2015 16:28

Nice Installer Can You Please Add Slideshow function in installer.

Grumpy 26-08-2015 16:55

In the 'Features Info' you have:

Quote:

+#13+ ' • Do not cut / No recoded
Should possibly say something like:

+#13+ ' • No Cuts/ No Re-encoding

OR

+#13+ ' • Nothing cut / Nothing Re-encoded

apart from that, very nice Andrey ;)

toto621 27-08-2015 02:13

I have a couple of requests :
- Add multi-lang support (instead of hardcoded text in script)
- Read "Info" text from a separate file, it's easier and smarter than search in inside script
- Explain how to approximately calculate install size and final size (explain your formula)

Basically you can make all this by adding custom messages to isl file and create an ini file with all requered information about the repacked game, read by the script at compilation. You can check WPI script from razor for ini reading stuff and the modifications I made for it for easy multi-lang support :)

Andrey167 27-08-2015 06:34

Quote:

Originally Posted by toto621 (Post 442859)
I have a couple of requests :
- Add multi-lang support (instead of hardcoded text in script)
- Read "Info" text from a separate file, it's easier and smarter than search in inside script
- Explain how to approximately calculate install size and final size (explain your formula)

Basically you can make all this by adding custom messages to isl file and create an ini file with all requered information about the repacked game, read by the script at compilation. You can check WPI script from razor for ini reading stuff and the modifications I made for it for easy multi-lang support :)

I'll think about your wishes

Andrey167 27-08-2015 09:59

Update:
1) Added support for language localization 2
2) Slightly changed interface
3) Added the slideshow
4) Now the information is read from the rtf file

punchao 27-08-2015 11:12

its possible grey version,bro?

Andrey167 27-08-2015 11:37

Quote:

Originally Posted by punchao (Post 442873)
its possible grey version,bro?

No version is not damp, but not final, plans to add some more features

rabbit0x1 27-08-2015 12:52

Quote:

Originally Posted by punchao (Post 442873)
its possible grey version,bro?

you can use blackbox style file

ffmla 16-09-2015 01:01

Cancel button not working
 
First of all thanks for your script.
I am using to make installer but during installation goes when I click cancel .it is not close the process.still working.
How to fix this issue.
Thanks in advance.

sachin_rocks 14-12-2015 08:10

o am getting this error please can you help @
Andrey167

i am getting this error can you please help

line 171 :
collumn 6:
unknown Type 'TNewIconImage'

i am using inno setup 5.5.6 (u)

pakrat2k2 14-12-2015 11:15

Quote:

Originally Posted by sachin_rocks (Post 445470)
i am getting this error can you please help

line 171 :
collumn 6:
unknown Type 'TNewIconImage'

i am using inno setup 5.5.6 (u)

needs enhanced version of inno, not just Unicode

http://fileforums.com/attachment.php...1&d=1430150465

sachin_rocks 14-12-2015 17:22

thanks solved it now i am getting another error while installing the game .... isdone.dll 'it is not found in any file specified for ISARCEXTRACT. how to solve this ? i have the game files compressed in .bin formats ... sorry i am new to this area hence asking

pakrat2k2 14-12-2015 20:11

Quote:

Originally Posted by sachin_rocks (Post 445479)
thanks solved it now i am getting another error while installing the game .... isdone.dll 'it is not found in any file specified for ISARCEXTRACT. how to solve this ? i have the game files compressed in .bin formats ... sorry i am new to this area hence asking

need to specify file names in main(skin).iss file ( look for this section ), change the file names to match what you have used.

Code:

if not ISArcExtract ( 0, 0, ExpandConstant('{src}\Setup-a.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ISArcExtract ( 0, 0, ExpandConstant('{src}\Setup-c.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ShowChangeDiskWindow ('Insert Disk #2', ExpandConstant('{src}'),'Setup-b.bin') then break;
if not ISArcExtract ( 0, 0, ExpandConstant('{src}\Setup-b.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if ISExec(0, 0, 0, ExpandConstant('{tmp}\sfk.exe'),'join '+'"'+ExpandConstant('{app}\Setup-1.bin.part1')+'"' ,ExpandConstant('{tmp}'),'Setup-1.bin',false) then begin
if not ISArcExtract ( 0, 0, ExpandConstant('{app}\Setup-1.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
DeleteFile(ExpandConstant('{app}\Setup-1.bin.part1'))
DeleteFile(ExpandConstant('{app}\Setup-1.bin.part2'))
DeleteFile(ExpandConstant('{app}\Setup-1.bin'))
end else break;


sachin_rocks 15-12-2015 04:55

can you tell me which compression method is supported for this installer ? apparently the one i used is not supported by the installer

rinaldo 15-12-2015 06:56

Quote:

Originally Posted by sachin_rocks (Post 445484)
can you tell me which compression method is supported for this installer ? apparently the one i used is not supported by the installer

I have not read the code, but I think support for decoding, must compress and decompress the file created by the compiler (bat or compressor that is) then try to decompress (and having already the decompression method) one already knows what he needs (that versions of SREP, preComp, msc, arc.ini etc.). if everything can not be decompressed only .dll SREP or inside precompress

Andrey167 15-12-2015 12:53

1 Attachment(s)
Quote:

Originally Posted by sachin_rocks (Post 445484)
can you tell me which compression method is supported for this installer ? apparently the one i used is not supported by the installer

tested with this method!

Pulcione86 07-02-2016 00:05

Sorry guys, how inno setup must be completed? to me by mistake

Sorry my English

Fakhruddinmaruf_ 28-12-2016 17:12

Hi andrey. Are you tested this script again? I've compiled and i got problems when succesfully installation. There are error messages. So please, can you test again and fix that errors?


All times are GMT -7. The time now is 16:54.

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