From WikiTemp, the GBAtemp wiki
(HM64)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[#Notes|Notes]]
 +
== Ini Template ==
 
<pre>
 
<pre>
 
; Please trim out lines you don't use if you are going to use this to post back on the list
 
; Please trim out lines you don't use if you are going to use this to post back on the list
 
[RomOption]
 
[RomOption]
 +
;PlayerNum = 1-4 (commented out everywhere i can find)
 +
 +
;RetraceByVsync = bool, vsync on/off
 
;RomType = not sure (simcity 64)
 
;RomType = not sure (simcity 64)
 +
 +
;Rumble = bool default 0
 +
;TPak = bool
 +
;MemPak = bool default 0, test carefully can be buggy and crash game
 +
 +
;AIIntPerFrame = bool, not sure
 +
;TLBMissEnable = not sure
 +
;TicksPerFrame = integer
 +
;TimeIntDelay = seconds
 +
;UseTimer = bool, guessing limiting emulation speed?
 +
;RSPMultiCore = bool, (off = Ocarina , on = smash brothers, dk64)
 +
 +
;AIUseTimer = bool, not sure
 
;BackupType 0 Auto 1 SRAM 2 Flash 3 EEPROM
 
;BackupType 0 Auto 1 SRAM 2 Flash 3 EEPROM
 
BackupType = 3
 
BackupType = 3
Line 9: Line 27:
 
;EEROMInitValue = 0xFF (filler\padding ?)
 
;EEROMInitValue = 0xFF (filler\padding ?)
  
;RetraceByVsync = bool, vsync on/off
+
;CpuCmpBlockLength
 
;CmpBlockAdvFlag = bool, not sure (on = excitebike, off = Golf, Kirby)
 
;CmpBlockAdvFlag = bool, not sure (on = excitebike, off = Golf, Kirby)
;RamSize = hex value, total ram size for example 0x400000 forces expansion ram off
+
;RamSize = Hex value, total ram size. 0x400000 forces expansion ram off (F Zero X), 0x800000 on.
;AIIntPerFrame = bool, not sure
+
;TrueBoot = bool, default 1
;UseTimer = bool, guessing limiting emulation speed?
+
;NoCntPak = 1
;RSPMultiCore = bool, (off = Ocarina , on = smash brothers, dk64)
+
;AIUseTimer = bool, not sure
+
;Rumble = bool default 0
+
;PlayerNum = 1-4 (commented out everywhere i can find)
+
;MemPak = bool default 0, test carefully can be buggy and crash game
+
;TicksPerFrame = 781250
+
  
 
;PDFURL = "http://m1.nintendo.net/docvc/[System]/[Region]/[Game]/[Game]_[Language].pdf"
 
;PDFURL = "http://m1.nintendo.net/docvc/[System]/[Region]/[Game]/[Game]_[Language].pdf"
Line 27: Line 39:
 
;WaitOnlyFirst = bool (custom robo v2)
 
;WaitOnlyFirst = bool (custom robo v2)
 
;GTaskDelay = 1024 (Kirby)
 
;GTaskDelay = 1024 (Kirby)
 +
;RDPInt = 1
 +
;WaitDelay = 1
  
 
[TempConfig]
 
[TempConfig]
;RSPGDCFlush = bool (custom robo v2)
+
;RSPGDCFlush = bool (custom robo v2, something to do with ram )
  
 
[SI]
 
[SI]
Line 51: Line 65:
 
; excerpt Mario golf http://pastebin.com/Tir0GEBB , not sure how these work
 
; excerpt Mario golf http://pastebin.com/Tir0GEBB , not sure how these work
 
; on every X tick do .... ?
 
; on every X tick do .... ?
 +
; 1080 snowboarding
 
;noa bts 365
 
;noa bts 365
 
;Hack0 = 581250
 
;Hack0 = 581250
Line 58: Line 73:
  
 
[Input]
 
[Input]
;StickModify = Needs more testing (2 = Banjo, 3 = F-Zero x, DK64)
+
;StickModify = Keymap 1-3 (2 = Banjo, 3 = F-Zero X v0/DK64, 1 = F-Zero X v16)
 
;StickLimit = 90
 
;StickLimit = 90
 +
;STICK_CLAMP = 1      ;F-Zero X v16
 +
;VPAD_STICK_CLAMP = 1 ;F-Zero X v16
  
 
[Cheat]
 
[Cheat]
Line 70: Line 87:
 
[Idle]
 
[Idle]
 
; Biohazard 2 JP excerpt http://pastebin.com/RkCBfiTq , guessing copying of data to different memory address ?
 
; Biohazard 2 JP excerpt http://pastebin.com/RkCBfiTq , guessing copying of data to different memory address ?
; Mariogolf uses it too
+
; Mario Golf uses it too
 
;Count = counter
 
;Count = counter
 
;Address0 = 0x80123456
 
;Address0 = 0x80123456
Line 84: Line 101:
  
 
[Render]
 
[Render]
;FlushMemEachTask = bool
+
InitPerspectiveMode = 1 ;Fixes HM64 graphical mess
 +
;ZClip = 1
 +
;CopyAlphaForceOne
 +
;ClipBottom = unsigned integer
 +
;ClipLeft = unsigned integer
 +
;ClipTop = unsigned integer
 +
;ClipRight = unsigned integer
 +
;CanvasWidth = 320
 +
;CanvasHeight = 240
 
;CopyDepthBuffer = bool
 
;CopyDepthBuffer = bool
;bForce720P = bool
+
;UseColorDither = 0
;NeedPreParse = bool, seems to fix stutter/graphical glitches
+
;NeedTileSizeCheck = bool
+
;ForceFilterPoint = bool, turn off smoothing filter
+
;ZClip = bool
+
;FirstFrameAt = 1000
+
 
;ConstValue0 = (0x238040 US, 0x230040 J Mario Tennis, 0x153380 US, 0x1583c0 J, 0x151f40 E P-Mario)
 
;ConstValue0 = (0x238040 US, 0x230040 J Mario Tennis, 0x153380 US, 0x1583c0 J, 0x151f40 E P-Mario)
 
;ConstValue1 = (0x36a0 ^^, 0x2e00 ^^)
 
;ConstValue1 = (0x36a0 ^^, 0x2e00 ^^)
 +
;useViewportZScale = 1 ;(Waverace)
 +
;NeedTileSizeCheck = bool
 
;PolygonOffset = 1
 
;PolygonOffset = 1
;CalculateLOD = 1 (Mario)
+
;CopyMiddleBuffer = bool
;useViewportZScale = 1 (Waverace)
+
;FlushMemEachTask = bool ;Defaults to 1 on SVN 2234
 +
;ForceFilterPoint = bool ;Turn off smoothing filter
 +
;ForceRectFilterPoint
 +
;NeedPreParse = bool ;Seems to fix stutter/graphical glitches
 +
;CalculateLOD = 1 ;(Mario)
 +
;FirstFrameAt = 1000
 +
;TexEdgeAlpha
 +
;bForce720P = bool ;Runs in 960 x 720 instead of 1080, 1440
  
 
[RomHack]
 
[RomHack]
Line 139: Line 168:
 
;JmpPC0 = 0x80012345
 
;JmpPC0 = 0x80012345
 
;Type0 = bool ?
 
;Type0 = bool ?
 +
</pre>
 +
 +
== Notes ==
 +
<I>Available functions depends on what build you use of vessel.rpx, check content\BuildInfo.txt and check your version.</I>
 +
<pre>
 +
SVN: 1680 TIME: 2015/01/20 14:12:06 Donkey Kong 64 / Super Mario 64
 +
SVN: 1696 TIME: 2015/01/30 10:49:22 The Legend of Zelda: Ocarina of Time
 +
SVN: 1955 TIME: 2015/06/16 16:09:03 Mario Golf
 +
SVN: 1991 TIME: 2015/07/16 09:20:39 Sin and Punishment
 +
SVN: 2043 TIME: 2015/08/18 10:07:52 Mario Kart 64
 +
SVN: 2195 TIME: 2016/01/08 09:42:51 Pokémon Snap (USA)
 +
SVN: 2234 TIME: 2016/02/02 10:56:10 Mario Party 2 (USA)
 +
SVN: 2370 TIME: 2016/07/26 14:06:25 F-Zero X v0 (USA)
 +
SVN: 2395 TIME: 2016/08/30 13:57:02 Ogre Battle 64: Person of Lordly Caliber
 +
SVN: 2427 TIME: 2016/11/17 10:28:06 Harvest Moon 64
 +
SVN: 2428 TIME: 2016/11/18 11:44:39 F-Zero X v16 (USA)
 
</pre>
 
</pre>

Latest revision as of 04:50, 25 February 2017

Notes

Ini Template

; Please trim out lines you don't use if you are going to use this to post back on the list
[RomOption]
;PlayerNum = 1-4 (commented out everywhere i can find)

;RetraceByVsync = bool, vsync on/off
;RomType = not sure (simcity 64)

;Rumble = bool default 0
;TPak = bool
;MemPak = bool default 0, test carefully can be buggy and crash game

;AIIntPerFrame = bool, not sure
;TLBMissEnable = not sure
;TicksPerFrame = integer
;TimeIntDelay = seconds
;UseTimer = bool, guessing limiting emulation speed?
;RSPMultiCore = bool, (off = Ocarina , on = smash brothers, dk64)

;AIUseTimer = bool, not sure
;BackupType 0 Auto 1 SRAM 2 Flash 3 EEPROM
BackupType = 3
;BackupSize  2048 16K 4K 512
BackupSize = 512
;EEROMInitValue = 0xFF (filler\padding ?)

;CpuCmpBlockLength
;CmpBlockAdvFlag = bool, not sure (on = excitebike, off = Golf, Kirby)
;RamSize = Hex value, total ram size. 0x400000 forces expansion ram off (F Zero X), 0x800000 on.
;TrueBoot = bool, default 1
;NoCntPak = 1

;PDFURL = "http://m1.nintendo.net/docvc/[System]/[Region]/[Game]/[Game]_[Language].pdf"
;Example http://m1.nintendo.net/docvc/NUS/EUR/NSMP/NSMP_E.pdf

[RSPG]
;WaitOnlyFirst = bool (custom robo v2)
;GTaskDelay = 1024 (Kirby)
;RDPInt = 1
;WaitDelay = 1

[TempConfig]
;RSPGDCFlush = bool (custom robo v2, something to do with ram )

[SI]
;SIDelay = (0xD800 US, 0x10800 J Kirby)

[VI]
;ScanReadTime = 1 (Excitebike)

[Cmp]
; Compiler options ?
;W32OverlayCheck = 0

[Sound]
; Sound filters of some kind ?
;BufFull = 0x3800 
;BufHalf = 0x2800
;BufHave = 0x1000
;Resample = (31900 NTSC, 31300 PAL DK64)

[FrameTickHack]
; excerpt Mario golf http://pastebin.com/Tir0GEBB , not sure how these work
; on every X tick do .... ?
; 1080 snowboarding
;noa bts 365
;Hack0 = 581250
;bts 1843
;Hack1 = 581250
;Hack2 = 481250

[Input]
;StickModify = Keymap 1-3 (2 = Banjo, 3 = F-Zero X v0/DK64, 1 = F-Zero X v16)
;StickLimit = 90
;STICK_CLAMP = 1      ;F-Zero X v16
;VPAD_STICK_CLAMP = 1 ;F-Zero X v16 

[Cheat]
; Basically action replay type editing, to disable additional copy protection etc
;Cheat0 = 0,1,2 needs more info
;Cheat0_Addr = 0x80123456
;Cheat0_Value = 0xff
;Cheat0_Bytes = 1

[Idle]
; Biohazard 2 JP excerpt http://pastebin.com/RkCBfiTq , guessing copying of data to different memory address ?
; Mario Golf uses it too
;Count = counter
;Address0 = 0x80123456
;Inst0 = 0x8C123456
;Type0 = bool, no clue

[InsertIdleInst]
;Count = counter
;Type0 = bool, no clue
;Address0 = 0x80123456
;Inst0 = 0x0C123456
;Value0 = 7

[Render]
InitPerspectiveMode = 1 ;Fixes HM64 graphical mess
;ZClip = 1
;CopyAlphaForceOne
;ClipBottom = unsigned integer
;ClipLeft = unsigned integer
;ClipTop = unsigned integer
;ClipRight = unsigned integer
;CanvasWidth = 320
;CanvasHeight = 240
;CopyDepthBuffer = bool
;UseColorDither = 0
;ConstValue0 = (0x238040 US, 0x230040 J Mario Tennis, 0x153380 US, 0x1583c0 J, 0x151f40 E P-Mario)
;ConstValue1 = (0x36a0 ^^, 0x2e00 ^^)
;useViewportZScale = 1 ;(Waverace)
;NeedTileSizeCheck = bool
;PolygonOffset = 1
;CopyMiddleBuffer = bool
;FlushMemEachTask = bool ;Defaults to 1 on SVN 2234
;ForceFilterPoint = bool ;Turn off smoothing filter
;ForceRectFilterPoint
;NeedPreParse = bool ;Seems to fix stutter/graphical glitches
;CalculateLOD = 1 ;(Mario)
;FirstFrameAt = 1000
;TexEdgeAlpha
;bForce720P = bool ;Runs in 960 x 720 instead of 1080, 1440

[RomHack]
; on the fly rom patching
;Count = counter
;Address0 = 0xe1234
;Type0 = 0,1,4 (Address Range)
;Value0 = 0x00 if more then one byte, define a{bytes}: and define with space separation
; Syntax a{count}:raw space/line seperated

[SpecialInst]
;Count = counter
;Address0 = 0x80001234
;Inst0 = 0x02C01234
;Type0 = 0

[FilterHack]
; edit textures ?
;Count = counter
;TextureAddress0 = 0xffffffff
;SumPixel0 = 0x9953ABF8
;Data2_0 = 0x4000000
;Data3_0 = 0x20000
;AlphaTest0 = 250
;MagFilter0 = 0

[VertexHack]
; edit vertexes to fix minor issues with models
;Count = counter
;VertexCount0 = count of vertexes already there ?
;VertexAddress0 = 0x234567
;TextureAddress0 = 0x345678
;FirstVertex0 = a6:  01 02 03 04 05 06
;Value0 = a10:00 01 
;01 02 03 04 05 06 07 08
; Syntax a{count}:raw space/line seperated

[BreakBlockInst]
;Count = counter
;Address0 = 0x80012543
;Inst0 = 0x24A50A00
;JmpPC0 = 0x80012345
;Type0 = bool ?

Notes

Available functions depends on what build you use of vessel.rpx, check content\BuildInfo.txt and check your version.

SVN: 1680 TIME: 2015/01/20 14:12:06 Donkey Kong 64 / Super Mario 64
SVN: 1696 TIME: 2015/01/30 10:49:22 The Legend of Zelda: Ocarina of Time
SVN: 1955 TIME: 2015/06/16 16:09:03 Mario Golf
SVN: 1991 TIME: 2015/07/16 09:20:39 Sin and Punishment
SVN: 2043 TIME: 2015/08/18 10:07:52 Mario Kart 64
SVN: 2195 TIME: 2016/01/08 09:42:51 Pokémon Snap (USA)
SVN: 2234 TIME: 2016/02/02 10:56:10 Mario Party 2 (USA)
SVN: 2370 TIME: 2016/07/26 14:06:25 F-Zero X v0 (USA)
SVN: 2395 TIME: 2016/08/30 13:57:02 Ogre Battle 64: Person of Lordly Caliber
SVN: 2427 TIME: 2016/11/17 10:28:06 Harvest Moon 64
SVN: 2428 TIME: 2016/11/18 11:44:39 F-Zero X v16 (USA)