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

R-T
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://pastebin.ca/raw/1042337 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

.\[FILE]
.\Graphic\BMP\CVTD\[FILE]
.\Sound\OGG\CVTD\[FILE]
.\Music\BW\CVTD\[FILE]
.\Voice\OGG\CVTD\[FILE]
.\Scenario\BSS\CVTD\[FILE]
.\Scenario\IDT\CVTD\[FILE]
.\実験リソース\[FILE]

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

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

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

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

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

User avatar
Shirosaki
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
Message
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