Jump to content



Photo

Little Tutorial about creating lists and romsets in MAME


  • Please log in to reply
1 reply to this topic

#1 Junkyerd

Junkyerd

    Enthusiast

  • Members
  • PipPipPip
  • 162 posts

  • Flag: Spain

  • Favorite Pinball: Indy;Ripleys;Twilightzone

Posted 28 October 2023 - 04:40 PM

Hello!!

 

The Doflinx in mame it`s a really nice and awesome feature for our cabinets...

 

What about if we create now a romset from the .inis games created for doflinx and mame (only the games with .ini in doflinx and mame).

 

We can check the mame folder in doflinx files and see there are a bunch of files (400 aprox.).

 

The first file it`s:

 

3wonders.mame

 

 

This it`s an .ini file for doflinx and mame emulator in the game 3 wonders (you can edit this .ini file following the terry red`s essential tutorials).Here you can check this 3wonders.mame file

##################
#
# MAME configration for 3 Wonders
# DOFLinx force feedback configuration file v5
# Created by D@VS0ut0
##################

[STARTUP]
BUTTON_COLOUR_CHANGE=BUT_EX,Blue,BUT_P1,White,BUT_P2,Blue
BUTTONS_LIT=BUT_P1,BUT_P2
COLOUR_PALETTE=White,Dark_Orange,Blue,Green
KEY_TO_COMMAND=BUT_B1,fire,BUT_B2,jump
FF_DOF=E66,-1

[SHUTDOWN]

[COMMANDS]
fire|ON|FF_DOF E202,1000|FF_DOF E203,1000
jump|ON|FF_DOF E714,1000|FF_DOF E710,1000
coin|ON|FF_DOF E66,0
player1|ON|FF_DOF E66,0
player2|ON|FF_DOF E66,0

[SCORE]
S1=:maincpu|main|program|ff0dd2|3
M1=,,,100,NUMBER,FORWARD
S2=:maincpu|main|program|ff0dd6|3
M2=,,,100,NUMBER,FORWARD

DELAY=500
# Kill simple enemy
SC=100:100:FF_Flasher DV_FLCN,FL_TT,1,300,100,Random|FF_DOF E225,1000
# Kill medium enemy or destroy house 
SC=200:200:FF_Flasher DV_FLCN,FL_TT,1,1000,100,Random|FF_DOF E646,1000|FF_DOF E648,1000
# Kill medium enemy 2 
SC=300:300:FF_Flasher DV_FLCN,FL_TT,1,1000,100,Random|FF_DOF E494,1000|FF_DOF E498,1000
# Kill giant enemy or prize
SC=1000:1000:FF_Flasher DV_FLOL,FL_TT,1,2500,100,Cyan|FF_Flasher DV_FLOR,FL_TT,1,2500,100,Cyan|FF_DOF E776,2500
# Stage Clear
SC=5000:50000:FF_Colour Blue,RGB_TT,1500|FF_DEV DV_KN,-1|FF_Flasher DV_FLOL,FL_FL,6,500,100,Random|FF_Flasher DV_FLIL,FL_FL,6,500,100,Random|FF_Flasher DV_FLCN,FL_FL,6,500,100,Random|FF_Flasher DV_FLIR,FL_FL,6,500,100,Random|FF_Flasher DV_FLOR,FL_FL,6,500,100,Random|FF_DOF E136,2000


OK,Now Let`s open CMD as admin.

 

And point to the mame folder where are all this files...my case..

cd "C:\vPinball\DirectOutput\MAME"

Now we can create a .txt list typing this

dir /b > lista.txt

lista.txt it`s the name for the .txt file that you are creating and you can change this name to whatever you want...

 

With the list created, now we can open it with notepad (install notepad)

And press substitute 

and select to change the MAME to zip.

 

now we have the list for all this games in doflinx.

Here it`s the list:

1941.zip
1941j.zip
1941r1.zip
1941u.zip
1942.zip
1942a.zip
1942abl.zip
1942b.zip
1942p.zip
1942w.zip
1943.zip
1943b.zip
1943bj.zip
1943j.zip
1943ja.zip
1943u.zip
1943ua.zip
1944.zip
1944d.zip
1944j.zip
19xx.zip
19xxa.zip
19xxar1.zip
19xxb.zip
19xxh.zip
19xxj.zip
19xxjr1.zip
19xxjr2.zip
19xxu.zip
3wonders.zip
3wondersb.zip
3wondersh.zip
3wondersr1.zip
3wondersu.zip
64street.zip
64streetj.zip
64streetja.zip
abscam.zip
aburner2.zip
aburner2g.zip
aerfboo2.zip
aerfboot.zip
aerofgt.zip
aerofgtb.zip
aerofgtc.zip
aerofgts.zip
agallet.zip
agalleta.zip
agalletah.zip
agalletaj.zip
agalletak.zip
agalletat.zip
agalletau.zip
agalleth.zip
agalletj.zip
agalletk.zip
agallett.zip
agalletu.zip
alibaba.zip
alibabab.zip
alieninvp2.zip
aliens.zip
aliens2.zip
aliens3.zip
aliensa.zip
aliensj.zip
aliensu.zip
All_Post.zip
All_Pre.zip
altbeast.zip
altbeast2.zip
altbeast3.zip
altbeast3d.zip
altbeast4.zip
altbeast5.zip
altbeast5d.zip
altbeast6.zip
altbeastbl.zip
altbeastbl2.zip
altbeastj.zip
altbeastj1.zip
altbeastj3.zip
altbeastj3d.zip
ark1ball.zip
arkangc.zip
arkangc2.zip
arkanoid.zip
arkanoidj.zip
arkanoidja.zip
arkanoidjb.zip
arkanoidjbl.zip
arkanoidjbl2.zip
arkanoidu.zip
arkanoiduo.zip
arkatayt.zip
arkgcbl.zip
arkgcbla.zip
arknoid2.zip
arknoid2b.zip
arknoid2j.zip
arknoid2u.zip
arktayt2.zip
asideral.zip
asterix.zip
asterixaad.zip
asterixeac.zip
asterixead.zip
asterixj.zip
astrians.zip
atetris.zip
atetrisa.zip
atetrisb.zip
atetrisb2.zip
atetrisb3.zip
atetrisbp.zip
atetrisc.zip
atetrisc2.zip
avsp.zip
avspa.zip
avspd.zip
avsph.zip
avspj.zip
avspu.zip
badlands.zip
badlandsb.zip
badlandsb2.zip
bankp.zip
batman.zip
batrider.zip
batriderc.zip
batriderj.zip
batriderja.zip
batriderk.zip
batridert.zip
batrideru.zip
bbbxing.zip
bchopper.zip
bigrun.zip
biomtoy.zip
bjtwin.zip
bjtwina.zip
bjtwinp.zip
bjtwinpa.zip
blmbycar.zip
blmbycaru.zip
bloodbro.zip
bloodbroj.zip
bloodbroja.zip
bloodbrom.zip
bloodbrou.zip
blstroid.zip
blstroid2.zip
blstroid3.zip
blstroidg.zip
blstroidh.zip
bnzabros.zip
bnzabrosj.zip
boblbobl.zip
bombjack.zip
bombjack2.zip
bombjackt.zip
boogwing.zip
boogwinga.zip
boogwingu.zip
bouldash.zip
bouldashj.zip
bssoccer.zip
bssoccera.zip
btime.zip
btime2.zip
btime3.zip
btimem.zip
bub68705.zip
bublbob2.zip
bublbobl.zip
bublbobl1.zip
bublboblb.zip
bublboblr.zip
bublboblr1.zip
bublcave10.zip
bublcave11.zip
bubsymphb.zip
bubsymphe.zip
bubsymphj.zip
bubsymphu.zip
bucaner.zip
captaven.zip
captavena.zip
captavene.zip
captavenj.zip
captavenu.zip
captavenua.zip
captavenuu.zip
captcomm.zip
captcommb.zip
captcommb2.zip
captcommj.zip
captcommjr1.zip
captcommr1.zip
captcommu.zip
cawing.zip
cawingb2.zip
cawingbl.zip
cawingj.zip
cawingr1.zip
cawingu.zip
cawingur1.zip
cbtime.zip
chasehq.zip
chasehqj.zip
chasehqju.zip
chasehqu.zip
cninja.zip
cninja1.zip
cninjabl.zip
cninjabl2.zip
cninjau.zip
columns.zip
columnsj.zip
columnsu.zip
cosmicin.zip
crockman.zip
crockmnf.zip
ctrpllrp.zip
Default.zip
devilfsg.zip
digdug.zip
digdug1.zip
digdugat.zip
digdugat1.zip
dkong.zip
dkong3.zip
dkong3b.zip
dkong3j.zip
dkongf.zip
dkonghrd.zip
dkongj.zip
dkongjo.zip
dkongjo1.zip
dkongo.zip
dkongpe.zip
duckhunt.zip
dzigzag.zip
frogger.zip
froggeram.zip
froggermc.zip
froggers1.zip
froggers2.zip
froggers3.zip
galaga.zip
galaga3.zip
galaga3a.zip
galaga3b.zip
galaga3c.zip
galaga3m.zip
galaga88.zip
galaga88a.zip
galaga88j.zip
galap1.zip
galap4.zip
galapx.zip
galaxbsf.zip
galaxbsf2.zip
galaxian.zip
galaxiana.zip
galaxianbl.zip
galaxianbl2.zip
galaxiani.zip
galaxianm.zip
galaxianmo.zip
galaxiant.zip
galaxrcgg.zip
galaxrf.zip
galaxrfgg.zip
galemp.zip
gallag.zip
galmonst.zip
galturbo.zip
gaplus.zip
gaplusa.zip
gaplusd.zip
gaplust.zip
gberet.zip
gberetb.zip
gteikoku.zip
gteikokub.zip
gteikokub2.zip
gteikokub3.zip
gyruss.zip
gyrussb.zip
gyrussce.zip
hangly.zip
hangly2.zip
hangly3.zip
invader4.zip
invaders.zip
invadersem.zip
invadrmr.zip
invasion.zip
invasiona.zip
invasionb.zip
invasionrz.zip
joemac.zip
joyman.zip
lista.txt
megaman.zip
megaman2.zip
megaman2a.zip
megamana.zip
megamn2d.zip
mltiwars.zip
mmancp2u.zip
mmancp2ur1.zip
mrgoemon.zip
mschamps.zip
msheartb.zip
mspacii.zip
mspacii2.zip
mspacmab.zip
mspacmab2.zip
mspacman.zip
mspacmanbcc.zip
mspacmanbco.zip
mspacmanbg.zip
mspacmanbg2.zip
mspacmanbgd.zip
mspacmanbi.zip
mspacmancr.zip
mspacmat.zip
mspacmbe.zip
mspacmbmc.zip
mspacmnf.zip
mspacpls.zip
nes.Addams Family, The (U) [!].zip
nes.Donkey Kong (U) (PRG1) [!p].zip
nes.zip
nes.Super Mario Bros. (JU) [!].zip
nes.Tetris (U) [!].zip
nes.Tetris 2 (U) [!].zip
newpuc2.zip
newpuc2b.zip
newpuckx.zip
pacgal.zip
pacman.zip
pacmanf.zip
pacmanfm.zip
pacmanjpm.zip
pacmanug.zip
pacmod.zip
pacplus.zip
pajaroes.zip
piranha.zip
piranhah.zip
piranhao.zip
popeyeman.zip
puckman.zip
puckmanb.zip
puckmanf.zip
puckmanh.zip
puckmod.zip
qbert.zip
quaak.zip
redufo.zip
redufob.zip
redufob2.zip
rmancp2j.zip
rockman2j.zip
rockmanj.zip
rtype.zip
rtypeb.zip
rtypej.zip
rtypeu.zip
rushatck.zip
sboblbobl.zip
searthin.zip
searthina.zip
sicv.zip
sicv1.zip
sinvegmag.zip
sinvzen.zip
sisv.zip
sisv2.zip
sisv3.zip
sitv.zip
sitv1.zip
skyraidr.zip
spacbat2.zip
spacbatt.zip
spaceat2.zip
spaceatt.zip
spaceatt2k.zip
spaceattbp.zip
spacecom.zip
spacempr.zip
spacerng.zip
spceking.zip
stoneage.zip
superg.zip
superinv.zip
swarm.zip
titanpac.zip
tmht.zip
tmht22pe.zip
tmht2p.zip
tmht2pa.zip
tmhta.zip
tmhtb.zip
tmnt.zip
tmnt2.zip
tmnt22pu.zip
tmnt24pu.zip
tmnt2a.zip
tmnt2pj.zip
tmnt2po.zip
tmnta.zip
tmntj.zip
tmntu.zip
tmntua.zip
tmntub.zip
truxton.zip
ultrainv.zip
uniwars.zip
uniwarsa.zip
weststry.zip
weststrya.zip
wonder3.zip
zerotime.zip
zerotimed.zip
zerotimemc.zip

Now we have the list.. Here comes the magic...I hope this really help to somebody..

 

THIS METHOD IT`S LIKE A VAMPIRE COPYING AND EXTRACTING ALL YOUR INTERESTED FILES FROM A FOLDER TO ANOTHER FOLDER

 

Put the list.txt file in your roms folder (or your backup roms folder) (OR YOUR WHEELS FOLDER MUhahahhahaha)

D:\MAME\roms2\lista.txt

Create a new folder 

D:\MAME\roms2\RomsForDofLinx

And now create .bat file (create a new text document and thenpress  save as  and then select all files and put .bat in the filename, the codification works good at UTF-8)

 

The filename or when you put this bat doesn`t matter at all

@echo off
pushd D:\MAME\roms2
for /f "tokens=* delims=" %%a in ('type lista.txt') do xcopy /hrkvy "D:\MAME\roms2\%%a" "D:\MAME\roms2\RomsForDofLinx"
popd
pause

In pushhd you put your roms and lista.txt folder

 

In lista.txt you put your .txt filename

 

Then firstly you put your source folder (your roms and lista.txt folder) and then your direction folder (the corrected and new romset )

 

 

Execute and enjoy!!

MUHAHAHAHAHAHAHAHA :shutup:​  :shutup:​  :shutup:​  :shutup:​

:moon:​  


Edited by Junkyerd, 28 October 2023 - 05:06 PM.


#2 Junkyerd

Junkyerd

    Enthusiast

  • Members
  • PipPipPip
  • 162 posts

  • Flag: Spain

  • Favorite Pinball: Indy;Ripleys;Twilightzone

Posted 29 October 2023 - 04:50 PM

Creating the lists.txt it`s something easy with notepad

 

If you have a file extension it`s easy to replace .zip to .png or .mp4 etc.. (very important the notepad program doing this thing)

If you don´t have filename extension (only the name of the rom) it`s easy to add a extension to every line (to every rom)

 

Sometimes you will find lists with every game and no extension (for example the arcadenobios.ini file list for mame)

 

Open the arcadenobios.ini with notepad

[FOLDER_SETTINGS]
RootFolderIcon mame
SubFolderIcon folder

;; ARCADE_NOBIOS.ini 0.185 / 27-apr-17 / MAME 0.185 ;;

[ROOT_FOLDER]
005
100lions
10yard
10yard85
10yardj
11beat
18w
18w2
18wheelr
18wheels
18wheelu
1941
1941j
1941r1
1941u
1942
1942a
1942abl
1942b
1942h
1942p
Etc...etc...etc

Ok we will delete the first lines and save the document as an original .txt file 

005
100lions
10yard
10yard85
10yardj
11beat
18w
18w2
18wheelr
18wheels
18wheelu
1941
1941j
1941r1
etc...etc..etc


ok we have the list but we want every line with the .zip extension

 

Open the file with notepad and use the macro option

 

Add .zip to one line and record the operation.

 

Then execute the operation till the end of the document.

 

Now we have the list.txt ready to be used


Edited by Junkyerd, 29 October 2023 - 04:50 PM.