Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Open Forums » JCS & Scripting

Help with Textured Backgrounds and Palletes in general

AzulAtomDragon

JCF Member

Joined: Oct 2006

Posts: 28

AzulAtomDragon is doing well so far

Oct 20, 2006, 09:03 PM
AzulAtomDragon is offline
Unhappy Help with Textured Backgrounds and Palletes in general

I really want to make my own tileset, and I've had this awesome idea for one. So now I'm trying to make my idea a reality.

So, I've been trying to follow Disguise's guide-thingy.

Anyway, I made the pallete for my textured background, exactly how the guide says.

Except for one thing:

I'm using a program called Irfanview (along with MSpaint >_>), and not PaintShopPro.

Luckily for me, I can edit, import, and export pallets in Irfanview.

So I follow the guide some more, and import the PAL file into the background.

It becomes completely blue (the color I used instead of pink, which is the color Disguise used in his guide. I used blue because I was using Purple in the background).

I think I know what the problem is. That it didn't do the "match nearest color" thing.

I just don't know where it is.

I've looked in the Help files, but that didn't really help.

Does anyone here know how I might be able to fix this? (besides getting PSP, I tried and the trail won't work on my comp)
blurredd

JCF Member

Joined: Nov 2001

Posts: 1,896

blurredd is an asset to this forumblurredd is an asset to this forum

Oct 20, 2006, 09:57 PM
blurredd is offline
What you could do is use make a seperate image for the textured background (if you haven't already), and use TilesetPal for color reduction and whatnot. Then you can make whatever needed palette adjustments.
__________________
D3
Extra. No CTO v0.75
Animating Tiles Properties.
ATB Contest. Scripting Language.
Gameplay Theories.
1UP. Pitfall. Desolation.
SC2.

Old Oct 21, 2006, 01:18 PM
AzulAtomDragon
This message has been deleted by AzulAtomDragon. Reason: Accidental problem occured after post.
AzulAtomDragon

JCF Member

Joined: Oct 2006

Posts: 28

AzulAtomDragon is doing well so far

Oct 21, 2006, 06:07 PM
AzulAtomDragon is offline
Oh dear, it seems I've run into another problem. Sorry for double post!

I decided to compile my textured background, just to make sure it's working.

Good thing I DID do that, because my background is all wonky!

I went back and made sure each color isn't close to black, then compiled again.

'Tis still wonky.

The first time I tried it I did the little box at the bottom (I'm thinking it was color remap or domething like that)

I didn't do that the second time.

Is that's what's wrong? O_o

Or is it the tiles and pallets I didn't use?

EDIT: Wait, I just read Violet CLM's Textured Background article. Is it because the ONLY thing in my tileset that was using the reds in my Textured Background was the background itself? Can I fix this by adding something like lava, using those same colors?

EDIT2: I tried that, didn't work, either.

Anybody know what's wrong? >_>

LastEdit: Well, I thought I might upload a picture of the Pallete I'm using. Maybe that's the problem?



Last edit, I promise. >_>

Last edited by AzulAtomDragon; Oct 21, 2006 at 08:55 PM.
Violet CLM

JCF Éminence Grise

Joined: Mar 2001

Posts: 11,090

Violet CLM has disabled reputation

Oct 22, 2006, 01:33 PM
Violet CLM is offline
Okay, I'm a little confused about what you are or are not doing at this point. Do you have a 256 color image with a textured background in it that uses palette indexes 176-207 as well as at least one other tile with those same colors built in JCS with Remap Tileset Palette turned off?
__________________
AzulAtomDragon

JCF Member

Joined: Oct 2006

Posts: 28

AzulAtomDragon is doing well so far

Oct 22, 2006, 02:42 PM
AzulAtomDragon is offline
I just did everything you asked to make sure, and it did not work. >_>

Lesse...I have:

-file saved as a 256 color bitmap
-a textured background I made in TerraLogic
-the colors of the textured background in those indexes
-tile with the colors of my pallate, excluding the blacks and JJ2 pallete
-didn't use the remap tileset pallete thingy

Am I missing something/doing it wrong? >_>
Violet CLM

JCF Éminence Grise

Joined: Mar 2001

Posts: 11,090

Violet CLM has disabled reputation

Oct 22, 2006, 03:37 PM
Violet CLM is offline
What exactly do you mean by "it did not work"?
__________________
AzulAtomDragon

JCF Member

Joined: Oct 2006

Posts: 28

AzulAtomDragon is doing well so far

Oct 22, 2006, 03:48 PM
AzulAtomDragon is offline
I'll show you, because it seems hard for me to explain...<_>




It would move the way it was supposed to, but as you can see, it isn't the right color.

Every time I've compiled and tested it, it looked pretty much like that (except somewhat different colors in the "fuzz").



^ That is what it looks like in Paint. And what I suppose it should look like in JJ2. (except fading into the background)
blurredd

JCF Member

Joined: Nov 2001

Posts: 1,896

blurredd is an asset to this forumblurredd is an asset to this forum

Oct 23, 2006, 09:31 AM
blurredd is offline
I probably could've done a better job of explaining what you had to do, but I assumed you would be able to figure everything out eventually since (I'm assuming) you were using Disguise's Tileset Resource. Anyway, what I meant for you to do was to load your textured background image in TilesetPal, reduce colors (setting 32 indexes to "Available" and the rest "Don't Use"), and save the final. You could also load the rest of your palette before doing those steps, as long as you use the same settings. From there I recommend using PalSuite to adjust the palette so the textured background colors go from lightest to darkest, and then you can use TilesetPal (but NOT IrfanView or PalSuite) to load the complete palette back into the image. The final product (with some extra adjustments) should look something like this:



And its palette:



Also, the first index in your palette should be black to avoid potential problems.
__________________
D3
Extra. No CTO v0.75
Animating Tiles Properties.
ATB Contest. Scripting Language.
Gameplay Theories.
1UP. Pitfall. Desolation.
SC2.


Last edited by blurredd; Oct 24, 2006 at 09:42 AM. Reason: Fixed loading-palette-back-into-image issue...
Old Oct 23, 2006, 12:17 PM
AzulAtomDragon
This message has been deleted by AzulAtomDragon. Reason: Err....I take that back. I still have questions.
AzulAtomDragon

JCF Member

Joined: Oct 2006

Posts: 28

AzulAtomDragon is doing well so far

Oct 23, 2006, 04:12 PM
AzulAtomDragon is offline
Thanks. I'm wondering, however, if there's an easy way to copy each individual color into a Paint document, besides hunting for them in the textured background.

Last time, I wrote each individual color's values down, and replaced the default colors in Paint with them, then placed it in the image.

I tried using Print Screen on the pallete menu, but the colors were butchered.

Is there any way to put the pallete as an image into a document? Or should I just kill my eyes by looking at the textured background trying to figure out which color is which? X_X

Please give me a tip or two. ^^

PS: I'm following what you said, BlurredD. >_>
Still didn't work, so I'll probably start that file over again.
Violet CLM

JCF Éminence Grise

Joined: Mar 2001

Posts: 11,090

Violet CLM has disabled reputation

Oct 23, 2006, 04:53 PM
Violet CLM is offline
I'm confused. Isn't the palette already in this thread? Can't you just use that?
AzulAtomDragon

JCF Member

Joined: Oct 2006

Posts: 28

AzulAtomDragon is doing well so far

Oct 23, 2006, 05:09 PM
AzulAtomDragon is offline
Ah, you're right. >_<

When I copied BlurredD's pallete into Paint, it didn't make the colors blended or whatever you call it when you use dots to shade things. (I think its stippling >_>)

Might be my screen set-up or something.

Thanks guys, I'm going to tweak my BG so that it uses BlurredD's pallete now.

EDIT: ARRRGH!!! *bangs head against desk*

I started a new textured background, and this one won't work, either!

So... I pose a question: Do I have to load the tileset's pallete in first, or can I load the image of the texture in before? Because that's what I've been doing....>.<

*goes to test theory*

Last edited by AzulAtomDragon; Oct 23, 2006 at 07:34 PM.
PurpleJazz

JCF Member

Joined: Aug 2006

Posts: 855

PurpleJazz is OFF DA CHARTPurpleJazz is OFF DA CHARTPurpleJazz is OFF DA CHARTPurpleJazz is OFF DA CHART

Oct 23, 2006, 10:10 PM
PurpleJazz is offline
Load the tileset palette first. It should work then.
AzulAtomDragon

JCF Member

Joined: Oct 2006

Posts: 28

AzulAtomDragon is doing well so far

Oct 23, 2006, 10:27 PM
AzulAtomDragon is offline
What do you mean by that, PurpleJazz? It's got me confused.

Do you mean reduce the colors with TilesetPal, or export the PAL. file with PalleteSuit onto the BMP.? I've tried both, and they didn't work....
Old Oct 23, 2006, 10:56 PM
PurpleJazz
This message has been deleted by PurpleJazz.
Old Oct 23, 2006, 11:02 PM
PurpleJazz
This message has been deleted by PurpleJazz. Reason: broken link
PurpleJazz

JCF Member

Joined: Aug 2006

Posts: 855

PurpleJazz is OFF DA CHARTPurpleJazz is OFF DA CHARTPurpleJazz is OFF DA CHARTPurpleJazz is OFF DA CHART

Oct 23, 2006, 11:08 PM
PurpleJazz is offline
Sorry about that, savefiles doesn't work and I tried another one and that didn't work either. This one works: http://www.storageserver.co.uk/details.asp?code=XREN9
This is the palette from the Halloween 06 tileset with a working textured background. Just change the colours to the colours you want to use. Palette entries 48-79 are the textured background colours. And the answer to the question is: export the PAL. file with PalleteSuit onto the BMP.

(Hey, this is my 100th post!)
blurredd

JCF Member

Joined: Nov 2001

Posts: 1,896

blurredd is an asset to this forumblurredd is an asset to this forum

Oct 24, 2006, 10:01 AM
blurredd is offline
I would recommend against exporting the palette from PalSuite since it couldn't account for any colors being moved around in the palette among other things (same issues with IrfanView). You would also be blindly applying a palette to an image, which you couldn't easily undo. I updated my last post, and so TilesetPal would be the easiest way for you to load the edited palette into an image (just make sure to at least mark every palette index as "Don't Change").
__________________
D3
Extra. No CTO v0.75
Animating Tiles Properties.
ATB Contest. Scripting Language.
Gameplay Theories.
1UP. Pitfall. Desolation.
SC2.

AzulAtomDragon

JCF Member

Joined: Oct 2006

Posts: 28

AzulAtomDragon is doing well so far

Oct 24, 2006, 03:17 PM
AzulAtomDragon is offline
I tried to copy PurpleJazz's pallete, only replacing his colors with my own. Didn't work.

I also tried what BlurredD suggested, and that refused to work as well.

I'm so terribly inept at this.

EDIT: Here's my pallete. This one is the latest (not working) one.



THIS particular pallete almost works, but there's some blue fuzz in the background. And I'm stumped as to how to fix it.

I tried putting my textured bg colors in all the empty spaces, but that made it green and fuzzy. O_o

Last edited by AzulAtomDragon; Oct 24, 2006 at 05:38 PM. Reason: Added pic.
PurpleJazz

JCF Member

Joined: Aug 2006

Posts: 855

PurpleJazz is OFF DA CHARTPurpleJazz is OFF DA CHARTPurpleJazz is OFF DA CHARTPurpleJazz is OFF DA CHART

Oct 24, 2006, 10:44 PM
PurpleJazz is offline
Why not change Jazz 2 to 16 Bit? 8 Bit backgrounds often look ugly.
blurredd

JCF Member

Joined: Nov 2001

Posts: 1,896

blurredd is an asset to this forumblurredd is an asset to this forum

Oct 24, 2006, 10:47 PM
blurredd is offline
I just noticed I duplicated a color by accident in my textured background image, which I might've noticed earlier if I didn't rush...

You can tell how good your palette is by taking an in-game screenshot with F12 while in 8-bit mode, and then examing the palette of the newly created pcx file findable in your JJ2 folder. Any color that doesn't get used by any tile will be replaced by some random color. I'm guessing you might have used colors from JJ2's sprite palette and/or your textured background doesn't have enough colors.

I also recently noticed something regarding using indexes 208-239 for the textured background. The textured background tiles must contain no more than 30 colors, and these colors must be placed within 209-238. However, there still must be a complete gradient from 208 to 239. This means you would have to specifically place the two colors for 208 and 239 (and any other colors from the gradient if they were left unused) in some tile outside of the textured background (this incidently explains the purpose of the "dizz suxx" tile in the Colon 2 tileset).

Edit: If an 8-bit background looks bad, it's usually because the maker of the tileset didn't put enough effort into the palette.
__________________
D3
Extra. No CTO v0.75
Animating Tiles Properties.
ATB Contest. Scripting Language.
Gameplay Theories.
1UP. Pitfall. Desolation.
SC2.


Last edited by blurredd; Oct 24, 2006 at 10:59 PM.
Tik

JCF Member

Joined: Mar 2001

Posts: 4,982

Tik is doing well so far

Oct 25, 2006, 02:28 PM
Tik is offline
Quote:
Originally Posted by BlurredD
I also recently noticed something regarding using indexes 208-239 for the textured background. The textured background tiles must contain no more than 30 colors, and these colors must be placed within 209-238. However, there still must be a complete gradient from 208 to 239. This means you would have to specifically place the two colors for 208 and 239 (and any other colors from the gradient if they were left unused) in some tile outside of the textured background (this incidently explains the purpose of the "dizz suxx" tile in the Colon 2 tileset).
This is a very important step to make any textured background work. If you look at other custom tilesets, you might find a single tile with every colour used for the textured background, each pixel in a row/column being one of the 32 colours.

http://tilesets.hewwo.com/texture.htm

Step 7.
__________________
&lt;table width=&quot;100%&quot;&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;a href=&quot;http://www.jj2.info&quot; title=&quot;waaaait&quot; style=&quot;font-size: 14pt;font-family: Verdana;text-decoration: none;&quot;&gt;penny on the train track&lt;/a&gt;
&lt;a href=&quot;/junk/tick/tickbot.html&quot;&gt;readme&lt;/a&gt; - &lt;a href=&quot;/junk/tick/quote.html&quot;&gt;quotes&lt;/a&gt; - &lt;a href=&quot;/junk/tick/rsg.html&quot;&gt;formats&lt;/a&gt; - are you brained? *\o/*&lt;/td&gt;&lt;td width=&quot;1%&quot; align=&quot;right&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
AzulAtomDragon

JCF Member

Joined: Oct 2006

Posts: 28

AzulAtomDragon is doing well so far

Oct 25, 2006, 04:14 PM
AzulAtomDragon is offline
Thanks for pointing out what PalleteSuite can do. When I first read that, I thought it said Paint Shop Pro. >_>

And yes, I'm STILL having problems. I thought moving the textured background's pallete back to the water event indexes would finally fix things...but noooo.



Ignore the badly drawn trees and other things in that pic. >_>

I'm going to Disguise's website one last time (well, that section, anyway) to make sure I didn't skip something totally obvious. >_<
blurredd

JCF Member

Joined: Nov 2001

Posts: 1,896

blurredd is an asset to this forumblurredd is an asset to this forum

Oct 25, 2006, 07:59 PM
blurredd is offline
I'm not entirely sure what your problem is anymore. If you want, you can PM me the files you used to compile the set and I can find what the exact problem is.
__________________
D3
Extra. No CTO v0.75
Animating Tiles Properties.
ATB Contest. Scripting Language.
Gameplay Theories.
1UP. Pitfall. Desolation.
SC2.

blurredd

JCF Member

Joined: Nov 2001

Posts: 1,896

blurredd is an asset to this forumblurredd is an asset to this forum

Oct 27, 2006, 02:32 PM
blurredd is offline
I just remembered something else. One other test you can perform is to make a new palette where every color that isn't a part of your textured background a single color. Then you can import that palette through Irfanview (since maintaining indexes is necessary for this test). If you did everything right in the first place, then the tiles you made for the textured background should keep their original colors.
__________________
D3
Extra. No CTO v0.75
Animating Tiles Properties.
ATB Contest. Scripting Language.
Gameplay Theories.
1UP. Pitfall. Desolation.
SC2.

AzulAtomDragon

JCF Member

Joined: Oct 2006

Posts: 28

AzulAtomDragon is doing well so far

Oct 28, 2006, 11:15 AM
AzulAtomDragon is offline
Thanks guys. Even though I totally botched this somewhere down the line, you guys really helped.

So I'm letting this project go, and starting a new one. >_>

Thanks so much for trying to help stupid little me! XD That made me really happy.

Thanks again.

EDIT: YES!!! I finally got a textured background to work!

Like I said, you guys really helped me. ^_^ Thanks!

Can this thread be closed now? I really have no use for it anymore...^_^;;;

Last edited by AzulAtomDragon; Oct 29, 2006 at 03:49 PM.
FQuist

JCF Member

Joined: Sep 2001

Posts: 3,251

FQuist is an asset to this forumFQuist is an asset to this forum

Oct 30, 2006, 07:16 AM
FQuist is offline
Sure.
__________________
“The truth is that everything that can be accomplished by showing a person when he's wrong, ten times as much can be accomplished by showing him where he is right.” - Robert T. Allen

Interesting Jazz-related links:
Thread: Gameplay Theories - Thread: Make Up Your Own Gametype

Spotify.fm

Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT -8. The time now is 05:08 AM.