Previous Page | Next Page

by kingshriek at 5:27 PM EST on December 19, 2007
>>I did byte search the iso and it's contents for
>>'.exb' didn't found anything, so yea, I'm pretty
>>sure it's not there.

Yeah, that's a pretty good sign that they aren't. Just wanted to make sure of things, that's all.

>>I've tried doing the '68000ram.bin' addition, but
>>the script crashes at bank #2 with 'failed to
>>write sequence data' error.

Yeah, that error shouldn't be happening. It is because there's a bug in the script. I have fixed it and uploaded it to the page.

>>Just look for yourself:
>>www.snesmusic.org/hoot/MAP000.SNF

That's actually nicely organized, thanks to the header with offset/size information and what kind of data it is (reminds me of the Dreamcast's MLT files somewhat). In these cases where I can get the necessary extraction info from the file itself, I tend to use that than rely on general tools such as seqext and tonext.

Based on that file, I put together an extractor script. I've also written up an example ssfmake.py to work with it so you can see how to deal with multiple tone banks (it's kludgey, but it works). Hopefully it will answer your questions (scroll down to the bottom of the ssfmake.py file to see the scripting).

http://snesmusic.org/hoot/kingshriek/other/albert_ext.zip

Also, if you are using ssfmake.py, you don't need to manually set the transfer bits. The script will do that for you.
by unknownfile at 5:56 PM EST on December 19, 2007
I now have Phoenix Wright sitting here doing nothing but playing music. Great success!

Also, the subroutine that plays music. Set r1 to something to play a sound code.

ROM:02060BB8 PlaySound ; CODE XREF: sub_20254E4+44p
ROM:02060BB8 ; sub_2025874+10p ...
ROM:02060BB8
ROM:02060BB8 var_18 = -0x18
ROM:02060BB8 var_14 = -0x14
ROM:02060BB8
ROM:02060BB8 STMFD SP!, {R4,R5,LR}
ROM:02060BBC SUB SP, SP, #0xC
ROM:02060BC0 MOV R4, R1
ROM:02060BC4 MOV R5, R0
ROM:02060BC8 MOV R0, R4
ROM:02060BCC BL sub_205F8D8
ROM:02060BD0 CMP R0, #0
ROM:02060BD4 ADDEQ SP, SP, #0xC
ROM:02060BD8 MOVEQ R0, #0
ROM:02060BDC LDMEQFD SP!, {R4,R5,LR}
ROM:02060BE0 BXEQ LR
ROM:02060BE4 STR R0, [SP,#0x18+var_18]
ROM:02060BE8 STR R4, [SP,#0x18+var_14]
ROM:02060BEC LDRB R1, [R0,#9]
ROM:02060BF0 LDRH R2, [R0,#4]
ROM:02060BF4 LDRB R3, [R0,#8]
ROM:02060BF8 MOV R0, R5


edited 5:58 PM EST December 19, 2007
by marioman at 9:30 PM EST on December 19, 2007
Congratulations! When you get done with Phoenix Wright are you going to stick with Capcom games and rip Mega Man ZX/Mega Man ZX Advent?
by unknownfile at 9:37 PM EST on December 19, 2007
As soon as it's running in a music player, of course.

And besides, I can just as well plop in another SDAT file and have the Phoenix Wright code play it although I'm sure there'll be incompatibilities at some point.

Also, load this savestate into a generic copy of Desmume to hear the objection music (or whatever's assigned to sound code 4 in the sdat). You'll need the US version to get it to work.

I'm expecting older computers to crumble to pieces with the requirements for the player, so get upgrading, you lazy bastards.

edited 9:47 PM EST December 19, 2007
by marioman at 10:05 PM EST on December 19, 2007
Isn't that Microsoft's motto? :P
by unknownfile at 10:12 PM EST on December 19, 2007
perhaps it is

I have now dropped off the face of the internets, and will stay away for either two weeks or forever depending on how the flight goes.

edited 11:01 PM EST December 19, 2007
by Knurek at 11:37 AM EST on December 20, 2007
>>That's actually nicely organized, thanks to the
>>header with offset/size information and what
>>kind of data it is (reminds me of the
>>Dreamcast's MLT files somewhat).

Thanks, that shortened the rip process immensely.
Gonna encode the CDDA tracks as well and put it on Sendspace (feel free to strip those when hosting on the site).

Here are the files: http://www.sendspace.com/file/llpczt

Speaking of Dreamcast, a friend of mine has Sakura Taisen 4 (done by Overworks, so there's a chance it uses sequenced music as well). He says there are no MLT files readily available, would you be interested in tackling the game? I can up the ISO or select files someplace.

Also, one other thing. I've noticed that the some of the Albert Odyssey SEQs have subsongs ('sequence data contains x tracks'). Is this something I should be aware of when ripping music? Didn't see that message pop up with former rips, but those were non psflibs...

edited 2:10 PM EST December 20, 2007
by kingshriek at 6:42 PM EST on December 20, 2007
>>Speaking of Dreamcast, a friend of mine has Sakura
>>Taisen 4 (done by Overworks, so there's a chance
>>it uses sequenced music as well). He says there
>>are no MLT files readily available, would you be
>>interested in tackling the game? I can up the ISO
>>or select files someplace.

I wouldn't mind taking a look at it. Hopefully there are MLT files buried in there somewhere in an uncompressed form. MLT files will begin with the string "SMLT" with other strings such as "SMSB", "SMPB", etc. afterwards in 32 byte intervals.

>>Also, one other thing. I've noticed that the
>>some of the Albert Odyssey SEQs have subsongs
>>('sequence data contains x tracks'). Is this
>>something I should be aware of when ripping
>>music? Didn't see that message pop up with
>>former rips, but those were non psflibs...

Yes, it is something you should be aware of. ssfmake will rip all the tracks present in the sequence data in .minissf form if the output filename ends in .ssflib. Otherwise, for a plain .ssf, the track parameter in the script will select which track to be played. The Sega Saturn SEQ format is really a sequence container format and can contain anywhere from 1 to hundreds of tracks.

edited 6:43 PM EST December 20, 2007
by anewuser at 12:02 PM EST on December 21, 2007
@Knurek: Now if only some place had Japanese Saturn games available (certain hustling site has full American set, but most of the stuff there is streamed)...

underground-gamer? got invites if you need them.
by Knurek at 2:50 PM EST on December 21, 2007
Well, I've been banned there two times already. The place hates my ISP (I can download fine, uploading for ratio isn't possible).

Still, thanks for the thought.

// Edit

Kingshriek, the Albert Odyssey link is dead. :)

Also, one other thing. Would you consider writing an automated PSF timer as well (for the sets using the standard driver?). SEQ/VAB and CSL is rather well documented. There's PGConv (http://www.tukinami.com/) that can conver them to MIDI, but that doesn't help with more than one loop.

Would be pretty nice, there are over 150 untimed sets (mostly using standard drivers) which got close to no chance of seeing the timing data.
And the existing timed sets do need a recheck from time to time as well.

edited 3:43 AM EST December 22, 2007

Previous Page | Next Page
Go to Page 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220

Search this thread

Show all threads

Reply to this thread:

User Name Tags:

bold: [b]bold[/b]
italics: [i]italics[/i]
emphasis: [em]emphasis[/em]
underline: [u]underline[/u]
small: [small]small[/small]
Link: [url=http://www.google.com]Link[/url]

[img=https://www.hcs64.com/images/mm1.png]
Password
Subject
Message

HCS Forum Index
Halley's Comet Software
forum source