;Mario64 E
[RomOption]
;BackupType 0 Auto 1 SRAM 2 Flash 3 EEPROM
BackupType = 3
;BackupSize  2048 16K 4K 512
BackupSize = 512
Rumble = 0
UseTimer = 1
;PlayerNum = 1
PDFURL = "http://m1.nintendo.net/docvc/NUS/USA/NSME/NSME_E.pdf"

[Idle]
Count = 1
Address0 = 0x80317934
Inst0 = 0x01E4082A
Type0 = 1

[BreakBlockInst]
Count = 1
Address0 = 0x8027F578
Inst0 = 0x00000000
JmpPC0= 0x8027F500
Type0 = 1

[Render]
CalculateLOD = 1

[FilterHack]
Count = 1

TextureAddress0 = 0x1cb000
SumPixel0 = 0xd522f45e
Data2_0 = 0x801055
Data3_0 = 0x80000
AlphaTest0 = 250

[VertexHack]
Count = 21

;Fix Logo point
VertexCount0 = 15
VertexAddress0 = 0x84720
TextureAddress0 = 0x8ccc0
FirstVertex0 = a6:02 63 00 1f 00 1d
Value0 = a18:00 02
00 01 02 bc 00 67 ff f4
00 02 03 17 00 c8 ff bc

;Fix BTS No.405_1-a
VertexCount1 = 6
VertexAddress1 = 0x105a58
TextureAddress1 = 0x1c6800
FirstVertex1 = a6:06 00 00 66 fd 01
Value1 = a18:00 02 
00 00 06 00 00 66 fc fe
00 05 fa 01 00 66 fc fe

;Fix BTS No.405_1-b
VertexCount2 = 15
VertexAddress2 = 0xff108
TextureAddress2 = 0x1c6000
FirstVertex2 = a6:04 5d 0e 00 f5 b1
Value2 = a18:00 02 
00 03 10 02 02 00 10 00
00 06 10 02 01 00 10 00

;Fix BTS No.405_1-c
VertexCount3 = 11
VertexAddress3 = 0xffd08
TextureAddress3 = 0x1c6800
FirstVertex3 = a6:10 00 02 00 0f 00
Value3 = a26:00 03 
00 00 10 02 02 00 0e fa
00 01 0c 9a 02 00 0e fa
00 03 10 02 02 00 10 00

;Fix BTS No.405_1-d
VertexCount4 = 16
VertexAddress4 = 0xfe018
TextureAddress4 = 0x1c5800
FirstVertex4 = a6:10 00 04 33 fe 01
Value4 = a34:00 04
00 07 10 02 00 fc fe 01
00 09 10 00 04 37 06 00
00 0a 10 00 02 00 0f 04
00 0b 10 02 00 fc 0c 00

;Fix BTS No.405_2
VertexCount5 = 7
VertexAddress5 = 0x10b410
TextureAddress5 = 0x1c3800
FirstVertex5 = a6:fc 24 f8 ef 00 4c
Value5 = a18:00 02
00 04 f8 70 f8 f4 00 1e
00 06 f7 fc fb 01 00 00

;Fix NOA BTS No.3
VertexCount6 = 16
VertexAddress6 = 0x15c2c8
TextureAddress6 = 0x1ca000
FirstVertex6 = a6:f6 34 fb 01 f5 01
Value6 = a18:00 02
00 0d f5 c4 fb 01 fb ce
00 0e f5 c4 fd ce fb ce

;Improve NOA BTS No.4
VertexCount7 = 16
VertexAddress7 = 0x116ce8
TextureAddress7 = 0xfc360
FirstVertex7 = a6:0c 00 ff 9b 0c 00
Value7 = a18:00 02
00 09 04 cf ff 9b 03 bf
00 06 08 cd ff 9b 03 bf

;Fix NOA BTS No.12-a
VertexCount8 = 15
VertexAddress8 = 0x100c60
TextureAddress8 = 0x1c2000
FirstVertex8 = a6:fd d7 03 23 f7 b1
Value8 = a18:00 02
00 03 0a 08 09 23 f5 4b
00 05 0a 08 fe 01 f5 4b

;Fix NOA BTS No.12-b
VertexCount9 = 15
VertexAddress9 = 0x1007a0
TextureAddress9 = 0x1c2000
FirstVertex9 = a6:00 9a 03 23 f3 e0
Value9 = a10:00 01
00 04 01 64 02 7b f7 b1

;Fix NOA BTS No.9
VertexCount10 = 16
VertexAddress10 = 0xfe8d0
TextureAddress10 = 0x1c4000
FirstVertex10 = a6:1a 00 f4 f0 20 00
Value10 = a10:00 01
00 0e 16 00 fe 01 ed fc

;Fix NOA BTS No.33
VertexCount11 = 14
VertexAddress11 = 0x128bc0
TextureAddress11 = 0x1c5000
FirstVertex11 = a6:fb 46 00 00 fb fd
Value11 = a10:00 01
00 03 f8 90 00 00 fc 03

;Fix NOA BTS No.27
VertexCount12 = 15
VertexAddress12 = 0x10b160
TextureAddress12 = 0x1c3000
FirstVertex12 = a6:04 fb 01 9a fb 9b
Value12 = a18:00 02
00 06 f8 01 fd 01 ff fc
00 07 f8 02 04 d2 04 69

;Fix NOA BTS No.8
VertexCount13 = 14
VertexAddress13 = 0xfe730
TextureAddress13 = 0x1c8800
FirstVertex13 = a6:07 36 0c 66 e8 0d
Value13 = a10:00 01
00 01 f8 ca 0c 66 e8 01

;Fix NOA BTS No.10-c_1
VertexCount14 = 15
VertexAddress14 = 0x10afc8
TextureAddress14 = 0x1c8000
FirstVertex14 = a6:fe 67 ff e7 fb e7
Value14 = a18:00 02 
00 09 fe ce fe 4e 0a bd
00 0a 01 33 fe 4e 0a bd

;Fix NOA BTS No.10-c_2
VertexCount15 = 16
VertexAddress15 = 0x102ef8
TextureAddress15 = 0xfc1e0
FirstVertex15 = a6:02 cd 00 cd fe ce
Value15 = a18:00 02
00 08 fd 34 00 cd fe cc
00 09 fd 34 00 00 fe cc

;Fix NOA BTS No.10-a_1
VertexCount16 = 8
VertexAddress16 = 0x106708
TextureAddress16 = 0x1c8000
FirstVertex16 = a6:03 44 fe ce 01 91
Value16 = a18:00 02
00 05 03 46 00 01 fe 5f
00 07 03 46 00 01 01 91

;Fix NOA BTS No.10-a_2
VertexCount17 = 15
VertexAddress17 = 0x106788
TextureAddress17 = 0xfc1e0
FirstVertex17 = a6:03 44 00 00 fe 5f
Value17 = a18:00 02
00 00 03 44 00 01 fe 5f
00 06 03 44 00 01 01 91

;Fix NOA BTS No.10-b_1
VertexCount18 = 16
VertexAddress18 = 0x104238
TextureAddress18 = 0x1c2800
FirstVertex18 = a6:02 66 00 9a 03 33
Value18 = a18:00 02
00 09 fa 1c ff ea ff 44
00 0a fa 1c ff ea fd de

;Fix NOA BTS No.10-b_2
VertexCount19 = 16
VertexAddress19 = 0x104338
TextureAddress19 = 0x1c2800
FirstVertex19 = a6:ff 67 ff ce 02 9a
Value19 = a18:00 02
00 06 fa 1c ff ea fd de
00 07 fa 1c ff 1f fd de

;Fix NOA BTS No.10-b_3
VertexCount20 = 16
VertexAddress20 = 0x104518
TextureAddress20 = 0x1c2800
FirstVertex20 = a6:fa 20 ff ec ff 44
Value20 = a18:00 02
00 00 fa 1c ff ea ff 44
00 01 fa 1c ff 1f ff 44
