1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

emulators/fbneo: New port: An emulator for arcade games and select consoles

This is the official repository of FinalBurn Neo, an Emulator for Arcade Games
& Select Consoles. It is based on the emulators FinalBurn and old versions of
MAME.

FBNeo, or FinalBurn Neo, is a multi-system arcade emulator designed for retro
gaming enthusiasts. It emulates a wide range of classic arcade games and
consoles, such as Capcom CPS-1, CPS-2, CPS-3, Neo Geo, and Sega System 16,
among others. FBNeo focuses on accurate emulation and high performance,
supporting advanced features like netplay, rewinding, and shader effects. It's
a continuation of the FinalBurn and FinalBurn Alpha projects, aiming to provide
a comprehensive and user-friendly platform for preserving and enjoying vintage
games on modern systems.
This commit is contained in:
Jose Alonso Cardenas Marquez 2024-11-22 16:26:15 -08:00
parent 96ab663bbf
commit bedd1e49ee
No known key found for this signature in database
GPG Key ID: 335B9246BA5E30F4
7 changed files with 106 additions and 0 deletions

View File

@ -33,6 +33,7 @@
SUBDIR += emu64
SUBDIR += emulationstation
SUBDIR += es-de
SUBDIR += fbneo
SUBDIR += fceux
SUBDIR += flexemu
SUBDIR += flycast

40
emulators/fbneo/Makefile Normal file
View File

@ -0,0 +1,40 @@
PORTNAME= fbneo
DISTVERSION= 1.0.0.3.20241120
CATEGORIES= emulators
MAINTAINER= acm@FreeBSD.org
COMMENT= An emulator for arcade games and select consoles
WWW= https://github.com/finalburnneo/FBNeo
LICENSE= FBNeo
LICENSE_NAME= FBNeo
LICENSE_FILE= ${WRKSRC}/src/license.txt
LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
BUILD_DEPENDS= nasm>0:devel/nasm
USES= compiler:c11 gl gmake sdl shebangfix
USE_GITHUB= yes
GH_ACCOUNT= finalburnneo
GH_PROJECT= FBNeo
GH_TAGNAME= 60b73a1fd017d7d8af5a428e16be17e24847d3a2
USE_GL+= gl
USE_SDL= sdl2 image2
SHEBANG_GLOB= *.pl
PLIST_FILES= bin/fbneo \
share/fbneo/gamelist.txt
PLIST_DIRS= share/fbneo
MAKEFILE= makefile
ALL_TARGET= sdl2
SUB_FILES= pkg-message
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_PROGRAM} ${WRKSRC}/fbneo ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/gamelist.txt ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>

3
emulators/fbneo/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1732150958
SHA256 (finalburnneo-FBNeo-1.0.0.3.20241120-60b73a1fd017d7d8af5a428e16be17e24847d3a2_GH0.tar.gz) = c5a92689da77aff002504ef631a9e81f40f8fea7cf33bfe5d84d27391ea59c17
SIZE (finalburnneo-FBNeo-1.0.0.3.20241120-60b73a1fd017d7d8af5a428e16be17e24847d3a2_GH0.tar.gz) = 13794300

View File

@ -0,0 +1,14 @@
--- makefile.sdl2.orig 2024-11-21 01:07:09 UTC
+++ makefile.sdl2
@@ -170,9 +170,9 @@ ifdef DARWIN
#
ifdef DARWIN
- CC = gcc
+ CC ?= gcc
else
- CC = gcc
+ CC ?= gcc
endif
CXX = $(CC)

View File

@ -0,0 +1,11 @@
--- src/burner/sdl/drv.cpp.orig 2024-11-21 06:47:25 UTC
+++ src/burner/sdl/drv.cpp
@@ -3,7 +3,7 @@ int bDrvOkay = 0; // 1 if the Dr
#include "neocdlist.h"
int bDrvOkay = 0; // 1 if the Driver has been initted okay, and it's okay to use the BurnDrv functions
-char szAppRomPaths[DIRS_MAX][MAX_PATH] = { { "/usr/local/share/roms/" }, { "roms/" }, };
+char szAppRomPaths[DIRS_MAX][MAX_PATH] = { { "/usr/local/share/fbneo/roms/" }, { "roms/" }, };
static bool bSaveRAM = false;

View File

@ -0,0 +1,25 @@
[
{ type: install
message: <<EOM
The fbneo emulator was installed
1) Run fbneo from command line
# fbneo -menu
2) First time, default config file will be generated at:
~/.local/share/fbneo/config/fbneo.ini
3) Default rom paths are %%DATADIR%%/roms and roms directories. Change it from
config file
4) You can do some in game configuration like "Mappings options" pressing key
"tab"
5) Enjoy it ;)
EOM
}
]

12
emulators/fbneo/pkg-descr Normal file
View File

@ -0,0 +1,12 @@
This is the official repository of FinalBurn Neo, an Emulator for Arcade Games
& Select Consoles. It is based on the emulators FinalBurn and old versions of
MAME.
FBNeo, or FinalBurn Neo, is a multi-system arcade emulator designed for retro
gaming enthusiasts. It emulates a wide range of classic arcade games and
consoles, such as Capcom CPS-1, CPS-2, CPS-3, Neo Geo, and Sega System 16,
among others. FBNeo focuses on accurate emulation and high performance,
supporting advanced features like netplay, rewinding, and shader effects. It's
a continuation of the FinalBurn and FinalBurn Alpha projects, aiming to provide
a comprehensive and user-friendly platform for preserving and enjoying vintage
games on modern systems.