www.tombraiderforums.com

Go Back   www.tombraiderforums.com > Tomb Raider Series > Tomb Raider

Reply
 
Thread Tools
Old 19-04-18, 13:55   #1
b122251
Explorer
 
b122251's Avatar
 
Join Date: Aug 2013
Posts: 533
Default PSX: Messing with water colours

Hi everybody,

I was working on a new program (which I will tell you all about... some other time) and as part of the process I was investigating water colour on PSX.
I discovered that unlike the PC, on PSX "water colour" as such doesn't really exist. Rather, the PSX has two sets of colour palettes: one for above water, and one for under water. And if Lara goes under water, the playstation swaps out the palettes.
Therefore what water looks like is not determined by the engine, but by the level file.
I embedded the option of changing what water looks like in my program, and here is me messing about with it a bit.
Some of these are viable options and could add a nice effect to a level, and others just look weird and cool.
Hope you like it.

Greetings,
b122251
b122251 is offline   Reply With Quote
Old 19-04-18, 15:40   #2
Alex Fly
Legend
 
Alex Fly's Avatar
 
Join Date: Dec 2006
Location: France
Posts: 31,349
Default

Wow it's so cool, thanks for sharing. Some of those variations really make incredible effects!
__________________
Ask yourself WWLD : What would Lara do ? :)
Alex Fly is offline   Reply With Quote
Old 19-04-18, 15:57   #3
Dustie
Relic Hunter
 
Dustie's Avatar
 
Join Date: Apr 2005
Location: AoD 1.5 by freakraider (Poland)
Posts: 7,960
Default

Interesting. I understand that the "underwater palette" is also used when Lara is on the surface and we see inside water tanks?

What is the default scheme for the water palette on the PS1?
Dustie is offline   Reply With Quote
Old 19-04-18, 15:59   #4
Zebra
Legend
 
Zebra's Avatar
 
Join Date: Jun 2007
Location: Germany
Posts: 25,414
Default

That's really interesting! Would be fun if we could use some of those above water, too, play whole levels like that .
__________________
Wozu zuhören, wenn man reden kann?
Zebra is offline   Reply With Quote
Old 19-04-18, 16:20   #5
TheLostSecret
Junior Member
 
Join Date: Mar 2018
Location: Tehran , Iran
Posts: 472
Default

Wow nice !
TheLostSecret is offline   Reply With Quote
Old 19-04-18, 16:23   #6
b122251
Explorer
 
b122251's Avatar
 
Join Date: Aug 2013
Posts: 533
Default

Quote:
Originally Posted by Dustie View Post
Interesting. I understand that the "underwater palette" is also used when Lara is on the surface and we see inside water tanks?

What is the default scheme for the water palette on the PS1?
Dividing the value for red by 2 using a logical right shift of one bit (or in my notation: R>1).

Quote:
Originally Posted by Zebra View Post
That's really interesting! Would be fun if we could use some of those above water, too, play whole levels like that .
I could easily do that. Instead of altering the underwater palette, just alter the above-water palette.
b122251 is offline   Reply With Quote
Old 19-04-18, 16:24   #7
TheLostSecret
Junior Member
 
Join Date: Mar 2018
Location: Tehran , Iran
Posts: 472
Question

But I've been wondering that how do you do all these stuff on PSX files ?
TheLostSecret is offline   Reply With Quote
Old 19-04-18, 16:26   #8
b122251
Explorer
 
b122251's Avatar
 
Join Date: Aug 2013
Posts: 533
Default

Quote:
Originally Posted by TheLostSecret View Post
But I've been wondering that how do you do all these stuff on PSX files ?
I'm a programmer. I write a program that alters them. In the end every file on earth is just a series of bytes. If you know what the bytes mean, you can come up with ways to change them. I had to figure out how the PS1 format worked, but now I know, and can use that knowledge.

The program I'm currently working on (which I also used to change the water palettes in this thread) isn't released yet. When it is, anybody can do this.
b122251 is offline   Reply With Quote
Old 19-04-18, 16:32   #9
Pigfaced
Student
 
Pigfaced's Avatar
 
Join Date: Oct 2016
Location: Greece, Thessaloniki
Posts: 155
Thumbs up

Very interesting. It's great to see what programmers can do with old games like this.
Pigfaced is offline   Reply With Quote
Old 19-04-18, 16:33   #10
TheLostSecret
Junior Member
 
Join Date: Mar 2018
Location: Tehran , Iran
Posts: 472
Thumbs up

Quote:
Originally Posted by b122251 View Post
I'm a programmer. I write a program that alters them. In the end every file on earth is just a series of bytes. If you know what the bytes mean, you can come up with ways to change them. I had to figure out how the PS1 format worked, but now I know, and can use that knowledge.

The program I'm currently working on (which I also used to change the water palettes in this thread) isn't released yet. When it is, anybody can do this.
I'm a professional C++ program though . But I was wondering how do you do it with PlayStation engines ? The only thing I want to know is that do you use any special softwares or SDKs ?
TheLostSecret is offline   Reply With Quote
Reply

Bookmarks

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 Off



All times are GMT. The time now is 08:55.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.