Endless Paradigm

Full Version: Decimal values in prx files
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
well, this has been bugging me for a good while now but now i actually need to get this sorted out.

is there a way to actually save values like 0.50 or such in PRX editor ?

if i input 0.50, i get "invalid value" error, and the value saves as 0 (or 1 if i input like 1.50)
and if i input 0,50 (or 1,50) it goes all smooth, but still only saves as 0 or 1.

dafuq ? x.x
I haven't seen PRX editor (or I can't remember much of it), but from a data perspective, integers by definition can't accept fractional numbers.  If the underlying value in the PRX is actually a floating point however, then that would be a bug in the editor.
here's what i mean:

if you save the font shadow alpha as anythign aside 0 or 1 it either gives you an error if you use a dot (.) or doesn't say anything if you use a comma (,) but still saves as 0 or 1 -.-

it's fairly annoying

[attachment=5845]

i noticed RCOMage does the same sort of... you hve some values there with fractions like soem image stretch values (8,5 for example) but if you change them to 8,6 they save as 8 or 0.
you can go around that by saving them as 8.5 though, and next time you look, they're written as 8,5 again. Too bad the same doesn't work on PRXEditor
I wonder if it has anything to do with your system locale.  RCOMage was designed with "." being the decimal point, so if your system treats "," as a decimal, it might not work correctly.  Maybe try setting up a virtual machine with a US locale and see if it runs better - crappy workaround I know, but see if it helps at all.
I'll try it out.

I've been keeping my locale as japanese to make hex workshop happy with moonrunes :P
ZiNgA BuRgA Wrote: [ -> ]I wonder if it has anything to do with your system locale.  RCOMage was designed with "." being the decimal point, so if your system treats "," as a decimal, it might not work correctly. Maybe try setting up a virtual machine with a US locale and see if it runs better - crappy workaround I know, but see if it helps at all.

this did it !
changed decimal symbol from , to . on locale and now it works <3
thanks a million
Reference URL's