Post Reply 
Decimal values in prx files
Author Message
mugi
Paradigmatic Entity

Posts: 222.3840
Threads: 12
Joined: 18th Feb 2011
Reputation: -3.08805
E-Pigs: 15.2671
Offline
Post: #1
Decimal values in prx files
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
02/04/2013 04:13 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA
Smart Alternative

Posts: 17,022.2988
Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1274
Offline
Post: #2
RE: Decimal values in prx files
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.
02/04/2013 05:16 PM
Visit this user's website Find all posts by this user Quote this message in a reply
mugi
Paradigmatic Entity

Posts: 222.3840
Threads: 12
Joined: 18th Feb 2011
Reputation: -3.08805
E-Pigs: 15.2671
Offline
Post: #3
RE: Decimal values in prx files
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

   

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
(This post was last modified: 02/04/2013 08:51 PM by mugi.)
02/04/2013 08:43 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA
Smart Alternative

Posts: 17,022.2988
Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1274
Offline
Post: #4
RE: Decimal values in prx files
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.
02/04/2013 09:14 PM
Visit this user's website Find all posts by this user Quote this message in a reply
mugi
Paradigmatic Entity

Posts: 222.3840
Threads: 12
Joined: 18th Feb 2011
Reputation: -3.08805
E-Pigs: 15.2671
Offline
Post: #5
RE: Decimal values in prx files
I'll try it out.

I've been keeping my locale as japanese to make hex workshop happy with moonrunes :P
03/04/2013 06:52 AM
Find all posts by this user Quote this message in a reply
mugi
Paradigmatic Entity

Posts: 222.3840
Threads: 12
Joined: 18th Feb 2011
Reputation: -3.08805
E-Pigs: 15.2671
Offline
Post: #6
RE: Decimal values in prx files
(02/04/2013 09:14 PM)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
03/04/2013 01:23 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

 Quick Theme: