Aug 9, 2014

personal note 4

(1) What happened:
CACAO's DebugView script (for VX) does not work on RPG Maker VX Ace.
http://cacaosoft.blog42.fc2.com/blog-entry-508.html

(2) Cause
Difference in version of ruby(1.8 and 1.9.2) of RGSS2 and RGSS3.
NKF in 1.9 does not work as in 1.8.
I forgot details.

(3) Solution
Replace 7th line;
  'OutputDebugString.call(NKF.nkf('-s', s))'
with
  'OutputDebugString.call(s.to_s.encode("Shift_JIS"))'.

('w') < DebugView is nice.

No comments:

Post a Comment