VX 2 AVI approach.

Discussion in 'NDS - ROM Hacking and Translations' started by zefiris, Nov 19, 2008.

  1. zefiris
    OP

    zefiris Newbie

    Newcomer
    2
    0
    Nov 19, 2008
    Yugoslavia
    Well, we don't have any available codecs or documentation on it and noone would reverse-engineer it. But there are some other ways, right?

    We do know emulators play ActImagine videos fine, let that be our starting point.

    The most obvious way would be just use some screen-capture and sound-recording software, but that's not creative and movie should be accessible in game to record it so let's find another way...

    At first my plan was like this:
    1) We get the .vx file we want to convert
    2) We get some game that starts from video (Nobunaga no yabou starts with Koei logo so we will use this game ROM as base)
    3) Using ndstool we replace opening movie file (koeilogo.vx) with our file
    4) Now we will need some way to record playback. Say we are not lazy (even though I am) and can add video recording o some open-source emulator (DeSmuME for example) - at least execute screenshot routine every frame - and then cobine tham into movie using side software. Well direct video output sure is better.
    5) and now we launch reassembled rom in our new emulator until movie end - voila, we have a video file we need. Now we just write batch to all these actions...

    Everything seems so bright and easy so why not?.. And here comes obstacle I could not overcome (was too lazy perhaps) and thus ask for your assistance. See, we caan get video using that method alriight, it played Time Hollow opening and Kirby Super Star Ultra videos but... Yeah, some of you know the trick already, audio is not stored in .vx file. It's a part of sound_data.sdat (I am not sure on this but seems most likely) and simply replacing file does not help [​IMG] And here goes the question - is it possible to replace opening audio too and if it is, can it be made automatic?..

    Sorry for my broken english etc, hope I said anything useful `^^
     
  2. DarthNemesis

    DarthNemesis GBAtemp Maniac

    Member
    1,213
    40
    Feb 19, 2008
    United States
    Why not just ask the emulator authors about the format?
     
  3. zefiris
    OP

    zefiris Newbie

    Newcomer
    2
    0
    Nov 19, 2008
    Yugoslavia
    I don't think they know it. Their emulators emulate games itself, and movie playback is part of game thus it gets emulated too. It does not play standalone video.
     
  4. raulpica

    raulpica With your drill, thrust to the sky!

    Supervisor
    10,991
    7,225
    Oct 23, 2007
    Italy
    PowerLevel: 9001
    Well, actually, I remember that one of the first things to get emulated were videos, even before actual gameplay. Try to ask Lino (the iDeaS emu author), as he was one of the first to get videos working [​IMG]
     
  5. thedicemaster

    thedicemaster GBAtemp Addict

    Member
    2,428
    15
    Apr 26, 2008
    Netherlands
    you can always rip the audio from the sdat, and merge the created video file with the audio using a simple video editing tool(even windows movie maker can do that)
     
  6. Naxito

    Naxito Advanced Member

    Newcomer
    63
    0
    May 14, 2008
    Spain
    em... VX to AVi or VX to AVI to VX?