1 - The PLAYED TIME of one .INP is directly related to the FILE SIZE of the same???
2 - Is it related to "how many info / buttons pressed / etc...", or not? (I think is NOT)
3 - Inputs recorded in different WolfMAME versions, with the same playtime, have the same file size? (I am almost sure NOT)
4 (Off-topic) - I know is possible to create "folder" to select wich games I want... and is possible to create more than one folder. How is "sorted" this folders in the WolfMAME? Alphabetically? I want to go up and go down with some folders, but I am not sure how it is sorted. Maybe the date of the creation of the .ini file in the "folders" folder???
.inp file size = time???
Moderators: mahlemiut, seymour, QRS
- TRB_MetroidTeam
- MARPaholic
- Posts: 1055
- Joined: Fri Oct 22, 2004 4:50 am
- Location: PR - Brazil
.inp file size = time???
Valter "TRB" - The Real Battle
Metroid Team, from Brazil
Crazy Taxi and Crazy Taxi 2 world champions
Metroid Team, from Brazil
Crazy Taxi and Crazy Taxi 2 world champions
Re: .inp file size = time???
Yes. A game that takes 5 minutes to play versus 10 minutes to play would have twice as many frames of input data to store thus the resulting inp file essentially double the size. It's not exactly double cuz of headers etc.TRB_MetroidTeam wrote:1 - The PLAYED TIME of one .INP is directly related to the FILE SIZE of the same???
yep...it's not. The input data for each frame is saved...whether you are actively pressing any buttons or not. Some analog games might not follow this though...but not sure.2 - Is it related to "how many info / buttons pressed / etc...", or not? (I think is NOT)
well...for many versions the inp file format is changed so the #bytes stored per frame has changed...thus the inp file size versus time has changed.3 - Inputs recorded in different WolfMAME versions, with the same playtime, have the same file size? (I am almost sure NOT)
4 (Off-topic) - I know is possible to create "folder" to select wich games I want... and is possible to create more than one folder. How is "sorted" this folders in the WolfMAME? Alphabetically? I want to[/quote]
Yes, you can have many folders wolfmame will scan for available games to play.
I have not figured out if there is a way to actually show your custom folders within the GUI though.
To do the first thing I mentioned, in the GUI select "Options" then "Directories..." and click the "Insert" button. Select a folder that you want to add.
Once done..that and any other folders you add are all within the search path list for wolfmame to search for rom files.
Note...I am still using 0.78...so am assuming the above is still in the same locations in the GUI in the latest wolfmame.
A MAME inp stores the input port data (typically controls and DIP switches) as per that defined by the relevant driver. Each port is 32-bit (or 16-bit prior to 0.84u4), and MAME supports up to 30. MAME always writes the maximum amount of ports each frame (ie: 120 bytes per frame for 0.84u4 and later). Analogue ports, while also defined in the driver's input port structure like digital ports, are constantly updated whenever the game reads the port, and can be more than once a frame. These will add another 4 bytes for each port as it is read to the end of each frame. Of course, WolfMAME adds another 4 bytes for the speed of each frame.
For any game that doesn't have analogue ports, you can figure out the length by subtracting 32 bytes from the size for the header, and dividing the result by the game's framerate (usually 60fps, but this can vary, check the game information screen) for the number of seconds the inp runs for.
For any game that doesn't have analogue ports, you can figure out the length by subtracting 32 bytes from the size for the header, and dividing the result by the game's framerate (usually 60fps, but this can vary, check the game information screen) for the number of seconds the inp runs for.
Last edited by mahlemiut on Thu Jun 23, 2005 12:36 am, edited 1 time in total.
- Barry Rodewald
MARP Assistant Web Maintainer

MARP Assistant Web Maintainer

- TRB_MetroidTeam
- MARPaholic
- Posts: 1055
- Joined: Fri Oct 22, 2004 4:50 am
- Location: PR - Brazil
Re: .inp file size = time???
1, 2 and 3 are ok. Thank you!
In other words... in the .EXE path, have a folder named "folder". If I create a file into this folder, ie: TRB.ini, in the MAME, in the Folder List ("All Games", "Available",... "Samples"), after Samples will appear the new customized folder: "TRB", and I can select wich games I want into this folder. I think I was a lot more CLEAR now.
My question is "how to organizate / sort this customized folders?".
Thank you in advance.
Sorry... I think I wrote with bad words...LN2 wrote:Yes, you can have many folders wolfmame will scan for available games to play.
In other words... in the .EXE path, have a folder named "folder". If I create a file into this folder, ie: TRB.ini, in the MAME, in the Folder List ("All Games", "Available",... "Samples"), after Samples will appear the new customized folder: "TRB", and I can select wich games I want into this folder. I think I was a lot more CLEAR now.
My question is "how to organizate / sort this customized folders?".
Thank you in advance.
Valter "TRB" - The Real Battle
Metroid Team, from Brazil
Crazy Taxi and Crazy Taxi 2 world champions
Metroid Team, from Brazil
Crazy Taxi and Crazy Taxi 2 world champions
- TRB_MetroidTeam
- MARPaholic
- Posts: 1055
- Joined: Fri Oct 22, 2004 4:50 am
- Location: PR - Brazil
Thanks for the technical help Barry!
In the current Wolf version, with only digital inputs, and 60Hz game, 1 second is...
32 + [(120 + 4) * 60)] = 7472 b. Is it?
PS.: Barry, I am not a hacker trying to break your WolfMAME, don't worry about it!
Hehehe, I know to it would be necessary a lot more that this "basic" knowledge, hehehe.
In the current Wolf version, with only digital inputs, and 60Hz game, 1 second is...
32 + [(120 + 4) * 60)] = 7472 b. Is it?
PS.: Barry, I am not a hacker trying to break your WolfMAME, don't worry about it!

Valter "TRB" - The Real Battle
Metroid Team, from Brazil
Crazy Taxi and Crazy Taxi 2 world champions
Metroid Team, from Brazil
Crazy Taxi and Crazy Taxi 2 world champions
- TRB_MetroidTeam
- MARPaholic
- Posts: 1055
- Joined: Fri Oct 22, 2004 4:50 am
- Location: PR - Brazil
- TRB_MetroidTeam
- MARPaholic
- Posts: 1055
- Joined: Fri Oct 22, 2004 4:50 am
- Location: PR - Brazil
Hmm... just now in my mind...
Which MAME version change the .cfg system to "CFG10" system???
I am trying to organizate my WolfMAME folder, including and "installing" all the versions, at least the Wolf verions, and this answer will help me...

Which MAME version change the .cfg system to "CFG10" system???
I am trying to organizate my WolfMAME folder, including and "installing" all the versions, at least the Wolf verions, and this answer will help me...

Valter "TRB" - The Real Battle
Metroid Team, from Brazil
Crazy Taxi and Crazy Taxi 2 world champions
Metroid Team, from Brazil
Crazy Taxi and Crazy Taxi 2 world champions
- TRB_MetroidTeam
- MARPaholic
- Posts: 1055
- Joined: Fri Oct 22, 2004 4:50 am
- Location: PR - Brazil
Re: .inp file size = time???
Still with doubts:
TRB_MetroidTeam wrote:In other words... in the .EXE path, have a folder named "folder". If I create a file into this folder, ie: TRB.ini, in the MAME, in the Folder List ("All Games", "Available",... "Samples"), after Samples will appear the new customized folder: "TRB", and I can select wich games I want into this folder. I think I was a lot more CLEAR now.
My question is "how to organizate / sort this customized folders?".
TRB_MetroidTeam wrote:Which MAME version change the .cfg system to "CFG10" system???
I am trying to organizate my WolfMAME folder, including and "installing" all the versions, at least the Wolf verions, and this answer will help me...
Valter "TRB" - The Real Battle
Metroid Team, from Brazil
Crazy Taxi and Crazy Taxi 2 world champions
Metroid Team, from Brazil
Crazy Taxi and Crazy Taxi 2 world champions