variantxyz / sakura-wars-gb2 Goto Github PK
View Code? Open in Web Editor NEWDisassembly/translation of Sakura Wars GB2 for the GBC
Disassembly/translation of Sakura Wars GB2 for the GBC
0FF2 parses events via a table at 0:101A [offset:2, LE][Bank:1], entire event table
First 'dialog' (not cutscene): table[0x21] = [0x101A + 0x21 * 3] -> 19:625D, function which pulls script metadata from bank 40
[CC58 (index of script)] = 0x11 -> 4000 + 3 * 0x11 = [40:4033] -> bank offset = 0x00, addr offset = 0x003F
bank = 0x00 + 0x41, addr = 0x4000 + 0x003F
41:403F, initial scene
18:436F seems to actually parse commands
18:4252 seems to read bytes and update the script state vars (gets called when going through dialog)
command '01' seems to be load scene text (41:4055, text starts at 41:4056).
There are two fonts, a 8x8 font used in certain cutscenes, and a 16x8 font used in the main dialog.
The cutscene text is loaded into 0:9000 to 0:9350, and the dialog text is loaded into 1:8800 to 1:8B50, in both cases via VRAM DMA.
Probably optional at this stage, but will help with the actual mapping.
8x8 font is 1BPP takes 3 banks 0x8:4000 to 0xA:7fff
Double-width is at bank 6 and seems to have way fewer kanji?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.