It would be nice if you could separate the settings between x64 and x86 PureBasic installations.
For instance, Regardless of if I open x64 or x86 the same set of tools show up -- despite some being only relevant to one or the other. Similarly, it opens the same files.
Separation of PB x86 and x64
Re: Separation of PB x86 and x64
You can by using PB commandline parameters.
ʽʽSuccess is almost totally dependent upon drive and persistence. The extra energy required to make another effort or try another approach is the secret of winning.ʾʾ --Dennis Waitley
Re: Separation of PB x86 and x64
I update or make duplication of the PB shortcuts and update the shortcuts target fields to include...
*:\Program Files (x86)\PureBasic 5.11\PureBasic.exe" /P "C:\Users\YourName\AppData\Roaming\PB5.11_x86\PureBasic.prefs"/T "C:\Users\YourName\AppData\Roaming\PB5.11_x86\Templates.prefs" /A "C:\Users\YourName\AppData\Roaming\PB5.11_x86\Tools.prefs" /NOEXT
*:\Program Files\PureBasic 5.11\PureBasic.exe" /P "C:\Users\YourName\AppData\Roaming\PB5.11_x64\PureBasic.prefs"/T "C:\Users\YourName\AppData\Roaming\PB5.11_x64\Templates.prefs" /A "C:\Users\YourName\AppData\Roaming\PB5.11_x64\Tools.prefs" /NOEXT

*:\Program Files (x86)\PureBasic 5.11\PureBasic.exe" /P "C:\Users\YourName\AppData\Roaming\PB5.11_x86\PureBasic.prefs"/T "C:\Users\YourName\AppData\Roaming\PB5.11_x86\Templates.prefs" /A "C:\Users\YourName\AppData\Roaming\PB5.11_x86\Tools.prefs" /NOEXT
*:\Program Files\PureBasic 5.11\PureBasic.exe" /P "C:\Users\YourName\AppData\Roaming\PB5.11_x64\PureBasic.prefs"/T "C:\Users\YourName\AppData\Roaming\PB5.11_x64\Templates.prefs" /A "C:\Users\YourName\AppData\Roaming\PB5.11_x64\Tools.prefs" /NOEXT

ʽʽSuccess is almost totally dependent upon drive and persistence. The extra energy required to make another effort or try another approach is the secret of winning.ʾʾ --Dennis Waitley
Re: Separation of PB x86 and x64
I'm having the same issue with the Preferences.prefs file...jassing wrote:It would be nice if you could separate the settings between x64 and x86 PureBasic installations.
For instance, Regardless of if I open x64 or x86 the same set of tools show up -- despite some being only relevant to one or the other. Similarly, it opens the same files.
my Suggestion - Make 32 and 64 bit 'prefs' files independent.
Presently both 32bit and 64bit versions use the same preference files
which is kept in the default location: C:\Users\Bob\AppData\Roaming\PureBasic\PureBasic.prefs
I regularly use the 32bit version but I recently installed the 64bit version in a seperate directory ( E:\PureBasic64)
I assumed each version would have it's own preference file... independent of the other version, but when I made 'Editor Color Scheme' changes to the 64bit version... it applied the changes to the 32bit version as well.
What I want to do is have a different color scheme for each version so that I know that I'm using the 64bit version versus the 32bit version.
Note: There are a lot of other switches that are affected by using the same C:\Users\Bob\AppData\Roaming\PureBasic\PureBasic.prefs file.
- It was too lonely at the top.
System : PB 6.21(x64) and Win 11 Pro (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
System : PB 6.21(x64) and Win 11 Pro (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
-
- Addict
- Posts: 4779
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: Separation of PB x86 and x64
[u]Reference Manual[/u] wrote:To keep the multiple versions from using the same configuration files, the /P /T and /A switches can be used. Furthermore there is the /PORTABLE switch which puts all files back into the PureBasic directory and disabled the creation of the .pb extension.
Re: Separation of PB x86 and x64
-1000
I don't want to even consider having to review my settings for both compilers... Brrr....
I don't want to even consider having to review my settings for both compilers... Brrr....
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
Re: Separation of PB x86 and x64
+1blueznl wrote:-1000
I don't want to even consider having to review my settings for both compilers... Brrr....
Re: Separation of PB x86 and x64
I do not like the idea of separating the prefs for 32/64 bit.
Actually you only could do this for 32/64 bit IDE and not the 32/64 Bit compiler.
You can call 32 or 64 bit compiler from 64 bit IDE.
cu,
Guido
Actually you only could do this for 32/64 bit IDE and not the 32/64 Bit compiler.
You can call 32 or 64 bit compiler from 64 bit IDE.
cu,
Guido
Windows 10 / Windows 7
PB Last Final / Last Beta Testing
PB Last Final / Last Beta Testing
Re: Separation of PB x86 and x64
I've created a 32bit PB App and placed it into :\Program Files (x86)\PB_Tools\. This 32bit App is added to both PB IDE versions Toolbar. I then able to compile x86 code from x64 PB IDE, and reversed. I'm able to compile x64 code from x86 PB IDE. Through the use of this 32bit PB App, you can have separate prefs.
ʽʽSuccess is almost totally dependent upon drive and persistence. The extra energy required to make another effort or try another approach is the secret of winning.ʾʾ --Dennis Waitley