Darius Twin

Page 2 of 2 Previous  1, 2

Go down

20180110

Post 

Darius Twin - Page 2 Empty Darius Twin






Credit goes to Conn's noble and surprisingly quick patches to this game. As of this moment, I consider this game done. Hopefully, no other bugs will present themselves.

MSU1 Patch v1.3 (PepilloPEV/Conn):
* all relevant and missing msu music accounted for! Thanks Conn.
Code:
https://mega.nz/file/lqA3mCzb#_dp7NhJXYzJqWTEVFZiDLFo93m5iBgoR12IbHbzO64s

PCM 'Darius Burst' set ver3 (PepilloPEV):
* added all supported PCMs leading up to Conn's latest patch fix @ v1.2
* cleaned some PCMs and found better loop points on others
Code:
https://app.box.com/s/wzxh9sfoivv2sm3e9jjgfqhj34pg9a2r


Last edited by pepillopev on Mon 25 May 2020 - 18:45; edited 25 times in total
avatar
pev

Darius Twin - Page 2 Image211

Since : 2017-10-16

Back to top Go down

Share this post on: redditgoogle

Darius Twin :: Comments

Conn

Post Thu 25 Jan 2018 - 22:28 by Conn

Japp, and a complete description what is needed. But I can also play there by unlimited life cheat and fast forward

Back to top Go down

avatar

Post Fri 26 Jan 2018 - 12:42 by pev

Your last fix pretty much put this game in the finished category. Well done.

Sent from Topic'it App

Back to top Go down

Conn

Post Fri 26 Jan 2018 - 13:46 by Conn

I just checked your new pcm set:
PCM 'Darius Burst' set ver3 (PepilloPEV):

Unfortunately track 107 is missing in this set, means the normal bosses should be muted

Back to top Go down

avatar

Post Fri 26 Jan 2018 - 14:01 by pev

I'll fix when I get a chance. I'm not at home at the moment

Sent from Topic'it App

Back to top Go down

avatar

Post Fri 26 Jan 2018 - 23:21 by pev

Conn wrote:Unfortunately track 107 is missing in this set, means the normal bosses should be muted

Taken care off. The missing track is now part of ver3 (as it was originally intended).

Very Happy

Back to top Go down

Shadowrun

Post Thu 8 Mar 2018 - 6:44 by Shadowrun

Really nice !
thanks ! Very Happy

Back to top Go down

avatar

Post Fri 25 Mar 2022 - 14:12 by *ka

On sd2snes sometimes the opening song and title screen don't play. The music of the level bosses does not play. When I got to the 4th stage the music didn't play.
Does anyone know what the problem could be?

Back to top Go down

Shadowrun

Post Fri 25 Mar 2022 - 14:44 by Shadowrun

It's important to know if you use the last firmware for your sd2snes ??
If it's the last firmware (beta for now more than 6 months.. yeah the programmer isn't very active..) , try to revert to the previous firmware.

Back to top Go down

avatar

Post Fri 25 Mar 2022 - 14:58 by *ka

Shadowrun wrote:It's important to know if you use the last firmware for your sd2snes ??
If it's the last firmware (beta for now more than 6 months.. yeah the programmer isn't very active..) , try to revert to the previous firmware.

I tested with firmware 1.10.3 and with beta 1.11.0b1. With both FW the result was the same.

Back to top Go down

Conn

Post Fri 25 Mar 2022 - 16:47 by Conn

Pepillopev (the author) is very precise when it comes to real hardware testing, so the problem is probably on your side. I still have no sd2snes myself but usually relikk knows advice how to tinker the adjustment...?

Back to top Go down

Relikk

Post Fri 25 Mar 2022 - 17:41 by Relikk

I've never tested it on SD2SNES, but I presume that Conn is referring to the "in-game hooks" options and that they should be turned off (if they aren't already).

Back to top Go down

avatar

Post Fri 25 Mar 2022 - 19:06 by *ka

I tested with hooks disabled and the problem persisted. Tested with 2 different micro sd cards. On snes9x it worked perfectly, but on sd2snes pro it didn't work properly.

Back to top Go down

avatar

Post Fri 25 Mar 2022 - 19:22 by pev

@Conn Running a quick test, I was able to reproduce the no music on intro problem on my Sd2SnesPro by just pressing the reset button or leaving the game running on its own for a few minutes. Also, noticed the music does not always play in demo mode, most of the time. One of the demo stages does not play music but the rest play fine. So there is something going on. Unfortunately, I just do not have the time to troubleshoot this and find the cause.

If it is working on snes9x w/o issue but not on FxPak/Sd2snes; my suspicion points to 'msu status ready' code not properly implemented on my end. I would have to hunt the source code down. I recently redid my PC after a massive hard drive crash. I have backups; just have to sort through my crap to find it.

Back to top Go down

Conn

Post Sat 26 Mar 2022 - 3:41 by Conn

@pev
Oh l see. There's a ASM file inside the patch folder, maybe this helps, so you don't have to find it on your hdd?

Back to top Go down

avatar

Post Sat 26 Mar 2022 - 12:26 by pev

Conn wrote:@pev
Oh l see. There's a ASM file inside the patch folder, maybe this helps, so you don't have to find it on your hdd?
Thanks Conn. I must have overlooked it. I will look into it as time allows. Right now work is a PITA. Don't have much time anymore like before. Worked picked up a lot after Covid restrictions were removed in my area.

Back to top Go down

Conn

Post Sat 26 Mar 2022 - 14:17 by Conn

I'm on vacation right now, even abroad after 2 years covid. On a short glimpse (only viewing the asm)

The problem should be very easily fixable:
Code:
   STA $002004 ; need to be $002004, will not work right if just $2004
   PHA
   LDA #$00
   STA $002005 ; need to be $002005, will not work right if just $2005, there is no STZ $002005
   STA $002006 ; need to be $002006, will not work right if just $2006, there is no STZ $002006
   PLA
loopTitle:
   BIT $2000
   BVS loopTitle ; track not ready
You notice that we have long addressing ($002004, instead $2004), so also the loop title (bit $2000) must be adjusted to long (this also explains why it sometimes works and sometimes not.
So:
Code:
loopTitle:
lda $002000
AND #$40
BNE loopTitle
should fix the problem. Let me know if you want to try that yourself and have the time to update or whether I shall take care of (it's 10 minutes imo) Wink

Back to top Go down

avatar

Post Sat 26 Mar 2022 - 15:33 by pev

@Conn Ok, revising the 'msu status ready' check with correct long addressing helped some. There is still issues with mute 'intro' after one specific demo stage plays on FxPak/Sd2Snes.

Last edited by pepillopev on Sat 26 Mar 2022 - 15:40; edited 1 time in total

Back to top Go down

avatar

Post Sat 26 Mar 2022 - 15:39 by pev

@*ka I saw your post on Discord asking others to chime in for the Darius issue. Try this patch and let me know how this works on your sd2snes.

https://1drv.ms/u/s!AgP3JzxSpofUgVhXVc2nKHKWYuNK?e=VdoHYZ

Back to top Go down

avatar

Post Sat 26 Mar 2022 - 15:57 by pev

@Conn Only other thing I can think of is the NMI mute timing. I recall this game, a NMI was used to mute the APU after it init. I wonder if it APU init phase is not given enough time for msu to play on intro.

Back to top Go down

avatar

Post Sat 26 Mar 2022 - 17:19 by *ka

pepillopev wrote:@*ka I saw your post on Discord asking others to chime in for the Darius issue. Try this patch and let me know how this works on your sd2snes.

https://1drv.ms/u/s!AgP3JzxSpofUgVhXVc2nKHKWYuNK?e=VdoHYZ

I tested the patch. Stage boss music now plays normally. The music of the stages and title screen sometimes doesn't play, it's random. The first stage was without the FX sounds.
I recorded two videos showing how it ran here.



Back to top Go down

Conn

Post Sat 26 Mar 2022 - 17:49 by Conn

At least some progress Smile I do not know how to help further since I cannot test on sd2snes (have none) and if the bug doesn't occur on emulator I cannot trace it Sad
nmi as pev suggested might be the reason, but I cannot, as said, test it...

Back to top Go down

Conn

Post Sun 27 Mar 2022 - 11:53 by Conn

I may have an idea:
Code:
$0F/FB2E 48          PHA                     A:8000
$0F/FB2F A9 00 00    LDA #$0000              A:8000 
$0F/FB32 8F 07 20 00 STA $002007[$00:2007]   A:0000
$0F/FB36 AF C2 01 00 LDA $0001C2[$00:01C2]   A:0000
$0F/FB3A 22 C1 FB 0F JSL $0FFBC1[$0F:FBC1]   A:0001


$0F/FBC1 8F 07 20 00 STA $002007[$00:2007]   A:0001
$0F/FBC5 6B          RTL                     A:0001
What's happening here is that $2007 gets muted and then written again some ops later. This does not work in sd2snes.
Please check attached patch, I nopped it out
Attachments
Darius Twin - Page 2 Attachment
try_dt.zip You don't have permission to download attachments.(3 Kb) Downloaded 4 times

Back to top Go down

avatar

Post Sun 27 Mar 2022 - 12:57 by pev

Conn wrote:Please check attached patch, I nopped it out
Ok, looks like you nailed it Mr Conn. So far, no random muted intro or demo game play on my sd2snes.

Back to top Go down

avatar

Post Sun 27 Mar 2022 - 15:02 by *ka

Conn wrote:I may have an idea:
Code:
$0F/FB2E 48          PHA                     A:8000
$0F/FB2F A9 00 00    LDA #$0000              A:8000  
$0F/FB32 8F 07 20 00 STA $002007[$00:2007]   A:0000
$0F/FB36 AF C2 01 00 LDA $0001C2[$00:01C2]   A:0000
$0F/FB3A 22 C1 FB 0F JSL $0FFBC1[$0F:FBC1]   A:0001


$0F/FBC1 8F 07 20 00 STA $002007[$00:2007]   A:0001
$0F/FBC5 6B          RTL                     A:0001
What's happening here is that $2007 gets muted and then written again some ops later. This does not work in sd2snes.
Please check attached patch, I nopped it out

I played around a bit and now it's working perfectly on sd2snes pro.
Thank you very much.

Back to top Go down

Conn

Post Sun 27 Mar 2022 - 16:55 by Conn

Nice - RH is also only guessing to me Very Happy
I renewed the patch to 1.3 in OP. Now back into retirement Razz

Back to top Go down

Page 2 of 2 Previous  1, 2

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum