Previous Thread
Next Thread
Print Thread
Page 36 of 55 1 2 34 35 36 37 38 54 55
Joined: Mar 2001
Posts: 16,787
Likes: 32
R
Very Senior Member
OP Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,787
Likes: 32
The same song keys on something up in the 0x7fxxxx range, so masking is definitely not happening. Or at least it's not in the AICA anyway.

ETA: Found it. The AM2 driver requires that unused words in the AICA address space return 0x0000. Anything else makes it screw up an address calculation.

Last edited by R. Belmont; 11/03/08 02:33 AM.
Joined: Mar 2001
Posts: 16,787
Likes: 32
R
Very Senior Member
OP Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,787
Likes: 32
1.4.6 with that fix is now up. It should play all the current rips decently. Applying similar fixes to MAME made Toy Fighter sound a lot better (it's DTPK too - I'd rip it myself if I knew where to get the driver image that the ripper wants).

Last edited by R. Belmont; 11/03/08 03:00 AM.
Joined: Nov 2003
Posts: 459
K
Senior Member
Offline
Senior Member
K
Joined: Nov 2003
Posts: 459
RB, search for AM2/AICA, go *back* 0x20 bytes from beginning of the string and extract 0xf000 bytes or up to the 0x00 bytes end (it's usually smaller than that, co can 0xf000 can overflow into DTPK data). That should be the driver.

toyfight one:

bcut mpr-22033.ic9 aicadrv.bin 0x558f00 0xd000

Last edited by Knurek; 11/03/08 06:40 AM. Reason: clarified things a bit
Joined: Sep 2007
Posts: 56
K
Member
Offline
Member
K
Joined: Sep 2007
Posts: 56
Or you can grab am2drvext.py that I just put up on my site which basically does just that (although I extract 0x10000 bytes just to be on the safe side).

EDIT: Actually, it seems that the size of the driver is specified at 0x54 - no need to guess.

Joined: Mar 2001
Posts: 16,787
Likes: 32
R
Very Senior Member
OP Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,787
Likes: 32
Perfect, that made a working rip the first try smile Does dsftime work with DTPK tracks? I get this error (using Python 2.5.1 on Linux, which works with all your other stuff fine):

Code:
Traceback (most recent call last):
  File "../dsftime.py", line 296, in <module>
    dsftime(ndsf)
  File "../dsftime.py", line 239, in dsftime
    trackdata = gettrack(dsfbin)
  File "../dsftime.py", line 83, in gettrack
    offseq = unpack('<I',areamap[0x8*bank:0x8*bank+4])[0]
UnboundLocalError: local variable 'bank' referenced before assignment

Joined: Nov 2003
Posts: 459
K
Senior Member
Offline
Senior Member
K
Joined: Nov 2003
Posts: 459
dsftime.py handles only manatee.drv files (since it's keyed to interpret MSB files, not monitor read/writes on emulated memory, like other autotimers do), hence why all my DTPK rips are untimed too.

Joined: Mar 2001
Posts: 16,787
Likes: 32
R
Very Senior Member
OP Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,787
Likes: 32
My Toy Fighter rip is now posted. I don't know if the plugin's been updated to 1.4.6 spec yet, but it should work fine once it has been. I also was able to rip a bunch of sound effects from the Naomi BIOS, some of which aren't playing in AOSDK for some reason. I'll investigate smile

Joined: Nov 2003
Posts: 459
K
Senior Member
Offline
Senior Member
K
Joined: Nov 2003
Posts: 459
Three new rips for today:

Dead or Alive 2 (Naomi)(1999)(Tecmo)
Sega Marine Fishing (Naomi)(1999)(Sega)
Virtua Fighter 4 (Naomi 2)(2001)(Sega)

I've also mirrored RB's Toy Fighter rip.

http://dsf.hcs64.com

Haven't checked any of those with AOSDK (been using Deunan's player for testing, since the plugins aren't updated yet).

Incidently, RB, if you want to add streamed Naomi sets to M1 (like the MP3 Model 3 ones), here's the relevant info.

ADX (lotsa rippers for this one, so you should be able to find the file offsets/player easily):

Melty Blood - Act Cadenza (take note, one ADX file is muxed into SFD stream)
Musapey no Choco Marker
Senko no Ronde

AM2 SPSD stream container:

Capcom Vs. SNK - Millennium Fight 2000 Pro
Capcom Vs. SNK 2 - Millionaire Fighting 2001
Guilty Gear XX #Reload (has one additional music more than normal XX)
Mobile Suit Gundam - Federation Vs. Zeon DX (didn't try the normal version, but I imagine it doesn't have more music than this one).

How to rip/play SPSD files:

SPSD magic at offset 0x00, 0x40 bytes of header, then Yamaha ADPCM data (all files I've seen have 2 channels with 0x2000 interleave).
Offset 0x0c in header stores # of samples in the file (DWORD, LE). Add header size to that and you have full SPSD filesize.
Offset 0x2a in header stores stream frequency (WORD, LE).

SPSD files are playable by a fairly recent VGMStream compile (say, from yesterday).

Joined: Mar 2001
Posts: 16,787
Likes: 32
R
Very Senior Member
OP Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,787
Likes: 32
VF4's songs are built entirely out of loops (more like a MOD than normal sequencing) and it looks like the timer's a little slow in AOSDK because they don't quite match up. I'll massage it ;-) DOA2 and Marine Fishing sound fine.

ETA: fixed it, VF4's now seamless. I should've followed SCSP more closely on this one, it had it right ;-)

Last edited by R. Belmont; 11/04/08 01:18 AM.
Joined: Mar 2001
Posts: 16,787
Likes: 32
R
Very Senior Member
OP Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,787
Likes: 32
AOSDK 1.4.7 is posted with the tempo fixed so VF4 plays properly.

Page 36 of 55 1 2 34 35 36 37 38 54 55

Moderated by  R. Belmont, Richard Bannister 

Link Copied to Clipboard
Who's Online Now
3 members (MrBogi, ssj, 1 invisible), 20 guests, and 3 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,960
Posts117,760
Members4,994
Most Online890
Jan 17th, 2020
Forum Host
These forums are hosted by www.retrogamesformac.com
Forum hosted by www.retrogamesformac.com