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

.png -> .j2t

Calvin Calvin's Avatar

JCF Member

Joined: Aug 2009

Posts: 13

Calvin is doing well so far

Oct 15, 2009, 11:33 AM
Calvin is offline
Reply With Quote
.png -> .j2t

How am I able to turn a .png file + the mask.png into a .j2t file?
CrimiClown CrimiClown's Avatar

JCF Member

Joined: Mar 2005

Posts: 4,888

CrimiClown is a forum legendCrimiClown is a forum legendCrimiClown is a forum legend

Oct 15, 2009, 11:42 AM
CrimiClown is offline
Reply With Quote
Quote:
Originally Posted by Calvin View Post
How am I able to turn a .png file + the mask.png into a .j2t file?
You must compile them in JCS. Put both files (mask and tileset) in the Tiles folder (a subfolder of your JJ2 installation). I think that both files need to be saved as 256 colour .bmp's though.

Then, from JCS, go to the tileset menu (button in the tileset window) and choose to compile a new tileset.
Calvin Calvin's Avatar

JCF Member

Joined: Aug 2009

Posts: 13

Calvin is doing well so far

Oct 15, 2009, 12:23 PM
Calvin is offline
Reply With Quote
It works...
I turned a original .j2t into the two .png files
but when i turned them into 256colour .bmp s and then into a .j2t file
the quality was very bad...
Maybe somebody can help me with my two .png pictures to turn them into a good looking .j2t.
The Files:
http://upload.worldofplayers.de/file...dark-image.png
http://upload.worldofplayers.de/file... dark-mask.png
Stijn Stijn's Avatar

Administrator

Joined: Mar 2001

Posts: 6,964

Stijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to behold

Oct 15, 2009, 12:40 PM
Stijn is offline
Reply With Quote
You might want to read up on the concept of "palettes" on Disguise's Tileset Resource.
Old Oct 15, 2009, 12:56 PM
Calvin
This message has been deleted by Calvin.
Calvin Calvin's Avatar

JCF Member

Joined: Aug 2009

Posts: 13

Calvin is doing well so far

Oct 16, 2009, 08:47 AM
Calvin is offline
Reply With Quote
Quote:
Originally Posted by Stijn View Post
You might want to read up on the concept of "palettes" on Disguise's Tileset Resource.
nice link
but can sb help me nevertheless
i have an other question:

i worked with these files in the "Tiles" folder:
http://upload.worldofplayers.de/files4/Pics.rar
in jcs it looks very nice but there isn't any transparency
what's wrong?
__________________
sonicnathan 1

JCF Member

Joined: Mar 2007

Posts: 382

sonicnathan 1 is doing well so far

Oct 16, 2009, 09:01 AM
sonicnathan 1 is offline
Reply With Quote
I know the pain. I'll see if i can fix up you tileset. Can i have png files?

Ok this thing needs a biig pallet fix. Lucky, that's not a huge problem. While I'm at it I'll also make sure you textured background works. Just hold tight!
__________________
<a href="http://www.jazz2online.com/J2Ov2/downloads/info.php?levelID=5301">Episode 1 The War begins</a>
Epsiode 2:N/A
Episode 3: Probably never
Episode 4: Probably never

<a href="http://www.jazz2online.com/J2Ov2/downloads/info.php?levelID=4882"> Deckstar V3</a>
<a href="http://www.jazz2online.com/J2Ov2/downloads/info.php?levelID=5408">Colonial Fix</a>
Jazz 1 Fanolint: 98%

<a href="http://www.jazz2online.com/J2Ov2/downloads/info.php?levelID=5407">Finished secret levels</a>
Old Oct 16, 2009, 09:06 AM
Calvin
This message has been deleted by Calvin.
Calvin Calvin's Avatar

JCF Member

Joined: Aug 2009

Posts: 13

Calvin is doing well so far

Oct 16, 2009, 09:09 AM
Calvin is offline
Reply With Quote
Quote:
Originally Posted by SonicNathan 1 View Post
I know the pain. I'll see if i can fix up you tileset. Can i have png files?

Ok this thing needs a biig pallet fix. Lucky, that's not a huge problem. While I'm at it I'll also make sure you textured background works. Just hold tight!
http://upload.worldofplayers.de/file...dark-image.png
http://upload.worldofplayers.de/file... dark-mask.png

that are the two .png files but the violet parts are very irregular...
you edit them every way you want...
if it's possible try to create a .j2t file...
__________________
Sonyk Sonyk's Avatar

JCF Member

Joined: Feb 2005

Posts: 2,409

Sonyk is doing well so far

Oct 17, 2009, 03:51 PM
Sonyk is offline
Reply With Quote
Nobody has mentioned TilesetPal yet? It ought to be able to reduce the palette to 256 colors without too much/any real loss in definition.

Last edited by Sonyk; Oct 18, 2009 at 05:41 AM.
Calvin Calvin's Avatar

JCF Member

Joined: Aug 2009

Posts: 13

Calvin is doing well so far

Oct 18, 2009, 05:55 AM
Calvin is offline
Reply With Quote
I used TilesetPal
cause of this Thread:
http://www.jazz2online.com/jcf/showp...17&postcount=2
And it looks good,
but i have got Problems with Transparency...

The .j2t file:
http://upload.worldofplayers.de/file...SF Tileset.rar
__________________
sonicnathan 1

JCF Member

Joined: Mar 2007

Posts: 382

sonicnathan 1 is doing well so far

Oct 21, 2009, 10:55 AM
sonicnathan 1 is offline
Reply With Quote
ok here's the tileset with almost everything fixed up. I only need to get the textured background working. Other then that, this should work. Working pallet, transparency fixed, masking. I'll get back to you with the background fix soon. if i can.

http://www.mediafire.com/download.php?5cx215wmzhi
__________________
<a href="http://www.jazz2online.com/J2Ov2/downloads/info.php?levelID=5301">Episode 1 The War begins</a>
Epsiode 2:N/A
Episode 3: Probably never
Episode 4: Probably never

<a href="http://www.jazz2online.com/J2Ov2/downloads/info.php?levelID=4882"> Deckstar V3</a>
<a href="http://www.jazz2online.com/J2Ov2/downloads/info.php?levelID=5408">Colonial Fix</a>
Jazz 1 Fanolint: 98%

<a href="http://www.jazz2online.com/J2Ov2/downloads/info.php?levelID=5407">Finished secret levels</a>
Calvin Calvin's Avatar

JCF Member

Joined: Aug 2009

Posts: 13

Calvin is doing well so far

Oct 21, 2009, 11:28 AM
Calvin is offline
Reply With Quote
The Transparency doesn't work well.
__________________
sonicnathan 1

JCF Member

Joined: Mar 2007

Posts: 382

sonicnathan 1 is doing well so far

Oct 21, 2009, 12:17 PM
sonicnathan 1 is offline
Reply With Quote
woops thought I fixed that. Let me play around with it.
__________________
<a href="http://www.jazz2online.com/J2Ov2/downloads/info.php?levelID=5301">Episode 1 The War begins</a>
Epsiode 2:N/A
Episode 3: Probably never
Episode 4: Probably never

<a href="http://www.jazz2online.com/J2Ov2/downloads/info.php?levelID=4882"> Deckstar V3</a>
<a href="http://www.jazz2online.com/J2Ov2/downloads/info.php?levelID=5408">Colonial Fix</a>
Jazz 1 Fanolint: 98%

<a href="http://www.jazz2online.com/J2Ov2/downloads/info.php?levelID=5407">Finished secret levels</a>
sonicnathan 1

JCF Member

Joined: Mar 2007

Posts: 382

sonicnathan 1 is doing well so far

Oct 21, 2009, 12:57 PM
sonicnathan 1 is offline
Reply With Quote
try this

http://www.mediafire.com/download.php?dejthooymyi
__________________
<a href="http://www.jazz2online.com/J2Ov2/downloads/info.php?levelID=5301">Episode 1 The War begins</a>
Epsiode 2:N/A
Episode 3: Probably never
Episode 4: Probably never

<a href="http://www.jazz2online.com/J2Ov2/downloads/info.php?levelID=4882"> Deckstar V3</a>
<a href="http://www.jazz2online.com/J2Ov2/downloads/info.php?levelID=5408">Colonial Fix</a>
Jazz 1 Fanolint: 98%

<a href="http://www.jazz2online.com/J2Ov2/downloads/info.php?levelID=5407">Finished secret levels</a>
blurredd blurredd's Avatar

JCF Member

Joined: Nov 2001

Posts: 1,896

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

Oct 21, 2009, 02:03 PM
blurredd is offline
Reply With Quote
Let me just point out that the original tileset image had a working palette, so you could've made modifications without breaking the palette events and the textured background. Also, to solve the transparency issue yourself, place the color you want to use for transparency in the second index in the palette while leaving the first palette index black.
__________________
D3
Extra. No CTO v0.75
Animating Tiles Properties.
ATB Contest. Scripting Language.
Gameplay Theories.
1UP. Pitfall. Desolation.
SC2.

sonicnathan 1

JCF Member

Joined: Mar 2007

Posts: 382

sonicnathan 1 is doing well so far

Oct 21, 2009, 02:58 PM
sonicnathan 1 is offline
Reply With Quote
The image i worked with didn't have one. The png had no pallet and he bmp, didn't even come close as the jazz2 pallet part wasn't correct
__________________
<a href="http://www.jazz2online.com/J2Ov2/downloads/info.php?levelID=5301">Episode 1 The War begins</a>
Epsiode 2:N/A
Episode 3: Probably never
Episode 4: Probably never

<a href="http://www.jazz2online.com/J2Ov2/downloads/info.php?levelID=4882"> Deckstar V3</a>
<a href="http://www.jazz2online.com/J2Ov2/downloads/info.php?levelID=5408">Colonial Fix</a>
Jazz 1 Fanolint: 98%

<a href="http://www.jazz2online.com/J2Ov2/downloads/info.php?levelID=5407">Finished secret levels</a>
blurredd blurredd's Avatar

JCF Member

Joined: Nov 2001

Posts: 1,896

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

Oct 21, 2009, 08:05 PM
blurredd is offline
Reply With Quote
I should've been more clear. That post was directed to Calvin with the assumption that he got the original Town tileset image through Neobeo's Tileset Extractor.
__________________
D3
Extra. No CTO v0.75
Animating Tiles Properties.
ATB Contest. Scripting Language.
Gameplay Theories.
1UP. Pitfall. Desolation.
SC2.

Calvin Calvin's Avatar

JCF Member

Joined: Aug 2009

Posts: 13

Calvin is doing well so far

Oct 22, 2009, 12:54 AM
Calvin is offline
Reply With Quote
I only extracted the image.png and mask.png from the original tileset town2.j2t.
Then i modified the image.png it to the picture i have uploaded.
I also have modified .bmp i tried myself to put them into a .j2t but they all have the problem that they are not transperant.
__________________
blurredd blurredd's Avatar

JCF Member

Joined: Nov 2001

Posts: 1,896

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

Oct 22, 2009, 12:24 PM
blurredd is offline
Reply With Quote
Instead of modifying the original image through the image manipulation program of your choice, you can edit the palette of the image separately and then load the edited palette into the original image. I recommend using Palette Suite as it is good for editing a range of colors and making gradients. Palette Suite also allows you to load a palette into an image through the Use Palette tab.
__________________
D3
Extra. No CTO v0.75
Animating Tiles Properties.
ATB Contest. Scripting Language.
Gameplay Theories.
1UP. Pitfall. Desolation.
SC2.

JustRob

JCF Member

Joined: Jan 2009

Posts: 80

JustRob is doing well so far

Nov 7, 2009, 01:51 PM
JustRob is offline
Reply With Quote
I need some help with this too. I got my tileset + mask, right size, 256 color with transparency, but no idea how to compile. I don't see any button in JCS. The only button that apparently does something of importance is the "Set..." button which shows a list of all tilesets, but when I click "Add" it asks me for .anm files.
Sonyk Sonyk's Avatar

JCF Member

Joined: Feb 2005

Posts: 2,409

Sonyk is doing well so far

Nov 7, 2009, 01:54 PM
Sonyk is offline
Reply With Quote
Put it in the tiles directory in your JJ2 folder. It'll appear in the lists after that.
JustRob

JCF Member

Joined: Jan 2009

Posts: 80

JustRob is doing well so far

Nov 7, 2009, 02:09 PM
JustRob is offline
Reply With Quote
My PNG files are in the tiles directory, called Jazz and JazzMask, but I can't see them in any of the lists.
Troglobite Troglobite's Avatar

JCF Member

Joined: May 2008

Posts: 691

Troglobite is a forum legendTroglobite is a forum legendTroglobite is a forum legend

Nov 7, 2009, 02:17 PM
Troglobite is offline
Reply With Quote
JCS can't work with PNG. Try changing them to 256 color bitmaps.
__________________

Lexicographer: Someone who writes dictionaries
Neophyte: A novice, or newbie
Hemisemidemiquaver: In music, a sixty-fourth note


Exit Troglobite, Stage Left
JustRob

JCF Member

Joined: Jan 2009

Posts: 80

JustRob is doing well so far

Nov 7, 2009, 02:23 PM
JustRob is offline
Reply With Quote
Right, that works. Thanks for all the help.
JustRob

JCF Member

Joined: Jan 2009

Posts: 80

JustRob is doing well so far

Nov 7, 2009, 02:45 PM
JustRob is offline
Reply With Quote
Argh, having some trouble with the transparency now. The first color in the palette is #5700cb, which is the color that should be transparent, but it's not. Is there a trick to it or something? I'm using Photoshop.

Sorry for asking so much, I'm a complete noob in this territory.
Newspaz Newspaz's Avatar

JCF Member

Joined: Jan 2001

Posts: 2,678

Newspaz has disabled reputation

Nov 8, 2009, 03:39 AM
Newspaz is offline
Reply With Quote
Quote:
Originally Posted by JustRob View Post
Argh, having some trouble with the transparency now. The first color in the palette is #5700cb, which is the color that should be transparent, but it's not. Is there a trick to it or something? I'm using Photoshop.

Sorry for asking so much, I'm a complete noob in this territory.
You might want to take a look at the palette section of this website.
JustRob

JCF Member

Joined: Jan 2009

Posts: 80

JustRob is doing well so far

Nov 8, 2009, 03:46 AM
JustRob is offline
Reply With Quote
Jeez, this is alot of hassle for just adding one tile to a tileset. JCS could have been a bit more user friendly when it comes to making tilesets.

I think I'm just gonna leave it be, but thanks anyway
blurredd blurredd's Avatar

JCF Member

Joined: Nov 2001

Posts: 1,896

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

Nov 8, 2009, 01:45 PM
blurredd is offline
Reply With Quote
By the way, I mentioned this earlier in this thread:
Quote:
Originally Posted by BlurredD View Post
Also, to solve the transparency issue yourself, place the color you want to use for transparency in the second index in the palette while leaving the first palette index black.
__________________
D3
Extra. No CTO v0.75
Animating Tiles Properties.
ATB Contest. Scripting Language.
Gameplay Theories.
1UP. Pitfall. Desolation.
SC2.

JustRob

JCF Member

Joined: Jan 2009

Posts: 80

JustRob is doing well so far

Nov 8, 2009, 01:56 PM
JustRob is offline
Reply With Quote
Well I tried that but apparently the first color in the palette is in use, so when I change it to black part of the tileset screws up. And I don't know how to fix that.
Reply

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 07:23 PM.