Gamoover

[move]Pour vous aussi la chipo ne sera jamais qu'un bootleg de merguez (c)sushy18 ? Alors soyez les bienvenus sur Gamoover ! [/move]

AdvanceMenu et fba

Démarré par _n3o_, Vendredi 22 Janvier 2016, 20:14:40 PM

_n3o_

Hello
Ca fait plusieurs jours que je cherche un moyen de generer un fichier .lst pour fba si quelqu un a la solution ca serai grandiose !

De meme est il possible d editer la disposition du menu et la taille des snapshots dans advancemenu ? (De maniere precise comme dans mala)

Merci ;)



AsPiC

je sait même pas ce qu'est une fichier .lst alors autant te dire que je vais pas beaucoup t'aider...

Tu cherche à faire quoi ?

_n3o_

#2
Advmenu utilise des fichiers .lst generés par mame, mess, fba , etc pour afficher le bon nom d'une rom (genre wonder momo au lieu de wndrmomo, Metal Slug au lieu de Mslug)

Pour mame il me semble qu'il faut passer par un invité de commande et taper mame.exe -gamelist
Mais pour FBA ca passe pas (ni meme la commande -listinfo mais bon je dois me merder quelque part)

CitationFB Alpha can be invoked with command line options. When invoked this way, FB Alpha will automatically switch to fullscreen mode when a game is loaded, and the Escape key quits FB Alpha. The options are as follows;

fba <game> [-listinfo|-w|-a|-r <width>x<height>x<depth>]

<game> = The game's romname. You can specify the filename of a savestate or input recording instead.

-w = Run in a window instead of fullscreen.

-a = Use the same resolution as the original arcade game.

-r = Specify a resolution. Depth is optional.

If neither -a nor -r are specified, the default fullscreen resolution is used.

Examples:

fba sfa3 -r 800x600x32

fba awesome_sfzch_recording.fr -w

fba vsav2 -a

For front-ends, you can also do fba -listinfo, -listinfomdonly, -listinfopceonly, -listinfotg16only, -listinfosgxonly, -listinfosg1000only, -listinfocolecoonly, -listinfosmsonly or -listinfoggonly which will output information about the supported games to stdout, and the ROM files they need in the MAME XML format.

You can also do fba -listextrainfo. This will output the following data in a tab-delimited format to stdout; setname, visible size, aspect ratio, hardware code, hardware description, working status, max players, comments.


-------- EDIT --------

J'ai eu une épiphanie ^^

Pour ceux que ca interesse :

invité de commande -->


fba -listinfo>fba.lst



Reste a voir pour modifier le positionnement du menu (j'aimerai ne pas avoir a toucher aux sources)



AsPiC


_n3o_

#4
Tu veux m'aider ?

Je dois retravailler le fichier generé ...

J'ai batché pas mal de choses mais me reste de la suppression de lignes a faire a la main ... JOIE !!

Genre ca :

game (
      name aerofgtc
      cloneof aerofgt
      romof  aerofgt
      description "Aero Fighters (Turbo Force hardware set 2)"
      year 1992
      manufacturer "Video System Co."
      <rom       name="v2.149" size="262144" crc="f187aec6"/>
      <rom       name="v1.111" size="262144" crc="9e684b19"/>
      <rom       name="it-19-03" size="524288" crc="85eba1a4"/>
      <rom       name="it-19-02" size="524288" crc="4f57f8ba"/>
      <rom       name="it-19-04" size="524288" crc="3b329c1f"/>
      <rom       name="it-19-05" size="524288" crc="02b525af"/>
      <rom       name="g27" size="262144" crc="4d89cbc8"/>
      <rom       name="g26" size="262144" crc="8072c1d2"/>
      <rom       name="2.153" merge="2.153" size="131072" crc="a1ef64ec"/>
      <rom       name="it-19-01" merge="it-19-01" size="262144" crc="6d42723d"/>
      <rom       name="it-19-06" merge="it-19-06" size="1048576" crc="cdbbdb1d"/>
   )

faut supprimer toutes les lignes <rom

Le fichier fait 101384 lignes ...


----- edit -----------
Textwrangler (OSX) powaaaa
en deux coups de couillere a pot c'etais plié  :-)=



AsPiC

Oui ou sinon tu importe ton fichier dans un tableur, tu filtre sur les lignes que tu veux virer, tu supprime, un coup de copier/coller, et voilà ;)