Anonymous

Changes

From Final Fantasy Inside

FF7/Command data

612 bytes removed, 05:11, 23 May 2019
m
18 revisions imported
== KERNEL.BIN - Section 1: Command data format ==
This section contains the data for Menu commands. Each recored is 16 bytes long.<br />
<i>(NoteThere are 32 entries of 8 bytes in the following format:This is a stub, this information was lost when my hard drive died)
{| class="wikitable"! style="background: rgb(204,204,204); width: 50px" align="center" | Offset! style="background: rgb(204,204,204); width: 50px" | Length! style="background: rgb(204,204,204); width: 275px" colspan="2" | Description|-| style="background: rgb(255,255,255)" align="center" | 0x00| 1 byte| Initial Cursor Action*|-| style="background: rgb(255,255,255)" align="center" | 0x01| 1 byte|[[UserFF7/Battle/Targeting_Data|Target Flags]]|-| style="background: rgb(255,255,204)" align="center" | 0x02| style="background: rgb(255,255,204)" | 2 bytes| style="background: rgb(255,255,204)" | Unknown (Always [FFFFh])|-| style="background:Halkunrgb(255,255,255)" align="center" |Halkun0x04| 2 bytes|[[FF7/Battle/Camera_Movement_Id_List|Camera Movement Id]] 21for single target.|-| style="background:18rgb(255,255, 9 Mar 2005 (CST255)<" align="center" | 0x06| 2 bytes|[[FF7/i>Battle/Camera_Movement_Id_List|Camera Movement Id]] for multiple targets.|}
<br /> *Initial Cursor Action: The different values will tell it what to do or what menu to bring up:
{| borderclass="0" cellpadding="3" cellspacing="1" style="background: rgb(0,0,0)" align="centerwikitable"! style="background:rgb(204,204,204); width:50px;" align="center" | Offset! style="background:rgb(204,204,204); width:50px;" | LengthValue! style="background:rgb(204,204,204); width:275px;" colspan="2" | DescriptionEffect
|-
|style="background:rgb(255,255,255)" align="center" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;00h|style="background:rgb(255,255,255)" | &nbsp;Perform command using target data
|-
|style="background:rgb(255,255,255)" align="center" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;01h|style="background:rgb(255,255,255)" | &nbsp;Magic Menu
|-
|style="background:rgb(255,255,255)" align="center" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;02h|style="background:rgb(255,255,255)" | &nbsp;Summon Menu
|-
|style="background:rgb(255,255,255)" align="center" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;03h|style="background:rgb(255,255,255)" | &nbsp;Item Menu
|-
|style="background:rgb(255,255,255)" align="center" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;04h|style="background:rgb(255,255,255)" | &nbsp;E.Skill Menu
|-
|style="background:rgb(255,255,255)" align="center" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;05h|style="background:rgb(255,255,255)" | &nbsp;Throw Menu
|-
|style="background:rgb(255,255,255)" align="center" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;06h|style="background:rgb(255,255,255)" | &nbsp;Limit Menu
|-
|style="background:rgb(255,255,255)" align="center" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;07h|style="background:rgb(255,255,255)" | &nbsp;Enable Target Selection via Cursor
|-
|style="background:rgb(255,255,255)" align="center" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;08h|style="background:rgb(255,255,255)" | &nbsp;W-Magic Menu
|-
|style="background:rgb(255,255,255)" align="center" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;09h|style="background:rgb(255,255,255)" | &nbsp;W-Summon Menu
|-
|style="background:rgb(255,255,255)" align="center" 0Ah| &nbsp;W-Item Menu|style="background:rgb(255,255,255)" -| &nbsp;0Bh|style="background:rgb(255,255,255)" Coin Menu| &nbsp;} |style="backgroundThe commands themselves are hard-coded into the Battle Engine and their actions cannot be changed via editing the KERNEL.BIN<br /> Example of what this means:rgb(255If the summon command was changed to bring up the magic menu and Cure was selected, the battle engine would perform Choco/Mog summon instead. Why? Because The Battle Engine is expecting summon data from command 03h. While the target was considered based on the targeting information of Cure,255which has the same magic index as Choco/Mog has summon index,255)" | &nbsp;the attack the Battle Engine selected to perform was Summon attack 00h which is Choco/Mog.