FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Newbie Question Thread (https://fileforums.com/showthread.php?t=105883)

Cesar82 13-04-2024 00:57

2 Attachment(s)
I think this solves the problem with less design blinking (Solution 3 attached).

EDIT:
Taking advantage of the topic, if anyone has a solution to my problem, let me know.
The caption 'Информация' of secondary windows using VCLStyles + Botva2 are not displayed correctly in languages that use Cyrillic characters such as Russian.
P.S: If you use TForm, the VCL design is not applied to the title bar.
https://i.imgur.com/0A4ldoP.png
This is an old bug that CIU has, and despite many attempts I still haven't been able to solve it.
If anyone has a solution, please share.

KaktoR 13-04-2024 06:15

I'm pretty sure you have to use encoded unicode characters (#$xxxx), but I am not sure if you can use them in a CustomForm title.

Cesar82 13-04-2024 13:38

Quote:

Originally Posted by KaktoR (Post 504156)
I'm pretty sure you have to use encoded unicode characters (#$xxxx), but I am not sure if you can use them in a CustomForm title.

Thanks for the suggestion, but it doesn't work (I tested directly: #$0420#$0443#$0441#$0441#$043A#$0438#$0439).
It is some internal bug in VCLStylesInno.dll that causes conflict with the Botva2.dll library (GDI PLUS).
To prove this you can just comment the line "Img := ImgLoad(...." (Disable GDI+ loading) and recompile the script and the caption will be displayed correctly.

nordi 13-04-2024 22:10

StyleSHE + Cyrillic
 
1 Attachment(s)
@Cesar82

In order to practice, I try to implement the SHEstyle from your Light Installer Script (LIS).

Is this the same behavior that you (or KaktoR) explained with VCLstyle...
>>> if I use StyleSHE with "Russian", so I have to do it with language codes... (#$xxxx)?

> Sample attached.

https://i.postimg.cc/K8GVQb5K/Unbenannt.gif

Cesar82 13-04-2024 22:41

1 Attachment(s)
Quote:

Originally Posted by nordi (Post 504158)
@Cesar82

In order to practice, I try to implement the SHEstyle from your Light Installer Script (LIS).

Is this the same behavior that you (or KaktoR) explained with VCLstyle...
>>> if I use StyleSHE with "Russian", so I have to do it with language codes... (#$xxxx)?

> Sample attached.

https://i.postimg.cc/K8GVQb5K/Unbenannt.gif

Replace two files and try russian language

nordi 13-04-2024 23:24

:) it`s working, thx :)

It's nice to see that the more experienced members don't give up on still helping other users like me.

Cesar82 13-04-2024 23:49

Quote:

Originally Posted by nordi (Post 504160)
:) it`s working, thx :)

It's nice to see that the more experienced members don't give up on still helping other users like me.

I only went to see after sharing that the wizardform background doesn't load color, it only works partially.
This library is from Githhub, maybe someone can adapt and correct it so that it works correctly in inno setup.

nordi 13-04-2024 23:57

oh, you're right.
Because of my anticipation, I overlooked this... :D
Anyway, first of all, thank you very much.


After research, some interesting links (when someone will look for solution):

https://www.skinsharp.com/htdocs/en/ (API Documentation on Website)
https://github.com/CodyGuo/skinh/blo...r/SkinHelp.txt

www . autohotkey . com/boards/viewtopic.php?t=5841 (#2 SkinSharp)
www . autohotkey . com/boards/viewtopic.php?t=116251
www . github . com/samfisherirl/autohotkey-v2-GUI-skins

nathan.stone 18-04-2024 01:21

I would like to ask for help, advice, or something similar.

Until now, I used IsTool to create the installer, I know how to use it. IsTool was enough for me, until the size of the games was around 10-20 GB, but for today's 80-100-150+ GB games, IsTool's LZMA2 compression is not enough.

How can I, - if at all - create a setup file (Setup.exe) for my compressed game using the DiskSpan GUI, if my goal is to make the installer as simple as possible? I don't need a fancy installer, I don't want background music, pictures, etc. just a simple Setup.exe that I can combine with the .bin files created by the DiskSpan GUI to install the game.

Cesar82 18-04-2024 12:10

Quote:

Originally Posted by nathan.stone (Post 504218)
I would like to ask for help, advice, or something similar.

Until now, I used IsTool to create the installer, I know how to use it. IsTool was enough for me, until the size of the games was around 10-20 GB, but for today's 80-100-150+ GB games, IsTool's LZMA2 compression is not enough.

How can I, - if at all - create a setup file (Setup.exe) for my compressed game using the DiskSpan GUI, if my goal is to make the installer as simple as possible? I don't need a fancy installer, I don't want background music, pictures, etc. just a simple Setup.exe that I can combine with the .bin files created by the DiskSpan GUI to install the game.

https://fileforums.com/showthread.php?t=103408

kj911 24-04-2024 15:58

2 Attachment(s)
A mystical question: Does anyone have any idea where to find the old "Netopsystems FEAD Optimizer/Dynamizer" or "NOSSO/iNOSSO" compression programs? Hacked "NOSSO" is only suitable for compression benchmarking and repackaging of "Adobe AIR Installer" installers. If the LZMA part could be replaced with LOLZ, what would it be capable of?

The hacked "NOSSO" is available at encode.su

UPDATE: Added few old Netopsystems documents from old my and web archives, many PDFs still not available from encode.su site uploads.

And uploaded demonstration package from repackaged Adobe AIR Installer. (v50.2.4.1)

Original installer: https://airsdk.harman.com/assets/downloads/AdobeAIR.exe
Size: 5.85MB

NOSSO package: https://www.upload.ee/files/16755387...S_SFX.zip.html
Size: 4.45MB (zipped: 4.43MB)

NanoZip 0.09a with nz_cm results: 4.66MB
WinRK3.1.2 PWCM/800MB -> 4340kB, with 2047MB and many max. settings resulted in size 4329kB

And added hacked NOSSO package.

brispuss 01-05-2024 08:28

Is there any guide on what the command syntax is for lolz?

There seems to be nothing that I could find that shows the required syntax for using lolz for compression and decompression (of single or a few files) manually (instead of running scripts/batch files).

I'm guessing the command syntax is something like -

lolz [compress|decompress or, encode|decode or, something similar] -options input output

There is documentation for the options available for lolz, but no apparent documentation on the commands and on the order of inputs and outputs?

Can someone please clarify what are the available compression and decompression commands, and confirm the order of file inputs and outputs (is it input output, or is it output input?).

Thank you.

kj911 02-05-2024 02:55

1 Attachment(s)
Using FreeArc, this is the syntax, for LOLZ, in the "arc.ini" file:

Code:

[Compression Methods]
CUSTOM    = xZLib+srep+lzma:ultra:64mb:bt4:fb273:lc8:mc1000000
MASK      = xZLib+srep+lolz:dt1:dtb1:dtw1:dtm1:dto1:dtd1:mtt1:mt4:d160m:tt16:fba4096:mc1023/$binkpack=bpk/$OGGRE=oggre/$MP3Pack=packMP3/$Void=srep
LZMA      = lzma:a1:ultra:256mb:bt4:fb273:lc0:pb0:lc8:mc4096
LOLZSLOW  = lolz:dt:dtb1:d160m:fba4096:mc1023:tt16:mt1:ldmf1:ldc0:ldl5
LOLZ          = lolz:dt:dtb1:dtw1:dtm1:dto1:dtd1:mtt1:mt4:d160m:fba4096:tt16:mc1023
LOLZFAST1  = lolz:dt:d160m:mc32:mtt1:mt2
LOLZFAST2  = lolz:dt:d320m:fba4096:mc32:ldmf1:mt1
LZP        = lzp:8mb:3:h22:d64mb

[External compressor:lolz]
header    = 0
packcmd    = "Resources\lolz_x64" {options} $$arcdatafile$$.tmp $$arcpackedfile$$.tmp

To unpack, you need this (arc.ini):

Code:

[External compressor:lolz]
header    = 0
unpackcmd = "cls-lolz_x86" {options} $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

+ cls.ini:

Code:

[lolz]
Bufsize=512k
transfer_ReadBufSize=512k
transfer_WriteBufSize=512k
MaxThreadsUsage=100%
MaxMemoryUsage=25%
TempPath=.\
ldmfMaxMemoryUsage=32m
ldmfDeleteTmp=0

This is the default usage mode as shown above.

If you want to compress manually, you basically have to copy the above command from the "Compression Methods" line and modify it a bit.

For example: lolz:dt:d320m:fba4096:mc32:ldmf1:mt1
Rewrite to: "lolz_x64.exe" -dt -d320m -fba4096 -mc32 -ldmf1 -mt1 datafile.arc packedfile.lolz

To unpack: "cls-lolz_x86/x64.exe" packedfile.lolz datafile.arc

The use of the "cls.ini" file may be omitted in this case.
I hope I got the question right...

brispuss 02-05-2024 04:12

Thank you very much for your detailed reply!

Your information is very useful and basically answers my question.

Thanks again!

Masquerade 02-05-2024 05:00

^^
The official lolz documentaiton is here:
https://krinkels.org/resources/lolz.264/


All times are GMT -7. The time now is 09:06.

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