INP file measuring formula.

General discussion on MAME, MARP, or whatever else that doesn't belong in any of the other forums

Moderators: mahlemiut, seymour, QRS

Post Reply
User avatar
kernzy
MARP Seer
MARP Seer
Posts: 699
Joined: Wed Sep 14, 2011 10:47 am

INP file measuring formula.

Post by kernzy » Wed Sep 18, 2013 2:42 pm

hi gents,
is there formula for telling how long an INP file is just by it's size?
i need to know how long a gameplay is, but i don't have time to play it back and time it, as it's about 15 hours long.
cheers guys.
8)

User avatar
kernzy
MARP Seer
MARP Seer
Posts: 699
Joined: Wed Sep 14, 2011 10:47 am

Re: INP file measuring formula.

Post by kernzy » Wed Sep 18, 2013 6:18 pm

ok, i found this!
seems it is 17 hours long...
http://www.convert-me.com/en/convert/da ... epmin.html

User avatar
mahlemiut
Editor
Posts: 4133
Joined: Mon Feb 04, 2002 10:05 pm
Location: New Zealand
Contact:

Re: INP file measuring formula.

Post by mahlemiut » Thu Sep 19, 2013 9:16 pm

Prior to 0.129, you can tell by file size (still varies from version to version), but later INPs are compressed which makes that difficult without knowing how many frames long it is, and the frame rate (this you can get from the game info screen). Hard to do without playing it through. 200,000 frames is (very) roughly 1 hour.
- Barry Rodewald
MARP Assistant Web Maintainer
Image

User avatar
kernzy
MARP Seer
MARP Seer
Posts: 699
Joined: Wed Sep 14, 2011 10:47 am

Re: INP file measuring formula.

Post by kernzy » Fri Sep 20, 2013 12:58 pm

cheers Barry.
is MARP broken again? 30 seconds to load pages today. yesterday, 1 second.
:(

Post Reply