Info about BGI (Buriko General Interpreter)

Post about your projects or talk about mirror moon projects that haven't been announced yet... or something.

Moderator: Staffers

Totally hardly posted
Posts: 1
Joined: June 20th, 2008, 8:56 am

Info about BGI (Buriko General Interpreter)

Unread post by R-T » June 20th, 2008, 9:17 am

As the name states, it is an interpreter, some sort of virtual machine.

I don't know who pasted that one -> *ttp:// but it is merely a translation of the fileformat documentation from archive/resource extractor tool Crass.

According to what I observed from Itsusora, ._bp compiled programs from sysprg.arc are executed by the interpreter, though I'm not privy to the exact details.
For instance, it seems scrctrl._bp is used in executing parts of the scripts, which are found in data010.arc (Scenario***)

In the Scenario*** files, a 03 00 00 00 (Little-Endian 0x3) is followed by a file offset to a \0-string. Dialogue strings, but maybe other things as well.
There is also 7F 00 00 00 (LE 0x7f) which is also followed by a file offset to a \0-string. Those one seem to refer to script names (*bss, for Buriko Sub Script?)


Directory Search order: (defined in ipl._bp)

Code: Select all


Itsusora specific:
._bp bytecode handlers: (FuncEx = 2-byte extended bytecodes where >= 0x8000)
► Show Spoiler
Code: get azu_analysis-2008-0620.rar from *ttp://

._bp file format:
[00] DWORD codeSectionOffset;
[04] DWORD codeSectionSize;

User avatar
The only Karon Fanboy
Posts: 495
Joined: February 10th, 2004, 2:17 am
Location: Corry PA, USA

Unread post by TheXev » June 20th, 2008, 9:44 pm

Woe woe woe... how about a little context for this post first?

User avatar
Crack Addic!
Posts: 132
Joined: February 18th, 2008, 4:38 am

Unread post by Shirosaki » June 20th, 2008, 10:53 pm

TheXev wrote:Woe woe woe... how about a little context for this post first?
I think it's meant just for Taka to understand but i may be wrong, now if he would just respond in irc ;.;

User avatar
Master of Bad Puns
Posts: 1845
Joined: October 25th, 2004, 6:27 pm
Location: Netherlands

Unread post by Message » June 21st, 2008, 9:36 am

I already pointed zalas at this thread. I'm not sure if he got it though.

Post Reply