I'm playing around with a marshal dump because I'm writing an app to convert RMVXA rvdata2 to RMMV JSON. It's going swimmingly until I realized I can't read the dumped numbers over 127. They are all a different identical character in random range counts after 127 integers, and I don't know how I'm supposed to identify the number.
I know I can just use the built in VXAce Marshal module, and in fact I did to make my uncompressed rvdata2 to learn it, but I'm now fumbling to write my own Marshal parser because the guy who requested this app does not own VXAce. Long story short he bought MV instead and he wants to convert the VXA game maps that he made with the demo or the lite version. I didn't read too much into his story. I just got involved in his thread out of curiosity, and writing an app for this seems more fulfilling than working on my games right now.
I actually googled this 127 integer max and it lead me to this article about integers in computing. https://en.wikipedia.org/wiki/9223372036854775807
I don't know what to make of it. Programming is not one my strong suits because I'm a web designer.
How does Marshal know the integer above 127 when it's an identical character to other integers in all stored data?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.