Announcement: Be excellent to each other.


Caravel Forum : Caravel Boards : Development : A Tarstuff Mod (Plus a copyright question)
New Topic New Poll Post Reply
Poster Message
aztcg7
Level: Master Delver
Avatar
Rank Points: 104
Registered: 03-08-2005
IP: Logged

File: Transparency.zip (2.6 KB)
Downloaded 163 times.
License: Public Domain
icon A Tarstuff Mod (+2)  
Apparently due to the way that DROD deals with loading of .png files, if you leave sections of a mod transparent, the image below it comes through. This means that I can make a transparency mod without having to do any of the hard work of creating any tarstuffs. But as the final image displayed on the screen includes some (mostly) Caravel copyrighted imagery, I wonder, is this allowed? Attached is the tarstuff transparency mod, for use with TCB (includes Gel transparency).

____________________________
In other news, :( is a considerably more stylish way to express sarcasm than ;), because everybody uses ;) and I am /indie/. INDIE, I TELL YOU.

[Last edited by aztcg7 at 08-09-2007 10:49 PM]
08-09-2007 at 10:33 PM
View Profile Send Private Message to User Send Email to User Show all user's posts Quote Reply
Stefan
Level: Smitemaster
Avatar
Rank Points: 2118
Registered: 05-25-2004
IP: Logged
icon Re: A Copyright Question (0)  
What is displayed on the screen is irrelevant. It is the attachment you posted (and thus distributed) that matters.

In other words, you're good.

____________________________
0.099
08-09-2007 at 10:46 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
Kwakstur
Level: Smiter
Avatar
Rank Points: 384
Registered: 05-05-2006
IP: Logged
icon Re: A Copyright Question (0)  
That is not copyright. If your .png actually looked like what was on the screen, there would be issues, but that is not the case, here. Your work, the .png, is very clearly all your work.

I do find it interesting how the game is renderring 192x192x192 transparent; I thought that one of the rules was that 192x192x192 will only be transparent if a corner pixel was 192x192x192.
EDIT: Okay, I was looking at the wrong color; I thought the light one was 192x192x192, but it's the darker one on there. So I wonder what the darker color is that keeps the original stuff from GeneralTiles?
EDIT EDIT: And that gets really confusing to describe, since the "lighter color" turns black when viewed in Paint. Yeesh.

____________________________
Also known as ExpHP everywhere else.

[Last edited by Kwakstur at 08-09-2007 10:55 PM]
08-09-2007 at 10:50 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts Quote Reply
aztcg7
Level: Master Delver
Avatar
Rank Points: 104
Registered: 03-08-2005
IP: Logged
icon Re: A Copyright Question (0)  
quote:
Kwakstur wrote:
I do find it interesting how the game is renderring 192x192x192 transparent; I thought that one of the rules was that 192x192x192 will only be transparent if a corner pixel was 192x192x192.


Actually, 2 of the corners are, the upper and lower left.

____________________________
In other news, :( is a considerably more stylish way to express sarcasm than ;), because everybody uses ;) and I am /indie/. INDIE, I TELL YOU.
08-09-2007 at 10:53 PM
View Profile Send Private Message to User Send Email to User Show all user's posts Quote Reply
AlefBet
Level: Smitemaster
Avatar
Rank Points: 979
Registered: 07-16-2003
IP: Logged
icon Re: A Copyright Question (+1)  
Well, that sounds like an interesting hack. I hadn't thought of it working that way, but thinking on it, I guess it makes sense that it would.

Two comments I'd say on that, though:

1) I believe Caravel's position is that it is when you start offering content to people to use that copyright issues become significant. Since the material you distribute directly doesn't contain Caravel content, I don't think that would constitute any problem. (That's bolstered in my mind that the actual "mixing" of the content with official content is done by Caravel's program and not redistributed afterwards.)

2) Don't count on this always working. It's an undocumented feature and the program may someday be rewritten in a manner so that this won't work anymore. I don't think they'd do that on purpose to thwart this, but if (for example) someday they decide to use regular old PNG transparency rather than color map transparency, the tile loading system would probably have to be rewritten such that this "hack" wouldn't work anymore.

A note on #2, though: If lots of people started using this capability, I expect the Caravel team would be reluctant to break it, or would probably make some effort to offer similar functionality. (Of course, there would be no obligation for such, though....)

____________________________
I was charged with conspiracy to commit jay-walking, and accessory to changing lanes without signaling after the fact :blush.

++Adam H. Peterson
08-09-2007 at 10:57 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts High Scores Quote Reply
Kwakstur
Level: Smiter
Avatar
Rank Points: 384
Registered: 05-05-2006
IP: Logged
icon Re: A Tarstuff Mod (0)  
How exactly do you do this?

192x192x192 is the color used to make the game display the color of the pixel from the Floor layer.

But you are using something else to make the game not display anything; as in, after it reads the line General=GeneralTiles and displays the tarstuff, it then reads the line General=Transparent . . . and when it does so, whatever this thing is that you're using, it's actually skipped when displaying so that, instead of another color (or the Floor image) appearing, the image from GeneralTiles stays.


I would like to guess that the mystery color here is Transparent, but, then again, transparent colors show up as white when viewed in Paint, not black. Hmmm . . . what color is skipped during display, and shows up as black in paint?

____________________________
Also known as ExpHP everywhere else.
08-09-2007 at 11:36 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts Quote Reply
aztcg7
Level: Master Delver
Avatar
Rank Points: 104
Registered: 03-08-2005
IP: Logged
icon Re: A Tarstuff Mod (0)  
It's straight transparency. I think that when all the stuff gets loaded, General loads all tiles in generaltiles to specific names, and when they are then reloaded, transparency is simply treated as having whatever was in memory as the data. I don't know though, but it saved me alot of time trying to get tarstuff that looked good (it's surprisingly hard).

As to how I did it, I loaded up the gimp with a non-writable background of tar in the standard arrangement. I then created a layer on top of that, and did the spraying of 192^3, followed by removing the background for export to png.

____________________________
In other news, :( is a considerably more stylish way to express sarcasm than ;), because everybody uses ;) and I am /indie/. INDIE, I TELL YOU.
08-10-2007 at 12:03 AM
View Profile Send Private Message to User Send Email to User Show all user's posts Quote Reply
New Topic New Poll Post Reply
Caravel Forum : Caravel Boards : Development : A Tarstuff Mod (Plus a copyright question)
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.