Author Topic: Command Line -listinfo  (Read 3070 times)

Offline spludlow

  • New Member
  • *
  • Posts: 7
  • Karma: +0/-0
    • Spludlow MAME
Command Line -listinfo
« on: February 17, 2022, 05:08:10 AM »
Hello

I am unable to use the command line options to output the dats/XML.

I've tried it for quiet a while now on several releases, just gave it a go on Windows.x64_2022-02-17_ba4b76d.

I just don't seem to output anything to stdout. Also the first time you run it is starts the UI.

I wanted to be able to automate downloading the nightly builds and extracting the dats without any intervention.

I'd appreciate any help please?

Cheers

Sam

Offline dink

  • Administrator
  • *****
  • Posts: 5014
  • Karma: +449/-1
  • pie? I nearly bought one!
Re: Command Line -listinfo
« Reply #1 on: February 17, 2022, 09:37:04 AM »
It outputs it to stdout, try:
fbneo -listinfo > info.dat

best regards,
- dink

Offline spludlow

  • New Member
  • *
  • Posts: 7
  • Karma: +0/-0
    • Spludlow MAME
Re: Command Line -listinfo
« Reply #2 on: February 17, 2022, 10:39:30 AM »
Dink thanks for that.

I was testing without "> out.txt" expecting to see output, I'm sure I tried it that way, but maybe not. Thanks

I've worked out how to stop the UI coming up, if anyone's interested.

Just have "config/fbneo64.ini" containing:

nIniVersion 0x7FFFFF
bSkipStartupCheck 1

Cheers
Sam

Offline spludlow

  • New Member
  • *
  • Posts: 7
  • Karma: +0/-0
    • Spludlow MAME
Re: Command Line -listinfo
« Reply #3 on: February 17, 2022, 11:14:58 AM »

This will generate all the dats in Windows cmd starting with just the exe and no UI is started:

mkdir config
echo nIniVersion 0x7FFFFF > config\fbneo64.ini
echo bSkipStartupCheck 1 >> config\fbneo64.ini

fbneo64.exe -listinfo > "Arcade.xml"
fbneo64.exe -listinfocolecoonly > "ColecoVision.xml"
fbneo64.exe -listinfochannelfonly > "Fairchild Channel F.xml"
fbneo64.exe -listinfofdsonly > "FDS.xml"
fbneo64.exe -listinfoggonly > "Game Gear.xml"
fbneo64.exe -listinfosmsonly > "Master System.xml"
fbneo64.exe -listinfomdonly > "Megadrive.xml"
fbneo64.exe -listinfomsxonly > "MSX 1.xml"
fbneo64.exe -listinfongponly > "Neo Geo Pocket.xml"
fbneo64.exe -listinfonesonly > "NES.xml"
fbneo64.exe -listinfopceonly > "PC-Engine.xml"
fbneo64.exe -listinfosg1000only > "Sega SG-1000.xml"
fbneo64.exe -listinfosgxonly > "SuprGrafx.xml"
fbneo64.exe -listinfotg16only > "TurboGrafx 16.xml"
fbneo64.exe -listinfospectrumonly > "ZX Spectrum.xml"


Just watch out for these 2:
gamegear -> gg
megadrive -> md

Cheers

Offline Mucci

  • Newbies
  • *
  • Posts: 15
  • Karma: +2/-0
Re: Command Line -listinfo
« Reply #4 on: February 23, 2022, 01:23:43 AM »
what option is possible? -> check this file https://github.com/finalburnneo/FBNeo/blob/master/src/burner/win32/main.cpp -> search for "write_datfile"