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)

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


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

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