![]() |
|
|
#1 |
|
Mar 2003
New Zealand
115710 Posts |
From the mprime source code I see that the save files for ECM and P-1 tests have a magic number, so I have made the following entries for /etc/magic so the 'file' program will recognise them:
Code:
# # ECM save file eNNNNNNN # 0 ulong 0x1a2b3cd4 Prime95 ECM data, >4 ulong x version %lu, >24 ulong x B1=%lu, >12 ulong x curve #%lu, >8 ulong 0 in stage 1, >>28 ulong x at prime %lu >8 ulong 1 in stage 2, >>32 ulong x at prime %lu # # P-1 save file mNNNNNNN # 0 ulong 0x1a2b3c4d Prime95 P-1 data, >4 ulong x version %lu, >16 ulong x B1=%lu, >28 ulong >0 B2=%lu, >8 ulong 0 in stage 1 >8 ulong 1 in stage 2 >8 ulong 2 complete >8 ulong 3 in stage 1 Code:
$ file e0001522 e0001522: Prime95 ECM data, version 1, B1=44000000, curve #152, in stage 2, at prime 453577741 |
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| P-1 Save File Compatability | PageFault | Software | 10 | 2012-04-05 01:26 |
| Save files, Vista and version 25.3 | drew | Software | 9 | 2008-06-02 05:30 |
| Continuing to Stage 2 p-1 with save file. | jasong | Factoring | 5 | 2007-11-20 21:23 |
| p95 v2.34 not writing save files during P-1 stage 2 | geoff | Software | 4 | 2003-06-11 08:33 |
| P-1 save files didn't save work | outlnder | Software | 1 | 2003-01-19 23:01 |