How it works#
This is the technical page: the programs on RT3's disc, how it loads its code, where things sit in memory, what its save files hold, how it stores and draws Japanese, how an event is stored and how the music plays. RT3 and RPG Maker are one program built twice, so the RPG Maker guide's How it works holds for RT3 in its design, and this page gives what RT3 does differently and where RT3 keeps things. Addresses are RAM addresses in RT3's RPG3.EXE unless a line says otherwise, and numbers with 0x are hexadecimal.
The disc and its programs#
The PlayStation starts SLPS_010.93, a small boot program, which plays the logo movies and loads MAIN.EXE, the launcher: the title screen where ↑ and ↓ choose a program (Getting started). The launcher starts RPG3.EXE, RPG Tsukuru 3 itself, or ANIM.EXE, Animetica, and both go back to it when you leave.
| File | Size (bytes) | What it is |
|---|---|---|
SLPS_010.93 | 147,456 | The boot program. Its table names two movies, L_ASCII.STR and KUUSOU.STR, and then MAIN.EXE |
L_ASCII.STR | 1,226,752 | ASCII SOFT's knight-on-horse logo movie (Hidden and unused) |
KUUSOU.STR | 2,785,280 | Kuusou Kagaku's logo movie |
DUMMY.STR | 1,226,752 | The horse movie again, under another name |
MAIN.EXE | 190,464 | The launcher: the title screen and its choice, then RPG3.EXE or ANIM.EXE |
RPG3\RPG3.EXE | 1,005,568 | RPG Tsukuru 3 itself: the top menu, Game, Edit and Test Play |
RPG3\COMDATA.BIN | 8,218,624 | 898 entries: map sets, wallpapers, characters, objects, monsters, the kanji font, the title-name font, the keyboard, effects, title pictures, the sample game, tables |
RPG3\SOUND0.BIN | 4,202,496 | The sound banks, the jingles, the 35 songs and the bank the Kanadeeru songs play on: byte for byte RPG Maker's |
RPG3\OVERLAY.BIN | 1,101,824 | 25 sections of code and data, read in when needed |
ANIM\ANIM.EXE | 526,336 | Animetica |
ANIM\… | Animetica's own files: TIM.LPK, ANM.APK, ANIM.VB, the sample library SAMPLE.DAT with its index SAMPLE.IDX | |
DUMMY.DAT | 33,944,960 | Padding |
The two discs hold the same kinds of files, with two differences. RT3's root has no picture files: RPG Maker's disc adds TIM_BOOT.LPK (the boot logos), TIM_TT.LPK (the launcher's title picture and menu) and ANM_OPN.APK, and its boot program reads the first. And RT3's disc still has the horse movie under the name its boot table gives it, where RPG Maker's has only the copy (Hidden and unused). SOUND0.BIN and two of Animetica's files, ANIM.VB and ANM.APK, are the same on both discs, byte for byte; the programs and the other archives differ.
The three archives#
As in RPG Maker, almost everything is in three archives in the RPG3 folder, found through a directory in RPG3.EXE: a count, the CD path, the developers' PC path (C:\PTCL\GAME\DATA\COMDATA.BIN and the like, the same as RPG Maker's), and one {offset, size} pair per entry.
- COMDATA.BIN, 898 entries against RPG Maker's 899. Most are the same files byte for byte, the map sets, wallpapers, characters, monsters, effects and title pictures among them, so the picture numbers in the editors are the same in both programs. Entries from 0x2A9 on are numbered differently, moved by RT3's own entries (below).
- SOUND0.BIN is RPG Maker's, the bank for the Kanadeeru songs included (The sound driver).
- OVERLAY.BIN, 25 sections, the same sections as RPG Maker's in the same order, most of them built again for RT3's addresses (next section).
RT3's own COMDATA entries:
| RT3 | What | In RPG Maker |
|---|---|---|
| 2A9–2AB | The kanji font: two pages of glyphs and their palettes (Packed text and the kanji font) | 2A9 is the 8 × 12 English font instead |
| 322, 323 | The sample game: 322 the scenario ゴブリくんの冒険, 323 the System gobli | 320, 321: its translation |
| 324–328 | The title-name font: the glyph page and one palette row for each of the four colours | 322, 323: RPG Maker's version |
| 35B–35D | The kana keyboard's three backdrops, loaded at boot | 356–358, never loaded |
| 35F | The kind of each keyboard tile, which picks its colours | none |
| 361 | The keyboard's tile sheet | none: RPG Maker has a sheet of its own |
Overlays: the code that loads when needed#
RPG3.EXE holds the top menu, the field, the event interpreter, the text engine and the sound layer. The rest is in OVERLAY.BIN's sections, plain MIPS code and data loaded at fixed addresses. The editors, the field menu and the memory card pages share one window at 0x800F4000, so only one is in memory at a time; the battle engine loads at 0x80105000, above it, so that Battle Test can run beside Monster Placement.

| Section | Size (bytes) | Loaded at | What |
|---|---|---|---|
00 | 5,724 | 0x800F4000 | Config |
01 | 93,552 | 0x800F4000 | Dungeon |
02 | 6,288 | 0x800F4000 | Feature Edit |
03 | 55,740 | 0x800F4000 | Monster Placement (Battle Test loads 0F beside it) |
04 | 220,704 | 0x800F4000 | Events, the largest |
05 | 76,729 | 0x800F4000 | Field |
06 | 38,724 | 0x800F4000 | Heroes |
07 | 51,756 | 0x800F4000 | Items |
08 | 43,876 | 0x800F4000 | Jobs |
09 | 60,120 | 0x800F4000 | Magic |
0A | 53,660 | 0x800F4000 | Monsters |
0B | 5,276 | 0x800F4000 | Parameter Names |
0C | 2,840 | 0x800F4000 | the Scenario's Registered Data |
0D | 4,364 | 0x800F4000 | the System's Registered Data |
0E | 5,844 | 0x800F4000 | Title |
0F | 108,248 | 0x80105000 | the battle engine |
10 | 2,392 | never | a text-rendering test (hidden) |
11 | 58,752 | 0x800F4000 | the field menu |
12 | 70,862 | 0x807E6FF4 | Field's table of which world-map parts may sit next to which (data, not code) |
13, 15, 18 | 4 each | never | placeholders, one word each |
14 | 65,712 | 0x800F4000 | the memory card pages: load, save, external data, the Utility, the sample game |
16 | 13,896 | 0x800F4000 | a PC-host file browser for the developers, which nothing opens (hidden) |
17 | 27,418 | 0x80768000 | the kana keyboard's grids, read in every time the keyboard opens |
Each section is read by a load descriptor, {archive 2, section, address}, and RT3's table of them names the same sections in the same order as RPG Maker's. Two do more in RT3: 0x17, the kana keyboard's grids, which the name-entry page reads into the work area after the Scenario image every time it opens, where RPG Maker never loads it; and 0x14, the memory card pages, whose register menu has a fourth kind of external data, かなでーるBGM. Field loads 0x12, its table of the world map's parts, in both programs. Sections 0x10, 0x12, 0x17 and the three placeholders are byte for byte the same on both discs.
The state machine and the task system#
RT3 runs the way RPG Maker does: one main loop through a table of modes and steps, and inside each mode a pool of tasks, each a small state machine of its own, updated and drawn every frame (The state machine and the task system).
- The task classes are in a table at 0x80098930 (RPG Maker's is at 0x80093C64). It was found by matching where the editors' and the battle engine's handlers point, 25 of 25, and the classes are numbered the same in both programs.
- The code was compiled again, by another compiler, so RT3's functions rarely match RPG Maker's byte for byte. The project paired them by the order of their calls and the addresses they use: 2,704 of RPG Maker's 4,081 functions have a known partner in RT3, almost all of the battle engine among them, and carry the same names in both projects' disassemblies.
Memory#
RT3 gives every part of the 2 MB of main RAM a fixed job, as RPG Maker does, but most of its big blocks sit lower: its System, Scenario and save images 0x14000 bytes (80 KB) below RPG Maker's.
| Address | What is there | RPG Maker |
|---|---|---|
| 0x80010080–0x80105080 | RPG3.EXE as loaded | 0x80010080–0x80117080 |
| 0x800F4000 | the overlay window: one editor, the field menu or the card pages at a time | 0x80104000 |
| 0x80105000 | the battle engine | 0x80117000 |
| 0x8072A200 | the save block, 0x1E00 bytes: what a player save holds | 0x8073E200 |
| 0x8072C200 | the System Data image, up to 0x1DE00 bytes | 0x80740200 |
| 0x8074A200 | the Scenario Data image, up to 0x1DE00 bytes | 0x8075E200 |
| 0x80768000 | the work area after the Scenario image; the kana keyboard's grids are read in here | 0x8077C000 |
| 0x807916B8 | five music buffers of 0x6400 bytes each | 0x807A56E0, 0x6000 bytes each |
| 0x807B1ABC | the external data's bookkeeping: 15 songs, then 15 monsters, 9 characters, the title | 0x807B1AE0, without the songs |
| 0x807B1BD8 | the import space, 0x2F428 bytes, up to 0x807E1000 | 0x807B1B90, 0x2F470 bytes |
| 0x807E1000 | the memory card pages' buffer | |
| 0x807E8254 | the live game state: party, switches, treasure flags, bag, Gold | the same |
- The System and Scenario images have the same room as RPG Maker's, 0x1DE00 bytes each (Limits). Next Scenario parks the work area at the end of the Scenario's room, 0x80768000.
- The import space ends at 0x807E1000 in both programs, but in RT3 starts 72 bytes higher. Its bookkeeping, just below it, has the 15 song slots first: each slot is a state (empty, name only, loaded) and a handle into the space (External data).
- The music buffers are bigger in RT3, five of 0x6400 bytes: a song from Kanadeeru takes all five at once, 128,000 bytes, room for any song a card file can hold.
Video memory is laid out as in RPG Maker, with RT3's own text in it: the kanji font's two pages at (512, 256) and (576, 256), with its palettes in the second page's spare rows at (576, 504); the title-name font's page at (960, 256) with one palette row for each colour at (960, 496); and the keyboard's tile sheet at (962, 129), where RPG Maker loads its own.
Memory card files#
Every file RT3 writes is named BISLPS-01093, RT3's product code, plus a kind and a slot letter or a name. RPG Maker's names have BASLUS-00640 and RMSYS, RMSCE, RMGAM and RMGAT in their place, so neither program lists the other's saves.
Name after BISLPS-01093 | What | Title on the card | Blocks |
|---|---|---|---|
R3SYS + letter | System Data | RPGツクール3システムA + the game's title + the play time | 1–15 |
R3SCE + letter | Scenario Data | RPGツクール3シナリオA + the scenario's name + the play time | 1–15 |
R3GAM + letter | a player's save | RPGツクール3ゲームA + the leader, the level, the play time | 1 |
R3GAT + letter | a Test Play save | RPGツクール3テストA + the same | 1 |
C_ + name | an Animetica character | アニメティカ・キャラクターデータ + name | 1 |
M_ + name | an Animetica monster | アニメティカ・モンスターデータ + name, and (圧縮) when packed | by size and packing |
B_ + name | an Animetica title picture | アニメティカ・BGデータ + name | by packing |
The fifth kind of file a game uses is another program's: a Kanadeeru 2 song, BISLPS-00903KDC + an id, Kanadeeru 2's own product code, with the title かなで~る2:「NAME」コンバートデータ (The song on the card).
The container#
A System or Scenario save is RPG Maker's container with longer text fields: the standard PlayStation header with the title, then at 0x180 the same checksum, sizes and compressed flag, the same password, and RT3's longer author and name.
| Offset | RT3 | RPG Maker |
|---|---|---|
| 0x180 | checksum, stored size, image size, compressed flag | the same |
| 0x190 | password, 16 bytes | the same |
| 0x1A0 | author (the first staff name), 36 bytes | 18 bytes |
| 0x1C4 | the game's or the scenario's name, 36 bytes | at 0x1B2, 18 bytes |
| 0x200 | the image, from 0x8072C200 or 0x8074A200 | from 0x80740200 or 0x8075E200 |
A long name is shortened in the card's title as its start, ~ and its end (THE E~TODAY), where RPG Maker cuts it short. In a Scenario save, the image size in the header is the exact length, not rounded up to a word as in RPG Maker.
Word-LZ compression#
The compression is RPG Maker's, word for word: the same LZ77 on 32-bit words, the same checksum, so the project's tools read RT3's saves unchanged (Word-LZ compression). It packs Japanese no better than English: RT3's scenarios store at a median of 90 % of their size. RT3 can show its own figures: hold START while the memory card menu opens and a sixth row, 圧縮情報, reports the sizes before and after and the time the packing takes (The compression report).
Player saves#
A player save is one block: the header, then a copy of the save block, 0x1E00 bytes at 0x8072A200, the same size as RPG Maker's. Its fields are RPG Maker's, moved by the longer text: the game's title is 36 bytes and the scenario's name 16, so the fields from the map to the Gold sit 16 bytes later; the 16 character records are 104 bytes each (RPG Maker: 100), with a 16-byte name, so everything after them sits 80 bytes later. The Ending's snapshots fill the rest, with 80 bytes less room than in RPG Maker.
System and Scenario data in outline#
System Data#
The System image at 0x8072C200 is a game info block of 0x4A0 bytes (RPG Maker: 0x200), twelve linked section headers, and the twelve sections. The sections are RPG Maker's, with the same header lengths, index tables and limits; every record keeps its fields in RPG Maker's order after the name, so every offset past the name is RPG Maker's plus 4.
| Section | Record (bytes) | RPG Maker | Numbers | |
|---|---|---|---|---|
| 0 | Title | 16 | 16 | — |
| 1 | Config | 8 | 8 | — |
| 2 | Feature Edit's switches | 4 | 4 | — |
| 3 | Parameter names | 22 × 8 | 22 × 6 | — |
| 4 | Magic | 44 | 40 | 231 (0 is the editor's "new" template) |
| 5 | Items | 28 | 24 | 251 |
| 6 | Heroes | 264, after a 124-byte prefix | 260 | 16 |
| 7 | Jobs | 56 | 52 | 16 |
| 8 | Monsters | 56 | 52 | 251 |
| 9 | Field maps | 279 + 25 a town + 7 a path | 275 + 21 + 7 | 9 |
| 10 | Dungeon maps | Sample 23; Custom 36 + its layers | 19; 32 + layers | 991 (0–990) |
| 11 | Monster Placement | 2 + 13 an area | the same | 991 |
- The game info holds the title (36 bytes), the System password, the names of the imported Animetica characters, monsters and title picture, the names of the 15 Kanadeeru songs (16 bytes each, at +0x2A1), the first scenario's name, the four staff titles (24 bytes) and names (36), and the play clock. The pictures and songs themselves stay on their cards and are read again at every load.
- Two numbers change their meaning between the programs: the song numbers, since RPG Maker put songs 17 to 35 in another order and has nothing above 35, and the text, which is packed in RT3 (Packed text and the kanji font). The sound effects and the graphics number the same.
Scenario Data#
The Scenario image at 0x8074A200 is RPG Maker's with a 16-byte name (RPG Maker: 18), so everything after the name sits 4 bytes earlier: the length of the event data, the table of 991 map numbers, the start point and the chain of event blocks. The blocks, records, pages and conditions are RPG Maker's, byte for byte in format (Scenario Data).
The event bytecode#
The 92 opcodes are RPG Maker's, in the same order, with the same lengths: the table of lengths is at 0x80098F4C and the handlers' at 0x80099CE8. One opcode differs: 0x59 Next Scenario is 17 bytes, a 16-byte name, where RPG Maker's is 19. The RPG Maker guide lists every opcode (The event bytecode and its interpreter).
Three things in the commands change their meaning, not their layout:
- Text in Display Message, the 2 and 3 Messages choices and Next Scenario is packed.
- Song numbers in Change BGM, Battle and Ending follow RT3's order, and 36 to 50 are the Kanadeeru songs.
- Names that Next Scenario looks for are packed, as the scenario's own name is.
All four scenarios of THE EVENT OF TODAY, 14,726 pages and 48,237 commands, parse with RT3's table of lengths, and each comes back byte for byte when it is built again.
Packed text and the kanji font#
Everything typed in RT3 is stored packed. A table at 0x80099674 gives 200 common characters one byte each, and anything else is two-byte Shift-JIS:
| Bytes | What |
|---|---|
| 0x20–0x80 | spaces, hiragana, the digits 0–9 at 0x30–0x39 and the capitals A–Z at 0x41–0x5A, the small kana, the first katakana |
| 0x81–0x98 | the first byte of a two-byte Shift-JIS character: symbols, Latin and Greek, Cyrillic, kana, the kanji of JIS level 1 |
| 0x99–0xFF | the rest of the katakana, the small katakana, then the voiced and half-voiced kana (が … ぽ, ガ … ポ, ヴ) |
| 0x01 xx | RT3's own glyphs: ♪, ♡, Ⅰ to Ⅹ, a sword and a shield |
Digits and capitals keep their ASCII codes, so a name in capitals reads as plain ASCII. Because only lead bytes up to 0x98 are free, the kanji of JIS level 2 can't be stored.
The font is three of RT3's own COMDATA entries, 2A9 to 2AB: a complete JIS level-1 set of 3,489 glyphs, symbols, kana, Latin, Greek and Cyrillic, and the kanji from 亜 to 腕. Each glyph is a 12 × 11 cell, 21 to a row. Each 4-bit pixel holds four one-bit planes, so one 256 × 256 page holds four fonts' worth of glyphs, and a palette lights only the pixels of one plane. RT3's own glyphs (0x01 xx) and a half-width font sit in the last plane, past the last kanji.

The typewriter that prints text has the same seven modes in both programs. RT3 uses two of them, and RPG Maker one other:
| Mode | What it prints | In RT3 | In RPG Maker |
|---|---|---|---|
| 0, 1 | two-byte Shift-JIS, 3 or 4 cells a character | 0: the editors and menus | dead |
| 2 | the small 8 × 8 font | dead | dead |
| 3 | Shift-JIS through a second path | dead | dead |
| 4, 5 | packed text, turned into Shift-JIS, 3 or 4 cells | 4: Normal messages, choices, the Inn | dead |
| 6 | single bytes in the 8 × 12 English font | (no mode 6) | the only live mode |
- The text grid is RPG Maker's, 80 × 60 cells of 4 × 4 pixels, at 0x800BF4C0. A kanji takes 3 × 3 cells and is drawn as one 12 × 11 sprite. The Normal window is the same size and in the same place as in RPG Maker, so a line holds 18 full-width characters, against RPG Maker's 27 at 8 pixels.
- Sprite text is drawn from the same font outside the grid: Message 1 with a shadow, Message 2 without one on a band 75 rows tall (RPG Maker's is 76), the balloons at 12 pixels a character, and the battle's party window squeezing each glyph to 7 pixels.
- The title-name font is another font again, 24 × 24, in COMDATA 324 to 328: 91 glyphs, the full-width letters and digits, ♪ ☆ ♡ ○, Ⅰ to Ⅹ, a sword, a shield and a few marks, and no kana or kanji. A character not in it draws a blank, which is why the title has a keyboard that offers only these (Text).
The sound driver#
RT3 plays the same files as RPG Maker through Sony's sound library, libsnd, but an older build of it. The sequencer is RPG Maker's: 90 ticks a second, 24 voices, the same note and loop handling. What differs:
- Pitch. RT3 turns a note into a pitch through one table of 16 steps a semitone, shifted without rounding, so most notes come out a hair lower than in RPG Maker, up to about an eighth of a semitone at very low pitches.
- Fading out. RT3's library moves the volume one step a tick and stops at volume 1, not 0: the game's fade-out takes 94 ticks, about a second, where RPG Maker's takes two seconds down to silence.
- Song volume is set on the voices at once, even before a song starts, and a new song's volume reaches the voices the previous song left behind.
- The bank for Kanadeeru songs sits 48 bytes lower in sound memory, at 0x2F420.
The bank is SOUND0's entries 3 and 4, a General MIDI-style set of 105 instruments with two drum kits, the same file as on RPG Maker's disc, where nothing plays it (The drums an octave off).
A Kanadeeru song comes from the import space, not the disc. It is kept packed, in a format marked LZC, a flag-byte LZSS like Animetica's, and unpacked every time it starts, into all five music buffers at once. The unpacked song is a standard PlayStation sequence, which RT3's library accepts whichever way round its four-letter mark is written.
The project logged every write RT3 made to the sound chip while it played all thirteen of THE EVENT OF TODAY's songs, through their loops and a fade, and a fade-in, and replayed them through a model of RT3's driver: 847,088 writes, every one the same.
Battles and the random numbers#
The battle engine is overlay section 0x0F at 0x80105000. It makes the same decisions as RPG Maker's from the same random numbers: 2,082 decisions logged in sixteen of RT3's battles, with every random number RT3 drew, replayed through RPG Maker's battle rules without a difference (The random numbers has RPG Maker's generator). The one change inside is the fighter record, 0x98 bytes against RPG Maker's 0x90 for the longer names; monsters of one kind are told apart by a full-width letter added to the name (A, B …) instead of a digit.
How the study checked all this#
The same three kinds of evidence as for RPG Maker: static, read from RT3's code and data in a disassembler; corpus, checked against the RT3 games on the project's cards; and emulator, compared with RT3 running in PCSX-Redux, driven by scripts that press buttons, log calls and save memory on exact frames.
| Part | How it was checked | Result |
|---|---|---|
| Disc, executables, overlays | static | the extractor, run on RPG Maker's disc, rebuilds that disc's files byte for byte; 2,704 of RPG Maker's 4,081 functions paired with RT3's by the order of their calls |
| Card files and the compression | corpus and emulator | THE EVENT OF TODAY's System and four scenarios read and rebuilt byte for byte; three player saves written by RT3 rebuilt byte for byte, and, converted, loaded by RPG Maker with equal memory |
| Event bytecode | corpus | 93 map blocks, 2,026 events, 14,726 pages and 48,237 commands parsed with RT3's size table, none failing |
| Text | emulator | the font in video memory equal to COMDATA; menus, lists and messages equal pixel for pixel; Message 2's fade, 49 frames exact |
| Option lists | static | 260 list records against RPG Maker's 257, 244 of them laid out the same |
| Sound | emulator | 847,088 sound-chip writes over 95,256 ticks replayed through a model of RT3's driver, 0 mismatches |
| Battles | emulator | 2,082 decisions in 16 battles replayed through RPG Maker's rules from RT3's own random numbers, 0 mismatches |
| The sample game | emulator | memory after loading it equal to COMDATA 322 and 323 |
Fan-made reference material, one of the Eschaton Games Tsukuru guides. Not affiliated with the publishers of the titles it covers. Corrections and questions: contact@eschaton.games.