Add MUT Table To EcuFlash

From EvoEcu
Jump to: navigation, search
  1. Locate your ROM ID (an 8-digit number, something like 96940011).
  2. Find the documentation specific to your ROM in our master index, and look up the MUT table address.
  3. Open up the directory C:\Program Files\OpenECU\EcuFlash\rommetadata\mitsubishi\evo.
  4. In that directory, find a file named romid.xml (ie. 96940011.xml). Open that file with notepad or wordpad.
  5. Add the following chunk of XML to the very end of the file (but before the "</rom>" text at the very end), making sure to change the address="XXX" portion on the first line to refer to the MUT table address for your ROM. (For example, if your ROM is 96940011, then your MUT table address is 3f314, so you would change that section to address="3f314".)
  6. Open the HEX or BIN file for your ROM with EcuFlash.
  7. Scroll down to the "Misc" section, and you should see "MUT Table". Open it, and confirm that it is reading correctly; you should see a large 16x32-element table, with alternating rows of data and FFFF.

What it looks like:

Mut-table.png

XML to add:

<table name="MUT table" category="Misc" address="XXX" type="3D" level="1" scaling="Hex16">
    <table name="X" type="Static X Axis" elements="32" scaling="Hex16">
        <data>-</data><data>0</data>
        <data>-</data><data>1</data>
        <data>-</data><data>2</data>
        <data>-</data><data>3</data>
        <data>-</data><data>4</data>
        <data>-</data><data>5</data>
        <data>-</data><data>6</data>
        <data>-</data><data>7</data>
        <data>-</data><data>8</data>
        <data>-</data><data>9</data>
        <data>-</data><data>A</data>
        <data>-</data><data>B</data>
        <data>-</data><data>C</data>
        <data>-</data><data>D</data>
        <data>-</data><data>E</data>
        <data>-</data><data>F</data>
    </table>
    <table name="Y" type="Static Y Axis" elements="30">
        <data>MUT0X</data>
        <data>MUT1X</data>
        <data>MUT2X</data>
        <data>MUT3X</data>
        <data>MUT4X</data>
        <data>MUT5X</data>
        <data>MUT6X</data>
        <data>MUT7X</data>
        <data>MUT8X</data>
        <data>MUT9X</data>
        <data>MUTAX</data>
        <data>MUTBX</data>
        <data>MUTCX</data>
        <data>MUTDX</data>
        <data>MUTEX</data>
        <data>MUTFX</data>
        <data>MUT10X</data>
        <data>MUT11X</data>
        <data>MUT12X</data>
        <data>MUT13X</data>
        <data>MUT14X</data>
        <data>MUT15X</data>
        <data>MUT16X</data>
        <data>MUT17X</data>
        <data>MUT18X</data>
        <data>MUT19X</data>
        <data>MUT1AX</data>
        <data>MUT1BX</data>
        <data>MUT1CX</data>
        <data>MUT1DX</data>
    </table>
</table>

Credit goes to Jack_of_Trades for his original thread on EvolutionM documenting this.

Another variation of this mut table layout, without the FFFF between. It is better for low resolution tablet pc oder notebooks.

What it looks like:

Mut-table2.gif

XML to add:

<scaling name="RamAdress" units="hex" toexpr="x-4294901760" frexpr="x+4294901760" format="%04X" min="0" max="65535" inc="1" storagetype="uint32" endian="big"/>

	<table name="MUT Table" category="Misc" address="INSERT MUT ADRESS" type="3D" level="1" scaling="RamAdress">
		<table name="X" type="Static X Axis" elements="16">
			<data>0</data>
			<data>1</data>
			<data>2</data>
			<data>3</data>
			<data>4</data>
			<data>5</data>
			<data>6</data>
			<data>7</data>
			<data>8</data>
			<data>9</data>
			<data>A</data>
			<data>B</data>
			<data>C</data>
			<data>D</data>
			<data>E</data>
			<data>F</data>
		</table>
		<table name="Y" type="Static Y Axis" elements="16">
			<data>MUT0X</data>
			<data>MUT1X</data>
			<data>MUT2X</data>
			<data>MUT3X</data>
			<data>MUT4X</data>
			<data>MUT5X</data>
			<data>MUT6X</data>
			<data>MUT7X</data>
			<data>MUT8X</data>
			<data>MUT9X</data>
			<data>MUTAX</data>
			<data>MUTBX</data>
			<data>MUTCX</data>
			<data>MUTDX</data>
			<data>MUTEX</data>
			<data>MUTFX</data>
			<data>MUT10X</data>
			<data>MUT11X</data>
			<data>MUT12X</data>
			<data>MUT13X</data>
			<data>MUT14X</data>
			<data>MUT15X</data>
			<data>MUT16X</data>
			<data>MUT17X</data>
			<data>MUT18X</data>
			<data>MUT19X</data>
			<data>MUT1AX</data>
			<data>MUT1BX</data>
			<data>MUT1CX</data>
			<data>MUT1DX</data>
		</table>
	</table>

Credit goes to Deepnine for his original post on EvolutionM documenting this.