Jump to content

XML talk:BINA/OBJC/TRGV: Difference between revisions

follow-up
mNo edit summary
(follow-up)
Line 23: Line 23:


You mean something to count the symbols/characters/bytes? Well, none that I know of, at least not from within Oni's game/console and scripts. Neo or the Daodan folks would be able to help, but I have never had the patience to look at Oni's ASM myself. I am pretty sure that the problem is a trailing end-of-line, though. --[[User:Geyser|geyser]] ([[User talk:Geyser|talk]]) 22:37, 14 May 2020 (CEST)
You mean something to count the symbols/characters/bytes? Well, none that I know of, at least not from within Oni's game/console and scripts. Neo or the Daodan folks would be able to help, but I have never had the patience to look at Oni's ASM myself. I am pretty sure that the problem is a trailing end-of-line, though. --[[User:Geyser|geyser]] ([[User talk:Geyser|talk]]) 22:37, 14 May 2020 (CEST)
One way to check would be to deliberately initialize a string variable with an end-of-line, and use it to check against the character name received from the TRGV event. Daodan DLL's '''sprintf''' would be the simplest way to create a string variable that includes an end-of-line. Or, if '''sprintf''' doesn't support \n for some reason, it should be possible to hex-edit a custom name for an AISA character, and then retrieve its name into a string variable using '''d_name'''. Then again, I guess it would be easy enough to implement '''strlen'''. --[[User:Geyser|geyser]] ([[User talk:Geyser|talk]]) 00:38, 15 May 2020 (CEST)