Author Topic: Help for FBN Ubuntu linux 20.04  (Read 3886 times)

Offline akafox

  • Newbies
  • *
  • Posts: 12
  • Karma: +0/-0
Help for FBN Ubuntu linux 20.04
« on: August 18, 2020, 12:05:24 AM »
okay so..I compiled FBN just fine ..games work ect...

but I have some questions..

1. what are all the command line switches?
2. How do I create a base config .ini file?
3. is there a way to do multi-slot on the linux version?
4. how do I change the default bios for neogeo?
5. Is there a menu beyond the -menu tag (like the windows version)?
6. Are all features from the windows version available for linux in this version?

I have used FBA for years so I am familiar with the set up and things...but never tried it on linux without WINE before (maybe I should try beer instead?  ;p )

Sorry for the many questions...but i am sure there will be more to come :P Glad that FBN is native linux now! :D

And thank you for all your hard work!

Offline Kev

  • FBNeo Dev
  • ******
  • Posts: 318
  • Karma: +2000/-0
  • Definitely the best Kev
Re: Help for FBN Ubuntu linux 20.04
« Reply #1 on: August 18, 2020, 04:34:30 AM »
1. what are all the command line switches?
2. How do I create a base config .ini file?
3. is there a way to do multi-slot on the linux version?
4. how do I change the default bios for neogeo?
5. Is there a menu beyond the -menu tag (like the windows version)?
6. Are all features from the windows version available for linux in this version?


1)
-cd
Run a neogeo CD image


-joy

Enable joysticks

-menu

-novsync

disable vsync

-integerscale

force integer scaling (so e.g. always make sure that the rendering is stretched by a full amount to stop scaling artifacts)

-fullscreen

run fullscreen

-dat

generate dat files

-autosave

automatically save/load game state on exit

-nearest
use nearest neighbour filtering

-linear
use linear filtering

-best

use the SDL2 "best" filtering

2) This should be generated on first run. It will put it wherever SDL_GetPrefPath thinks is the best place. You may need to search for fb*.ini to find it

3) not currently

4) Editing the INI is the only way so far

5) press tab during gameplay, although this is far from finished (and won't be until the winter I expect!)

6) not yet, but I am planning on adding more

Offline akafox

  • Newbies
  • *
  • Posts: 12
  • Karma: +0/-0
Re: Help for FBN Ubuntu linux 20.04
« Reply #2 on: August 21, 2020, 01:10:57 AM »
-cd
Run a neogeo CD image

(self explanatory)

-joy
Enable joysticks

(self explanatory)

-menu

..that's new...either that or I missed it!  :eek: I like it! :)

-novsync
disable vsync

(self explanatory)

-integerscale
force integer scaling (so e.g. always make sure that the rendering is stretched by a full amount to stop scaling artifacts)

(self explanatory)

-fullscreen
run fullscreen

(self explanatory)

-dat
generate dat files

..ALWAYS good to have!

-autosave
automatically save/load game state on exit

(self explanatory)

-nearest
use nearest neighbour filtering

(self explanatory) well

-linear
use linear filtering

(self explanatory) except

-best
use the SDL2 "best" filtering

(self explanatory) what are the list of filters?

2) This should be generated on first run. It will put it wherever SDL_GetPrefPath thinks is the best place. You may need to search for fb*.ini to find it

okay found it..now I am understanding my "problem" with changes being made not working...

3) not currently

okay. I will point out when I try to load the neogeo rom (i.e. fbneo neogeo at the terminal) it segfaults. On the windows version it brings up the menu... (but I guess just like you said!)

4) Editing the INI is the only way so far

that was a pain in the tail...but I got it working... (my findings in case anyone is interested...)

input  "System"           constant

0x80 MVS Asia/Europe ver. 6 (1 slot) BIOS
0x81 MVS Asia/Europe ver. 5 (1 slot) BIOS
0x82 MVS Asia/Europe ver. 3 (4 slot) BIOS
0x83 MVS USA ver. 5 (2 slot) BIOS
0x84 MVS USA ver. 5 (4 slot) BIOS
0x85 MVS USA ver. 5 (6 slot) BIOS
0x86 MVS USA (U4) BIOS
0x87 MVS USA (U3) BIOS
0x88 MVS Japan ver. 6 (? slot) BIOS
0x89 MVS Japan ver. 5 (? slot) BIOS
0x8A MVS Japan ver. 3 (4 slot) BIOS
0x8B NEO-MVH MV1C BIOS (Asia)
0x8C NEO-MVH MV1C BIOS (Japan)
0x8D MVS Japan (J3)
0x8E MVS Japan (J3, alt)
0x8F AES Japan BIOS
0x90 AES Asia BIOS
0x91 Development Kit BIOS
0x92 Deck ver. 6 (Git Ver 1.3) BIOS
0x93 Universe BIOS ver. 4.0 BIOS
0x94 Universe BIOS ver. 3.3 BIOS
0x95 Universe BIOS ver. 3.2 BIOS
0x96 Universe BIOS ver. 3.1 BIOS
0x97 Universe BIOS ver. 3.0 BIOS
0x98 Universe BIOS ver. 2.3 BIOS
0x99 Universe BIOS ver. 2.3 (alt) BIOS
0x9A Universe BIOS ver. 2.2 BIOS
0x9B Universe BIOS ver. 2.1 BIOS
0x9C Universe BIOS ver. 2.0 BIOS
0x9D Universe BIOS ver. 1.3 BIOS
0x9E Universe BIOS ver. 1.2 BIOS
0x9F Universe BIOS ver. 1.2 (alt) BIOS
0xA0 Universe BIOS ver. 1.1 BIOS
0xA1 Universe BIOS ver. 1.0 BIOS
0xA2 NeoOpen BIOS v0.1 beta BIOS

5) press tab during gameplay, although this is far from finished (and won't be until the winter I expect!)

okay I had the opengl mode on..so it was not showing. It looked like it was just blanking the creen and pausing (perfection takes time it is understandable!)

6) not yet, but I am planning on adding more

Hey no rush! I had to ask just in case I was missing something. Again thank you for your hard work! :)

AND...I must confess my dumbness... I clicked to load the binary...instead of running it from the terminal like a smart fox would. Sorry I would have saved you some time in your life *FACEPAWS* ...I'll just go sit over under that sign that says DUH!    :biggrin: (but it is great to not have to run fbn without wine or retroarch if I need to!)

Offline Kev

  • FBNeo Dev
  • ******
  • Posts: 318
  • Karma: +2000/-0
  • Definitely the best Kev
Re: Help for FBN Ubuntu linux 20.04
« Reply #3 on: August 21, 2020, 04:00:08 AM »
When you say you were using opengl, do you mean you were setting the fbn output to use the opengl renderer or did you just use the defaul sdl2 renderer (this is stuff set in the ini). Not sure why the tab menu is not working for you if the -menu menu is working.

Offline akafox

  • Newbies
  • *
  • Posts: 12
  • Karma: +0/-0
Re: Help for FBN Ubuntu linux 20.04
« Reply #4 on: August 21, 2020, 11:33:58 AM »
When you say you were using opengl, do you mean you were setting the fbn output to use the opengl renderer or did you just use the defaul sdl2 renderer (this is stuff set in the ini).

Not sure?  Not sure how to change sdl2 render. I did compile the sdl2 version.. in the fbneo.ini file I changed

// video mode 0 = standard SDL 1= (very expiermental) opengl
nVidSelect 0

to

// video mode 0 = standard SDL 1= (very expiermental) opengl
nVidSelect 1

Or is that it? (like you said...)

I will try a "standard sdl compile (i.e. not a SDL2 compile) I will point out that I do have some graphical problems with this machine running games and such (not any in FBN...just other type games). So I will try on another machine as well just to make sure.

the same thing happens on my other machine as well...

the make sdl compiled without error. However when trying to run from the terminal I get:

~/FBNeo$ ./fbneo menu
FBNeo v0.2.97.44
Loading config from fbneo.ini
Loading config from fbneo.ini
menu is not supported by FinalBurn Neo.
Doing exit cleanup

no error no nothing....it doesn't even run. Games will run without problem. However the TAB key seems not to work at all...
« Last Edit: August 21, 2020, 12:19:00 PM by akafox »

Offline Kev

  • FBNeo Dev
  • ******
  • Posts: 318
  • Karma: +2000/-0
  • Definitely the best Kev
Re: Help for FBN Ubuntu linux 20.04
« Reply #5 on: August 21, 2020, 12:44:47 PM »
Sorry, the sdl2 compile is what you need (I don't recommend the SDL1 build at all), just set

nVidSelect 0

as

nVidSelect 1

will use a worse renderer. They both still use OpenGL if available, just the standard SDL2 renderer is more complete and less buggy.

Offline akafox

  • Newbies
  • *
  • Posts: 12
  • Karma: +0/-0
Re: Help for FBN Ubuntu linux 20.04
« Reply #6 on: August 21, 2020, 08:59:22 PM »
When I use the nVidSelect 0 option I can see the tab menu

When I use the nVidSelect 1 option I can not see the tab menu


I am using the SDL2 build..I just tried the SDL1 build "just to compare"

Offline akafox

  • Newbies
  • *
  • Posts: 12
  • Karma: +0/-0
Re: Help for FBN Ubuntu linux 20.04
« Reply #7 on: August 21, 2020, 10:52:44 PM »
On another topic..sort of...

I configured my gamepad using the windows version via WINE. Works great..in wine..

When i try to copy the game config to the linux side...it maps player 2 instead...and up and down will not work all other buttons and left and right work.

I tried manually moving the info to the player one...but it rewrites my config!

Offline akafox

  • Newbies
  • *
  • Posts: 12
  • Karma: +0/-0
Re: Help for FBN Ubuntu linux 20.04
« Reply #8 on: November 04, 2020, 04:14:53 PM »
well i was forgetting to use the -joy switch

heh  :redface: