Moon Patrol

Discussion of playback questions / problems. Any recording where people have playback problems should appear here.

Moderator: Chad

Post Reply
User avatar
kfx
MARPaltunnel Wrists
MARPaltunnel Wrists
Posts: 462
Joined: Wed Mar 06, 2002 6:52 am
Location: Denmark
Contact:

Moon Patrol

Post by kfx »

storm

OS : winXP
cpu : P4 3gzh
User avatar
Chad
Tournament Coordinator
Posts: 4463
Joined: Tue Mar 05, 2002 3:15 pm
Location: calif

Post by Chad »

playsback to 137860 in mame62 with sound and xp, doesn't appear to go out of synch, 40byte framesize.
-skito
User avatar
kfx
MARPaltunnel Wrists
MARPaltunnel Wrists
Posts: 462
Joined: Wed Mar 06, 2002 6:52 am
Location: Denmark
Contact:

Post by kfx »

How can you tell that it will work in 62 or do you just try diferent versions?
storm

OS : winXP
cpu : P4 3gzh
User avatar
Chad
Tournament Coordinator
Posts: 4463
Joined: Tue Mar 05, 2002 3:15 pm
Location: calif

Post by Chad »

I tried different versions (82 80 72 62) but since i can determine it's a 40 frame size frame from inspecting the binary of the inp you can use this chart Barry posted this in the Best recordings thread:::
The size of the INP changed over the years, but basically a set amount of bytes are read or written for each frame. This varies from version to version.

Prior to 0.35b1 (I think) frames were 16 bytes.
From 0.35b1 to 0.36b15, frames were 32 bytes.
From 0.36b15 to 0.72, frames were 40 bytes.
From 0.72 to 0.84u3, frames were 60 bytes.
From 0.84u4 to 0.87, frame size cannot be determined, due a bug in the input port "rewrite" (should be 120 bytes)
From 0.87u1 on, frame size is 120 bytes.
Add 2 bytes per frame for TGMAME or WolfMAME Plus 0.84 or earlier.
Add 4 bytes per frame for WolfMAME Plus 0.84u4 or later.

Also, remember to subtract 32 bytes for the header, unless the INP is older 0.35b1 (the header was added somewhere around there), or if it was made using MacMAME.

And also note that games that use analogue controls will read/write extra ports as and when the game requests it. This means that for analogue games (including lightgun games) the framesize may vary from frame to frame.
-skito
Post Reply