11 March 2016 - Forum Rules
Started by AWJ, August 29, 2015, 06:20:30 PM
Quote from: Gideon Zhi on August 30, 2015, 12:16:36 AMIt's been a really long time since I did anything with Rudra's internals, but I do remember that the dialog was stored much, much more sanely than Romancing SaGa 2's. It's the usual sort of back-to-back strings you tend to see in these sorts of games, and unlike SaGa there's no bytecode embedded in them. That said, the string lookups weren't based on array indexes but hardcoded addresses in the game's actual bytecode. I never had to delve too far into that though; every string lookup was prefixed with the same byte, so all I had to look for in the bytecode was the almost-always-unique four-byte string of lookup command + 24-bit string address.The mantras were a totally different story. That's all based on the longest match against a binary search on a table of approximately 2,000 entries.
Page created in 0.052 seconds with 19 queries.