Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

API call to read RGSS102E.dll

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:
Code:
require 'Win32API'
RGSSLib = Win32API.new("RGSS102E.dll", "GetRGSSData", ["P"], "V")
Of course, GetRGSSData and GetRGSSDataA does not exist, and I probably have the import and export arguments wrong too.
Help will be greatly appreciated! :)
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top