Previous Page | Next Page

by Mygoshi at 6:22 AM EDT on April 22, 2015
Nisto, you stopped to help me for the gc version of madagascar :(
by Reis at 7:06 AM EDT on April 22, 2015
@Nisto or whom ever , Im working on the php thingy for 3 hours now hahahah I just look at the post below the one u mention and explained >__<.. I might post a picture for helps sake or im retarded which seems to be the case. If you could post a picture on the

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..

I'm going to figure this out one way or another >: )

edited 12:37 PM EDT April 22, 2015
by Nisto at 7:49 AM EDT on April 22, 2015



And I'm sorry Mygoshi, I have looked, I can't figure out the format.

edited 12:58 PM EDT April 22, 2015
by Reis at 7:52 AM EDT on April 22, 2015
AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH!!!!!!!!!!!!!!!!!!!!!!!!! thats alot better (Im a nutshell)

edited 1:00 PM EDT April 22, 2015
by Mygoshi at 8:22 AM EDT on April 22, 2015
Okey Nisto, thanks anyway :)
by Reis at 8:57 AM EDT on April 22, 2015
Quick Q&A does this work with

It's written in PHP (I know, it's a dumb language to use for a task like this, but it's so easy to use), so you'll need PHP. I'm sorry if it's any trouble. Getting the script running is not a lengthy process, even if you're unfamiliar with PHP. Simply get the binary package (windows.php.net for Windows users), unpack it anywhere, then, in a command prompt/terminal use the CD command to change the current working directory to the directory in which you extracted the binaries.

To actually run the script:
php [path...]script_name.php [path...]bio0_sound_dir
Example:
php C:\SamExtract.php C:\bio0\sound

edited 2:18 PM EDT April 22, 2015
by Nisto at 9:24 AM EDT on April 22, 2015
SamExtract.php is an old script, which only works on Biohazard 0. It doesn't require a format code, so it's different from what I showed in the picture above. Either way, you should still use MusyXExtract.php. I kept the SamExtract.php script up for historical sake.
by Reis at 9:38 AM EDT on April 22, 2015
Oh right after I seen your post I got the HVR samps going :D thanks for this massive help again!.. silly me thinking i could play these as a whole :P


edited 3:11 PM EDT April 22, 2015
by dj4uk6cjm at 10:19 AM EDT on April 22, 2015
Sorry to bother you again Nisto but could you take a look at these files and see if they work with your script? https://drive.google.com/folderview?id=0B8rHgE_H8aJsfnBhSkJsTTZ1ZVVoeDJNb2Q2Y3g1ZUtLN3BOYVF3WVNmMnNzQU5zeUE2aXc&usp=sharing It's all the files ripped from Pac-Man World 2 so the orchestral samples the game uses are in the "sounds" folder that resides in the netdata folder with extensions like .GCB .POO .PRO .SAM and .SDI

I don't know what these files mean but I thought .poo and .sam might be short for .pool or .samp anyways I hope you can find something out about them, I don't think the game use sequences. Thanks.

edited 3:30 PM EDT April 22, 2015
by Nisto at 1:25 PM EDT on April 22, 2015
Yep, .sam and .sdi are common alternate names (8.3 names I guess) for .samp and .sdir files. The script checks for files with that extension as well.

Anyway, the script has no problems handling the files from Pac-Man World 2 either. However, I've only tried it on a couple of the banks, as I can't seem to mass-download files on Google Drive. If you can zip them up or something I can try them all, but I doubt there will be any trouble.

Alternatively, since I have just finished "porting" the script to Python (with some additional improvements as well), perhaps you are willing to give it another shot at extracting them yourself? Usage of the script has been totally simplified. You can simply drop a folder (or more) containing .samp/.sdir files onto it (that should at least work with a typical Python (3) installation on a Windows machine). And as I mentioned a few posts ago, installation of Python itself is a breeze nowadays if you don't have it installed.

You can get the script here: MusyXExtract.py

I should note that there is a minor compromise with this port/update (although doubtfully for anyone here on hcs64...): Biohazard 0 (.arc) and Biohazard 1 (.snd) files will now have to be pre-extracted to standard MusyX .sdir/.samp files (like I did with the Harvest Moon files for Reis) as I have not implemented support for them, mainly to bypass the need of a "format code" (thus allowing drag-n-dropping), and also since they are not really MusyX files per se, but custom containers for them. And it made for some pretty messy code too I think. But anyway, those are simple formats and tools are already available to extract them, so...

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 424 425

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