FCXE 32 and 64 with same settings

Discussion and questions - donor version.
Message
Author
User avatar
BGM
Posts: 594
Joined: 14.10.2008, 23:42
Location: Kansas City, Missouri, USA
Contact:

FCXE 32 and 64 with same settings

#1 Post by BGM » 02.03.2016, 15:38

On my flash drive I want to run a portable copy of FreeCommanderXE. But I need to have both the 32bit and 64bit versions in case I have to use a 32 bit OS.

So I put the files from both zip distributions into the same folder.

My problem is that since I have two FCXE executables, I have to rename one of them in order to keep them in the same folder.
But that causes two FreeCommander.ini files to be made.
And I want to use the same settings.

How can I tell FC to use a custom ini file?
(Windows 10-1909 Professional 64bit)

Timon
Posts: 729
Joined: 13.09.2012, 08:51

Re: FCXE 32 and 64 with same settings

#2 Post by Timon » 02.03.2016, 19:16

Command line parameters

/Ini=Starts FC with a different INI file instead of freecommander.ini.
A new file will be created only if the defined file does not exist.
/NewIni=Starts FC with a different INI file instead of freecommander.ini.
A new file will always be created. If the defined file exists, it will be deleted first.

User avatar
BGM
Posts: 594
Joined: 14.10.2008, 23:42
Location: Kansas City, Missouri, USA
Contact:

Re: FCXE 32 and 64 with same settings

#3 Post by BGM » 02.03.2016, 20:20

That means I'd have to always launch FC from a shortcut in order to add the parameter.

I was hoping there might be a hidden option in the fcStart.ini file to specify which settings file to use. Marek?
(Windows 10-1909 Professional 64bit)

Marek
Author
Author
Posts: 3976
Joined: 10.04.2006, 09:48
Location: Germany
Contact:

Re: FCXE 32 and 64 with same settings

#4 Post by Marek » 02.03.2016, 22:59

There is no hidden option currently.

User avatar
BGM
Posts: 594
Joined: 14.10.2008, 23:42
Location: Kansas City, Missouri, USA
Contact:

Re: FCXE 32 and 64 with same settings

#5 Post by BGM » 03.03.2016, 02:53

Marek - okay, thanks for answering.
(Windows 10-1909 Professional 64bit)

Timon
Posts: 729
Joined: 13.09.2012, 08:51

Re: FCXE 32 and 64 with same settings

#6 Post by Timon » 03.03.2016, 06:36

Why not to create separate 32/64bit version as it is done in Total Commander?
- 32 bit only
- 64 bit only
- 32/64bit

User avatar
BGM
Posts: 594
Joined: 14.10.2008, 23:42
Location: Kansas City, Missouri, USA
Contact:

Re: FCXE 32 and 64 with same settings

#7 Post by BGM » 03.03.2016, 16:02

Timon, because then the changes are not replicated unless I do it manually.
I want one settings file to rule them all.
(Windows 10-1909 Professional 64bit)

Timon
Posts: 729
Joined: 13.09.2012, 08:51

Re: FCXE 32 and 64 with same settings

#8 Post by Timon » 03.03.2016, 17:15

So I suggested (to Marek) to make one more 'combined' 32+64bit version (in 1 installer) that would use the same settings regardless what version (32 or 64 bit) you are running.

User avatar
BGM
Posts: 594
Joined: 14.10.2008, 23:42
Location: Kansas City, Missouri, USA
Contact:

Re: FCXE 32 and 64 with same settings

#9 Post by BGM » 03.03.2016, 17:48

+1 I think that is a good idea.

Maybe the combined setup is only necessary for the portable version.
(Windows 10-1909 Professional 64bit)

joby_toss
Posts: 1345
Joined: 22.07.2009, 21:19
Location: Romania
Contact:

Re: FCXE 32 and 64 with same settings

#10 Post by joby_toss » 03.03.2016, 19:59

I just set the settings folder path for the 32 bit test version to be the same as my main 64 bit version in Settings/Start program/Configuration folder/Following folder (relative paths are accepted).

User avatar
BGM
Posts: 594
Joined: 14.10.2008, 23:42
Location: Kansas City, Missouri, USA
Contact:

Re: FCXE 32 and 64 with same settings

#11 Post by BGM » 03.03.2016, 20:09

Joby, you're missing the clencher.
That works just fine for the *folder*
but to have both FreeCommander 64 and 32 in the same directory, you have to rename one.
Then FC will create an ini file with the same name as the executable.
Which means you get two ini files = two settings files.
(Windows 10-1909 Professional 64bit)

joby_toss
Posts: 1345
Joined: 22.07.2009, 21:19
Location: Romania
Contact:

Re: FCXE 32 and 64 with same settings

#12 Post by joby_toss » 03.03.2016, 20:19

I keep them in separate directories, side by side. The 32 bit XE uses the 64 bit settings, because my fcStart.ini file stores that settings folder path. There is no Settings folder in my 32 bit XE.

User avatar
BGM
Posts: 594
Joined: 14.10.2008, 23:42
Location: Kansas City, Missouri, USA
Contact:

Re: FCXE 32 and 64 with same settings

#13 Post by BGM » 03.03.2016, 20:32

oooooooohhhhh

I get it!
That way the executables can both have the same name and therefore can have the same ini file name.

That's actually rather clever. I feel kind of dumb that I didn't think of it, seeing as how I think of myself also as clever... haha

Thanks for that!
(Windows 10-1909 Professional 64bit)

joby_toss
Posts: 1345
Joined: 22.07.2009, 21:19
Location: Romania
Contact:

Re: FCXE 32 and 64 with same settings

#14 Post by joby_toss » 04.03.2016, 08:35

For anyone bumping into this thread and looking for a visual aid, here is a nice setup for 32 and 64 bit XE using the same settings (and portable):

- folder structure:

Image

Image

- both fcStart.ini files look like this (and may/should be edited prior to XE launch):

Image

- settings (no need to change if you edited both fcStart.ini files first):

Image

Note: Of course, one can go even further and use a batch file, compiled .ahk script, or apps like yaP (free, small and very good) to create a launcher for the corresponding XE version for the current OS.

My yaP example (I renamed yaP.exe and yaP.ini to FreeCommanderPortable.exe and FreeCommanderPortable.ini respectively):

Image

Config .ini file (only the relevant part, the rest being identical to the offered example config):

Code: Select all

; configuration file for yaP v0.6 (http://rolandtoth.hu/yaP/)
; application name: FreeCommanderXE
; version: 716
; website: http://freecommander.com/en/summary/

[GENERAL]
application = 32bit\FreeCommander.exe :: 64bit\FreeCommander.exe
; commandline =
; workdir =

User avatar
ralfso
Posts: 812
Joined: 31.10.2007, 18:21
Location: Gifhorn, Germany

Re: FCXE 32 and 64 with same settings

#15 Post by ralfso » 04.03.2016, 12:31

Same ini for 32 and 64-bit FCXE only works if you don't use different wlx-plugins for lister or packer addons.

e.g. ulister.wlx64 for 64-bit and ulister.wlx for 32-bit FreeCommander.
Regards
Ralf

Win10 (64-bit), Intel i7-2600 (3,4 GHz), 8 GB Ram, 500 GB SSD, 2x2000 GB HD, NVIDIA GeForce 545

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 54 guests