You are here

[Fixed] Sumatra uses .dat file and Launcher handles .txt

5 posts / 0 new
Last post
Patrick Patience
Offline
Last seen: 4 years 10 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
[Fixed] Sumatra uses .dat file and Launcher handles .txt

Version: 0.8 Portable Revision 2

The release of SumatraPDF Portable 0.8 (Rev 2) seems to have a bug since there was an extension change on the settings file.

The old launcher for SumatraPDF 7.0 and below was handling a sumatrapdfprefs.txt file, but in the new release [0.8] SumatraPDF stores its settings in sumatrapdfprefs.dat. The new launcher isn't accomodating for the new file type, and therefore sumatrapdfprefs.dat is not being copied to the data directory on close.

It looks like if an old sumatrapdfprefs.txt is in the program directory, SumatraPDF will read and use these settings, however I'm not sure whether they are copied to the .dat file, and whether SumatraPDF will still write to the .txt file if it exists.

rab040ma
Offline
Last seen: 4 months 1 week ago
Joined: 2007-08-27 13:35
Seems to be happening to my

Seems to be happening to my install too.

MC

Simeon
Simeon's picture
Offline
Last seen: 10 years 3 weeks ago
DeveloperTranslator
Joined: 2006-09-25 15:15
Youre right

even the Rev2 launcher only deals with a txt file and not with a dat file so I dont think it converts the settings.

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

rab040ma
Offline
Last seen: 4 months 1 week ago
Joined: 2007-08-27 13:35
I think if the .txt file is

I think if the .txt file is in the same directory as SumatraPDF.exe, it will read what it can from it, but it now saves to the .dat file.

I'd say the launcher could move the .txt file once (if found) then only move the .dat file back and forth.

The .dat format is a bit more ... compact. Updating drive letters could be fun.

MC

Patrick Patience
Offline
Last seen: 4 years 10 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Should Still Be OK

It should still be ok updating the drive letter as long as it can be read ok.

Log in or register to post comments