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

[BreakBlockInst]
Count = 1
Address0 = 0x8027732C
Inst0 = 0x20C6FFFF
JmpPC0= 0x802772C0
Type0 = 1

[Render]
CalculateLOD = 1

[FilterHack]
Count = 1

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

[VertexHack]
Count = 10

;Fix BTS No.183
VertexCount0 = 12
VertexAddress0 = 0x1046d0
TextureAddress0 = 0x1c5000
FirstVertex0 = a6:01 33 00 20 fe 67
Value0 = a42:00 05 
00 02 01 67 ff ed 01 67 
00 03 01 67 ff ed 01 67
00 05 fe 8a ff e0 01 76
00 08 fe 8a ff e0 01 76
00 09 fe 8a ff e0 01 76

;Fix BTS No.192
VertexCount1 = 15
VertexAddress1 = 0x108168
TextureAddress1 = 0x1c8000
FirstVertex1 = a6:fe 67 ff e7 fb e7
Value1 = a18:00 02 
00 09 fe ce fe 4e 0a bd
00 0a 01 33 fe 4e 0a bd

;Fix BTS No.191-a
VertexCount2 = 15
VertexAddress2 = 0xfc2a8
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.191-b
VertexCount3 = 6
VertexAddress3 = 0x102bf8
TextureAddress3 = 0x1c6800
FirstVertex3 = a6:06 00 00 66 fd 01
Value3 = a18:00 02 
00 00 06 00 00 66 fc fe
00 05 fa 01 00 66 fc fe

;Fix BTS No.191-c
VertexCount4 = 11
VertexAddress4 = 0xfcea8
TextureAddress4 = 0x1c6800
FirstVertex4 = a6:10 00 02 00 0f 00
Value4 = 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.191-d
VertexCount5 = 16
VertexAddress5 = 0xfb1b8
TextureAddress5 = 0x1c5800
FirstVertex5 = a6:10 00 04 33 fe 01
Value5 = 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.249
VertexCount6 = 16
VertexAddress6 = 0x100098
TextureAddress6 = 0xf9380
FirstVertex6 = a6:02 cd 00 cd fe ce
Value6 = a18:00 02
00 08 fd 34 00 cd fe cc
00 09 fd 34 00 00 fe cc

;Fix BTS No.249
VertexCount7 = 15
VertexAddress7 = 0x81900
TextureAddress7 = 0x89ea0
FirstVertex7 = a6:02 63 00 1f 00 1d
Value7 = a18:00 02
00 01 02 bc 00 67 ff f4
00 02 03 17 00 c8 ff bc

;Fix BTS No.391
VertexCount8 = 16
VertexAddress8 = 0x159468
TextureAddress8 = 0x1ca000
FirstVertex8 = a6:f6 34 fb 01 f5 01
Value8 = a18:00 02
00 0d f5 c4 fb 01 fb ce
00 0e f5 c4 fd ce fb ce

;Fix BTS No.392
VertexCount9 = 15
VertexAddress9 = 0xfde00
TextureAddress9 = 0x1c2000
FirstVertex9 = a6:fd d7 03 23 f7 b1
Value9 = a18:00 02
00 03 0a 08 09 23 f5 4b
00 05 0a 08 fe 01 f5 4b
