Page 1 of 4 123 ... LastLast
Results 1 to 30 of 102

Thread: FreeArc and Inno Setup script

  1. #1
    Member
    Join Date
    Jun 2009
    Location
    Poland
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    FreeArc and Inno Setup script

    Quote Originally Posted by Bulat Ziganshin View Post
    http://www.haskell.org/bz/FreeArc4InnoSetup.zip - support for extrcating .arc archives with progress indicator in InnoSetup installers. should be also usable for other installers and other programs that need to decompress .arc files
    -----
    Now questions/problems :
    1) Can you Bulat Ziganshin or any other translate that lines from iss script:
    ExtractFile.caption:='Đŕńďŕę??ęŕ ŕđőč?ŕ FreeArc';

    ExtractFile.Caption:='Đŕńďŕę??ŕ?? '+IntToStr(int1)+' č? '+IntToStr(int2)+' ě? ('+FloatToStr(percents/10)+'%)';
    2) Now progress bar based on size of file yes? it's possible to create progress bar based on number of files
    +
    additional main progress bar based on files/size for all available arc archives ? (that probably easy but not for me)

    3) Don'y know it's important now switches -y [yes for all queries]
    (i used in sfx FA & inno to replace existing fake files), now i don't do many test to know it still important.
    res := FreeArcExtract (callback, 'x', '-o+', '-dp'+destpath, '--', arcname, '', '', '', '', '');
    that empty things is what ? for switches?

    4) it's possible to set specific ram size when extract files - or its static and set when archive is created ?

    5) Maybe some explanation about line
    function FreeArcCallback (what: PAnsiChar; int1, int2: Integer; str: PAnsiChar): Integer;
    int1 and int2 is for file size variables?

    ---
    Probably all that question is so stupid but im not familiar with coding ...
    thanks for answers

    ps
    i read facompress.dll answer

  2. #2
    Member Skymmer's Avatar
    Join Date
    Mar 2009
    Location
    Russia
    Posts
    681
    Thanks
    37
    Thanked 168 Times in 84 Posts
    Quote Originally Posted by mondragon
    Big thanks for that "addons" for inno. Im from fileforums.com/cd-2-dvd.com two most popular forum about game conversion.
    Sorry for question but I'm really curious what does game conversion means?

  3. #3
    Programmer Bulat Ziganshin's Avatar
    Join Date
    Mar 2007
    Location
    Uzbekistan
    Posts
    4,497
    Thanks
    733
    Thanked 659 Times in 354 Posts
    1) i will do it for the next version

    2) i will include in the next version multi-archive script which provides overall progress indicator

    3) you may see switches supported by running unarc.exe without parameteers.

    empty parameters used because original C function may have any number of params but in Pascal i should decalre fixed number of params. i declared 10 ones, so the rest is filled with empy strings (one empty string is necessary to find out end of list)

    4) yes, it's determined at archive creation. read docs

    5) this callback is used for any intearaction of DLL with script. just now there are two types of callbacks (filename and progress), but in future more may be added

  4. #4
    Member
    Join Date
    Jun 2009
    Location
    Poland
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Skymmer View Post
    Sorry for question but I'm really curious what does game conversion means?
    means convert dvd9 game installer into 2xdvd5 or 1xdvd5 [sometimes not needed any additional compression but sometimes its only possibility to store onto one dvd5 specific game with original installer]

    ---
    @Bulat Ziganshin
    thanks

    for now i check that sfx/arc overwrite read-only files/folders without any additional parameters

    edit
    Enhanced Inno Setup Compiler (ver 5.2.3)

    overwrite these files in the folder "Inno Setup".
    1. Compil32.exe
    2. Templates.dat

    restools
    http://restools.hanzify.org
    probably all here knows that ext
    Attached Files Attached Files
    Last edited by mondragon; 17th June 2009 at 11:22.

  5. #5
    Programmer Bulat Ziganshin's Avatar
    Join Date
    Mar 2007
    Location
    Uzbekistan
    Posts
    4,497
    Thanks
    733
    Thanked 659 Times in 354 Posts
    Quote Originally Posted by Skymmer View Post
    Sorry for question but I'm really curious what does game conversion means?
    usually it's called REPACK. recently i've downloaded 4 or 5 repacks of 3+ gb size from local tracker and found that 100% of them compressed using fa+is!

    in the ru-board forum, "how to extract fa archives?" seems to be one of the most popular questions of IS thread

  6. #6
    Member
    Join Date
    Jun 2009
    Location
    Poland
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Bulat Ziganshin View Post
    usually it's called REPACK. recently i've downloaded 4 or 5 repacks of 3+ gb size from local tracker and found that 100% of them compressed using fa+is!

    in the ru-board forum, "how to extract fa archives?" seems to be one of the most popular questions of IS thread
    you think abouy ripped games- that not used original installer

    i think about modiyfing original installer to install game like in orginal but with some part recompressed in FA

    1) really cannot translate that 3 words now ? :P

  7. #7
    Programmer Bulat Ziganshin's Avatar
    Join Date
    Mar 2007
    Location
    Uzbekistan
    Posts
    4,497
    Thanks
    733
    Thanked 659 Times in 354 Posts
    ExtractFile.caption:='Extracting FreeArc archive';

    ExtractFile.Caption:='Extracted '+IntToStr(int1)+' of '+IntToStr(int2)+' mb ('+FloatToStr(percents/10)+'%)';

  8. #8
    Programmer Bulat Ziganshin's Avatar
    Join Date
    Mar 2007
    Location
    Uzbekistan
    Posts
    4,497
    Thanks
    733
    Thanked 659 Times in 354 Posts
    http://www.haskell.org/bz/FreeArc4InnoSetup.zip updated:
    • full english translation
    • overall progress indicator for all archives in the installation
    • graceful exit when archive being extracted is corrupt

  9. #9
    Programmer Bulat Ziganshin's Avatar
    Join Date
    Mar 2007
    Location
    Uzbekistan
    Posts
    4,497
    Thanks
    733
    Thanked 659 Times in 354 Posts
    Quote Originally Posted by Bulat Ziganshin View Post
    once again. some script improvements

  10. #10
    Member
    Join Date
    Jun 2009
    Location
    Poland
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    nice
    see a lot of changes in script, need to relearn it again

  11. #11
    Member
    Join Date
    Jun 2009
    Location
    Poland
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    im back :P
    1) cancel button- need to add warning about exiting when someone hit that cancel installation button
    now simply hit break install

    2) possibly to add options to read first from ini specific output extract path for specific arc/exe to unpack?
    sometimes need [or someone forgot] to compress file/s with specific subfolder

  12. #12
    Programmer Bulat Ziganshin's Avatar
    Join Date
    Mar 2007
    Location
    Uzbekistan
    Posts
    4,497
    Thanks
    733
    Thanked 659 Times in 354 Posts
    Quote Originally Posted by mondragon View Post
    im back :P
    1) cancel button- need to add warning about exiting when someone hit that cancel installation button
    now simply hit break install
    fixed in http://forum.ru-board.com/topic.cgi?...&limit=1&m=1#1

  13. #13

  14. #14
    Programmer Bulat Ziganshin's Avatar
    Join Date
    Mar 2007
    Location
    Uzbekistan
    Posts
    4,497
    Thanks
    733
    Thanked 659 Times in 354 Posts
    http://www.haskell.org/bz/FreeArc4InnoSetup.zip updated: improved extraction progress indicator

  15. #15
    Member
    Join Date
    Jun 2009
    Location
    Poland
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thanks for the link
    and the updated scripts

    time for testing

  16. #16
    Programmer Bulat Ziganshin's Avatar
    Join Date
    Mar 2007
    Location
    Uzbekistan
    Posts
    4,497
    Thanks
    733
    Thanked 659 Times in 354 Posts
    InnoSetup Script Joiner 3.0 released. New features:
    • added support for joining 8 more functions (InitializeSetup NextButtonClick BackButtonClick ShouldSkipPage NeedRestart GetCustomSetupExitCode InitializeUninstall UninstallNeedRestart), combining results they are return with and/or rules (depending on function)
    • documentation (Help shortcut in Start Menu)
    • added 64-bit Explorer integration
    Last edited by Bulat Ziganshin; 23rd July 2009 at 20:38.

  17. #17
    Member
    Join Date
    Aug 2008
    Location
    tr
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    help

    is great.
    I have a problem.
    [run]
    filename: {app}\decode.bat

    not working.because run decode.bat after extract *.arc !!!!

    right
    1- extract *.arc
    2- decode.bat

  18. #18
    Programmer Bulat Ziganshin's Avatar
    Join Date
    Mar 2007
    Location
    Uzbekistan
    Posts
    4,497
    Thanks
    733
    Thanked 659 Times in 354 Posts
    Quote Originally Posted by qallas View Post
    not working.because run decode.bat after extract *.arc !!!!
    i suggest you to ask in InnoSetup forums

  19. #19
    Programmer Bulat Ziganshin's Avatar
    Join Date
    Mar 2007
    Location
    Uzbekistan
    Posts
    4,497
    Thanks
    733
    Thanked 659 Times in 354 Posts
    new version: FreeArc4InnoSetup3_3.zip
    • 10% faster decompression
    • FreeArcExtract() supports option '-wPATH'
    • several bugs fixed

  20. #20
    Programmer Bulat Ziganshin's Avatar
    Join Date
    Mar 2007
    Location
    Uzbekistan
    Posts
    4,497
    Thanks
    733
    Thanked 659 Times in 354 Posts
    reuploaded - it had minoir problem with progress indicator

  21. #21
    Member
    Join Date
    Aug 2008
    Location
    tr
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts


    how can I do?

  22. #22
    Programmer Bulat Ziganshin's Avatar
    Join Date
    Mar 2007
    Location
    Uzbekistan
    Posts
    4,497
    Thanks
    733
    Thanked 659 Times in 354 Posts
    don't know, it's written by fa user. use another script from the package

  23. #23
    Member
    Join Date
    Aug 2008
    Location
    tr
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    this is FreeArc4InnoSetup3_3\FreeArc_Example-Ext.iss

  24. #24
    Programmer Bulat Ziganshin's Avatar
    Join Date
    Mar 2007
    Location
    Uzbekistan
    Posts
    4,497
    Thanks
    733
    Thanked 659 Times in 354 Posts
    use FreeArc_Example.iss

  25. #25
    Programmer Bulat Ziganshin's Avatar
    Join Date
    Mar 2007
    Location
    Uzbekistan
    Posts
    4,497
    Thanks
    733
    Thanked 659 Times in 354 Posts
    new version 3.4: improved memory handling for rep:1gb and fragmented memory. http://freearc.org/InnoSetup.aspx

  26. #26
    Programmer Bulat Ziganshin's Avatar
    Join Date
    Mar 2007
    Location
    Uzbekistan
    Posts
    4,497
    Thanks
    733
    Thanked 659 Times in 354 Posts
    new version 3.5: now FreeArcExtract() can handle options -ap/-ld/-cfg plus minor bugfixes. http://freearc.org/InnoSetup.aspx

  27. #27
    Programmer Bulat Ziganshin's Avatar
    Join Date
    Mar 2007
    Location
    Uzbekistan
    Posts
    4,497
    Thanks
    733
    Thanked 659 Times in 354 Posts
    http://code.google.com/p/isprecomp : new project that allows InnoSetup scripts to extract files processed by Precomp

  28. #28
    Member
    Join Date
    Jun 2009
    Location
    Poland
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Polish translation of custom messages
    Code:
    [Languages]
    Name: eng; MessagesFile: compiler:Default.isl
    Name: rus; MessagesFile: compiler:Languages\Russian.isl
    Name: pl; MessagesFile: compiler:Languages\polish.isl
    Code:
    [CustomMessages]
    pl.ArcBreak=Instalacja anulowana!
    pl.ArcError=Wypakowywanie zakończone błędem %1
    pl.ArcBroken=Archiwum <%1> jest uszkodzone lub za mało wolnego miejsca.
    pl.ArcFail=Wypakowywanie przerwane!
    pl.ArcTitle=Wypakowywanie archiw?w FreeArc...
    pl.StatusInfo=Pliki: %1%2, postęp %3%%, pozostały czas %4
    pl.ArcInfo=archiwum: %1 z %2, rozmair %3 z %5, %4%% zakończone
    pl.ArcFinish=Wypakowane archiwa: %1, uzyskane pliki: %2 [%3]
    pl.taskbar=%1%%, %2 pozostało
    pl.ending=kończenie
    pl.hour=godziny
    pl.min=minuty
    pl.sec=sekundy
    And i check lastest script and it works much more stable than older version.

    possible to add custom extract place based on name of file or reading custom extract place from external ini ?

  29. #29
    Member
    Join Date
    Jan 2010
    Location
    Europe
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hello!
    Can somebody help me?
    I tried Inno+Freearc script but I have some problem with it:
    This is my script: http://www.mediafire.com/?imn32izwzyt

    When I try to run the decompress stops with error: -1
    The archive is fine, not damaged.
    I tried the latest script too, but it's stoped working when the decompress starts.

    And an other problem: when I try compress with freearc 0.60 To ultra (1GB ram required) the compression ratio is 0%

    Can somebody send me a proper script, or tell what am I do wrong?
    Thanks!

  30. #30
    Programmer Bulat Ziganshin's Avatar
    Join Date
    Mar 2007
    Location
    Uzbekistan
    Posts
    4,497
    Thanks
    733
    Thanked 659 Times in 354 Posts
    Polish translation of custom messages
    10x, i've added it to SVN version and it will be in the next release

    possible to add custom extract place based on name of file or reading custom extract place from external ini ?
    yes, if you know Pascal

    when I try compress with freearc 0.60 To ultra (1GB ram required) the compression ratio is 0%
    it may be incompressible data, how it's compressed with zip and so?
    Last edited by Bulat Ziganshin; 24th January 2010 at 18:06.

Page 1 of 4 123 ... LastLast

Similar Threads

  1. FreeArc
    By Bulat Ziganshin in forum Data Compression
    Replies: 3159
    Last Post: 13th October 2018, 03:23
  2. ISSrep v0.15.1 (DLL for Inno Setup)
    By VoLT in forum Download Area
    Replies: 3
    Last Post: 2nd April 2015, 13:12
  3. What's wrong with my testing script?
    By m^2 in forum Data Compression
    Replies: 20
    Last Post: 21st September 2008, 19:24
  4. FreeArc 0.40 released
    By Bulat Ziganshin in forum Forum Archive
    Replies: 301
    Last Post: 28th April 2008, 12:27
  5. FreeArc 0.40 preview
    By Bulat Ziganshin in forum Forum Archive
    Replies: 16
    Last Post: 17th August 2007, 09:28

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •