I know what you are thinking. "Why does he want to read the library dll when it gets loaded at the start." Well, this is not for any RGSS game. This is a Ruby program for decrypting and encrypting the .rxdata files for manual editing. You see, the problem is the Table class. Ruby doesn't have it, and RGSS has it. I've tried making my own Table class, but RGSS uses special Table._load and Table._dump methods to store and read Table data. It's because of this that I cannot simply remake the class.
Now for the actual question: What is the API creation and call needed to read the Table(and possibly RPG, to save data space) so I can finish this program and release it to the public? Currently, I have:
Of course, GetRGSSData and GetRGSSDataA does not exist, and I probably have the import and export arguments wrong too.
Help will be greatly appreciated!
Now for the actual question: What is the API creation and call needed to read the Table(and possibly RPG, to save data space) so I can finish this program and release it to the public? Currently, I have:
Code:
require 'Win32API'
RGSSLib = Win32API.new("RGSS102E.dll", "GetRGSSData", ["P"], "V")
Help will be greatly appreciated!