How to Edit Pallete table in R20 file

Questions or discussions about the Titan and classic consoles and software.

Moderator: Moderators

ssb3883
Posts: 25
Joined: 20 Jun 2009, 21:40

How to Edit Pallete table in R20 file

Postby ssb3883 » 20 Jun 2009, 21:58

Hi,
I am wishing to edit pallete table in R20 file. but dont know how to edit it.
I found that the Values in the R20 are diffrent than actual values.
Eg: In SGM victoryII H file. for attribute colour
Actual values are
"5", "25", "45", "65", "85","105", "125","145"
But in R20 they are written as
PFTABLE "Colors" -1 2
5
19
2d
41
55
69
7d
91
is there any method to calculate these values. Please help me out.
User avatar
niclights
The eManual
Posts: 4461
Joined: 24 Sep 2004, 01:06
Location: UK

Postby niclights » 21 Jun 2009, 02:57

They are hexadecimal (base 16). You need to convert from decimal.
If you are on a PC you can use the standard calculator and set view to scientific to get access to hex/decimal.
I'm fairly sure the Classic software can do conversion from ML menu/calculator too.
ssb3883
Posts: 25
Joined: 20 Jun 2009, 21:40

Thnx..

Postby ssb3883 » 22 Jun 2009, 11:46

Thanx Can you give me any example please.
User avatar
niclights
The eManual
Posts: 4461
Joined: 24 Sep 2004, 01:06
Location: UK

Postby niclights » 22 Jun 2009, 12:12

Erm? 10=a. 255=ff
ssb3883
Posts: 25
Joined: 20 Jun 2009, 21:40

Postby ssb3883 » 22 Jun 2009, 15:25

Thanx.. But Can u please explain me.
User avatar
niclights
The eManual
Posts: 4461
Joined: 24 Sep 2004, 01:06
Location: UK

Postby niclights » 22 Jun 2009, 17:59

I'm not sure I can explain much more here, but if you want to understand about number bases then I think it would be easiest to Google. If you're not bothered about understanding then simply use the calculator application or find an online decimal to hex converter. There are lots of them. Enter the dmx number in decimal and convert to hex. Use the two examples above to check you are doing it correctly.
ssb3883
Posts: 25
Joined: 20 Jun 2009, 21:40

Postby ssb3883 » 22 Jun 2009, 19:04

Thnax Its Done.. thank you Thank you very much

Who is online

Users browsing this forum: No registered users and 17 guests