InnoSetup MultiArc Addon

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
vserd
Junior Member
Junior Member
Posts: 27
Joined: 2005-04-26, 13:30 UTC

Post by *vserd »

2 deus-ex
for MA 1.3 beta can add to IDPOS value <SeekID>
for search ID from start of file if not found by numeric values.
User avatar
XPEHOPE3KA
Power Member
Power Member
Posts: 854
Joined: 2006-03-03, 18:23 UTC
Location: Saint-Petersburg, Russia

Post by *XPEHOPE3KA »

2icfu
Thanks, I somehow missed it myself :(

2deus-ex
Since you can't edit your post forever unless it is first in a topic, and since you don't seem to have a totalcmd.net account, you're invited to create a topic for your addon (or release it finally) - just to keep the topic free of endless posts each containing full changelog, etc.

2icfu
1. Why are two sections needed *at all*?
If they weren't split then multiarc would mix IDPoses from one of the sections with IDs from the other. Therefore for each unsupported archive MA will look at offset, say, 53572, searching for ID, say, 49 6E 6E 6F 20 53 65 74 75 70 20 53 65 74 75 70 20 44 61 74 61 20 28 34 2E 30.
That results in double work.

2deus-ex
BTW, maybe you'll be able to split your two sections into even more to avoid that double work? I mean, does it really so that some archives contain ID=Inno Setup Setup Data (3.0.1) at all the offsets we have in the first section?
F6, Enter, Tab, F6, Enter, Tab, F6, Enter, Tab... - I like to move IT, move IT!..
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

If they weren't split then multiarc would mix IDPoses from one of the sections with IDs from the other. Therefore for each unsupported archive MA will look at offset, say, 53572, searching for ID, say, 49 6E 6E 6F 20 53 65 74 75 70 20 53 65 74 75 70 20 44 61 74 61 20 28 34 2E 30.
That results in double work.
Sounds like a good argument, for sure, but even in the NSIS.addon with 500(!) IDPOS values you won't notice any delay. Furthermore there is no law that forbids two different IDs to exist at the same IDPOS in two different files so as soon as that happens, a split will make even less sense.

I have merged the file here.

Icfu
This account is for sale
User avatar
XPEHOPE3KA
Power Member
Power Member
Posts: 854
Joined: 2006-03-03, 18:23 UTC
Location: Saint-Petersburg, Russia

Post by *XPEHOPE3KA »

but even in the NSIS.addon with 500(!) IDPOS values you won't notice any delay.
Of course - there's only one ID! Imagine there were three or four, and some of them nearly gave result... (ID partly the same with that in file).
F6, Enter, Tab, F6, Enter, Tab, F6, Enter, Tab... - I like to move IT, move IT!..
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

It doesn't matter if you have to check 1 specific ID in 100 specific IDPOSes or 10 specific IDs in 10 specific IDPOSes, as there is no seeking included in MA 1.2, that's why simililarity of IDs is also no argument.

But, as vserd has already told above, this will change in 1.3 (I am already using it permanently) and without given fixed IDPOSes you will see a small delay when seeking in Inno files.
This is normal because when IDPOS is left out and IDSeekRange is not defined, the first 1MB of the file is parsed, in contrary to some bytes in 1.2.

Icfu
This account is for sale
User avatar
deus-ex
Power Member
Power Member
Posts: 969
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

icfu wrote:Some comments:
1. Why are two sections needed *at all*?
Actually the sections are completely identical, besides ID and IDPOS values of course, so they can be safely merged as well. Or am I overlooking something?
2. Forum links are missing, I think they should stay in, right?
3. 2.2.2jpe => 4.2.2jpe
is'nt => isn't
ID's => IDs (sorry to be picky but I really get mad when apostrophs are abused like that. ;))

Nice changes so far, I especially like the additional conversion for control purposes. Very good idea. :)

Icfu
1. Hm, have to look into that once more. Though readability will suffer when merging these successfully.

2. I followed these links and just found one post in each by arsvrn himself presenting his then current addon with some explanations all in russian language. I thought these links aren't of greater interested with an addon in english language. Didn't want to be disrespectfull towards arsvrn, i will readd the links on request.

3. Thanks for pointing out. I'm picky about such things myself, it just happens once in a while that Dr. Jeckyl takes over control... an# hi cahnd vrite wary wel. :)

And now go away... :D
deus-ex
User avatar
deus-ex
Power Member
Power Member
Posts: 969
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

XPEHOPE3KA wrote:
which explains how to add yet unsupported installers in simple steps.
Anyhow... can you please tell me what IDPos have you added to support Shell Object Editor? Just can't see it, because I was talking about IDPos=48...
What icfu said.

So much for paying attention to the addon text second time. Either you could have found the IDPos yourself now by following the addon instructions after i pointed you to them or you could have used TC's compare feature.

Since you can't edit your post forever unless it is first in a topic,
Why, i can edit every of my posts if i want to and thats what i will do when i update this addon unless somebody comes up with a completely overhauled addon (like i did). There already has been a member in the past who demonstrated this feature by deleting the content from all his posts in this forum. We where all quite impressed. ;)

BTW, maybe you'll be able to split your two sections into even more to avoid that double work? I mean, does it really so that some archives contain ID=Inno Setup Setup Data (3.0.1) at all the offsets we have in the first section?
Certainly not, but i didn't (<- regard the correct usage of apostrophs :) ) want to make to many sections. If MA-team (who are the guys behind?) is able to add wildcars in ID-strings (eg. ??) the solution could be streamlined nicely. But of course this is not my addon, i just partake to it, it belongs to the public. So if you want to split the addon sections further just go ahead and kindly report your results here.

...and since you don't seem to have a totalcmd.net account, you're invited to create a topic for your addon (or release it finally) - just to keep the topic free of endless posts each containing full changelog, etc.
I recently checked that option on Totalcmd.net but didn't find where to go. Your help would be appretiated. I also posted a german translation a few posts ago which the MA-team might be interested in. I plan to investigate latest beta now and also update translation if neccessary.


Regards,
deus-ex
User avatar
Hacker
Moderator
Moderator
Posts: 13052
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

deus-ex,
i can edit every of my posts if i want to
Modifications made to forum software

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
deus-ex
Power Member
Power Member
Posts: 969
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

Damn. I'll go and tell my mom... :cry: :lol:


(P.S.: Hello Hacker, didn't see you quite some time...)

Regards,
deuse-ex
User avatar
XPEHOPE3KA
Power Member
Power Member
Posts: 854
Joined: 2006-03-03, 18:23 UTC
Location: Saint-Petersburg, Russia

Post by *XPEHOPE3KA »

I recently checked that option on Totalcmd.net but didn't find where to go.
Check this post. Then use ICQ.
I also posted a german translation a few posts ago which the MA-team might be interested in
Mail vserd. There's already some German translation in 1.3 beta.

About wildcards: I guess regexps would be great. I'll ask vserd.
F6, Enter, Tab, F6, Enter, Tab, F6, Enter, Tab... - I like to move IT, move IT!..
User avatar
deus-ex
Power Member
Power Member
Posts: 969
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

Here's the update of my german translation for MultiArc v1.3 beta (1.3.0.4). I revised a lot of the spelling and formatting as well.

Code: Select all

begin 644 deus-ex - Multiarc v1.3 german translation.rar
M4F%R(1H'`#O0<P@`#0````````"WXG2`@"L`E0<``(<2```"DCZ=J0`(M30=
M-0L`(````$1E=71S8V@N;&YGM']:Y5*QX":K'6;K2M*;"Z^WF++?^4QA!Z('
MUI*HS.Y&8^8QV-U@++79]ZCE[WS:&8ROUR(00/@:"]Y4?,T:F>BB+]"J%YFW
MO4H%3KKZ+6Q_;-`H>14@=A7KOWL>5`(C'$"6*:A8LA[6G`W;F(3\4DY%M7=?
MM4O9<"9`9&-AM661_*VQZG+LV2?4ZBCV3!//Y$_'%Z4Y.(Z]Q:ALH9L68T)2
M2WN5]J&[OB^N!6_!M25F4%G`U(HIMW6/N!:)"[3UFZV;:>D3UDI.=$#29\]S
MIG=P`"(RO3'J=D0V$^),Q-GDO';EBSZWZ>,!'7[%;-$I);1'_4T^%KYKS-]1
M9RJIE,2I0961\;&`AM?&%>M%L9S/L'GU?]^GC><UZ8P\F?$:DSE5J*U/G#8,
M7LE'')B^?@V+]5\@Q&A3@\,9&+"'2Z(=000SFO=/?#8$^VL3[7Z50:F(\4>_
MU+'A^4B8@!>K+Z0'O<\<KNW(#RNK$^`3O0!AIRT';K`04)8ZDI`@[?P$2#!1
M<[YQ343.-ZS!UNNJC5>T*#3/"-GR0+42O\,@'*65TH.S;G_43F3KIC41QB3.
MH@2KCD1IN2I4>'F>U&WN@MP'_:>]=WJ(E$]XGG>4F=/Y!8PUP[[6!Y<CA;>Y
M24_&W*@7LW-P.HE';C\(+7%D,$P)B+]JQ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
  • unpack resulting archive into Multiarc's subdir "\Lang".
  • open Multiarc's configuration to select language or edit multiarc.ini:

Code: Select all

[MultiArc]
LanguageFile=Deutsch.lng

EDIT: "cop/paste" => "copy/paste" (it seems my Keyboard always eats some of the characters the time i type them in. yum yum) :)

Regards,
deus-ex
Last edited by deus-ex on 2006-05-21, 22:00 UTC, edited 3 times in total.
User avatar
deus-ex
Power Member
Power Member
Posts: 969
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

I also revised the readme for Multiarc v1.3 beta (formatting, spellchecking (icfu?) :D ) and dusted it off a bit.
Hope you like it:

Code: Select all

 MultiArc plugin for Total Commander v1.3 beta
 ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

 MultiArc allows to view, extract and modify contents of archives that are currently
 unsupported by Total Commander (eg. JAR, IMP). The plugin translates the commands
 from Total Commander into corresponding external archiver calls.

 You can easily add support for your favourite archiver by editing multiarc.ini.

 Some ideas were "stolen" 8-) from the file manager FAR by Eugene Roshal.
 Thank you Eugene, you wrote a GREAT program but I prefer GUI applications in a
 GUI environment. 8-)


 History:
 ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
  ! - important
  + - added
  - - removed
  ? - unsolved
  * - bugfix
 ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

 15/05/2006 v1.3 beta
  * fixed a bug trying to enter into files with zero length
  * it wasn't always possible to enter into archives with EXE-Packer compressed SFX-header
  * add-on containing more than one section wasn't imported completely
  * IDPos wasn't always saved correctly
  * if the same addon was imported twice the string 'Format(n)' appeared two times
  ! changed resources ID 1002, 1003, 1004 and 1005. Translators please update your translation

 22/03/2006 v1.2
  + added size calculation of SFX-headers; if flag SkipSfxHeader is set MultiArc will
    seek for ID after SFX-header of SFX-archives
  + support for Windows XP Themes (Visual Styles)
  + added language support in visual configuration
  * editing multiarc.ini was not possible if parameter "Editor" in wincmd.ini was set
    in environment variable (Editor was not started)

 06/07/2005 v1.1.3.4
  * bugfix in email address. Sorry.

 15/06/2005 v1.1.3.3
  * changed algorithm for searching wincmd.ini when TC is loaded
 
 ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

 Please check onlinehelp for detailed information about installing and configuring MultiArc.

 (c) 2005-2006 by Vladimir Serdyuk
  http://wxc.sourceforge.net
  mailto: vserd(dog)users.sourceforge.net (dog)=@

 (c) 2000-2003 by Siarzhuk Zharski
  http://www.zharik.host.sk
  mailto: imker(dog)gmx.li (dog)=@


Regards,
deus-ex
Last edited by deus-ex on 2006-05-21, 21:07 UTC, edited 1 time in total.
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

(formatting, spellchecking (icfu?)
Oh, you mean me? :)

favorite -> favourite (unless you are living in the land of the not free anymore and home of the frightened, of course ;))

The readme is cool, but "dusted off" sounds like Lothar Matthäus. :mrgreen:

Icfu
This account is for sale
User avatar
deus-ex
Power Member
Power Member
Posts: 969
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

icfu wrote:The readme is cool, but "dusted off" sounds like Lothar Matthäus. :mrgreen:Icfu
"Ähh, der Loddar is 'a Leitwolf. Ähh, der kann links wie rechts."

Thanks for spellchecking. I may try russian next time... :D


Regards,
deus-ex
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

This account is for sale
Post Reply