Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Wolf Mame i can create an .inp, but how do i create .wlf along with playback?  (Read 4542 times)

0 Members and 1 Guest are viewing this topic.

mrclean

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1532
  • Last login:August 10, 2022, 08:30:36 am
  • World Record Holder for Gun Smoke Dedicated & MAME
    • Guscade
OK so my recent *unofficial world record HS of Gun.smoke  2,174,350
http://forum.arcadecontrols.com/index.php?topic=82805.0
i'd like to make a run for Twin Galaxies, I'm able to create a .INP using wolf mame, but how do I also make it generate a ".wlf" file ?

to record the .inp i created a .bat file with the following text:
 "mame gunsmoke -record gunsmoke.inp"

file named as :: "gunsmoke-record.bat"

 I double click it, it launches the game and records the .inp but not the .wlf

*Also How do I playback and view my .INP file that I created >?  :dunno

2,370,650 Gun.Smoke

Ginsu Victim

  • Yeah, owning a MAME cab only leads to owning real ones. MAME just isn't good enough. It's a gateway drug.
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10092
  • Last login:June 28, 2025, 10:45:55 pm
  • Comanche, OK -- USA
When I recorded a game last night, it made both files. I was using the GUI version included in the Wolfmame 106 from TG.

You need both files for playback, to my knowledge.

command line for playback is
mame romname -pb inpname.inp (you might not even need the romname, just mame -pb inpname.inp)
« Last Edit: July 31, 2008, 11:17:22 am by GinsuVictim »

mrclean

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1532
  • Last login:August 10, 2022, 08:30:36 am
  • World Record Holder for Gun Smoke Dedicated & MAME
    • Guscade
can you give me the link to the gui version, that's probably what i need
2,370,650 Gun.Smoke

Ginsu Victim

  • Yeah, owning a MAME cab only leads to owning real ones. MAME just isn't good enough. It's a gateway drug.
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10092
  • Last login:June 28, 2025, 10:45:55 pm
  • Comanche, OK -- USA

Ginsu Victim

  • Yeah, owning a MAME cab only leads to owning real ones. MAME just isn't good enough. It's a gateway drug.
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10092
  • Last login:June 28, 2025, 10:45:55 pm
  • Comanche, OK -- USA
With the GUI version, you just go to the file menu and select Playback recorded input or whatever and select your INP

mrclean

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1532
  • Last login:August 10, 2022, 08:30:36 am
  • World Record Holder for Gun Smoke Dedicated & MAME
    • Guscade
MAME Plus doesnt seem to want to run.. all im getting is grey bars no game play or video playback.. with the command line version i was able to playback the .inp using: "mame gunsmoke -playback gunsmoke.inp" file saved as:
"gunsmoke-playback.bat"  however I still am having trouble creating a .wlf file, and when i played back my file it didn't show when i hit "tab" in mame to show the correct settings for the game ?
2,370,650 Gun.Smoke

Ginsu Victim

  • Yeah, owning a MAME cab only leads to owning real ones. MAME just isn't good enough. It's a gateway drug.
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10092
  • Last login:June 28, 2025, 10:45:55 pm
  • Comanche, OK -- USA
I had the same video problem, and I kept messing with settings until it worked. I don't know why it was doing it, though. Nothing I'd ever seen before.

mrclean

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1532
  • Last login:August 10, 2022, 08:30:36 am
  • World Record Holder for Gun Smoke Dedicated & MAME
    • Guscade
I had the same video problem, and I kept messing with settings until it worked. I don't know why it was doing it, though. Nothing I'd ever seen before.

OK so still with the command line not sure if this is correct, but it did infact create the .wlf file by using this as a bat file:

mame gunsmoke -record gunsmoke.inp
mame gunsmoke -record gunsmoke.wlf

so I guess I have 1 last concern why when i play-back the .inp it does not show that I hit TAB in MAME to display that i'm using the correct settings? am i doing something wrong ?
2,370,650 Gun.Smoke

Ginsu Victim

  • Yeah, owning a MAME cab only leads to owning real ones. MAME just isn't good enough. It's a gateway drug.
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10092
  • Last login:June 28, 2025, 10:45:55 pm
  • Comanche, OK -- USA
Not TAB. Hit F2 to show the dipswitch setup (if present).

mrclean

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1532
  • Last login:August 10, 2022, 08:30:36 am
  • World Record Holder for Gun Smoke Dedicated & MAME
    • Guscade
Not TAB. Hit F2 to show the dipswitch setup (if present).



hit F2, and again when playing back the file i still did not see anything showing my settings ? F2 just got me into the sound test settings for the game
OK, well now that i got MAME 106,(just for wlfmame of course) instead of 126.. which i don't know why/.. but i forgot how to change the video display in 106 its been a while, i'd like it to run in pixel aspect its very squeezed right now also auto rotate the screen because I have my LCD on a rotating arm
« Last Edit: August 01, 2008, 12:54:27 am by mrclean »
2,370,650 Gun.Smoke

Ginsu Victim

  • Yeah, owning a MAME cab only leads to owning real ones. MAME just isn't good enough. It's a gateway drug.
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10092
  • Last login:June 28, 2025, 10:45:55 pm
  • Comanche, OK -- USA
I think you can also try the ZERO key. (Check in the MAME tab settings)

I just noticed how similar our avatars are. Scrolling down to find my posts is a ---smurfette---. ;D

mrclean

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1532
  • Last login:August 10, 2022, 08:30:36 am
  • World Record Holder for Gun Smoke Dedicated & MAME
    • Guscade
I think you can also try the ZERO key. (Check in the MAME tab settings)

I just noticed how similar our avatars are. Scrolling down to find my posts is a ---smurf---. ;D

Yeah i noticed that about our avatars also.. and im still struggling to get this working
2,370,650 Gun.Smoke

Ginsu Victim

  • Yeah, owning a MAME cab only leads to owning real ones. MAME just isn't good enough. It's a gateway drug.
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10092
  • Last login:June 28, 2025, 10:45:55 pm
  • Comanche, OK -- USA
maybe tonight I can compare my mame.ini to the original and figure out what I changed to get it working...

Ginsu Victim

  • Yeah, owning a MAME cab only leads to owning real ones. MAME just isn't good enough. It's a gateway drug.
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10092
  • Last login:June 28, 2025, 10:45:55 pm
  • Comanche, OK -- USA
This isn't the mame I play with, so it's only setup to playback INP files I download. Compare it to yours and see what video options are different.

Code: [Select]
### mame.ini ###

### Frontend Related ###

### Windows path and directory options ###
rompath                 E:\84-roms
samplepath              C:\mame32FX\samples
inipath                 ini
cfg_directory           cfg
nvram_directory         nvram
memcard_directory       memcard
input_directory         inp
hiscore_directory       hi
state_directory         sta
artwork_directory       artwork
snapshot_directory      snap
diff_directory          diff
ctrlr_directory         ctrlr
comment_directory       comments
ips_directory           ips
lang_directory          lang
cheat_file              cheat.dat
history_file            history.dat
story_file              story.dat
mameinfo_file           mameinfo.dat
hiscore_file            hiscore.dat

### Windows video options ###
autoframeskip           1
frameskip               0
waitvsync               0
triplebuffer            1
window                  0
ddraw                   1
direct3d                1
hwstretch               1
# screen                <NULL> (not set)
cleanstretch            auto
resolution              auto
refresh                 0
scanlines               0
switchres               1
switchbpp               1
maximize                1
keepaspect              1
matchrefresh            0
syncrefresh             0
throttle                1
full_screen_gamma       1.000000
frames_to_run           0
effect                  none
screen_aspect           4:3
# mngwrite              <NULL> (not set)
scale_effect            none

### Windows Direct3D 2D video options ###
zoom                    2
d3dtexmanage            1
d3dfilter               0
d3dfeedback             0
d3dscan                 100
d3deffectrotate         1
d3dprescale             auto
d3deffect               none
# d3dcustom             <NULL> (not set)
# d3dexpert             <NULL> (not set)

### Windows misc options ###
sleep                   0
rdtsc                   0
priority                0

### Windows sound options ###
audio_latency           1
# wavwrite              <NULL> (not set)

### Input device options ###
mouse                   0
joystick                0
lightgun                0
dual_lightgun           0
offscreen_reload        0
steadykey               0
keyboard_leds           1
led_mode                ps/2
a2d_deadzone            0.300000
ctrlr                   Standard
stickpoint              0
joyid1                  -1
joyid2                  -1
joyid3                  -1
joyid4                  -1
joyid5                  -1
joyid6                  -1
joyid7                  -1
joyid8                  -1
paddle_device           keyboard
adstick_device          keyboard
pedal_device            keyboard
dial_device             keyboard
trackball_device        keyboard
lightgun_device         keyboard
digital                 none

### Mame CORE video options ###
norotate                0
ror                     0
rol                     0
autoror                 0
autorol                 0
flipx                   0
flipy                   0
gamma                   1.000000
brightness              1.000000
pause_brightness        0.650000

### Mame CORE vector game options ###
antialias               1
translucency            1
beam                    1.000000
flicker                 0.000000
intensity               1.500000

### Mame CORE sound options ###
samplerate              44100
samples                 1
sound                   1
volume                  0
volume_adjust           0

### Mame CORE misc options ###
validate                0
artwork                 0
use_backdrops           1
use_overlays            1
use_bezels              1
artwork_crop            0
artwork_resolution      0
cheat                   0
debug                   0
# debugscript           <NULL> (not set)
# playback              <NULL> (not set)
# record                <NULL> (not set)
log                     0
oslog                   0
skip_gameinfo           1
bios                    default
# state                 <NULL> (not set)
autosave                0
# ips                   <NULL> (not set)
disable_second_monitor   1
confirm_quit            0
auto_pause_playback     0
m68k_core               0
use_trans_ui            0
ui_transparency         160

### Mame CORE palette options ###
font_blank              0,0,0
font_normal             255,255,255
font_special            247,203,0
system_background       0,0,255
system_framemedium      192,192,192
system_framelight       224,224,224
system_framedark        128,128,128
osdbar_framemedium      192,192,192
osdbar_framelight       224,224,224
osdbar_framedark        128,128,128
osdbar_defaultbar       60,120,240
button_red              255,64,64
button_yellow           255,238,0
button_green            0,255,64
button_blue             0,170,255
button_purple           170,0,255
button_pink             255,0,170
button_aqua             0,255,204
button_silver           255,0,255
button_navy             255,160,0
button_lime             190,190,190
cursor                  60,120,240

### Configuration options ###
readconfig              1
verbose                 0

### Language options ###
language                en_US
use_lang_list           1

mrclean

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1532
  • Last login:August 10, 2022, 08:30:36 am
  • World Record Holder for Gun Smoke Dedicated & MAME
    • Guscade
this is my current mame.ini :

<UNADORNED0>             

#
# CORE CONFIGURATION OPTIONS
#
readconfig                1

#
# CORE SEARCH PATH OPTIONS
#
rompath                   roms
samplepath                samples
artpath                   artwork
ctrlrpath                 ctrlr
inipath                   .;ini
fontpath                  .

#
# CORE OUTPUT DIRECTORY OPTIONS
#
cfg_directory             cfg
nvram_directory           nvram
memcard_directory         memcard
input_directory           inp
state_directory           sta
snapshot_directory        snap
diff_directory            diff
comment_directory         comments

#
# CORE FILENAME OPTIONS
#
cheat_file                cheat.dat

#
# CORE STATE/PLAYBACK OPTIONS
#
state                     
autosave                  1
playback                 
record                   
mngwrite                 
wavwrite                 

#
# CORE PERFORMANCE OPTIONS
#
autoframeskip             1
frameskip                 0
seconds_to_run            0
throttle                  1
sleep                     1
speed                     1.0
refreshspeed              0

#
# CORE ROTATION OPTIONS
#
rotate                    1
ror                       0
rol                       0
autoror                   0
autorol                   1
flipx                     0
flipy                     0

#
# CORE ARTWORK OPTIONS
#
artwork_crop              0
use_backdrops             1
use_overlays              1
use_bezels                1

#
# CORE SCREEN OPTIONS
#
brightness                1.000000
contrast                  1.0
gamma                     1.000000
pause_brightness          0.650000

#
# CORE VECTOR OPTIONS
#
antialias                 1
beam                      1.000000
flicker                   0.000000

#
# CORE SOUND OPTIONS
#
sound                     1
samplerate                44100
samples                   1
volume                    0

#
# CORE INPUT OPTIONS
#
ctrlr                     
mouse                     1
joystick                  1
lightgun                  0
multikeyboard             0
multimouse                0
steadykey                 0
offscreen_reload          0
joystick_map              auto
joystick_deadzone         0.3
joystick_saturation       0.85

#
# CORE INPUT AUTOMATIC ENABLE OPTIONS
#
paddle_device             keyboard
adstick_device            keyboard
pedal_device              keyboard
dial_device               keyboard
trackball_device          keyboard
lightgun_device           keyboard
positional_device         keyboard
mouse_device              mouse

#
# CORE DEBUGGING OPTIONS
#
log                       0
verbose                   0
update_in_pause           0

#
# CORE MISC OPTIONS
#
bios                      default
cheat                     0
skip_gameinfo             1
       

#
# WINDOWS DEBUGGING OPTIONS
#
oslog                     0

#
# WINDOWS PERFORMANCE OPTIONS
#
priority                  0
multithreading            0

#
# WINDOWS VIDEO OPTIONS
#
video                     d3d
numscreens                1
window                    0
maximize                  1
keepaspect                1
prescale                  1
effect                    scanlines75Dx4_j4
waitvsync                 0
syncrefresh               0

#
# DIRECTDRAW-SPECIFIC OPTIONS
#
hwstretch                 1

#
# DIRECT3D-SPECIFIC OPTIONS
#
d3dversion                9
filter                    1

#
# PER-WINDOW VIDEO OPTIONS
#
screen                    auto
aspect                    4:3
resolution                1280x1024
view                      auto
screen0                   auto
aspect0                   auto
resolution0               auto
view0                     auto
screen1                   auto
aspect1                   auto
resolution1               auto
view1                     auto
screen2                   auto
aspect2                   auto
resolution2               auto
view2                     auto
screen3                   auto
aspect3                   auto
resolution3               auto
view3                     auto

#
# FULL SCREEN OPTIONS
#
triplebuffer              1
switchres                 1
full_screen_brightness    1.0
full_screen_contrast      1.0
full_screen_gamma         1.0

#
# WINDOWS SOUND OPTIONS
#
audio_latency             1

#
# INPUT DEVICE OPTIONS
#
dual_lightgun             0


that was from my MAME 125 and i'm still trying to utilize it with MAME 106, it autorotates.. the controlls feel different during game play and I still can't get it to display 7:8 for vert games
2,370,650 Gun.Smoke