PCM's for a possible future Super Star Wars patch
Page 1 of 1
PCM's for a possible future Super Star Wars patch
In case anyone is interested in doing a patch for the Super Star Wars games in the future, here are some PCM's for the first game in the series to test with. I can provide ESB and RotJ versions should they be necessary.
https://1drv.ms/u/s!Ahue7izQZmouiwGw_tRvoCVhZExS
The LucasArts intro is missing for obvious reasons, but it's possible to create something Star Wars-esque to replace it. There is also no death PCM. Everything else is present.
https://1drv.ms/u/s!Ahue7izQZmouiwGw_tRvoCVhZExS
The LucasArts intro is missing for obvious reasons, but it's possible to create something Star Wars-esque to replace it. There is also no death PCM. Everything else is present.
Relikk- Since : 2017-02-17
Re: PCM's for a possible future Super Star Wars patch
That's definitely one of the needed titles. I remember I stole... errr... ported the intro mode7 code for Conker Highrule Tail.
However, I'm rather burnout at the moment after helping K on the 7 games he recently requested and SB... and it is a Trilogy (3 games) - ok, shouldn't differ much, as soon you cracked one. I hope Pev (he seems to just finish Valkyrie), K, or DS will take on this
However, I'm rather burnout at the moment after helping K on the 7 games he recently requested and SB... and it is a Trilogy (3 games) - ok, shouldn't differ much, as soon you cracked one. I hope Pev (he seems to just finish Valkyrie), K, or DS will take on this
Conn- Since : 2013-06-30
Re: PCM's for a possible future Super Star Wars patch
Ok, couldn't resist and sent you a patch for SSW1 per mail
Conn- Since : 2013-06-30
Re: PCM's for a possible future Super Star Wars patch
Conn im doing indiana jones trilogy.. but it has a lot shared ..tracks. plus repeating music from all,movies in almost all stages is dope.. i rather hack it on Ram same way,u did with pitfall and knock it out with different themes on,all,stages.. i wait to,weeks for this.. im gaving up the mask,anyways.. maybe u,can help soon.. thanks Conn
kurrono- Since : 2015-03-22
Re: PCM's for a possible future Super Star Wars patch
Maybe in a possible future. I felt owing Relikk a favour for making all the MK themes.Conn im doing indiana jones trilogy.. but it has a lot shared ..tracks. plus repeating music from all,movies in almost all stages is dope.. i rather hack it on Ram same way,u did with pitfall and knock it out with different themes on,all,stages.. i wait to,weeks for this.. im gaving up the mask,anyways.. maybe u,can help soon.. thanks Conn
I'll look if I can find a ram address for Indiana Jones, but you are skilled enough doing the rest on your own
Edit: difficult...
the stages are easy, it 7e003f. But this value doesn't change with the map and cutscreens. So here you must find something else to differl.
Then you need to check whether you are in a cutscreen or a level, this can happen with 7e0006 (01 in level / 00 in cutscreen).
But now you still need to check whether in a cutscreen or on map.
Last edited by Conn on Tue 10 Apr 2018 - 9:58; edited 1 time in total
Conn- Since : 2013-06-30
Re: PCM's for a possible future Super Star Wars patch
@Conn, Kurrono Can we use a NMI and set a flag to keep track on how many times a track is played and use that to help play an alternate track for IJGW? For example, if stage 1 and 3 share the same track, when stage 1 plays (set a flag that stage 1 played already), then when stage 3 comes along (check if stage 1 played, if so, play alternate track). Something, like that.
I encountered something similar in Mickey Mania (wanted to implement the missing audio not found in the SNES version). My problem is finding the write place to hook from for a NMI.
I encountered something similar in Mickey Mania (wanted to implement the missing audio not found in the SNES version). My problem is finding the write place to hook from for a NMI.
pev- Since : 2017-10-16
Re: PCM's for a possible future Super Star Wars patch
The stages can easily be differed by 7e003f - this goes rather linear (00-start, 01-boulder following you, 02- icy, 03-burning house, etc).
The problem is the cutscreens: these can be differed from a level with 7e0006: 01-level, 00-not level.
So far so good, you can play all different themes checking these values.
But: the map has again a different theme than the cutscreen, so I'd not know yet how to differ here.
I'd not implement a nmi hook this doesn't seem necessary. But your idea tracking the theme played it rather good: What you could do is implementing a free ram (e.g., $7EFFF0) and save a flag here to signal you already heard the cutscreen music.
Like you finished boulder level (theme 01), then you play the track 11 (clc - adc #$0A to the value at $3f if $06 is 00). Then when the next track change occurs (you are on the world map, check if your free ram is $01 (so you are hearing the cutscreen music), and if yes, add further $14 so it plays track 21 at the world map. It's confusing and difficult but for now I can't come up with a better solution for now
So, a pseudocode at music change
LDA $7e0006; check if not on map
CMP #$01
BEQ playLevel
; here we go if 7e0006 is 00 (cutscreen or map
LDA $7EFFF0
CMP #$01 ; did we already see a cutscreen
BEQ playMap
; here we go if we are in the first music change after a level, like cutscreen
LDA $7e003f ; load level
CLC
ADC #$0a ; add value 10
STA $2004 ; play theme for cutscreen
LDA #$01
STA $7efff0 ; set flag to mark we already saw a cutscreen and now viewing the map
RTL
playLevel:
LDA $7e003f
STA $2004
LDA #$00
STA $7EFFF0 ; erase free ram flag
RTL
playMap:
LDA $7e003f
CLC
ADC #$14; (add value 20)
STA $2004
LDA #$00
STA $7EFFF0 ; erase free ram flag
RTL
The problem is the cutscreens: these can be differed from a level with 7e0006: 01-level, 00-not level.
So far so good, you can play all different themes checking these values.
But: the map has again a different theme than the cutscreen, so I'd not know yet how to differ here.
I'd not implement a nmi hook this doesn't seem necessary. But your idea tracking the theme played it rather good: What you could do is implementing a free ram (e.g., $7EFFF0) and save a flag here to signal you already heard the cutscreen music.
Like you finished boulder level (theme 01), then you play the track 11 (clc - adc #$0A to the value at $3f if $06 is 00). Then when the next track change occurs (you are on the world map, check if your free ram is $01 (so you are hearing the cutscreen music), and if yes, add further $14 so it plays track 21 at the world map. It's confusing and difficult but for now I can't come up with a better solution for now
So, a pseudocode at music change
LDA $7e0006; check if not on map
CMP #$01
BEQ playLevel
; here we go if 7e0006 is 00 (cutscreen or map
LDA $7EFFF0
CMP #$01 ; did we already see a cutscreen
BEQ playMap
; here we go if we are in the first music change after a level, like cutscreen
LDA $7e003f ; load level
CLC
ADC #$0a ; add value 10
STA $2004 ; play theme for cutscreen
LDA #$01
STA $7efff0 ; set flag to mark we already saw a cutscreen and now viewing the map
RTL
playLevel:
LDA $7e003f
STA $2004
LDA #$00
STA $7EFFF0 ; erase free ram flag
RTL
playMap:
LDA $7e003f
CLC
ADC #$14; (add value 20)
STA $2004
LDA #$00
STA $7EFFF0 ; erase free ram flag
RTL
Conn- Since : 2013-06-30
Re: PCM's for a possible future Super Star Wars patch
Awesome guys. I love u for this im,buying my new sd2snes on thursday just got. Chhange the check..and ..put it on that momentum card and buy,it at krikkz.com revision H
kurrono- Since : 2015-03-22
Re: PCM's for a possible future Super Star Wars patch
In the map i,will keep it with one song for all of them..
The stages.. and cutscnes with different themes
The stages.. and cutscnes with different themes
kurrono- Since : 2015-03-22
Re: PCM's for a possible future Super Star Wars patch
This is in any case adiceable...
simply check for
7e0006 first, if 00 play cutscreen theme (you could also play different cutscreen music in dependence of the level (7e003f)
7e0006, if 01 simply store the value at 7e003f to 2004
LDA $7e0006
cmp $00
BEQ cutscreen
LDA $7e003f ; load stage
STA $2004
(don't forget the rest, 2007, 2005 bit 2000 bvs loop)
RTL
cutscreen:
LDA $7e003f ; load level to play different cutscreens
CLC ; clear carry
ADC #$14 ; add value 20 to the stage index
STA $2004
(don't forget the rest, 2007, 2005 bit 2000 bvs loop)
RTL
With this technique, themes 00-19 are stage themes, 20-xx are cutscreen themes, unique to ech level.
BTW: You may encounter a problem which is none, Title screen music and Level 1 music can't be differ this way (7e003f is 00 in both cases), but you are lucky, both have 7e0006-01 when introduced... AND: both L1 music and title screen music is the same - no conflicts here!
simply check for
7e0006 first, if 00 play cutscreen theme (you could also play different cutscreen music in dependence of the level (7e003f)
7e0006, if 01 simply store the value at 7e003f to 2004
LDA $7e0006
cmp $00
BEQ cutscreen
LDA $7e003f ; load stage
STA $2004
(don't forget the rest, 2007, 2005 bit 2000 bvs loop)
RTL
cutscreen:
LDA $7e003f ; load level to play different cutscreens
CLC ; clear carry
ADC #$14 ; add value 20 to the stage index
STA $2004
(don't forget the rest, 2007, 2005 bit 2000 bvs loop)
RTL
With this technique, themes 00-19 are stage themes, 20-xx are cutscreen themes, unique to ech level.
BTW: You may encounter a problem which is none, Title screen music and Level 1 music can't be differ this way (7e003f is 00 in both cases), but you are lucky, both have 7e0006-01 when introduced... AND: both L1 music and title screen music is the same - no conflicts here!
Conn- Since : 2013-06-30
Re: PCM's for a possible future Super Star Wars patch
Thanks ,conn ..tonight i will work on that in full..
kurrono- Since : 2015-03-22
Re: PCM's for a possible future Super Star Wars patch
But Conn the .. A6A4A6.. should. Keep that hookup like i did on pitfall?
kurrono- Since : 2015-03-22
Re: PCM's for a possible future Super Star Wars patch
No idea where you hooked or what you're brewing together. That is just how I'd code it, a concept... I'm also out now and can't check anything.
Conn- Since : 2013-06-30
Similar topics
» Super Star Wars Trilogy
» Super Star Wars-Jedi Remaster
» star fox alternate pcms
» Replace intro with an epic Star Wars like mode7 effect
» Super Mario World MSU-1 patch not working on 2 player mode.
» Super Star Wars-Jedi Remaster
» star fox alternate pcms
» Replace intro with an epic Star Wars like mode7 effect
» Super Mario World MSU-1 patch not working on 2 player mode.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum