XnView MP and Photoshop *.ACR files.

*** Please report new bugs here! ***

Moderators: xnview, Dreamer

FKCapitalism2
Posts: 406
Joined: Sun Apr 23, 2023 5:14 am

Re: XnView MP and Photoshop *.ACR files.

Post by FKCapitalism2 »

Still facing lots of issues and confusion with how XnViewMP handles sidecars.

When i assign Photoshop to Open With (Alt+1) menu and start it with on 007.ARW then it creates sidecar 007.XMP.

1. However that 007.XMP is only used when i use Open With (Alt+1) from XnViewMP menu, if i open using Photoshop > File > Open and select 007.ARW it does NOT load 007.XMP automatically as it should.

2. If Photoshop > File > Open used then changes made to 007.ARW in Adobe Camera Raw then it saves new sidecar file 007.arw_xmp because file 007.XMP already exists.


Pinpointed the problem its because when opening 007.ARW with Open With (Alt+1) and save changes then inside 007.XMP it adds line

Code: Select all

photoshop:SidecarForExtension="ARW "
space after "ARW ", this is reason it never being auto loaded from Photoshop Photoshop > File > Open


If Photoshop > File > Open then save XMP it will have

Code: Select all

photoshop:SidecarForExtension="ARW"
no space after "ARW", then XMP loads properly when opening from Photoshop > File > Open and select 007.ARW


From what i understand when opening one file in XnViewMP using Alt+1 then it adds spaced "ARW " to that file's XMP, however if opening multiple files in XnViewMP then it adds spaced "ARW " only to the last file in series, must be something in part of source that supply file path or file name to external program.
User avatar
xnview
Author of XnView
Posts: 47709
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XnView MP and Photoshop *.ACR files.

Post by xnview »

FKCapitalism2 wrote: Sun Oct 05, 2025 11:04 am Pinpointed the problem its because when opening 007.ARW with Open With (Alt+1) and save changes then inside 007.XMP it adds line

Code: Select all

photoshop:SidecarForExtension="ARW "
space after "ARW ", this is reason it never being auto loaded from Photoshop Photoshop > File > Open
photoshop:SidecarForExtension is added by which app?
Pierre.
FKCapitalism2
Posts: 406
Joined: Sun Apr 23, 2023 5:14 am

Re: XnView MP and Photoshop *.ACR files.

Post by FKCapitalism2 »

xnview wrote: Mon Oct 06, 2025 8:55 am
FKCapitalism2 wrote: Sun Oct 05, 2025 11:04 am Pinpointed the problem its because when opening 007.ARW with Open With (Alt+1) and save changes then inside 007.XMP it adds line

Code: Select all

photoshop:SidecarForExtension="ARW "
space after "ARW ", this is reason it never being auto loaded from Photoshop Photoshop > File > Open
photoshop:SidecarForExtension is added by which app?
Its added by Photoshop's Adobe Camera RAW plugin when saving settings after editing ARW file it creates XMP with this settings.

However i assume the file path depends on the path that XnViewMP provides to the Photoshop there must be trailing space somewhere.
FKCapitalism2
Posts: 406
Joined: Sun Apr 23, 2023 5:14 am

Re: XnView MP and Photoshop *.ACR files.

Post by FKCapitalism2 »

My old command looked like this note -NoSplash argument, but any argument can cause this problem...
1.jpg


...because last filenames supplied has trailing space "C:\Program Files\Adobe\Adobe Photoshop 2026\Photoshop.exe" "D:\01.arw" "D:\02.arw" "D:\03.arw" -NoSplash" note the space between "D:\03.arw" -NoSplash.

somehow Photoshop understands this command like this uses "D:\03.arw " (space after extension.

Can't fix in XnViewMP as if i change order of command it does not open files in Photoshop just launching the program "C:\Program Files\Adobe\Adobe Photoshop 2026\Photoshop.exe" -NoSplash "D:\01.arw" "D:\02.arw" "D:\03.arw" -NoSplash" .

So only fix is to remove all the arguments from XnViewMP's Configure programs dialog.

Then after saving changes in Photoshop - Adobe Camera Raw creates .xmp sidecar file with proper command photoshop:SidecarForExtension="ARW" instead of photoshop:SidecarForExtension="ARW "
You do not have the required permissions to view the files attached to this post.