PDA

View Full Version : Transfering Calendar log file from Classic to Unity



Rothana
August 3rd, 2021, 00:51
Hi,

I've had some issues with saving errors and have had to delete some files from my unity campaign to correct. However, I have now lost my entire calendar log. I still have the calendar in my Classic campaign - can someone tell me the name of the file and probable folder location (ie campaign?) so I can copy and paste it into my FGU directory?

Incidentally, has anyone else experienced saving errors associated with having FGU in Dropbox?

Thank you!

Zacchaeus
August 3rd, 2021, 01:18
As far as I am aware the calendar information is saved to the campaign database (in other words the db.xml file) along with all the other campaign information (characters, NPCs, etc). So there’s no special file.

What files did you delete? And yes you will get file errors if you have synced your FG data to any kind of cloud based solution such as dropbox. It is safe enough to back up your data to something like that but don’t have your folder synced to it.

Rothana
August 3rd, 2021, 04:58
So...no way to just extract the calendar?

LordEntrails
August 3rd, 2021, 05:19
So...no way to just extract the calendar?
First, make copies of everything, when FG is not running.

Inside your campaign db.xml, use one of your old ones, is a section enclosed in <calendar> tags.

You can copy the whole thing out of your backup and insert it into your current db.xml. BUT, make sure you ahve backups of everything!

It looks like this;

<calendar>
<public />
<base>
<public />
</base>
<current>
<public />
<day type="number">26</day>
<hour type="number">16</hour>
<month type="number">12</month>
<year type="number">1492</year>
</current>
<data>
<public />
<complete type="number">1</complete>
<lunarweek>
<public />
<day1 type="string">First-day</day1>
<day10 type="string">Tenth-day</day10>
<day2 type="string">Second-day</day2>
<day3 type="string">Third-day</day3>
<day4 type="string">Forth-day</day4>
<day5 type="string">Fifth-day</day5>
<day6 type="string">Sixth-day</day6>
<day7 type="string">Seventh-day</day7>
<day8 type="string">Eighth-day</day8>
<day9 type="string">Ninth-day</day9>
</lunarweek>
<name type="string">Calendar of Harptos</name>
<periods>
<public />
<period1>
<public />
<days type="number">30</days>
<name type="string">Hammer</name>
</period1>
<period10>
<public />
<days type="number">1</days>
<holidays>
<public />
<holiday1>
<public />
<duration type="number">1</duration>
<name type="string">Midsummer Annual Holiday</name>
<startday type="number">1</startday>
</holiday1>
<holiday2>
<public />
<duration type="number">1</duration>
<name type="string">Shieldmeet - Every Four Years</name>
<startday type="number">1</startday>
</holiday2>
</holidays>
<name type="string">Midsummer</name>
</period10>
<period11>
<public />
<days type="number">30</days>
<name type="string">Eleasis</name>
</period11>
<period12>
<public />
<days type="number">30</days>
<holidays>
<public />
<holiday1>
<public />
<duration type="number">1</duration>
<name type="string">Autumn Equinox</name>
<startday type="number">21</startday>
</holiday1>
</holidays>
<name type="string">Eleint</name>
</period12>
<period13>
<public />
<days type="number">1</days>
<holidays>
<public />
<holiday1>
<public />
<duration type="number">1</duration>
<name type="string">Highharvestide Annual Holiday</name>
<startday type="number">1</startday>
</holiday1>
</holidays>
<name type="string">Highharvestide</name>
</period13>
<period14>
<public />
<days type="number">30</days>
<name type="string">Marpenoth</name>
</period14>
<period15>
<public />
<days type="number">30</days>
<name type="string">Uktar</name>
</period15>
<period16>
<public />
<days type="number">1</days>
<holidays>
<public />
<holiday1>
<public />
<duration type="number">1</duration>
<name type="string">The Feast of the Moon Annual Holiday</name>
<startday type="number">1</startday>
</holiday1>
</holidays>
<name type="string">The Feast of the Moon</name>
</period16>
<period17>
<public />
<days type="number">30</days>
<holidays>
<public />
<holiday1>
<public />
<duration type="number">1</duration>
<name type="string">Winter Solstice</name>
<startday type="number">20</startday>
</holiday1>
</holidays>
<name type="string">Nightal</name>
</period17>
<period2>
<public />
<days type="number">1</days>
<holidays>
<public />
<holiday1>
<public />
<duration type="number">1</duration>
<name type="string">Midwinter Annual Holiday</name>
<startday type="number">1</startday>
</holiday1>
</holidays>
<name type="string">Midwinter</name>
</period2>
<period3>
<public />
<days type="number">30</days>
<name type="string">Alturiak</name>
</period3>
<period4>
<public />
<days type="number">30</days>
<holidays>
<public />
<holiday1>
<public />
<duration type="number">1</duration>
<name type="string">Spring Equinox</name>
<startday type="number">19</startday>
</holiday1>
</holidays>
<name type="string">Ches</name>
</period4>
<period5>
<public />
<days type="number">30</days>
<name type="string">Tarsakh</name>
</period5>
<period6>
<public />
<days type="number">1</days>
<holidays>
<public />
<holiday1>
<public />
<duration type="number">1</duration>
<name type="string">Greengrass Annual Holiday</name>
<startday type="number">1</startday>
</holiday1>
</holidays>
<name type="string">Greengrass</name>
</period6>
<period7>
<public />
<days type="number">30</days>
<name type="string">Mirtul</name>
</period7>
<period8>
<public />
<days type="number">30</days>
<holidays>
<public />
<holiday1>
<public />
<duration type="number">1</duration>
<name type="string">Summer Solstice</name>
<startday type="number">20</startday>
</holiday1>
</holidays>
<name type="string">Kythorn</name>
</period8>
<period9>
<public />
<days type="number">30</days>
<name type="string">Flamerule</name>
</period9>
</periods>
<setting type="string">D&amp;D - Forgotten Realms</setting>
</data>
<log>
<public />
<id-00001>
<public />
<day type="number">22</day>
<gmlogentry type="formattedtext">
<p />
</gmlogentry>
<logentry type="formattedtext">
<p>Hag &#38; Fireball</p>
</logentry>
<month type="number">4</month>
<name type="string">22nd Ches, 1492</name>
<year type="number">1492</year>
</id-00001>
<id-00002>
<public />
<day type="number">20</day>
<gmlogentry type="formattedtext">
<p>Trollskull Grand Opening</p>
</gmlogentry>
<logentry type="formattedtext">
<p>Trollskull Grand Opening</p>
</logentry>
<month type="number">4</month>
<name type="string">20th Ches, 1492 </name>
<year type="number">1492</year>
</id-00002>
<id-00003>
<public />
<day type="number">21</day>
<gmlogentry type="formattedtext">
<p>Selune S, Parade, party at Cassalanter's</p>
</gmlogentry>
<logentry type="formattedtext">
<p>Cassalanter's party</p>
</logentry>
<month type="number">4</month>
<name type="string">21st Ches, 1492</name>
<year type="number">1492</year>
</id-00003>

...more stuff...


</log>
</calendar>

Trenloe
August 3rd, 2021, 05:29
Incidentally, has anyone else experienced saving errors associated with having FGU in Dropbox?
Yes, this is an issue.

You shouldn’t be using any active sync/backup/cloud storage solution on your Live FG data, because it can lead to save issues and campaign data corruption. Copy files manually to a backup/cloud storage when FG isn’t running, but don’t have your FG data directories included in DropBox.

Rothana
August 3rd, 2021, 19:21
Thanks all for the feedback!