diff --git a/emulators/Makefile b/emulators/Makefile index 52250ab31c97..1fef28a05d58 100644 --- a/emulators/Makefile +++ b/emulators/Makefile @@ -1,204 +1,205 @@ COMMENT = Emulators for other operating systems SUBDIR += 86Box SUBDIR += Ymir SUBDIR += adamem SUBDIR += almostti SUBDIR += amiberry SUBDIR += anese SUBDIR += aqemu SUBDIR += aranym SUBDIR += ares SUBDIR += atari800 SUBDIR += bfe SUBDIR += bochs SUBDIR += bsvc SUBDIR += cannonball SUBDIR += catapult SUBDIR += cemu SUBDIR += cingb SUBDIR += cpmtools SUBDIR += cpmtools2 SUBDIR += darcnes SUBDIR += dgen-sdl SUBDIR += dolphin-emu SUBDIR += dosbox SUBDIR += dosbox-staging SUBDIR += dosbox-x SUBDIR += dps8m SUBDIR += dynamips-community SUBDIR += edumips64 SUBDIR += einstein-newton SUBDIR += elliott-803 SUBDIR += emu64 SUBDIR += emulationstation SUBDIR += emutos SUBDIR += es-de SUBDIR += fbneo SUBDIR += fbsd-duckstation SUBDIR += fceux SUBDIR += firebird SUBDIR += flexemu SUBDIR += flycast SUBDIR += fmsx SUBDIR += frodo SUBDIR += fs-uae SUBDIR += fs-uae-launcher SUBDIR += fuse SUBDIR += fuse-roms SUBDIR += fuse-utils SUBDIR += gbe SUBDIR += gens SUBDIR += gngb SUBDIR += gxemul SUBDIR += hatari SUBDIR += hercules SUBDIR += higan SUBDIR += hv_kvp_cmd SUBDIR += javatari SUBDIR += joytran SUBDIR += jzintv SUBDIR += klh10 SUBDIR += lib765 SUBDIR += libc6-shim SUBDIR += libdsk SUBDIR += libmt32emu SUBDIR += libretro-bsnes SUBDIR += libretro-flycast SUBDIR += libretro-kronos SUBDIR += libretro-pcsx2 SUBDIR += libretro-ppsspp SUBDIR += libretro-reicast SUBDIR += libretro-vice SUBDIR += libspectrum SUBDIR += linux-c7 SUBDIR += linux-power10-functional-sim SUBDIR += linux-power9-functional-sim SUBDIR += linux-rl9 SUBDIR += linux_base-c7 SUBDIR += linux_base-rl9 SUBDIR += magia SUBDIR += mame SUBDIR += mastergear SUBDIR += mednafen SUBDIR += mesen SUBDIR += mgba SUBDIR += mupen64plus SUBDIR += mupen64plus-audio-sdl SUBDIR += mupen64plus-core SUBDIR += mupen64plus-input-sdl SUBDIR += mupen64plus-plugins SUBDIR += mupen64plus-qt SUBDIR += mupen64plus-rsp-cxd4 SUBDIR += mupen64plus-rsp-hle SUBDIR += mupen64plus-rsp-z64 SUBDIR += mupen64plus-ui-console SUBDIR += mupen64plus-video-arachnoid SUBDIR += mupen64plus-video-glide64 SUBDIR += mupen64plus-video-glide64mk2 SUBDIR += mupen64plus-video-rice SUBDIR += mupen64plus-video-z64 SUBDIR += nemu SUBDIR += nestopia SUBDIR += o2em SUBDIR += ods2reader SUBDIR += open-simh SUBDIR += open-vm-kmod SUBDIR += open-vm-tools SUBDIR += openmsx SUBDIR += p5-Acme-6502 SUBDIR += parallels-tools SUBDIR += pcem SUBDIR += pcemu SUBDIR += pcsx2 SUBDIR += playonbsd SUBDIR += ppsspp SUBDIR += py-gns3-converter SUBDIR += py-m64py SUBDIR += py-qemu.qmp SUBDIR += py-unicorn SUBDIR += qemu SUBDIR += qemu-cheri SUBDIR += qemu-devel SUBDIR += qemu-powernv SUBDIR += qemu-user-static SUBDIR += qemu-user-static-devel SUBDIR += qmc2 SUBDIR += quasi88 SUBDIR += reicast SUBDIR += ripes SUBDIR += riscv-isa-sim SUBDIR += rpcs3 SUBDIR += rubygem-fission SUBDIR += rvvm SUBDIR += rvvm-devel SUBDIR += sameboy SUBDIR += simh SUBDIR += simh-hp2100 SUBDIR += simh-hp3000 SUBDIR += simh-hpdoc SUBDIR += snes9x-gtk SUBDIR += spim SUBDIR += stella SUBDIR += stonx + SUBDIR += supermodel SUBDIR += teo SUBDIR += tic-80 SUBDIR += tiemu3 SUBDIR += tilem SUBDIR += tme SUBDIR += tnylpo SUBDIR += tpm-emulator SUBDIR += uae SUBDIR += ucon64 SUBDIR += uconvert SUBDIR += ukncbtl SUBDIR += unicorn SUBDIR += vba SUBDIR += vboxtool SUBDIR += vgb-bin SUBDIR += vgba-bin SUBDIR += vice SUBDIR += virtualbox-ose SUBDIR += virtualbox-ose-70 SUBDIR += virtualbox-ose-71 SUBDIR += virtualbox-ose-72 SUBDIR += virtualbox-ose-additions SUBDIR += virtualbox-ose-additions-70 SUBDIR += virtualbox-ose-additions-71 SUBDIR += virtualbox-ose-additions-72 SUBDIR += virtualbox-ose-additions-legacy SUBDIR += virtualbox-ose-kmod SUBDIR += virtualbox-ose-kmod-70 SUBDIR += virtualbox-ose-kmod-71 SUBDIR += virtualbox-ose-kmod-72 SUBDIR += virtualbox-ose-kmod-legacy SUBDIR += virtualbox-ose-legacy SUBDIR += visualboyadvance-m SUBDIR += vmips SUBDIR += vmsbackup SUBDIR += vmw SUBDIR += vt100 SUBDIR += wine SUBDIR += wine-devel SUBDIR += wine-gecko SUBDIR += wine-gecko-devel SUBDIR += wine-mono SUBDIR += wine-mono-devel SUBDIR += wine-proton SUBDIR += winetricks SUBDIR += x16-emulator SUBDIR += x16-rom SUBDIR += x48 SUBDIR += x49gp SUBDIR += xbraitenberg SUBDIR += xcpc SUBDIR += xen-kernel SUBDIR += xhomer SUBDIR += xsystem35 SUBDIR += xzx SUBDIR += yaze-ag SUBDIR += yuzu SUBDIR += z80pack SUBDIR += zsnes .include diff --git a/emulators/supermodel/Makefile b/emulators/supermodel/Makefile new file mode 100644 index 000000000000..8db1ad7c0324 --- /dev/null +++ b/emulators/supermodel/Makefile @@ -0,0 +1,71 @@ +PORTNAME= supermodel +DISTVERSIONPREFIX= v +DISTVERSION= 0.3a-20260506 +DISTVERSIONSUFFIX= -git-9c9e7b7 +CATEGORIES= emulators + +MAINTAINER= owlandrews@protonmail.com +COMMENT= Sega Model 3 arcade emulator +WWW= https://github.com/trzy/Supermodel + +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/Docs/LICENSE.txt + +ONLY_FOR_ARCHS= amd64 + +USES= compiler gl gmake localbase:ldflags sdl + +USE_GITHUB= yes +GH_ACCOUNT= trzy + +USE_GL= glu opengl +USE_SDL= net2 sdl2 + +MAKEFILE= Makefiles/Makefile.UNIX + +DESKTOP_ENTRIES= "Supermodel" \ + "${COMMENT}" \ + "supermodel" \ + "supermodel" \ + "Game;ArcadeGame;Emulator;" \ + false +SUB_FILES= pkg-message + +WRKSRC= ${WRKDIR}/Supermodel-${DISTVERSION}${DISTVERSIONSUFFIX} + +PORTDOCS= README.txt + +OPTIONS_DEFINE= DEBUGGER DOCS EXTRA_DEBUGGING + +DEBUGGER_DESC= Include console-based debugger in emulator +EXTRA_DEBUGGING_DESC= Enable extra debug logging and render state analyser for the legacy 3D engine + +DEBUGGER_MAKE_ARGS= ENABLE_DEBUGGER=1 +DEBUGGER_MAKE_ARGS_OFF= ENABLE_DEBUGGER=0 + +EXTRA_DEBUGGING_MAKE_ARGS= EXTRA_DEBUG=1 +EXTRA_DEBUGGING_MAKE_ARGS_OFF= EXTRA_DEBUG=0 + +post-patch: + @${REINPLACE_CMD} -e 's|CC =|CC ?=|g' \ + -e 's|CXX =|CXX ?=|g' \ + -e 's|LD = gcc|LD = ${CC}|g' \ + -e 's|^PLATFORM_LDFLAGS = \(.*\)|PLATFORM_LDFLAGS := \1 $$(LDFLAGS)|' \ + ${WRKSRC}/${MAKEFILE} + @${REINPLACE_CMD} -e 's|^COMMON_CFLAGS = \(.*\)|COMMON_CFLAGS = \1 $$(CPPFLAGS)|' \ + ${WRKSRC}/Makefiles/Rules.inc + +do-install: + ${MKDIR} ${STAGEDIR}${ETCDIR} + ${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/Config/Games.xml ${STAGEDIR}${ETCDIR}/Games.xml.sample + ${INSTALL_DATA} ${WRKSRC}/Config/Music.xml ${STAGEDIR}${ETCDIR}/Music.xml.sample + ${INSTALL_DATA} ${WRKSRC}/Assets/p1crosshair.bmp ${STAGEDIR}${DATADIR}/p1crosshair.bmp + ${INSTALL_DATA} ${WRKSRC}/Assets/p2crosshair.bmp ${STAGEDIR}${DATADIR}/p2crosshair.bmp + ${INSTALL_PROGRAM} ${WRKSRC}/bin/supermodel ${STAGEDIR}${PREFIX}/bin/supermodel + +do-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/Docs/${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ + +.include diff --git a/emulators/supermodel/distinfo b/emulators/supermodel/distinfo new file mode 100644 index 000000000000..8c8baa7437f2 --- /dev/null +++ b/emulators/supermodel/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1778429383 +SHA256 (trzy-supermodel-v0.3a-20260506-git-9c9e7b7_GH0.tar.gz) = 74a6310ebe080b1de08ae92bbe6b4f5ca73babb7ef184e90b23079700133b710 +SIZE (trzy-supermodel-v0.3a-20260506-git-9c9e7b7_GH0.tar.gz) = 78913611 diff --git a/emulators/supermodel/files/pkg-message.in b/emulators/supermodel/files/pkg-message.in new file mode 100644 index 000000000000..bbdc6bd6b054 --- /dev/null +++ b/emulators/supermodel/files/pkg-message.in @@ -0,0 +1,7 @@ +Now it is time to configure this package. + +ln -s %%DATADIR%% ${XDG_DATA_HOME}/supermodel/Assets + +Copy %%ETCDIR%%/Games.xml.sample and %%ETCDIR%%/Music.xml.sample +into either a ${XDG_CONFIG_HOME}/%%PORTNAME%%/Config or +$HOME/.%%PORTNAME%%/Config directory as Games.xml and Music.xml respectivly. diff --git a/emulators/supermodel/pkg-descr b/emulators/supermodel/pkg-descr new file mode 100644 index 000000000000..fd331d664211 --- /dev/null +++ b/emulators/supermodel/pkg-descr @@ -0,0 +1,9 @@ +Supermodel emulates Sega's Model 3 arcade platform, allowing you +to relive state-of-the-art 3D arcade gaming as it existed from 1996 +through 1999. It uses OpenGL, SDL2, and can run on Windows, Linux, and +macOS. It also supports network play on low-latency network connections. + +The aim of the Supermodel project is to develop an emulator that is +both accurate and playable. As with virtually all arcade hardware, no +public documentation for the Model 3 platform exists. What is known so +far has been painstakingly reverse engineered from scratch. diff --git a/emulators/supermodel/pkg-plist b/emulators/supermodel/pkg-plist new file mode 100644 index 000000000000..de38b7c0c51f --- /dev/null +++ b/emulators/supermodel/pkg-plist @@ -0,0 +1,5 @@ +bin/supermodel +@sample %%ETCDIR%%/Games.xml.sample +@sample %%ETCDIR%%/Music.xml.sample +%%DATADIR%%/p1crosshair.bmp +%%DATADIR%%/p2crosshair.bmp