don't click here

Basic Questions & Answers thread

Discussion in 'Engineering & Reverse Engineering' started by Tweaker, May 29, 2008.

  1. Aerosol

    Aerosol

    Not here. Moderator
    11,163
    573
    93
    Not where I want to be.
    Sonic (?): Coming summer of 2055...?
    Doesn't Kega Fusion allow you to record .gym files? Or something like that.
     
  2. Ravenfreak

    Ravenfreak

    2 Edgy 4 U Tech Member
    3,091
    186
    43
    O'Fallon Mo
    Sonic 1 Game Gear Disassembly
    Kega only allows you to dump .VGM or .WAV files, however IIRC Gens Plus! allows you to dump .gym files. That's probably what you're thinking of. ;)
     
  3. Aerosol

    Aerosol

    Not here. Moderator
    11,163
    573
    93
    Not where I want to be.
    Sonic (?): Coming summer of 2055...?
    Well the format wasn't what I was really concerning myself with. Just the recording to a format like it. So yea. VGM, GYM. Whatever :specialed:
     
  4. Overlord

    Overlord

    Now playable in Smash Bros Ultimate Moderator
    19,239
    972
    93
    Long-term happiness
    If you're making new GYM files in 2013, you're doing it wrong =P
     
  5. SpeedySpikes

    SpeedySpikes

    I'm yellow. Don't you judge me.
    20
    0
    0
    Sonic Colours Unity (Primary Developer)
    Hey guys... I have an odd request.

    Can someone with an existing Sonic Heroes installation for PC send me or upload a stock loading.txd file? It's located in the install directory under dvdroot/textures.

    I tried to edit it, but my program wasn't working properly and it got messed up. I had two directories, one with a stock Sonic Heroes and one for the edits, but somehow when I tried to open it a second time it redirected to the stock installation...

    The reason I'm asking here is because I can't find my discs for installation and I'm not about to download a pack of two ISOs just for one file. :(

    So can someone do this for me? Thanks in advance!
     
  6. pablodrago

    pablodrago

    Member
    34
    0
    0
    BS AS
  7. SpeedySpikes

    SpeedySpikes

    I'm yellow. Don't you judge me.
    20
    0
    0
    Sonic Colours Unity (Primary Developer)
    Yes!! That was the exact file I needed!

    Thanks a lot!
     
  8. Is there a program to generate MIDI files out of the music in a Genesis game? I want to mess with the music in the Sonic games for a project I'm working on, but I'd like something a bit more accurate than what's on VGMusic. I checked romhacking.net, but I didn't see anything and I'm not exactly sure what to look for.
     
  9. The Prof

    The Prof

    The Island Professor Member
    107
    0
    16
    Orkney, Scotland
    Sonic 1 Yarmar Edition
    SMPS2XM might be of use to you. The song will need to be in Sonic 1 smps format, and the output will need to have the instruments filled in by you. Once you've got your XM made, you can then convert it to Midi. Other than that I can think of nothing else.
     
  10. ValleyBell

    ValleyBell

    Tech Member
    246
    25
    28
    researching PC-98/X68000 sound drivers
    Alternatively you can also use smps2mid. This way you don't need to care about XM files.
     
  11. dsrb

    dsrb

    Member
    3,149
    0
    16
    This is as good a place as any to report my experience with smps2mid, then: It's very erratic at working with files from S3&K, either that or all the ROMs online are messed up, as I had to go through 2 or 3 ROMs and various errors/freezes in order to get all the songs extracted (if I ever got them all; I'm not even sure, as I still need to name/organise them). S1/2 were OK, at least the few songs I tried.

    Aside from that, it's fantastic, and I thank you for making it - but it would be nice to get an idea of why I had those problems.
     
  12. Shadow Hog

    Shadow Hog

    "I'm a superdog!" Member
  13. Overlord

    Overlord

    Now playable in Smash Bros Ultimate Moderator
    19,239
    972
    93
    Long-term happiness
    Leaning towards no - looks like shoppery to me.
     
  14. ValleyBell

    ValleyBell

    Tech Member
    246
    25
    28
    researching PC-98/X68000 sound drivers
    I had lots of problems with the pointer tables in S3K (because they're part of the Z80 sound driver, which is compressed) and half of the pointers it finds are wrong.
    Also some songs share data (LBZ2 uses parts of LBZ1 for example), and this causes even more problems when trying to convert the songs.
    But thanks for reminding me, the next time I work on it I'll try to fix the issues.

    I think Sonic 3 alone worked a bit better than S&K/S3K. I don't remember having issues with any other game (including Sonic 3D).
     
  15. dsrb

    dsrb

    Member
    3,149
    0
    16
    Great, thanks for the reply! I think, as far as I remember, you're right that S3 alone worked OK. And I think I got most of the songs eventually by trying a few dumps, possibly all but I can't be sure; I still have to go through the folder and name the MIDIs, as I just called them after their hexadecimal ID. Anyway, looking forward to any future versions! This and your various other tools are hugely useful things for everyone to have acccess to. :)
     
  16. Tiddles

    Tiddles

    Diamond Dust Tech Member
    471
    0
    0
    Leicester, England
    Get in an accident and wake up in 1973
    You can run a normal Kosinski decomp on the two portions of sound driver, one of which contains the pointer table and the other of which contains the bank table. I can find the proper offsets for them if you need them or they're not documented somewhere. Or you could just store the correct list in the program - since you presumably have to hardcode the table location anyway, it's probably not too much worse to just hardcode the pointer table itself, and you could then tack on some entries for the S3 tracks that aren't referenced. And/or you could support the forthcoming Sonic 3 Complete release which contains all the pointers uncompressed at the end of each actual music bank. :) (The current ones unfortunately have the same compression arrangement as S3K, albeit not at the same place in the ROM.)
     
  17. ValleyBell

    ValleyBell

    Tech Member
    246
    25
    28
    researching PC-98/X68000 sound drivers
    I think I'll just decompress the driver. Maybe I could even try to find the pointers automatically. I gained some experience about these things when writing my SMPS extractor.
    I plan to support pointers within banks sometime. I've seen a few SMPS Z80 games use them (e.g. Dyna Brothers 2, IIRC).
     
  18. Glisp

    Glisp

    That one weird guy that does stuff. Member
    1,278
    1
    16
    Bloomington, IN
    None at the moment I'm afraid.
    okay, I want to extract the voice files from Sonic Heroes. What program would be the best choice.

    Also, I found a program that can open ADX files if anyone needs it. You can also make your own ADX files with it as well... though... I haven't been able to get looping to work, even with the looping option checked.

    Basically, yeah, this stuff is primarily related to Sonic Heroes PC.
    \
     
  19. Herm the Germ

    Herm the Germ

    Hmm, not bad. Well done, doctor! Member
    1,482
    0
    0
    Dresden, Saxony, Germany
    MIDI-to-SMPS-conversions, mostly. Takin' requests, too.
    I'm not sure what program I used to do it with anymore as this was years ago, but I already have a complete rip of each and every one voice clip in SH-PC. :v:

    As for ADX-looping, that's simple.

    You need to use adxencd, a command-line tool.

    Now, one thing you gotta understand is that this program's looping works by samples and can only encode .wav to .adx (well, and .aif to .adx, but who uses aif? :v: ). An easy way to figure out sample numbers is to open the uncompressed .wav file in Audacity, changing the display on the bottom to samples instead of minutes and seconds and then selecting the area you want to loop.

    Note down the sample-numbers, you'll need those.

    Now use this command-line syntax:

    adxencd [nameoffile].wav -lps[samplenumber] -lpe[samplenumber]

    With -lps being the starting loop point, -lpe being the ending loop point. Don't put a space between lps/lpe and the sample number, either.

    Hope that was understandable.
     
  20. Glisp

    Glisp

    That one weird guy that does stuff. Member
    1,278
    1
    16
    Bloomington, IN
    None at the moment I'm afraid.
    Thanks for the advice Herm the Germ. I'll try that program out. The program I was using before was this one:
    http://www.moddingway.com/forums/thread-222.html

    Also, do you think you could send me those rips?

    Edit: I'm getting a 404 with the link to adxencd. Weird.