Previous Page | Next Page

by Nisto at 10:01 AM EDT on April 15, 2015
@dj4uk6cjm: does it not have any other files (besides the .samp files)? Because if it's MusyX (or Nintendo DSP data even), there has to be a "companion file" containing coefficients, offsets and sizes for the sample(s) in the respective .samp file. I can try to have a look at the files, but I don't have that game at hand.

EDIT: never mind, noticed you uploaded the companion files. Will have a look at it.

EDIT 2: I tried it and it works fine. Are you doing it correctly? You need to pass a folder which contains the .sdir and .samp files as the first argument, and 0 as the format type. E.g. like so:

php MusyXExtract.php "C:\some_dir" 0

The extracted samples should then end up in sub-folders within C:\some_dir\samples


@Reis: MusyX uses standard Nintendo DSP, so you'll need the right coefficients to properly decode the audio in the .samp files.

Without further ado, here is an extractor for Harvest Moon's archives (.arc). You will need to have Python installed (it's easy to install these days if you don't already have it). With a standard Python installation, you should be able to simply drop the .arc files onto the script.

The extractor will spit out .sdir, .song, .proj and .pool files, which are some additional MusyX file formats (in addition to .samp, that is). To extract the samples, you'll need PHP (yes, sorry, another interpreter) to run my sample extractor, which you can get in this thread. I don't really have the time to go through usage instructions for it, but just read through some of my posts there if you get lost. Good luck.

edited 4:02 PM EDT April 15, 2015
by dj4uk6cjm at 11:36 AM EDT on April 15, 2015
Thanks but I never could get it to work right on my end, typed and pasted it in the command exactly like you did and no dice. Maybe it's the php version I'm using? 5.6.7 am I supposed to have the MusyX script in the same windows binary folder and hold shift, right click and open the cmd window folder wise or run the php.exe command window? Also do you know if the game uses sequences by any chance with your analysis of the files? Most if not all gamecube games that use samples like Super Mario Sunshine and Luigi's Mansion will have sequences.
by Nisto at 12:09 PM EDT on April 15, 2015
Here is how I do it, and it works fine on XP with PHP 5.4.13 and the root of the PHP binaries added to the PATH variable (via the Environment Variables dialogue in Windows):

1: Windows-key + R
2: cmd
3: php "C:\path\to\script.php" "C:\path\to\dir\of\musyx\files" 0

If you do it the same way, are you getting any error messages or anything? If so, what? I will gladly help you, but I need more info. If you haven't added PHP to your PATH environment variable, have you tried calling PHP with the full path to the binary? E.g. C:\php\php.exe C:\path\to\script.php C:\path\to\dir\of\musyx\files 0

A bit convoluted I know, but hopefully worth it in the end...

As for whether or not it is sequenced.. It's hard to say. As I mentioned, I don't have this game at hand. MusyX has been used solely for SFX a couple of times, so it's possible if there is no .son(g) files to be found anywhere, that the rest of the audio is streamed, or at least isn't MusyX.

edited 5:22 PM EDT April 15, 2015
by dj4uk6cjm at 1:43 PM EDT on April 15, 2015
Didn't work...just keeps referring back to the readme every time I try to extract. Maybe MusyX doesn't support the game, I give up for now but at least I know for sure that the path is working.
by Nisto at 2:13 PM EDT on April 15, 2015
The game is supported. The script can extract the data from the Wario World files. It's absolutely standard MusyX data. No joke. I have just tried it on a virtual machine with 32-bit PHP 5.6 on 64-bit Windows 7, and as I mentioned, also on my main system on XP with PHP 5.4.13.

It sounds like you are not doing something quite right when passing arguments to the script. The full command line should contain 4 arguments only (that is, three spaces outside quoted strings in total):

1: path to the php binary
2: path to the php script
3: path to the directory containing .sdir/.samp files
4: the number 0, 1 or 2 (a format number representing the type to be extracted); use 0 for Wario World

Also, make sure you are enclosing paths containing spaces (or even special characters in general is good practice) in quotation marks, otherwise programs will parse part of your paths as additional arguments.
by Reis at 5:19 AM EDT on April 16, 2015
Morning everyone!

@Nisto: Sorry was at work i'll spend this morning following on what u said. Another thanks for helping us with .samp and .arc files and to take your time to analyze these file. Talking about me on the roll in getting things done. Our appreciation for this goes a long way.

edited 11:01 AM EDT April 16, 2015
by dj4uk6cjm at 6:58 AM EDT on April 16, 2015
Maybe I am doing something wrong but I'm not willing to find out :P regardless, you've been a big help already! Could you just upload the sample files if you don't mind? Also the game doesn't use a .son file and all the streamed music files (dsp) reside in the bgm folder so the sfx must contain the sequences somewhere. Please keep me updated if you find anything about that and again thanks so much! Here is every thing extracted from the iso for your research if needed https://drive.google.com/folderview?id=0B_6B24W8ke-9fjlNNjRvNUV5V09vY0x6RmEzVWRVRmxRajU4ejZlWkRBZGRYOE1uZy1HRmM&usp=sharing take your time with this one, it's no hurry.
by Zeether at 5:54 PM EDT on April 16, 2015
Does anyone know what the deal is with track 009.mi4 in the Tokyo Xtreme Racer Zero rip? It definitely isn't playing right for me in foobar2000 and sounds like the track is chopped and sped up. Same happens in Winamp. I have played the game and know it doesn't sound that way (it's one of the little music stings from challenging opponents)

edited 11:04 PM EDT April 16, 2015
by Nisto at 10:17 PM EDT on April 16, 2015
@dj4uk6cjm: I'm looking, but it seems rather clear there is no other MusyX data. Isn't the whole soundtrack in the "bgm" folder? To rephrase, are there actually any missing tracks if you go through the DSP streams.. ? I did see some standard MIDI data (MTrk, MThd) in the files in the /gba sub-folders. Maybe you can extract that with VGMToolbox's midi extractor. But I don't know how the samples/sound banks are stored or even what format they'd be in.

Here are the sound effects. Enjoy.
by dj4uk6cjm at 6:34 AM EDT on April 17, 2015
As suspected before but I checked just to be on the safe side, the gba folder only contains the sequences to the gba link of the game not the actual soundtrack so it probably is streamed afterall (the bgm folder does contain the whole OST) but I'm not sure why the sound effects are extractable and the samples not :/ it uses roughly the samples from the first 2 gamecube games I mentioned above...its not older than wind waker but that could be the case on why its so hard to figure out. Nonetheless thanks for trying @Nisto love those sound effects to the game! :) some dsp's like 300, 734 etc. could not play correctly in vgmstream but that's okay.

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 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423

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