FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Windows Phone Installer (WPI) (https://fileforums.com/showthread.php?t=96242)

shadowhacker 07-08-2015 03:06

Ultra arc Is Supported???

Razor12911 07-08-2015 03:21

No.

shadowhacker 07-08-2015 04:21

Can You add it !

or

give me link of compressor 2.2

toto621 07-08-2015 04:39

Quote:

Originally Posted by shadowhacker (Post 442393)
Can You add it !

or

give me link of compressor 2.2

Seriously ??

You know, the SEARCH button on the right upper corner of the forum is not a decoration...

Next time use it : Compressor Thread

@Razor12911:
I don't know why but Compressor crash when I'm using precomp (with or without JPEG option) while, for example TinyTools by ChronoCross do not with those options...

Since UltraARC is not supported and will be remade from scratch I didn't tested it.

The only problem with TiniTools is if you split archives then WPI cannot use them, error:-14, else it can be a good alternative for people having crashes like me with Compressor.

emadmoner 07-08-2015 04:42

Quote:

Originally Posted by shadowhacker (Post 442393)
Can You add it !

or

give me link of compressor 2.2

http://fileforums.com/showthread.php?t=95288

Razor12911 07-08-2015 05:57

1 Attachment(s)
Guys look at this, WPI extracted the archive without any errors.

mertderler 07-08-2015 06:16

Batman Arkham Knight

Windows Phone Installer (WPI) Can you give

Helpp

mertderler 07-08-2015 06:21

Batman Arkham Knight desktop shortcut error

http://i.hizliresim.com/L41Z51.jpg

toto621 07-08-2015 07:52

Quote:

Originally Posted by mertderler (Post 442400)
Batman Arkham Knight desktop shortcut error

http://i.hizliresim.com/L41Z51.jpg

- Title caption = Name of the Game.
- Exec Directory = where the game exe is located INSIDE app folder. For example, if the game exe is directly inside game folder, leave it blank.
- Exec File = Name of the game exe file, for example bak.exe
- Shortcut name = Name of the shortcut, you can basically put anything you want as a NAME. You can also set an action name, for example if this game exe is for x64 OS only.

Whith thoses informations you can easily stop why it's faulty on your screenshot.

@Razor: I do not understand either maybe it's because TinyTools is set to use only 1024MB of ram for compression (even with Precomp) while Compressor use, well, I don't know since we have no size. I also try with low memory usage and it's same result.

I tried with 500MB, 1GB, 5GB and 10GB folders and Compressor crash for both 5 and 10GB, unless I disable Precomp of course. I presumed it was maybe a problem with too "slow" HDD so I tried on my SSD and same result again...

I have 16GB of RAM (Corsair) so I assume it's enough for most of usages.

XxXKlemenXxX 07-08-2015 09:07

Hi!

Evereything is working for me except I can not get disk spanning to work tried nearly everything. Here is the error
http://imageshack.com/a/img538/8279/RFCBnr.png

I also discovered that when I insert the disk 1 again it completes succesfully but it does not extract the second archive

Here is my compression method
arc a -lc8 -ep1 -ed -r -w.\ "Data.bin" -msrep+lzma:a1:mfbt4:d158m:fb273:mc1000:lc8 "D:\compress\*"

Thanks in Advance!

pakrat2k2 07-08-2015 09:40

Quote:

Originally Posted by XxXKlemenXxX (Post 442406)
Hi!

Evereything is working for me except I can not get disk spanning to work tried nearly everything. Here is the error
http://imageshack.com/a/img538/8279/RFCBnr.png

I also discovered that when I insert the disk 1 again it completes succesfully but it does not extract the second archive

Here is my compression method
arc a -lc8 -ep1 -ed -r -w.\ "Data.bin" -msrep+lzma:a1:mfbt4:d158m:fb273:mc1000:lc8 "D:\compress\*"

Thanks in Advance!

Look at post #45 screenshot, it will easily tell why you DONT have disk spanning working properly. You have to set disk #, with the archive name, for the second disk.

IE:
Archive1Source={src}\data1.cab
Archive1Output={app}
Archive1Disk=1
Archive2Source={src}\data2.cab
Archive2Output={app}
Archive2Disk=2

see the difference?

Abhinav0143 08-08-2015 10:51

Razor bro can i put Remaining time option in it ?????

toto621 08-08-2015 15:34

1 Attachment(s)
Since a friend of mine asked me if I can add internal Inno compression to WPI (because he don't want to mess with freearc/precomp/ect...) I tried and I succedeed.

Keep in mind that internal compression is LESS effective than external but easier to manage (spkanning, Slice size, ect...) and of course quicker to compress/decompress.

Internal compression is enabled by default in this script.
To enable external compression, just change this line :
Code:

#define External 0
to
Code:

#define External 1
I will assume you can manage internal compression options, just modify them in the script to your preferences. Read Inno online manual for more informations.

I made a try with the game Fairy Fencer F, a small game (~5GB) and I ended up with a ~2.41GB bin files (lzma2/ultra64) while external compression ended up with ~2.08GB (FreeARC: precomp, msc, srep, exe, exe2, delta, lzma) bin file.

Here are some screenshots of the installer, for fun :p
http://image.noelshack.com/fichiers/...741-wpi-01.jpg

http://image.noelshack.com/fichiers/...743-wpi-04.jpg

punchao 08-08-2015 16:35

Only with precom+srep 1,95 GB

toto621 08-08-2015 19:28

1 Attachment(s)
Quote:

Originally Posted by punchao (Post 442432)
Only with precom+srep 1,95 GB

Testing all settings take time, much time and i also still unfamilliar with Freearc options, when use them, when not.

@all:
Here is a fully french translated version of WPI (No lockscreen with internal compression support).

By default it's still in english, to change language, simply change this line at the bigining of the script :
Code:

#define Language "us"
to
Code:

#define Language "fr"
Here is a preview of the result :
http://image.noelshack.com/fichiers/...610-french.jpg

If you want to add your translation, it's structurated like this :
Code:

#if Language == "fr"
#define text1 "Démarage"
...
#endif
#if Language == "us"
#define text1 "Start"
...
#endif

Just refer to english text and translate each variable.

Since I'm still new to Inno and script language I could not direct translate some sentences because the sentence build is not the same from english to french, for example this english sentence :
Code:

Welcome to {#AppName} Installer Wizard
is translated like this in french :
Code:

Bienvenue sur l'assistant d'installation de {#AppName}
As you can see, {#AppName} is not located at the same place so for this type of sentences I added if loop in the code...I know it's dirty but I did not found how to keep {#AppName} as a variable, not a simple string, uninterpreted by the compiler.

If someone know please tell me and I will update the script so you will be able to translate each text without messing with the code :)

bastien360 09-08-2015 00:19

have you manage to change require space for installation MB to GB

emadmoner 09-08-2015 03:09

Quote:

Originally Posted by emadmoner (Post 442367)
thanks solved
but
another problem
and sorry i am learning
http://picload.org/image/ipigwii/screencapture008.png



problem solved
thanks Razor12911:)

toto621 09-08-2015 06:02

Quote:

Originally Posted by bastien360 (Post 442436)
have you manage to change require space for installation MB to GB

You can do it yourself if you want only cosmetic change. If you REALLY want to change it you will have to also modify the mathematical formula razor used to determine installation progress.

I personally see no use to do it. If you want accurate game size in MB, simply use Compressor 2.2, it show the game size in MB (next to input size), just copy/paste it in the script and you're good to go.

Stor31 09-08-2015 08:36

Internal compression is enabled by default in this script.
To enable external compression, just change this line :
Code:

#define External 0
to
Code:

#define External 1
Error ??????
http://nsa38.casimages.com/img/2015/...3729532114.jpg

toto621 09-08-2015 08:59

Quote:

Originally Posted by Stor31 (Post 442447)
Internal compression is enabled by default in this script.
To enable external compression, just change this line :
Code:

#define External 0
to
Code:

#define External 1
Error ??????
http://nsa38.casimages.com/img/2015/...3729532114.jpg

Download the latest version (with french translation), I fixed this error in it and forgot to fix previous version. Don't worry it's in english by default and it also have internal compression support

Stor31 09-08-2015 09:57

sorry error n2
http://nsa37.casimages.com/img/2015/...5913713045.jpg

toto621 09-08-2015 10:02

Quote:

Originally Posted by Stor31 (Post 442451)

You forgot to provide an icon file, for example for Fairy Fencer F, icon file was in the folder Icons next to the script so I made it like this, in the begining of the script :
Code:

;Setup File Icon
#define IconFile "Icons\FFF-02.ico"

If your icon is in the same folder (no subfolder) than the script just change it like this :
Code:

;Setup File Icon
#define IconFile "name_of_the_icon.ico"


Stor31 09-08-2015 11:44

Thx @toto612 All work very good
but how to change the color ?,
I do not like purple !!!!

toto621 09-08-2015 12:04

Quote:

Originally Posted by Stor31 (Post 442455)
Thx @toto612 All work very good
but how to change the color ?,
I do not like purple !!!!

Check the Color= line under the [Theme] section of the script.

mausschieber 09-08-2015 12:25

Quote:

Originally Posted by Stor31 (Post 442455)
Thx @toto612 All work very good
but how to change the color ?,
I do not like purple !!!!

i search for Windows Phone Color
and think this is the right color

;Colors are Originally from OS Windows Phone 8 (01-20)
;1=Lime 2=Green 3=Emerald 4=Teal 5=Cyan
;6=Cobalt 7=Indigo 8=Violet 9=Pink 10=Magenta
;11=Crimson 12=Red 13=Orange 14=Amber 15=Yellow
;16=Brown 17=Olive 18=Steel 19=Mauve 20=Sienna

bastien360 09-08-2015 12:54

am having an appname error on compiling...the updated script

toto621 09-08-2015 14:26

2 Attachment(s)
Here we go, brand new script with Lockscreen disabled, internal compression and proper language support. It's only an addon, you NEED the updated package from the OP of this thread !!

No need to set it manually anymore, it will detect your OS current language.
Only french and english supported so far, if you use another language, you can force english output by changing this line at the begining of the script :
Code:

;Force english language
#define ForceEnglish 0

to
Code:

;Force english language
#define ForceEnglish 1

If you want to add another language, do the following :
1- Go to Inno language folder and pick isl file corresponding to your language.

2- Copy this isl file to the Lang folder of this archive.

3- Edit this file with notepad (for example) and add this section at the very bottom :
Code:

;; WPI messages ;;
WPIText1=Start
WPIText2=Install
WPIText3=Uninstall
WPIText4=Exit
WPIText5=Welcome
WPIText6=Finalization
WPIText7=Welcome to %1 Installer Wizard
WPIText8=You are installing %1 on your computer.
WPIText9=It is highly recommended that you close all programs
WPIText10=that may interfere with the installation progress.
WPIText11=When ready click Proceed to continue with installation or close to exit installation.
WPIText12=Select the destination of the product you are installing
WPIText13=will be installed in this Directory.
WPIText14=You can select a different directory by clicking the browse button.
WPIText15=Make sure you have enough space before installing.
WPIText16=Installing
WPIText17=Installer Wizard is installing the product.
WPIText18=This might take a while.
WPIText19=Completing the %1 Install Wizard
WPIText20=Installer has finished installing the product on your computer
WPIText21=has been installed successfully.
WPIText22=Proceed
WPIText23=Close
WPIText24=Click Finish to Close Install Wizard or Uninstall to Rollback changes made.
WPIText25=Create a shortcut
WPIText26=Install...
WPIText27=Are you sure that you want to close installer wizard?
WPIText28=This action closes installer wizard.
WPIText29=The product you are installing would not be installed.
WPIText30=You can re-install this product later on if not now.
WPIText31=Yes
WPIText32=No
WPIText33=Minimize
WPIText34=Finish
WPIText35=was not found.
WPIText36=Rolling back changes...
WPIText37=Uninstaller Wizard is uninstalling the product.
WPIText38=Uninstalling...
WPIText39=Back
WPIText40=Cancel
WPIText42=English

4- Now translate each line, note that you MUST keep the %1 when there is one, when setup is launched, it will be replaced by the game name. The only line that MUST stay in english if the last one (WPIText42) so if (for example) you translate in spanish this line must be like this :
Code:

WPIText42=Spanish
5- When the translation is done, open the script and add a line corresponding to your language in the script, under the [Languages] section. For example if you added spanish language, modify like this :
Code:

[Languages]
#if ForceEnglish == 1
Name: "Default"; MessagesFile: "Lang/English.isl"
#endif
#if ForceEnglish == 0
Name: "English"; MessagesFile: "Lang/English.isl"
Name: "French"; MessagesFile: "Lang/French.isl"
Name: "Spanish"; MessagesFile: "Lang/Spanish.isl"
#endif

6- Now go inside the Resources folder, copy the english.ini and rename it to your language name, in english, for example spanish.ini.

7- Now open this file and translate each line.

8- If you don't want to translate this file, simply let the WPIText42 line of your translated isl file to English.

9- It's done, enjoy the translated WPI script in your language :)

-- Edit --
09/10/2015:
- Spanish translation added, huge thx to omdj :)
- Fixed misplaced text with Spanish translation, download link updated

omdj 09-08-2015 20:10

2 Attachment(s)
Spanish.isl and spanish.ini:

punchao 09-08-2015 23:48

how to use?

toto621 10-08-2015 00:30

1 Attachment(s)
Quote:

Originally Posted by punchao (Post 442470)
how to use?

Spanish translation added, thx to omdj :)

-- Edit --
- Fixed misplaced text with Spanish translation, download link updated

Stor31 10-08-2015 07:02

Quote:

Originally Posted by bastien360 (Post 442459)
am having an appname error on compiling...the updated script

look #180 :):)

shadowhacker 13-08-2015 04:57

Precomp 0.43 Is Supported?

toto621 13-08-2015 05:28

Quote:

Originally Posted by shadowhacker (Post 442528)
Precomp 0.43 Is Supported?

No. While it's really easy to add it in the script, you will have to find a compatible compression soft to go with it. WPI support only Compressor 2.2 which do not have precomp 0.43 option.

I suppose you can fool the software by replacing precomp 0.42 by version 0.43 but I'm not sure of the result.

shadowhacker 13-08-2015 11:11

I Tried That but The Results are Error

Precomp error Code Injection Failed

toto621 13-08-2015 12:22

1 Attachment(s)
Quote:

Originally Posted by shadowhacker (Post 442531)
I Tried That but The Results are Error

Precomp error Code Injection Failed

Try what ? Replacing precomp 0.42 by version 0.43 in Compressor 2.2 ?

If you talk about the script, you need to modify some code lines, not just PrecomVer= parameter.

I made the modification on the script for you but you still need to find a compatible Compression software.

shadowhacker 13-08-2015 12:40

Facing Same Error After THis Modified Script

By The Way The Script i Use:

Quote:

arc a -ep1 -r -w.\ -mprecomp+srep+delta+lzma:256mb:mfbt4:d256m:fb273:m c1000:lc8 -hp -pcorepack.4156 -dp"%choice1%" .\RER\%arc%

shadowhacker 13-08-2015 12:42

and using freearc script

toto621 13-08-2015 12:46

Like I already wrote, only Compressor 2.2 is supported with WPI script. Check which options compressor use and modify your script to match it or try to modify WPI decompression's formulas to match your compression script if you think you can handle it.

shadowhacker 13-08-2015 22:59

This Script Work Fine With The Installer if i remove precomp

but precomp compress a lot size

toto621 14-08-2015 02:44

Quote:

Originally Posted by shadowhacker (Post 442548)
This Script Work Fine With The Installer if i remove precomp

but precomp compress a lot size

Then use PreComp 0.42 since it's officially supported by the script, viewing the changelog most of changes in 0.43 concern JPG compression option :
Code:

Linux: Added JPG recompression using PackJPG, full compatibility of Windows and Linux PCF files
Linux: zLib routines are now as fast as under Windows
Windows: Locked files can be read now, multiple Precomp instances can work on the same file
Windows: Static zLib and PackJPG linking (no DLLs needed)
Major GIF rewrite, Precomp now recompresses most GIF files completely
New switch -n for conversion of PCF files (bZip2 <-> no compression)
Compression switch -c uses n (none) instead of - now
Improved timing behaviour and activity indicator updates
Updated to PackJPG 2.5, this fixes JPG crashes
JPG misdetections are now visible in statistics
Filenames are stored in their original case now to improve platform compatibility
Fixed a bug with GIF files at positions above 2 GB
Fixed a bug that led to unnecessary data in PCF files
Fixed a bug in Base64 routines that freezed Precomp

You can ask razor what to change/add in the decompression's formulas to use precomp 0.43 with WPI without crashes.


All times are GMT -7. The time now is 03:55.

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