Post subject: .fmv to .fm2 in python
Player (65)
Joined: 4/21/2011
Posts: 232
I was looking at the runs on the noyoutube page and thought it would be nice if they ran on non-deprecated software. The run I was looking at runs into desynch issues. I'm not sure if it is possible to fix them or even if "fixing" them would be a desirable outcome. ???
"""
     01234567
.fmv RLUDBAST

     01327645
.fm2 RLDUTSBA
"""

with open("youkaidouchuuki.fmv", "rb") as f:
    f.read(10)
    print("rerecordCount", int.from_bytes(f.read(4), 'little') + 1)
    f.read(2)
    print("comment original_emulator", str(f.read(64), "utf-8").strip('\0'))
    f.read(64)

    while True:
        byte = f.read(1)
        if not byte:
            break
        byte = int.from_bytes(byte, 'little')
        list = ["RLUDBAST"[n] if byte & 1 << n else '.'\
            for n in [0,1,3,2,7,6,4,5]]
        print("|0|", ''.join(list), "|||", sep='')
Post subject: Re: .fmv to .fm2 in python
Emulator Coder, Skilled player (1142)
Joined: 5/1/2010
Posts: 1217
nanogyth wrote:
I was looking at the runs on the noyoutube page and thought it would be nice if they ran on non-deprecated software. The run I was looking at runs into desynch issues. I'm not sure if it is possible to fix them or even if "fixing" them would be a desirable outcome. ???
Most won't sync, but if one syncs when converted, great (some Famtasia encodes were really done that way). Also, some movies that don't otherwise sync may start syncing if a couple of extra blank frames is inserted to the beginning.
Editor, Player (67)
Joined: 6/22/2005
Posts: 1042
Note that [7] NES Youkai Douchuuki by Morimoto in 14:31.10 was actually encoded using audio from Nintendulator. Per some PMs with Quietust, it was probably version 0.950 or 0.960, and you have to insert/delete one frame somewhere, possibly around the spot in the screenshot. You should be able to do that with nesmock.
Current Projects: TAS: Wizards & Warriors III.
Brandon
He/Him
Editor, Player (190)
Joined: 11/21/2010
Posts: 913
Location: Tennessee
We already have a tool for this: Nesmock.
All the best, Brandon Evans
Player (65)
Joined: 4/21/2011
Posts: 232
Brandon wrote:
We already have a tool for this: Nesmock.
Is there a windows binary somewhere? ... Found one at http://www.bluetoaster.net/emu/tools.htm ... ACK, nintendulator didn't like it =_= ... switching from .97 to .95 ... SUCce... game over 30 seconds from the end =_=
possibly around the spot in the screenshot.
That is where the sound freaks out for Famtasia, but the issue with nintendulator would appear to be later.
Player (65)
Joined: 4/21/2011
Posts: 232
nesmock -o20638:1 yd.fmv yd3.nmv ... it fixes the problem at the end, but somehow causes a problem way before 20638. Oh well, at least nintendulator has lucid save states. Hopefully this makes as much sense when I piece it back together tomorrow.