AkulaBig wrote: 2023-06-18, 14:27 UTC
Do the file attributes match? Maybe for x86 read only?
Yes, they match.

a Archive
AkulaBig wrote: 2023-06-18, 15:01 UTC
tuska wrote: 2023-06-18, 12:58 UTC
Mmh, for me it is still unclear at the moment why I can use my own .ini
In general, as I wrote earlier, the availability of their files depends on the bit depth of the TC and IV.
You should have tried not the plugin itself, but the IV separately.
Then you would have seen how access to the configuration files depends on the bit depth of the IV.
And the best option, if you install IV in protected folders, is to place its ini in AppData.
It's the same for TC. Then there will always be access to them. My plugin has nothing to do with this.
I tested many things and finally found the
solution for x86: See point 6.
- c:\Program Files\totalcmd\Plugins\wlx\TCIrfanView\irfanview.ini [Options] - otherwise empty
- c:\Program Files\totalcmd\Plugins\wlx\TCIrfanView\IrfanView\ - i_view32.ini is NOT taken into account by the plugin!
The IrfanView installation files must be located in this folder!
Code: Select all
Name/Ext Size Date Attr
--------------------------------------------------------------------------------------------------------------------
i_view32.ini 340 18.06.2023 15:39 -a--
i_view32_AkulaBig.ini 7 106 18.06.2023 09:12 -a--
i_view32_C-Program Files (x86).ini 42 14.06.2023 11:29 -a--
i_view32_my own.ini 29 116 15.06.2023 19:59 -a--
i_view32_Original after installation.ini 242 14.06.2023 11:25 -a--
i_view32_Original after installation inclusive section [Registration].ini 340 18.06.2023 15:39 -a--
- C:\Users\user\AppData\Roaming\IrfanView\ - i_view32.ini is NOT taken into account by the plugin!
Code: Select all
Name/Ext Size Date Attr
--------------------------------------------------------------------------------------------------------------------
i_view32.ini 340 18.06.2023 15:39 -a--
i_view32_my own.ini 29 116 15.06.2023 19:59 -a--
i_view32_Original after installation.ini 242 14.06.2023 11:25 -a--
i_view32_Original after installation inclusive section [Registration].ini 340 18.06.2023 15:39 -a--
- C:\Program Files (x86)\IrfanView\ - i_view32.ini is NOT taken into account by the plugin! -> See: Points 5. and 6.
Code: Select all
Name/Ext Size Date Attr
--------------------------------------------------------------------------------------------------------------------
i_view32.ini 29 214 17.06.2023 11:10 -a--
i_view32_Original after installation.ini [Others] INI_Folder=%APPDATA%\IrfanView 42 14.06.2023 11:29 -a--
- %LOCALAPPDATA%\VirtualStore\Program Files (x86)\IrfanView\i_view32.ini this corresponds to:
C:\Users\user\AppData\Local\VirtualStore\Program Files (x86)\IrfanView\ - i_view32.ini is NOT taken into account by the plugin!
Code: Select all
Name/Ext Size Date Attr
--------------------------------------------------------------------------------------------------------------------
i_view32.ini 29 108 18.06.2023 19:59 -a--
i_view32_current .ini file_of C-Program Files (x86)-IrfanView.ini 1 664 18.06.2023 19:40 -a--
i_view32_my own.ini 29 116 15.06.2023 19:59 -a--
This i_view32.ini is changed when you call C:\Program Files (x86)\IrfanView\i_view32.exe and make a change, e.g. the language.
- C:\Users\user\AppData\Local\VirtualStore\Program Files\totalcmd\Plugins\wlx\TCIrfanView\IrfanView\
Code: Select all
Name/Ext Size Date Attr
--------------------------------------------------------------------------------------------------------------------
i_view32.ini 29 116 19.06.2023 01:14 -a--
This i_view32.ini is used by the Lister (irfanview) x86:
C:\Users\user\AppData\Local\VirtualStore\Program Files\totalcmd\Plugins\wlx\TCIrfanView\IrfanView\i_view32.ini
I.e. if one closes e.g. the Lister window with ESC this file is updated!
I.e. for changes one must call c:\Program Files\totalcmd\Plugins\wlx\TCIrfanView\IrfanView\i_view32.exe in this case,
because these are stored in the i_view32.ini in the before mentioned path and considered with renewed call of the
F3 Lister (irfanview). You can also edit the file "i_view32.ini" with a text editor
and in the section [Viewing] change the value ContextMenu=0 to 1 (context menu available).
After clicking into the image
- F2 Rename is possible
- the context menu can be opened with a right click
- the image view can be zoomed in/out by pressing the "F" key several times
⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺
As
another installation variant, this also works:
c:\Program Files\totalcmd\Plugins\wlx\TCIrfanView\irfanview.ini
Code: Select all
[Options]
path=C:\Users\user\AppData\Local\VirtualStore\Program Files\totalcmd\Plugins\wlx\TCIrfanView\IrfanView\i_view32.ini
The IrfanView - installation files must still be in this folder, because the i_view32.exe may be needed for changes
(these can be made much easier via the settings menu). The advantage with this variant is that I know where the settings file is located.
⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺
Question: - Meanwhile obsolete, since the
answer is 6.
If the following is present:
0. c:\Program Files\totalcmd\Plugins\wlx\TCIrfanView\irfanview.ini [Options] - otherwise empty
1. C:\Program Files (x86)\IrfanView\i_view32.ini [Others] INI_Folder=%APPDATA%\IrfanView
2. C:\Users\user\AppData\Roaming\IrfanView\i_view32.ini
3. C:\Program Files (x86)\IrfanView\i_view32.ini
4. c:\Program Files\totalcmd\Plugins\wlx\TCIrfanView\IrfanView\i_view32.ini
5. C:\Users\user\AppData\Local\VirtualStore\Program Files (x86)\IrfanView\i_view32.ini
6. C:\Users\user\AppData\Local\VirtualStore\Program Files\totalcmd\Plugins\wlx\TCIrfanView\IrfanView\i_view32.ini
which i_view32.ini does your plugin access in this case?
AkulaBig wrote: 2023-06-18, 15:01 UTC
And in TC 11 beta in x64, the context menu doesn't work for me either. The menu appears, but the items are not pressed.
Yes, this is exactly the bug that will be fixed in the next beta version (already confirmed by Mr. Ghisler).
PS:
Until now I do not know which i_view64.ini is used for the TC IrfanView plugin
in c:\Program Files\totalcmd\Plugins\wlx\TCIrfanView\IrfanView64\.
⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺
Windows 11 Pro (x64) Version 22H2 (OS Build Build 22621.1848)