PDA

View Full Version : Background wallpaper question



daddystabz
May 29th, 2013, 21:53
I made a Deadlands Noir background wallpaper today to use for an upcoming campaign but when I load the campaign it seems it is automatically doing it as a tiled image. I need to do it as just one image spread out.

Is there a way to get it to do this please?

It currently looks like this:https://farm9.staticflickr.com/8413/8882460859_fe8f664b9e.jpg (https://www.flickr.com/photos/56302803@N05/8882460859/)
[url=https://www.flickr.com/people/56302803@N05/]

Trenloe
May 29th, 2013, 22:18
See post #7 of this thread: https://www.fantasygrounds.com/forums/showthread.php?t=18001

You may recognise it! :)

daddystabz
May 29th, 2013, 22:35
Thanks. I took the image and moved it over to the logo side and it looks almost as messed up. I am missing something here.

Trenloe
May 29th, 2013, 22:37
Please post a screenshot of your desktop.png file so we know what you're doing.

Trenloe
May 29th, 2013, 22:42
Please post a screenshot of your desktop.png file so we know what you're doing.
Sorry, desktop_background.png.

daddystabz
May 29th, 2013, 22:48
I wanted to have a cool picture in the background but no matter what I do it tiles it or displaces parts of it somehow.

I was able to get one to work by using a black background in the tiled area and just the DL: N logo in the logo section. When I do this it comes out ok. It is a pity I cannot use the picture of the guy with the gun from my first image above.

Trenloe
May 29th, 2013, 22:51
For Savage worlds, the desktop is defined in "graphics_frames.xml" as follows:

<framedef name="desktop">
<bitmap file="graphics/frames/desktop_background.png" />
<middle rect="0,0,512,512" />
<right rect="512,0,768,1002" />
<decal rect="1318,0,682,276" />
</framedef>

More info the <framedef> here: https://www.fantasygrounds.com/refdoc/framedef.xcp

All of the above coordinates are: "x,y, width, height" in pixels.


"middle" is the portion that gets tiled. This graphic should have edges that "fit" with each other or the tiling will be obvious.
"right" is the bit that gets tiled vertically down the right hand side - usually the right side margin for the toolbar. The top and bottom edges should fit with each other or the vertical tiling will be obvious.
"decal" is the bit that gets put in the middle of the screen. This should usually be transparent if it is not a solid block.

daddystabz
May 29th, 2013, 22:55
Thank you for that. I was looking at this in the xml and thought this area is the key to what I need to do. If I could only find a transparent logo for Deadlands Noir I'd be in business.

Trenloe
May 29th, 2013, 23:05
If I could only find a transparent logo for Deadlands Noir I'd be in business.
Make the desktop background (middle tile) the same colour as the background in the Deadlands Noir logo and you don't need to make it transparent. Looking at your original screenshot it looks like it is just black?

daddystabz
May 29th, 2013, 23:08
That is precisely what I did as a compromise. I took a black backgorund and used in the tiled area and put the Deadlands Noir logo in the logo area so they would blend. Ideally though I had wanted to use the picture of the gangster with a gun near the car as my background but I was unsuccessful.

Doswelk
May 29th, 2013, 23:16
The Deadlands Noir ruleset should be released soon it looks rather good: Deadlands Noir screen shot (https://sw4fg2.tumblr.com/image/50898049282)

Otherwise I'll try and post the code.

Trenloe
May 29th, 2013, 23:16
Ideally though I had wanted to use the picture of the gangster with a gun near the car as my background but I was unsuccessful.
Yeah, it's not designed for detail in the background as the total desktop size can be anything from a small screen on, say, a netbook; to very large across multiple monitors - so the background has to tile to cater for a very wide range of screen sizes. The "decal" is for the detail - make an extension and make the decal size definition bigger so that it fills more of the screen if you want - but keep in mind that on a small screen/window it may get "clipped".

Doswelk
May 30th, 2013, 00:00
Right here's my attempt


<?xml version="1.0" encoding="iso-8859-1"?>

<root version="2.8" logo="logo.png">
<properties>
<name>Deadlands Noir</name>
<version>0.10</version>
<author>Kevin Dowell</author>
<description>Deadlands Noir Theme</description>
<ruleset>
<name>SavageWorlds3</name>
<minrelease>3.3</minrelease>
</ruleset>
</properties>
<base>
<!-- GRAPHICS -->
<framedef name="desktop">
<bitmap file="graphics/frames/desktop_background.png" />
<middle rect="0,0,512,512" />
<right rect="513,0,97,1000" />
<decal rect="613,0,1240,1000" />
</framedef>
</base>
</root>

In Gimp I created a 1900x1000 image with a transparent background.

The first layer was a 512x512 black rectangle top left

The second layer was a rectangle starting at pixel 513 and 97 pixels wide and 1000 pixels deep.

The final area was the "decal" this starts at 613 and was 1240x1000 pixels.

daddystabz
May 30th, 2013, 01:28
I need a step by step tutorial for GIMP to be able to do this correctly.

Anyone interested in helping us novice peeps out with that?

Thank you both so much for your help and guidance. You are both very kind and generous. I appreciate it.

daddystabz
May 30th, 2013, 05:35
I was able to use the sample image you provided to finally get mine to work correctly. Thank you so much!