FileForums

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

sentinelks 05-08-2013 16:14

Script Video
 
1 Attachment(s)
only for demonstration purposes ok!

1) Specify the directory of the game to be compressed:
Code:

#define SourcePath "C:\Program Files(x86)\Publisher\ApplicationName\"
2) Remove the semicolon:
Code:

;Source:{#}*SourcePath; DestDir: {app}; Flags: ignoreversion recursesubdirs
3) Change the compression:
Default is Compression = none change to Compression = lzma etc.. max is lzma2/ultra64 (system 64Bit)
___________________________________
Autorun:
1) Create a file .ini and paste this code:

Code:

Autorun = Setup.exe
Icon = Setup.exe
Label = name of the game

Video processed with ( FormatFactory 3.1.1 program )
test video:
avi,flv,mkv,mp4 is OK!

enjoy

http://i.imgur.com/qd77Lgx.png
Add... ISDone 6 (simply Version):
support Arc,precompress,srep,lzma ecc..
EX:
Code:

-mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8

Demonn 06-08-2013 11:01

Good sentinelks, thank you for this script that is very good.
But I have a problem loading ami the video I do not know if I have to do something else.

sentinelks 06-08-2013 12:14

use FormatFactory 3.1.1 program x conversion video or super erightsoft

use K-Lite Codec Pack 9.9.9 Full to have all the necessary video codecs

Demonn 06-08-2013 16:56

Thanks sentinel but the video did not load

pakrat2k2 07-08-2013 01:22

it does if you have codec installed. Just click on video on/off in lower left hand corner. Running the setup.exe provided in archive will show the word alpha rotating when you click video on or off.

Grumpy 22-07-2015 18:56

File re-uploaded to first post. ;)

Razor12911 27-07-2015 16:02

:D the revival ceremony, can you please move this to tutorials.
And:
http://fileforums.com/showthread.php?t=95018

Grumpy 27-07-2015 19:09

Quote:

Originally Posted by Razor12911 (Post 442111)
:D the revival ceremony, can you please move this to tutorials.
And:
http://fileforums.com/showthread.php?t=95018

Both have been moved to Tutorials. I trust you will add them to the Tutorial Index. :)

toto621 31-07-2015 14:42

1 Attachment(s)
I've played with this script today and I decided to re-enable welcome screen (instead of nothing because I found it weird) and make video playback enabled by default.

http://image.noelshack.com/fichiers/...805-result.jpg

All credits goes to the original author of course :)

toto621 02-08-2015 09:20

1 Attachment(s)
Here is a better structured version, easier to modify for newscomers because all needed informations can be set at the beginning of the script :
Code:

;Path to game files
#define SourcePath "Game Path here, ex : C:\Program Files (x86)\GTA V"
;Setup File Name
#define SetupName "Setup"
;Setup Output Dir
#define OutputDir ".\Setup\"
;Setup File Icon
#define IconFile "Icon.ico"
;Game Publisher/Developpers
#define MyPublisher "Game developper/Publisher here, ex : Rockstar"
;Game Name
#define MyAppName "Shortcut name here, ex : GTA V"
;Game Version
#define MyAppVersion "Game version here, ex : 1.0.2"
;Game Main Exe File
#define MyAppExeName "Game executable here, ex : GTAV.exe"
;Setup Video Playback
#define Video "Video.avi"

A friend of mine asked me if I could add support for Compressor 2.2 from Razor12911, I tried using WPI 3.1 script as reference because it's really well structured and made external compression easy to handle but, no matter what I do, when I try compiling setup all ReadIni lines are totally ignored...

If one of the talent here know how to archieve this go ahead and modify this version :)

pakrat2k2 02-08-2015 09:33

you could of course always PM razor & ask him to take a look at it, as he is the author of WPI script.

Razor12911 02-08-2015 10:57

toto621, you're not the only one who has problems fabricating or copying anything with wpi, almost everyone gets stuck trying to anything with wpi but thank you for the attempt. .

toto621 02-08-2015 15:01

Quote:

Originally Posted by pakrat2k2 (Post 442247)
you could of course always PM razor & ask him to take a look at it, as he is the author of WPI script.

Thx for the idea, I was a little ashamed to bother razor because of my lack of skills but it's indeed was woth the try :)

Quote:

Originally Posted by Razor12911 (Post 442248)
toto621, you're not the only one who has problems fabricating or copying anything with wpi, almost everyone gets stuck trying to anything with wpi but thank you for the attempt. .

Thx for your kind words but since I failed to apprehend your work I do not deserve it. I tried my best to analyze and understand your work but I'm simply far too dumb.

Your script is really good and well structured, this is indeed great work and even if I understand the general purpose of each function/structure I was unable to correctly decipher them and transpose them to this script.

I use Inno since a couple of days at best so there is no way I can match your experience and talent with it. I'm sorry to request your help while you obviously already spending your time in other great projects.

Anyway, thx for your PM and for taking the time to add compressor support on this script :D

toto621 06-08-2015 17:52

1 Attachment(s)
I made another attempt to add external compression support with WPI script as reference but I failed again, I really don't know why but ReadIni function do not work and I think I also (probably) not implemented Razor12911 code the right way.

Here is what I done (compilation fail each time, be warned), perhaps one of the smarter guy here will succeed.


All times are GMT -7. The time now is 04:23.

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