Home World Forum
Stars! AutoHost forums

Jump to Stars! AutoHost


 
Home » Stars! 2.6/7 » The Academy » XBorders not saving data?
XBorders not saving data? Mon, 18 May 2020 03:56 Go to next message
Ludi Magister is currently offline Ludi Magister

 
Master Chief Petty Officer

Messages: 103
Registered: April 2019
Hi all!

I run Stars in Starswine under Win10. Works fine. However, I use XtremeBorders as a utility, and it doesn't save data I enter. For instance, player colours I've changed are back to the previous after I restart XB (yes, I did hit 'Save Player Colours'. Data I enter in Empire Statistics are only saved for my own race, not for any others (yes, I did hit 'Save' before leaving the window).

Has anybody encountered this as well? Does anbody have ideas how to correct it?

Cheers,

Matt

Report message to a moderator

Re: XBorders not saving data? Mon, 18 May 2020 11:19 Go to previous messageGo to next message
ricks03 is currently offline ricks03

 
Officer Cadet 2nd Year
Creator of TotalHost and Stars! utilities
Forum Administrator
Stars! AutoHost Administrator
Created TotalHost and Stars! utilities

Messages: 231
Registered: January 2012
Location: NC
I think XB uses an .INI file. Do you have write permissions to the .INI file?


https://www.irelandbybicycle.com
http://totalhost.sinister.net:999
https://github.com/ricks03/TotalHost

Report message to a moderator

Re: XBorders not saving data? Mon, 18 May 2020 11:41 Go to previous messageGo to next message
Ludi Magister is currently offline Ludi Magister

 
Master Chief Petty Officer

Messages: 103
Registered: April 2019
That only stores the games directory. But yes, I have write permission for that.
The data for the game is stored in the individual game directory. The files are called "Gamename".xbc, "Gamename".xbd and "Gamename".xbi. I have write permission for them too. They are plain text and editable. But XB doesn't write to those files, they stay unchanged...

Report message to a moderator

Re: XBorders not saving data? Mon, 18 May 2020 13:13 Go to previous messageGo to next message
magic9mushroom is currently offline magic9mushroom

 
Commander

Messages: 1369
Registered: May 2008
Ludi Magister wrote on Tue, 19 May 2020 01:41
That only stores the games directory. But yes, I have write permission for that.
The data for the game is stored in the individual game directory. The files are called "Gamename".xbc, "Gamename".xbd and "Gamename".xbi. I have write permission for them too. They are plain text and editable. But XB doesn't write to those files, they stay unchanged...

Does XB have write permissions to them?

Report message to a moderator

Re: XBorders not saving data? Mon, 18 May 2020 13:53 Go to previous messageGo to next message
Ludi Magister is currently offline Ludi Magister

 
Master Chief Petty Officer

Messages: 103
Registered: April 2019
I have to admit that I don't know how to check for that or how to change it.

However, this seems to be inconsistent behaviour. I've entered several races and XB has accepted changes for my own race and one other one, but not for any of the others.

Report message to a moderator

Re: XBorders not saving data? Tue, 19 May 2020 00:00 Go to previous messageGo to next message
craebild is currently offline craebild

 
Lieutenant

Messages: 568
Registered: December 2003
Location: Copenhagen, Denmark
Just a thought, could it be that XB cannot handle the filenames ?

Are the filenames that XB writes to DOS format, while the filenames XB does not support are not DOS format ?



Med venlig hilsen / Best regards / Mit freundlichen Grüßen
Christian Ræbild / Christian Raebild

Report message to a moderator

Re: XBorders not saving data? Tue, 19 May 2020 02:25 Go to previous messageGo to next message
Ludi Magister is currently offline Ludi Magister

 
Master Chief Petty Officer

Messages: 103
Registered: April 2019
Standard DOS format for all filenames: 8.3 characters.

Report message to a moderator

Re: XBorders not saving data? Tue, 19 May 2020 02:39 Go to previous message
Ludi Magister is currently offline Ludi Magister

 
Master Chief Petty Officer

Messages: 103
Registered: April 2019
The problem seems to be the number of races. Changed data for the first eight races (according to player number in the game) are saved correctly. This seems to be determined by the P-file. If I change the file name "gamename.p12" to "gamename.p1" the data are stored correctly.
I suspect the "gamename.XBD" file is somehow truncated, but I don't know how or why.

Report message to a moderator

Previous Topic: Copies of colonizer ships can colonize without Colonization module
Next Topic: Guts of detection in minefields.
Goto Forum:
  


Current Time: Wed Dec 11 23:23:22 GMT-5 2024