Page 1 of 1

How to Edit Pallete table in R20 file

Posted: 20 Jun 2009, 21:58
by ssb3883
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.

Posted: 21 Jun 2009, 02:57
by niclights
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.

Thnx..

Posted: 22 Jun 2009, 11:46
by ssb3883
Thanx Can you give me any example please.

Posted: 22 Jun 2009, 12:12
by niclights
Erm? 10=a. 255=ff

Posted: 22 Jun 2009, 15:25
by ssb3883
Thanx.. But Can u please explain me.

Posted: 22 Jun 2009, 17:59
by niclights
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.

Posted: 22 Jun 2009, 19:04
by ssb3883
Thnax Its Done.. thank you Thank you very much