PDA

View Full Version : Everything Deleted



Vishera
March 10th, 2015, 02:10
So I logged into my campaign today and everything was gone. The images I created remained but the characters, storyline, everything gone. I checked the chat log and I saved the campaign before quitting.. any ideas?

damned
March 10th, 2015, 02:31
the system saves automatically without you having to do a manual /save
where have you pointed your Campaign file/folder?
is it on a cloud drive live oneDrive, DropBox, Copy etc?
if so that is likely your issue. database files should not be stored and run on a remote sync drive.
what else has happened recently?


https://www.fg-con.com/wp-content/uploads/2015/01/fg-con-6-150-9.jpg (https://www.fg-con.com/events/)
FG Con 6 – April 17-19th 2015 - register at www.fg-con.com (https://www.fg-con.com/) for all the latest info.

Vishera
March 10th, 2015, 02:36
the game is saved on my local machine, no drop box or anything. Nothing else happened recently. we all said goodbye, I closed the program and that was that. came back to it today and poof. only images. PC character sheets gone, story gone, items, everything.

damned
March 10th, 2015, 02:43
try an undelete tool.
this is not typical behaviour of FG - it is likely something else has damaged/moved/deleted the file.
perhaps check your AV logs and see if it has been quarantined for some reason.

Trenloe
March 10th, 2015, 02:55
Look in the campaign directory - do you see anything like db.backup.XXXXXXX.xml or db.restore.xml?

db.xml will be your current campaign database.

Look at the dates of all of the .XML files beginning with db - there may be one from slightly earlier that still has your data, or you might be able to work out where the data actually is.

Before copying/messing with campaign files backup the whole directory, just in case...

Vishera
March 10th, 2015, 03:05
no db backup was there like in my other campaigns. Before logging off for the day I'll be sure to back up just in case.
-- on a side note where can I find a link on how to make a custom background/layout for the players to all see instead of the basic wood with the dragon symbol in the center?

damned
March 10th, 2015, 12:38
Have a look at the basic themes here: https://www.fg-con.com/free-downloads/
Use your favourite zip/unzip tool to open the .ext file and see whats inside.
Instructions here: https://plus.google.com/113242142028866135618/posts/89FtsrYFqz6


Fantasy Grounds - Basic Theme Extension

In this example Im only using 1 desktop elements - a tiling background with the logo already in place. In my case I dont really want my image to tile so Im going to use the maximum (horizontal) dimension which is 2048pixels.
So I start with an image that is 2048 wide and 1080 tall (largest common monitor size is 1920x1080 and larger ones will tile anyway as the largest image I can use is 2048).

Create the following files/folders:
extension.xml
logo.png
graphics\graphics_frames.xml
graphics\frames\scifi2048.jpg

note - traditionally this uses a PNG file because the DECAL usually has some transparency. if you dont need the transparency and you want to use a higher resolution graphic - use a JPG image as it will typically be MUCH smaller and will improve load times.

As above the maximum image size is 2048x2048. if you use a decal (aligned with mid point of your window) and a right rect (right rect is aligned to the right of window and tiles vertically) these must also be within the 2048x2048 dimensions. They dont have to be in any particular position in the source graphic - you define the co-ordinates. If your window is larger than the middle rect frame it will tile both horizintally and vertically.
For reference the the code for decal and right is as per example below - your co-ordinates will be different. left, top, width, height.

<right rect="0,1080,100,600" />
<decal rect="0,1080,302,90" />[quote]

Example Files
extension.xml
Code:[quote]
<?xml version="1.0" encoding="iso-8859-1"?>

<!--
Please see the license.html file included with this distribution for
attribution and copyright information.
-->

<root version="3.0" release="3">
<properties>
<name>FG Con SciFi Theme</name>
<version>3</version>

<author>Damned</author>
<description>FG Con SciFi Theme</description>

<ruleset>
<name>CoreRPG</name>
</ruleset>
<ruleset>
<name>Numenera</name>
</ruleset>
</properties>

<base>
<includefile source="graphics/graphics_frames.xml" />
</base>
</root>
graphics_frames.xml
Code:
<?xml version="1.0" encoding="iso-8859-1"?>

<!--
Please see the license.html file included with this distribution for
attribution and copyright information.
-->

<root>
<!-- Desktop background -->
<framedef name="desktop">
<bitmap file="graphics/frames/scifi2048.jpg" />
<middle rect="0,0,2048,1080" />
</framedef>

</root>

My image is 2048x1080px and has been saved as about 65% jpg. I fade the edges to a solid colour in all directions so that it will tile.



https://www.fg-con.com/wp-content/uploads/2015/01/fg-con-6-150-9.jpg (https://www.fg-con.com/events/)
FG Con 6 – April 17-19th 2015 - register at www.fg-con.com (https://www.fg-con.com/) for all the latest info.

Valarian
March 10th, 2015, 12:43
It could be that there's a bad character or something in the db.xml. Copy/backup the current file and open it up in a browser, or an editor with XML highlighting and syntax checking (XML Notepad 2007, XMLEdit, Notepad++, JEdit). If there are errors showing then you can try to fix the file, or send it to the FG support email address.