1. First of all, is there a help file or any documentation for the MP version?
2. Is it possible to change the location of xnview.ini after it has been created (it is currently in the program folder)?
3. In Settings|Database:
A. What does "Get Thumbnail size" do (it seems to just change the size to 96x96?)?
B. What is the purpose of "Base path of your pictures"?
xnview.ini & Database Questions
Moderators: XnTriq, helmut, xnview
-
- XnThusiast
- Posts: 1676
- Joined: Wed Aug 16, 2006 6:31 am
Re: xnview.ini & Database Questions
AFAIK, this forum. If someone else knows a better source, please chime in.1. First of all, is there a help file or any documentation for the MP version?
Yes. Tools | Settings | Integration.2. Is it possible to change the location of xnview.ini after it has been created (it is currently in the program folder)?
But beware. I don't know if the program will COPY your xnview.ini to your new location. Do a backup of your current xnview.ini and play to see what's happening.
It takes the size of the current selected thumbnail. That size will be used for the generation of the new thumbnails.3. In Settings|Database:
A. What does "Get Thumbnail size" do (it seems to just change the size to 96x96?)?
If you know that all of your pictures are in d:\my pictures\ then you can set the base path to "d:\my pictures\". The program removes from all paths this text and when it displays a folder appends the base path to the remainder, stored in the DB.B. What is the purpose of "Base path of your pictures"?
The advantages:
1. Smallish speed gain
2. The plain-vanilla poor-man relocation. IOW, if I move my archive from d:\my pictures\ to \\MyNewServer\Archive it is a matter of seconds to change it in the DB by using this feature. Also, it lays down the foundation for multiple Catalogs/Data Stores in the future.
m. Th.
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
-
- Author of XnView
- Posts: 44750
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: xnview.ini & Database Questions
Noviking wrote:1. First of all, is there a help file or any documentation for the MP version?
Yes, in option>integration2. Is it possible to change the location of xnview.ini after it has been created (it is currently in the program folder)?
You the thumbnail size used in browser, and the thumbnail size used to store thumbnail in database3. In Settings|Database:
A. What does "Get Thumbnail size" do (it seems to just change the size to 96x96?)?
It's to use relative pathB. What is the purpose of "Base path of your pictures"?
Pierre.
-
- Posts: 85
- Joined: Wed Feb 18, 2009 3:44 am
Re: xnview.ini & Database Questions
I wanted to place it in a custom folder (I have a "data only" drive). There does not appear to be an option for this .xnview wrote:Yes, in option>integrationviking wrote: 2. Is it possible to change the location of xnview.ini after it has been created (it is currently in the program folder)?
Could that be added?
-
- XnThusiast
- Posts: 1676
- Joined: Wed Aug 16, 2006 6:31 am
Re: xnview.ini & Database Questions
To be very clear:viking wrote:I wanted to place it in a custom folder (I have a "data only" drive). There does not appear to be an option for this .xnview wrote:Yes, in option>integrationviking wrote: 2. Is it possible to change the location of xnview.ini after it has been created (it is currently in the program folder)?
Could that be added?
Putting your xnview.ini file anywhere will NOT make any speed difference because the file is very very very small (a text file) and it is written & read usually in rare and non-critical circumstances (when you change a setting etc.).
...but putting your data warehouse (which now consists of two databases - xnview.db and thumb.db) on your "data only" drive certainly makes a difference.
How to do it:
- Make a folder on your data drive - let's call it D:\XnView
- Go and see where is your old data warehouse (this is optional - only if you wish to save them): Go to Tools | Settings | Integration press the 'Open Database Location...' - leave the Explorer Window open.
- In XnView from 'Folder for Database (.db)' drop-down choose 'Custom'. Now press the '...' button and select the D:\XnView folder created in step 1. Press Ok. Now you'll see in D:\XnView two new databases: Thumb.db and XnView.db. Beware, the XnView.DB still holds your catalog data from the old db, so isn't needed to copy it here.
- If you do not want to move your old data warehouse (usually the thumbs), you're done. But if you want to see the old DBs, then close XnViewMP and copy from the Explorer Window opened at step 2 the files xnview.db and thumb.db over the empty ones from step 3. Restart the XnViewMP. You should see your old data store with the thumbs already generated.
- Enjoy!
m. Th.
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
-
- Posts: 85
- Joined: Wed Feb 18, 2009 3:44 am
Re: xnview.ini & Database Questions
@m.Th.
I have already moved the databases to my data drive. The purpose of moving the xnview.ini was not for any speed gains, but
1. I like to have a backup of all my data and my data drive is backed up every hour (sector based)
2. If I install different version of xnviewMP, I can have them pointing at the same xnview.ini file
I have already moved the databases to my data drive. The purpose of moving the xnview.ini was not for any speed gains, but
1. I like to have a backup of all my data and my data drive is backed up every hour (sector based)
2. If I install different version of xnviewMP, I can have them pointing at the same xnview.ini file
-
- XnThusiast
- Posts: 1676
- Joined: Wed Aug 16, 2006 6:31 am
Re: xnview.ini & Database Questions
Aha! Try with the other option in the Integration pane: Folder for other files.viking wrote:@m.Th.
I have already moved the databases to my data drive. The purpose of moving the xnview.ini was not for any speed gains, but
1. I like to have a backup of all my data and my data drive is backed up every hour (sector based)
2. If I install different version of xnviewMP, I can have them pointing at the same xnview.ini file
...but be sure to remove the xnview.ini from your base directory. It always takes precedence before the one from the specified folder in the Integration page.
m. Th.
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
-
- Posts: 85
- Joined: Wed Feb 18, 2009 3:44 am
Re: xnview.ini & Database Questions
The only current options for the location of the xnview.ini file is in User (system), Program(xnview) and registry.m.Th. wrote: Aha! Try with the other option in the Integration pane: Folder for other files.
...but be sure to remove the xnview.ini from your base directory. It always takes precedence before the one from the specified folder in the Integration page.
It would be great if also a custom folder could be used for xnview.ini; in other words, this is now a feature request
-
- Author of XnView
- Posts: 44750
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: xnview.ini & Database Questions
you can use your own folder, and start by using 'xnview - ini c:\...\xnview.ini'viking wrote: It would be great if also a custom folder could be used for xnview.ini; in other words, this is now a feature request
Pierre.
-
- Posts: 85
- Joined: Wed Feb 18, 2009 3:44 am
Re: xnview.ini & Database Questions
I am sorry, but I don't understand. I am using the portable MP version in C:\MyPrograms\XnViewMP\. I now have the xnview.ini in this folder.xnview wrote:you can use your own folder, and start by using 'xnview - ini c:\...\xnview.ini'viking wrote: It would be great if also a custom folder could be used for xnview.ini; in other words, this is now a feature request
I would like to have xnview.ini in this folder instead: D:\mydata\xnviewMP\.
However, I cannot just move the xnview.ini from C:\MyPrograms\XnViewMP\ to D:\mydata\xnviewMP\ without telling xnview the location of xnview.ini, and there is no option in the settings to select a custom folder (e.g. D:\mydata\xnviewMP) for the ini file.
-
- Author of XnView
- Posts: 44750
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: xnview.ini & Database Questions
you can start xnview with following command
Code: Select all
xnview.exe -ini D:\mydata\xnviewMP\xnview.ini
Pierre.
-
- Posts: 85
- Joined: Wed Feb 18, 2009 3:44 am
Re: xnview.ini & Database Questions
Ah... Got it thanks!xnview wrote:you can start xnview with following commandCode: Select all
xnview.exe -ini D:\mydata\xnviewMP\xnview.ini