Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Special Tee Shot - Satellaview to SFC conversion Patch
//Special Tee Shot - SFC Conversion Patch
//Patches header and SRAM access
//
//by LuigiBlood
//Uses ARM9 bass fork
//On SNES Mini, use Preset ID 0x1058 (Kirby's Dream Course preset)
//Doc:
//Special Tee Shot uses BS-X SRAM 175C20 to 175FFF
//Regex: (.|\n)[\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5A\x5B\x5C\x5D\x5E\x5F]\x17
arch snes.cpu
//LoROM
macro seek(n) {
origin (({n} & $7F0000) >> 1) | ({n} & $FFFF)
base {n}
}
macro seekFile(n) {
origin {n}
base {n}
}
seekFile(0)
insert "Special Tee Shot (Japan) (BS).bs"
seekFile(0x7FC0)
// Title
db "SPECIAL TEE SHOT SATV"
// ROM Speed / Map Mode (Fast ROM, LoROM)
db %00110000
// Chipset
db $02
// ROM Size (1MB)
db $0A
// RAM Size (32KB)
db $05
// Country
db $00
// Dev ID
db $01
// Version
db $00
// Checksum
dw $0000, $FFFF
seekFile(0x25360)
dl $700DE2 //$175DE2
seekFile(0x263E6)
dl $700DE2 //$175DE2
seekFile(0x26475)
dl $700DE2 //$175DE2
seekFile(0x264B7)
dl $700DE2 //$175DE2
seekFile(0x264E8)
dl $700E10 //$175E10
seekFile(0x264EF)
dl $700E12 //$175E12
seekFile(0x2651B)
dl $700E0C //$175E0C
seekFile(0x26522)
dl $700E0E //$175E0E
seekFile(0x26556)
dl $700C20 //$175C20
seekFile(0x2655D)
dl $700C34 //$175C34
seekFile(0x26575)
dl $700D88 //$175D88
seekFile(0x2657C)
dl $700D88 //$175D88
seekFile(0x26594)
dl $700D88 //$175D88
seekFile(0x265C6)
dl $700C2A //$175C2A
seekFile(0x265D1)
dl $700C3E //$175C3E
seekFile(0x29051)
dl $700E14 //$175E14
seekFile(0x29072)
dl $700C3E //$175C3E
seekFile(0x29078)
dl $700C20 //$175C20
seekFile(0x29083)
dl $700C2A //$175C2A
seekFile(0x290A5)
dl $700C20 //$175C20
seekFile(0x290B9)
dl $700E0A //$175E0A
seekFile(0x290CB)
dl $700E14 //$175E14
seekFile(0x290DA)
dl $700E0A //$175E0A
seekFile(0x290F5)
dl $700E0C //$175E0C
seekFile(0x290F9)
dl $700E0E //$175E0E
seekFile(0x290FD)
dl $700E10 //$175E10
seekFile(0x29101)
dl $700E12 //$175E12
seekFile(0x2910B)
dl $700E0C //$175E0C
seekFile(0x29114)
dl $700E0E //$175E0E
seekFile(0x29123)
dl $700E10 //$175E10
seekFile(0x2912C)
dl $700E12 //$175E12
seekFile(0x2913A)
dl $700C28 //$175C28
seekFile(0x29166)
dl $700C20 //$175C20
seekFile(0x2916D)
dl $700C34 //$175C34
seekFile(0x29174)
dl $700DE2 //$175DE2
seekFile(0x2917B)
dl $700DE4 //$175DE4
seekFile(0x2917F)
dl $700DE6 //$175DE6
seekFile(0x29183)
dl $700DE8 //$175DE8
seekFile(0x2918A)
dl $700C2A //$175C2A
seekFile(0x29191)
dl $700E0C //$175E0C
seekFile(0x29198)
dl $700E0E //$175E0E
seekFile(0x291A1)
dl $700C20 //$175C20
seekFile(0x291A8)
dl $700C34 //$175C34
seekFile(0x291AF)
dl $700DE2 //$175DE2
seekFile(0x291B3)
dl $700DE4 //$175DE4
seekFile(0x291B7)
dl $700DE6 //$175DE6
seekFile(0x291BB)
dl $700DE8 //$175DE8
seekFile(0x291C2)
dl $700C2A //$175C2A
seekFile(0x291C9)
dl $700E10 //$175E10
seekFile(0x291D0)
dl $700E12 //$175E12
seekFile(0x291DF)
dl $700C3E //$175C3E
seekFile(0x7AA6A)
dl $700C48 //$175C48
seekFile(0x7AB5C)
dl $700C48 //$175C48
seekFile(0x7AB69)
dl $700C20 //$175C20
seekFile(0x7AB6E)
dl $700C2A //$175C2A
seekFile(0x7AB73)
dl $700C34 //$175C34
seekFile(0x7AB79)
dl $700DE2 //$175DE2
seekFile(0x7AB7E)
dl $700DE4 //$175DE4
seekFile(0x7AB83)
dl $700DE6 //$175DE6
seekFile(0x7AB88)
dl $700DE8 //$175DE8
seekFile(0x7AB9F)
dl $700C48 //$175C48
seekFile(0x7ABAE)
dl $700C20 //$175C20
seekFile(0x7ABB2)
dl $700C2A //$175C2A
seekFile(0x7ABB6)
dl $700C34 //$175C34
seekFile(0x7ABBD)
dl $700C3E //$175C3E
seekFile(0x7ABCE)
dl $700DE2 //$175DE2
seekFile(0x7ABEB)
dl $700E26 //$175E26
seekFile(0x7ABF0)
dl $700E80 //$175E80
seekFile(0x7ABF5)
dl $700EDA //$175EDA
seekFile(0x7ABFA)
dl $700F34 //$175F34
seekFile(0x7ABFF)
dl $700F8E //$175F8E
seekFile(0x7AC1A)
dl $700E26 //$175E26
seekFile(0x7AC21)
dl $700E80 //$175E80
seekFile(0x7AC25)
dl $700EDA //$175EDA
seekFile(0x7AC29)
dl $700F34 //$175F34
seekFile(0x7AC2D)
dl $700F8E //$175F8E
seekFile(0x7AC3E)
dl $700E14 //$175E14
seekFile(0x7AC5C)
dl $700F8E //$175F8E
seekFile(0x7AC6A)
dl $700E26 //$175E26
seekFile(0x7AC70)
dl $700E80 //$175E80
seekFile(0x7AC74)
dl $700EDA //$175EDA
seekFile(0x7AC78)
dl $700F34 //$175F34
seekFile(0x7AC7C)
dl $700F8E //$175F8E
seekFile(0x7AC99)
dl $700D88 //$175D88
seekFile(0x7ACC4)
dl $700C20 //$175C20
seekFile(0x7ACD7)
dl $700C20 //$175C20
seekFile(0x7ACDB)
dl $700C2A //$175C2A
seekFile(0x7ACDF)
dl $700C34 //$175C34
seekFile(0x7ACEA)
adc.w #$0C48
seekFile(0x7ACFD)
db $54,$70,$7e
seekFile(0x7AD12)
dl $700C3E //$175C3E
seekFile(0x7AD40)
dl $700C48 //$175C48
seekFile(0x7AEB4)
dl $700C20 //$175C20
seekFile(0x7AEC8)
dl $700DE2 //$175DE2
seekFile(0x7AF02)
dl $700DE2 //$175DE2
seekFile(0x7AFCB)
dl $700E0A //$175E0A
seekFile(0x7B03F)
dl $700E0A //$175E0A
seekFile(0x7B1C9)
dl $700F8E //$175F8E
seekFile(0x7B1D8)
dl $700E26 //$175E26
seekFile(0x7B1DF)
dl $700E80 //$175E80
seekFile(0x7B1E6)
dl $700EDA //$175EDA
seekFile(0x7B1ED)
dl $700F34 //$175F34
seekFile(0x7B1F7)
dl $700F8E //$175F8E
seekFile(0x7B4DD)
dl $700C20 //$175C20
seekFile(0x7B7B3)
dl $700C2A //$175C2A
seekFile(0x7B815)
dl $700C20 //$175C20
seekFile(0x7B81A)
dl $700C34 //$175C34
seekFile(0x7B921)
dl $700C20 //$175C20
seekFile(0x7BEF7)
dl $700F8E //$175F8E
seekFile(0x7BF16)
dl $700F8E //$175F8E
seekFile(0x7BF31)
dl $700EDA //$175EDA
seekFile(0x7BF43)
dl $700E26 //$175E26
seekFile(0x7BF55)
dl $700E80 //$175E80
seekFile(0x7BFD8)
dl $700C20 //$175C20
seekFile(0x7C0FD)
dl $700E0A //$175E0A
seekFile(0x7C12A)
dl $700E0A //$175E0A
seekFile(0x7C179)
dl $700E0A //$175E0A
seekFile(0x7C17E)
dl $700E0A //$175E0A
seekFile(0x7C1C9)
dl $700E0A //$175E0A
seekFile(0x7C1CE)
dl $700E0A //$175E0A
seekFile(0x7C1DA)
dl $700E0C //$175E0C
seekFile(0x7C1DE)
dl $700E0E //$175E0E
seekFile(0x7C1E2)
dl $700E10 //$175E10
seekFile(0x7C1E6)
dl $700E12 //$175E12
seekFile(0x7C2F1)
dl $700E0A //$175E0A
seekFile(0x7C330)
dl $700C2A //$175C2A
seekFile(0x7C337)
dl $700C34 //$175C34
seekFile(0x7C33E)
dl $700C20 //$175C20
seekFile(0x7C34F)
dl $700C2A //$175C2A
seekFile(0x7C367)
dl $700C20 //$175C20
seekFile(0x7C36E)
dl $700C34 //$175C34
seekFile(0x7C37A)
dl $700C20 //$175C20
seekFile(0x7C381)
dl $700C34 //$175C34
seekFile(0x7C3C3)
dl $700E26 //$175E26
seekFile(0x7C3CA)
dl $700E80 //$175E80
seekFile(0x7C3D4)
dl $700EDA //$175EDA
seekFile(0x7C3DB)
dl $700F34 //$175F34
seekFile(0x7C3E2)
dl $700F8E //$175F8E
seekFile(0x7C404)
dl $700E26 //$175E26
seekFile(0x7C40E)
dl $700E80 //$175E80
seekFile(0x7C415)
dl $700EDA //$175EDA
seekFile(0x7C41C)
dl $700F34 //$175F34
seekFile(0x7C423)
dl $700F8E //$175F8E
seekFile(0x7C43D)
dl $700E14 //$175E14
seekFile(0x7C500)
dl $700C2A //$175C2A
seekFile(0x7C525)
dl $700E26 //$175E26
seekFile(0x7C52C)
dl $700E80 //$175E80
seekFile(0x7C536)
dl $700EDA //$175EDA
seekFile(0x7C53D)
dl $700F34 //$175F34
seekFile(0x7C544)
dl $700F8E //$175F8E
seekFile(0x7C566)
dl $700E26 //$175E26
seekFile(0x7C570)
dl $700E80 //$175E80
seekFile(0x7C577)
dl $700EDA //$175EDA
seekFile(0x7C57E)
dl $700F34 //$175F34
seekFile(0x7C585)
dl $700F8E //$175F8E
seekFile(0x7C59F)
dl $700E14 //$175E14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.