![]() |
|
|
#1 |
|
P90 years forever!
Aug 2002
Yeehaw, FL
17·487 Posts |
I've long regretted the decision to have both a prime.txt and local.txt file to store prime95 settings. I often have no idea which .txt file is supposed to have a particular setting. The original idea was one could set up a new computer by copying a prime95 install from one computer to the new computer and delete the local.txt file. a) I doubt anyone uses that "feature". b) I doubt it works.
I could fix this in 30.10 by moving every local.txt option to prime.txt and deleting local.txt. From then on, all options are read from prime.txt. Bad idea? Could this break any scripts users have? Thoughts? |
|
|
|
|
|
#2 |
|
"/X\(‘-‘)/X\"
Jan 2013
https://pedan.tech/
24×199 Posts |
I think it's a fantastic idea. I never know where settings are supposed to go.
I often copy my mprime install from computer to computer and all I do is remove the ComputerID and ComputerGUID lines (as well as worktodo.txt and results.txt). I'll tweak the CoresPerTest and Memory lines if necessary. |
|
|
|
|
|
#3 |
|
If I May
"Chris Halsall"
Sep 2002
Barbados
2×112×47 Posts |
|
|
|
|
|
|
#4 |
|
"Serge"
Mar 2008
San Diego, Calif.
281D16 Posts |
Thirded!
|
|
|
|
|
|
#5 |
|
Oct 2021
U. S. / New York, NY
2×3×52 Posts |
Sounds like a great idea. My only question is, will there be some kind of automatic handler for anyone upgrading an existing installation (is this what you mean by "moving every local.txt option to prime.txt and deleting local.txt"?), or will recovering any custom local.txt values be incumbent upon the user?
|
|
|
|
|
|
#6 | |
|
P90 years forever!
Aug 2002
Yeehaw, FL
205716 Posts |
Quote:
|
|
|
|
|
|
|
#8 |
|
"Mihai Preda"
Apr 2015
22·3·112 Posts |
No problem with removing local.txt
I would also like to mention: - when mprime runs out of work (empties worktodo.txt), it sets UsePrimenet=0 and NoMoreWork=0 (which wore set to UsePrimenet=1 and NoMoreWork=1 initially). This looks like a bug. - it would be great if prime.txt would never be written by mprime. The user writes prime.txt, mprime *only* reads it. If for some reason some options in prime.txt need to be written by the software, thouse are the ones that should be extracted from prime.txt to a separate file, such that prime.txt becomes read-only. Last fiddled with by preda on 2023-02-04 at 06:15 |
|
|
|
|
|
#9 |
|
"/X\(‘-‘)/X\"
Jan 2013
https://pedan.tech/
24·199 Posts |
This has been the behaviour for many years. It's a little annoying, but I mostly keep a buffer of work personally, so I don't run into it often.
|
|
|
|
|
|
#10 |
|
Aug 2020
79*6581e-4;3*2539e-3
2×5×73 Posts |
For what it's worth, I'd also be happy with getting rid of local.txt
If you absolutely want to retain compatability, you could allow both files to be used interchangeably. That doesn't sound like a good idea though. |
|
|
|
|
|
#11 | |
|
"Jacob"
Sep 2006
Brussels, Belgium
2×977 Posts |
Quote:
"The values that the software generates should be in another file than prime.txt which should only contain user settable settings." Most users set at least some of their preferences and work settings through the menu, which implies the software must be able to change them in prime.txt. |
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Why prime.txt AND local.txt? | SWWright | Software | 5 | 2020-09-26 10:59 |
| If you could, what race would you eliminate, and why? | The Carnivore | Hobbies | 16 | 2019-02-14 13:55 |
| Windows 10 in Ubuntu, good idea, bad idea, or...? | jasong | jasong | 8 | 2017-04-07 00:23 |
| Does a large P-1 test eliminate need for ECM tests | UberNumberGeek | Factoring | 53 | 2009-07-11 08:24 |
| Using Factors to Eliminate Candidates | Mivacca2 | Math | 8 | 2003-03-25 16:52 |