Git Product home page Git Product logo

hypseus-singe's Introduction

Hypseus Singe

Hypseus Singe

Hypseus is a fork of Matt Ownby's Daphne.

A program to play laserdisc arcade games on a PC, Mac or Raspberry Pi.

This version includes Singe support for Fan Made and American Laser Games.

Features:

  • SDL2 support
  • Updated MPEG2 decoder
  • Daphne VLDP 32bit upgrade
  • Integrated (active) bezel support
  • Daphne and Singe 4k 4Gb+ M2V support
  • Singe libretro emulation path integration
  • Singe Joystick, Lightgun EV_ABS [mouse] support
  • Singe 2 full 32bit overlay support (details below)
  • Sinden support in Singe games
  • For Singe games list see here.
  • Daphne alternate overlay choices
  • Multiple GameController (hotplug) support: config
  • Advanced configuration and multi-joystick support: config
  • 'lair/ace' hardware and software original scoreboards.
  • 64bit Windows and MacOS X Ports
  • Coded exclusively in vim using a Sun Microsystems Type 5c keyboard.

Windows

Windows files and documentation can be found here

Compile

Minimum software requirements: gcc, cmake, autotools, zlib, SDL2, libtool, libzip, vorbis and ogg.

MacOS X

Use homebrew to install the following packages:

brew install cmake
brew install autoconf
brew install automake
brew install pkg-config
brew install sdl2
brew install sdl2_ttf
brew install sdl2_image
brew install libtool
brew install libvorbis
brew install libogg
brew install libzip

Newer series Macs may need to use the brew libmpeg2 package:

brew install libmpeg2

Then clone the libmpeg2 branch:

git clone --single-branch --branch libmpeg2 https://github.com/DirtBagXon/hypseus-singe.git

Raspberry Pi

For Raspberry Pi clone the RetroPie branch via:

git clone --single-branch --branch RetroPie https://github.com/DirtBagXon/hypseus-singe.git

Further RetroPie and Raspberry Pi information can be found here

Compilation with CMake

Build:

mkdir build
cd build
cmake ../src
make

Install and Run

Ensure you have data in the following daphne HOME folders:

pics, fonts, ram, roms, sound, singe, (vldp and vldp_dl)

Run hypseus with daphne arguments on the command line: Also refer to additional arguments below

hypseus lair vldp -framefile vldp_dl/lair/lair.txt -scorebezel

hypseus singe vldp -framefile singe/timegal/timegal.txt -script singe/timegal/timegal.singe

In Windows you are able to create .bat files with arguments for specific games.

Example .bat files are provided within the Windows zip file.

Retro gaming systems will require adoption within the relevant emulation scripts.

The singe -retropath argument can ease integration into libretro style systems. See RetroPie as an example.

bash scripts are provided for systems that support this shell.

Build Hypseus home and install bash scripts:

mkdir -p ~/.daphne/roms ~/.daphne/ram ~/.daphne/vldp
mkdir -p ~/.daphne/vldp_dl ~/.daphne/singe
cp doc/hypinput.ini doc/flightkey.ini ~/.daphne
cp doc/hypinput_gamepad.ini ~/.daphne
cp -R pics sound fonts ~/.daphne

sudo cp build/hypseus /usr/local/bin/hypseus.bin
sudo cp scripts/run.sh /usr/local/bin/hypseus
sudo cp scripts/singe.sh /usr/local/bin/singe
hypseus
singe

Configuration

See CmdLine

Configuration of keycodes and joysticks should be made within hypinput.ini

By default SDL2 Keycodes and the Joystick API configuration options will be used.

SDL GameController API configuration can now be enabled for supported controllers.

Enable SDL_GameController using -gamepad. Example config: hypinput.ini

Update the Controllers db by placing gamecontrollerdb.txt in the Hypseus home folder.

Use the hypjsch utilities to help with advanced scancode configurations.

Refer to keylist.txt for SDL2 keycode values.

Screenshots

(Click images for YouTube playlist)

Hypseus

singe

Altering Hypseus or Singe ROM locations in bash scripts

Edit run.sh and singe.sh, to reflect the location of your ROM folders:

HYPSEUS_SHARE=~/.daphne

Note: The default Hypseus home directory, created when run without -homedir:

~/.hypseus

Bezels

Bezel arguments are documented in: Bezels.md

Hardware USB Scoreboard

Example arguments: -usbscoreboard COM 4 19200

Full details of the USB scoreboard here.

Software Scoreboard

Enable the software external scoreboard panel in lair/ace: -scorepanel.
Use KEY_TILT to switch displays when using multiple screens.

A bezel based alternate is also available via: -scorebezel

The scorepanel, or bezel, can be positioned using -scorepanel_position x y - Window Managers may influence placement of the panel, scorebezel is not under their influence. The -scorebezel_alpha argument is a transparency option for the bezel based scoreboard.

Singe

For Singe, provide the following arguments to hypseus:

hypseus singe vldp -framefile ~/.daphne/singe/timegal/timegal.txt -script ~/.daphne/singe/timegal/timegal.singe -homedir ~/.daphne/ -datadir ~/.daphne/

Check for Singe anomalies and replacement files here.

Singe 2

Hypseus Singe has support for Singe 2 games, including full 32bit overlays.

For current details see: Hypseus Singe Data

Lightguns

Singe supports Sinden and DolphinBar based lightguns with the -manymouse argument.

This argument enables absolute (EV_ABS) mouse input event codes.

Note: -sinden automatically enables -manymouse

Singe joystick [mouse] support

Singe now automatically interprets joystick axis change as mouse movement (Gun Games).

Adjust sensitivity via -js_range <1-20> in Singe arguments, or disable with -nojoymouse

Configure joystick controls in hypinput.ini or via GameController

Extended arguments and keys

The following additional, and reimplemented, arguments have been added to Hypseus Singe:

-bezel <lair.png>          [ Specify a png bezel in 'bezels' sub-folder    ]
-blank_blue                [ VLDP blank using YUV#1DEB6B                   ]
-blank_searches            [ VLDP blanking [adjust: -min_seek_delay]       ]
-blank_skips               [ VLDP blanking [adjust: -min_seek_delay]       ]
-force_aspect_ratio        [ Force 4:3 aspect ratio                        ]
-gamepad                   [ Enable SDL_GameController configuration       ]
-grabmouse                 [ Capture mouse in SDL window                   ]
-ignore_aspect_ratio       [ Ignore MPEG aspect ratio header [01B3]        ]
-keymapfile <flight.ini>   [ Specify an alternate hypinput.ini file        ]
-linear_scale              [ Enable linear filtering when scaling          ]
-novsync                   [ Disable VSYNC presentation on Renderer [crt]  ]
-original_overlay          [ Enable daphne style overlays (lair,ace,lair2) ]
-scalefactor <25-100>      [ Scale video display area [25-100]%            ]
-scanlines                 [ Simulate scanlines [adjust: -scanline_shunt]  ]
-scanline_alpha <1-255>    [ Adjust scanline alpha blending                ]
-scanline_shunt <2-10>     [ Shunt scanline spacing [adjust: -x -y]        ]
-scorebezel                [ Bezel layer software scoreboard               ]
-scorepanel                [ Enable software scoreboard in lair/ace/tq     ]
-scorepanel_position <x y> [ Adjust position of software_scorepanel        ]
-shiftx <-100 to 100>      [ Shift x-axis on video window [%]              ]
-shifty <-100 to 100>      [ Shift y-axis on video window [%]              ]
-tiphat                    [ Invert joystick SDL_HAT_UP and SDL_HAT_DOWN   ]
-usbscoreboard <args>      [ Enable USB serial support for scoreboard:     ]
                           [ Arguments: (i)mplementation, (p)ort, (b)aud   ]
-vertical_screen           [ Reorient calculations in logical fullscreen   ]
-vertical_stretch <1-24>   [ Overlay stretch (cliff/gtg only)              ]

-8bit_overlay              [ Restore original 8bit Singe overlays          ]
-blend_sprites             [ Restore BLENDMODE outline on Singe sprites    ]
-bootsilent                [ Mute sound during initVLDP() - if possible    ]
-js_range <1-20>           [ Adjust Singe joystick sensitivity: [def:5]    ]
-manymouse                 [ Enable ABS mouse input [lightguns] [gungames] ]
-nocrosshair               [ Request game does not display crosshairs      ]
-retropath                 [ Singe data path rewrites [.daphne]            ]
-sinden <1-10> <color>     [ Enable software border for lightguns          ]
                           [ Color: (w)hite, (r)ed, (g)reen, (b)lue or (x) ]

Alt-Enter                  [ Toggle fullscreen                             ]
Alt-Backspace              [ Toggle scanlines                              ]
[KEY_BUTTON3]              [ Toggle scoreboard display in lair/ace         ]
[KEY_COIN1]=|[KEY_START1]  [ Joystick hotkey combination for [KEY_QUIT]    ]
[KEY_TILT]                 [ Switch scorepanel display screen lair/ace/tq  ]

Enforce SDL Window context when Renderer auto-detection fails (no further extensions enabled):

-opengl                    [ Enable OpenGL SDL Window context              ]
-vulkan                    [ Enable Vulkan SDL Window instance             ]

Switch SDL_TEXTUREACCESS *

-texturestream             [ Enable SDL_TEXTUREACCESS_STREAMING            ]
-texturetarget             [ Enable SDL_TEXTUREACCESS_TARGET (Default)     ]

* This can aid SBC's with SDL2 => 2.0.16

Support

This software intended for educational purposes only. Please submit issues or pull requests directly to the project.

DO NOT submit issues or request support from the official Daphne forums!

About

Open development by the original author, Matt Ownby, ceased years ago.

Singe was created by Scott Duensing as a plugin to Daphne to allow the playing of American Laser Games.

This repository was created to expand the Hypseus project started by Jeffrey Clark. Many overlays were unimplemented in the original repository. Singe had also been removed.

The name of this application was changed to Hypseus (sibling to Daphne) so the original authors of Daphne would not be burdened with requests for support.

A massive thanks goes out to Matt Ownby, Scott Duensing, Jeffrey Clark, Manuel Alfayate, David Griffith and the many other developers who made their work available for me to build upon. Without them this project would not be possible.

License

Hypseus Singe, Being Retro Orientated This Humble Emulator Regenerates
Copyright (C) 2021-2024 DirtBagXon

Hypseus, Multiple Arcade Laserdisc Emulator
Copyright (C) 2016 Jeffrey Clark

Daphne, the First Ever Multiple Arcade Laserdisc Emulator
Copyright (C) 1999-2013 Matt Ownby

GNU General Public License version 3

This program is free software: you can redistribute it and/or modify
it under the terms of the [GNU General Public License] as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
[GNU General Public License] for more details.

Trademark

The "Hypseus Singe" mark is used to uniquely identify this project as an Arcade Laserdisc Emulator. Any direct or indirect commercial use of the mark "Hypseus" is strictly prohibited without express permission.

hypseus-singe's People

Contributors

davidgriffith avatar dirtbagxon avatar glebm avatar h0tw1r3 avatar lmerckx avatar mcspaeth avatar mrfixit2001 avatar ozfalcon avatar scottmsilver avatar vanfanel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hypseus-singe's Issues

Emuelec 4.8 starting hypseus 2.11.2 error Could not initialize SDL IMG

Description

Starting release 2.11.2 commit e2ad79d

I'm unable to start hypseus eror message Could not initialize

Previous versions were working.

thx for your support

Platform

odroid n2+ 4GB
Emuelec 4.8 platform Linux EMUELEC 4.9.269 #1 SMP PREEMPT Sun Jun 2 23:41:48 CEST 2024 aarch64 GNU/Linux
SDL 2 2.28.2
SDL 2 img 2.6.3
SDL 2 ttf 2.0.18

Log

PLATFORM: daphne
ROM NAME: /storage/roms/daphne/roms/Tron.daphne
BASE ROM NAME: Tron.daphne
USING CONFIG: /storage/.config/retroarch/retroarch.cfg
1st Argument: /storage/roms/daphne/roms/Tron.daphne
2nd Argument: -Pdaphne
3rd Argument: --core=HYPSEUS
4th Argument: --emulator=HYPSEUS
Full arguments: /storage/roms/daphne/roms/Tron.daphne -Pdaphne --core=HYPSEUS --emulator=HYPSEUS --controllers=-p1index 0 -p1guid 030086655e040000a10200000a060000
Run Command is:
/usr/bin/bash hypseus.start.sh /storage/roms/daphne/roms/Tron.daphne
Emulator Output is:
[ error ] �[31;1mCould not initialize SDL IMG!�[0m
exit 1

Feature: integration with RetroArch

Very excited to have learned this project exists!

Is it possible to adapt hypseus as a Libretro core?
I play all my games through CRT and love RetroArch's switchres integration.

Would be great to see this being implemented into RetroArch since current Daphne implementation is mostly for Android while I run x86

Bezel elements randomly not appearing

Logging this issue for tracking and notification.

Since 2.11.1 the Windows release experiences this issue.

A fix should be in place in the next release.

Impossible to setup dpad in hypinput.ini

Hello,

Your github is very helpful and very detailed, i have however an issue with assigning the directions to the D-PAD.

My controller is a Xbox One S controller, and is identified as SDL index 3, i would like to set the directions to the dpad and not to the left joystick:
KEY_UP = SDLK_UP 0 0 -202
KEY_DOWN = SDLK_DOWN 0 0 +202
KEY_LEFT = SDLK_LEFT 0 0 -201
KEY_RIGHT = SDLK_RIGHT 0 0 +201

In SDL, the directions are identified as hats and not as buttons.

How can i set the 3rd value of these lines to map to the dpad ?

Regards

Separate ROM Folder

Hiya,

I'm building hypseus singe on Linux (EndeavourOS) and I was curious if it was possible to have a separate ROMs folder.

I have the ~/.daphne folder set up as below with all of the prerequisite files loaded:

tree .daphne -d
.daphne
├── bezels
├── fonts
├── logs
├── pics
│   └── obsolete
├── ram
├── roms
├── screenshots
├── singe
├── sound
├── vldp
└── vldp_dl

I have a distinct ROM folder outside of the ~/.daphne folder in ~/Emulation/roms/daphne and a sample bash script to load a lair.zip from that folder below:

#!/bin/sh

cd /home/dedicated/Emulation/roms/daphne/

hypseus lair vldp -framefile /home/dedicated/Emulation/roms/daphne/lair/lair.txt

However, I get the following error message:

2023-10-19 21:50:23.463 INFO  [136220] [game::load_rom@875] Loading ./roms/lair/dl_f2_u1.bin ... 0 bytes read into memory
2023-10-19 21:50:23.463 WARN  [136220] [game::load_roms@743] ROM dl_f2_u1.bin couldn't be found in roms/lair/, or in ./roms/lair.zip
2023-10-19 21:50:24.464 ERROR [136220] [printerror@54] Could not load ROM images! You must supply these.

The ROM works fine if I place it in ~/.daphne/roms but the goal here is to have all of the required files (pics, fonts, etc) for Hypseus Singe in ~/.daphne and to have the ROM folder in another place. Is this doable or is there a way to make this possible?

Segmentation fault on RPi4

Greetings,

I've succesfully built hypseus 2.8.0 on a Raspberry Pi4 using the "RetroPie" branch and am able to launch a few games succesfully.
However any attempt to run other games cause a segfault after succesfully parsing the txt file. It seems related to SDL but my GDB skills are subpar. I'm willing to run tests to help, just let me know what.

pi@pi4:/usr/local/lib/hypseus $ gdb ./hypseus 
GNU gdb (Raspbian 10.1-1.7) 10.1.90.20210103-git
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./hypseus...
(gdb) run badlands vldp -framefile vldp/badlands/badlands.txt 
Starting program: /usr/local/lib/hypseus/hypseus badlands vldp -framefile vldp/badlands/badlands.txt
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
2022-01-28 18:34:48.345 INFO  [14995] [reset_logfile@324] Version v2.8.0-RPi
2022-01-28 18:34:48.346 INFO  [14995] [reset_logfile@328] Command line: /usr/local/lib/hypseus/hypseus badlands vldp -framefile vldp/badlands/badlands.txt 
[Detaching after vfork from child process 14998]
2022-01-28 18:34:48.346 INFO  [14995] [reset_logfile@329] CPU : UnknownCPU || Mem : 3584 megs
[Detaching after vfork from child process 15003]
2022-01-28 18:34:48.352 INFO  [14995] [reset_logfile@330] OS : Linux 5.10 || Video : BCM2835
2022-01-28 18:34:48.357 INFO  [14995] [reset_logfile@331] RGB2YUV Function: C
2022-01-28 18:34:48.357 INFO  [14995] [reset_logfile@337] Line Blending Function: C
2022-01-28 18:34:48.357 INFO  [14995] [reset_logfile@344] Audio Mixing Function: C
[New Thread 0xf689d3b0 (LWP 15008)]
[New Thread 0xf5eff3b0 (LWP 15009)]
2022-01-28 18:34:48.387 WARN  [14995] [sound::init@208] WARNING : requested 2048 samples for sound buffer, but got 1024 samples
2022-01-28 18:34:48.434 INFO  [14995] [SDL_input_init@445] No joysticks detected
2022-01-28 18:34:48.434 WARN  [14995] [CFG_Keys@296] keymapfile not found, using default
2022-01-28 18:34:48.434 INFO  [14995] [game::load_compressed_rom@946] Loading compressed ROM image badlands.a13 ... 8192 bytes read.
2022-01-28 18:34:48.435 INFO  [14995] [game::load_compressed_rom@946] Loading compressed ROM image badlands.a14 ... 8192 bytes read.
2022-01-28 18:34:48.435 INFO  [14995] [game::load_compressed_rom@946] Loading compressed ROM image badlands.c8 ... 8192 bytes read.
2022-01-28 18:34:48.435 INFO  [14995] [game::load_compressed_rom@946] Loading compressed ROM image badlands.c4 ... 32 bytes read.
2022-01-28 18:34:51.844 INFO  [14995] [ldp_vldp::read_frame_conversions@1043] Framefile parse succeeded. Video/Audio directory is: vldp/badlands/./
[New Thread 0xee2293b0 (LWP 15010)]

Thread 1 "hypseus" received signal SIGSEGV, Segmentation fault.
0xf7f50d44 in ?? () from /usr/lib/arm-linux-gnueabihf/libSDL2-2.0.so.0

Thank you!

Trouble compiling/linking on Ubuntu 18.04

Cloned the repo, compilation seemed to go alright, but failed during linking with

[ 99%] Linking CXX executable hypseus
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libogg.a(framing.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
CMakeFiles/hypseus.dir/build.make:125: recipe for target 'hypseus' failed
make[2]: *** [hypseus] Error 1
CMakeFiles/Makefile2:76: recipe for target 'CMakeFiles/hypseus.dir/all' failed
make[1]: *** [CMakeFiles/hypseus.dir/all] Error 2
Makefile:105: recipe for target 'all' failed
make: *** [all] Error 2

Ubuntu 18.04

RetroPie Audio Sync Issue

Several of the Singe games seem to go out of sync almost immeditaely:

TRON
Space Ace Enhanced
Action Max Games
etc...

Is this due to the overall lack of power on the Pi platform or is this something I can address on my build?

Thank you in advance for your help.

Pi 5 Controller Mapping

This is what I used on my Pi 4 build:
[KEYBOARD]
KEY_UP = 273 114 14
KEY_DOWN = 274 102 15
KEY_LEFT = 276 100 16
KEY_RIGHT = 275 103 17
KEY_BUTTON1 = 306 97 2
KEY_BUTTON2 = 308 115 1
KEY_BUTTON3 = 32 113 4
KEY_START1 = 49 0 10
KEY_START2 = 50 0 11
KEY_COIN1 = 53 0 9
KEY_COIN2 = 54 0 7
KEY_SKILL1 = 304 119 3
KEY_SKILL2 = 122 105 6
KEY_SKILL3 = 120 107 8
KEY_SERVICE = 57 0 0
KEY_TEST = 283 0 0
KEY_RESET = 284 0 0
KEY_SCREENSHOT = 293 0 0
KEY_QUIT = 27 113 0 0
END

But on the Pi 5 START and SELECT don't seem to be mapped to a number anymore so my coin and start are now different buttons. Any idea what those numbers should now be?

(Daphne games) Not working in RetroPie

The software scoreboard is the only things appearing on screen. After a couple of minutes, it says:
"Player 1: 2 Player 2: 15P2"

/dev/shm/runcommand.log says

Parameters:
Executing: SDL1_VIDEODRIVER=dispmanx SDL_DISPMANX_WIDTH=3840 SDL_DISPMANX_HEIGHT=2160 /opt/retropie/emulators/daphne/daphne.sh "/home/pi/RetroPie/roms/daphne/lair.daphne"
[version] Hypseus Singe: v2.6.0-RPi
[console] Setting alternate home dir: /opt/retropie/emulators/daphne
2021-07-10 20:19:34.594 INFO  [6305] [reset_logfile@321] Version v2.6.0-RPi
2021-07-10 20:19:34.595 INFO  [6305] [reset_logfile@325] Command line: /opt/retropie/emulators/daphne/daphne.bin lair vldp -nohwaccel -framefile /home/pi/RetroPie/roms/daphne/lair.daphne/lair.txt -homedir /opt/retropie/emulators/daphne -fullscreen
2021-07-10 20:19:34.595 INFO  [6305] [reset_logfile@326] CPU : UnknownCPU || Mem : 7872 megs
2021-07-10 20:19:34.595 INFO  [6305] [reset_logfile@327] OS : Linux 5.4 || Video : Unknown video
2021-07-10 20:19:34.595 INFO  [6305] [reset_logfile@328] RGB2YUV Function: C
2021-07-10 20:19:34.595 INFO  [6305] [reset_logfile@334] Line Blending Function: C
2021-07-10 20:19:34.595 INFO  [6305] [reset_logfile@341] Audio Mixing Function: C
2021-07-10 20:19:35.030 INFO  [6305] [game::load_compressed_rom@882] Loading compressed ROM image dl_f2_u1.bin ... 8192 bytes read.
2021-07-10 20:19:35.031 INFO  [6305] [game::load_compressed_rom@882] Loading compressed ROM image dl_f2_u2.bin ... 8192 bytes read.
2021-07-10 20:19:35.031 INFO  [6305] [game::load_compressed_rom@882] Loading compressed ROM image dl_f2_u3.bin ... 8192 bytes read.
2021-07-10 20:19:35.031 INFO  [6305] [game::load_compressed_rom@882] Loading compressed ROM image dl_f2_u4.bin ... 8192 bytes read.
2021-07-10 20:19:37.543 INFO  [6305] [ldp_vldp::read_frame_conversions@1038] Framefile parse succeeded. Video/Audio directory is: /home/pi/RetroPie/roms/daphne/lair.daphne/./

Singe, possible bug or just me!

Hi bud, just been trying the latest build of hypseus-singe (2.4.0) and when I set my resolution using the command below I can only scroll with the joystick over the top left corner of the screen.

"daphne" -fullscreen -x 1920 -y 1080 -ignore_aspect_ratio $params"

Is that a limitation of the game as using that gives me full screen on my Arcade1up modified cab?

scriptmodule error

I tried the scriptmodule you shared with me a few weeks back (https://retropie.org.uk/forum/post/265501) on a fresh install of Harrydog's BareBones v7 Retropie (pre-configured for Sinden) image and get an error. Here is the rps log:

= = = = = = = = = = = = = = = = = = = = =
Installing dependencies for 'hypseus' : Hypseus Singe - Laserdisc Emulator
= = = = = = = = = = = = = = = = = = = = =

/home/pi/RetroPie-Setup/tmp/build/hypseus /home/pi

= = = = = = = = = = = = = = = = = = = = =
Getting sources for 'hypseus' : Hypseus Singe - Laserdisc Emulator
= = = = = = = = = = = = = = = = = = = = =

git clone --recursive --depth 1 --branch master "" ""
fatal: repository '' does not exist
HEAD is now in branch 'master' at commit 'c70801758a42fc0d017d9022e68c524578602b25'
/home/pi
Error running 'git clone --recursive --depth 1 --branch master  ' - returned 128

Where did I go wrong? 😁

Target Disabled on Action Max games

Hi DirtBagxon i have correctly installed Hypseus singe on raspberry pi4 but (only) on Action max games (only on raspberrypi) I get the error "target disabled" beacuse the function getpixel won't works fine on raspberrypi...instead on my windows pc the (same files) actionmax games are running very well ...
Why I get "Target disabled" ?
There is a possibile solution ?
Thanks

Compiler issues on Rpi3

Hi,
On my Raspberry Pi 3, all is good in the instructions until i get to compiling with "make -j". as expected, the program starts making but around 29%, the whole system freezes and i have to pull the plug. IS there a way that this could be fixed or could you provide a pre-compiled version? thanks

Running against latest stable SDL 2.0.16 causes an assertion error on quit

Hi there @DirtBagXon !

I updated to SDL 2.0.16 today. I though it would be a breeze but I found that Hypseus-Singe is having a slightly hard time with it.

On quit I see this happening (it simply hangs, apparently, but this is the cause):


Thread 1 "hypseus" hit Breakpoint 1, FC_FreeFont (font=0x5555f9f4a0) at /root/src/hypseus-singe/src/video/SDL_FontCache.c:1363
1363            SDL_DestroyTexture(font->glyph_cache[i]);
(gdb) p font->glyph_cache[0]
$1 = (SDL_Texture *) 0x5555eb8990
(gdb) p *(font->glyph_cache[0])
$2 = <incomplete type>
(gdb) s
WARN: 

Assertion failure at SDL_DestroyTexture_REAL (/root/src/SDL2-2.0.16/src/render/SDL_render.c:3349), triggered 1 time:
  'texture && texture->magic == &texture_magic'

Abort/Break/Retry/Ignore/AlwaysIgnore? [abriA] :

As you can see, I already found the exact point where it happens: src/video/SDL_FontCache.c:1363

So, any idea on what's wrong with this surface deletion? It has probably happened always, but latest SDL2 just got "jumpy" on it...

This is not Raspberry Pi specific: it happens on any system with SDL2-2.0.16 (latest stable) installed.

This is (luckily!) not a threading problem: no thread is locked, the SDL_DestroyTexture() call is done on the same thread as SDL_CreateRenderer(), etc

Space Ace intro Issue (Windows 10)

So if you play with the space ace enhanced roms, the intro cinematic plays, and you can't do anything until a few seconds later, when you can press a button, and the cinematic plays from the start, but this time, you can start the game.

actionmax_hydrosub2021_manymouse.bat wrong syntaxis

..\hypseus.exe singe vldp -framefile singe\actionmax\hydrosub2021.txt -script singe\actionmax\hydrosub2021.singe -fullscreen -volume_nonvldp 5 -volume_vldp 20 - manymouse

REM Optional:
REM -nocrosshair

PAUSE


"- manymouse" gives error. Should be "-manymouse"

They don't boot from external ssd system batocera

I state that I have batocera installed on the raspberry pi 4 8gb, when I insert the daphne/actionmax games folder in the microsd the games start without problems, but after connecting an external ssd via usb by moving the folder to the ssd the games do not start it brings me back on the game list screen, while all other emulators work fine. how could the problem be solved to avoid having to change the archive from external to internal every time I want to play lasergames?

Can't compile on MacOS 11.3 Apple Silicon

Hi! I'm on MacBookPro M1 13" 16GB 8+8 Core, I can't compile, here is the log:

`
[ 2%] Creating directories for 'libmpeg2'
[ 2%] Building CXX object 3rdparty/plog/CMakeFiles/plog.dir/dummy.cpp.o
[ 2%] Building CXX object cpu/x86/CMakeFiles/cpu_x86.dir/i86.cpp.o
[ 3%] Building CXX object game/singe/CMakeFiles/singeproxy.dir/singeproxy.cpp.o
[ 4%] Performing download step (download, verify and extract) for 'libmpeg2'
-- Downloading...
dst='/Users/davide/Downloads/hypseus-singe-2.5.4/build/3rdparty/src/libmpeg2-master.tgz'
timeout='none'
inactivity timeout='none'
-- Using src='https://github.com/DirtBagXon/libmpeg/raw/master/libmpeg2-master.tgz'
[ 4%] Linking CXX static library libplog.a
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: archive library: libplog.a the table of contents is empty (no object file members in the library define global symbols)
[ 4%] Built target plog
[ 5%] Building CXX object timer/CMakeFiles/timer.dir/timer.cpp.o
-- [download 100% complete]
[ 6%] Building C object game/singe/CMakeFiles/singeproxy.dir/lapi.c.o
[ 6%] Linking CXX static library libtimer.a
[ 6%] Built target timer
[ 7%] Building CXX object cpu/x86/CMakeFiles/cpu_x86.dir/i86dasm.cpp.o
[ 7%] Building C object game/singe/CMakeFiles/singeproxy.dir/lcode.c.o
-- [download 13% complete]
-- [download 15% complete]
-- [download 19% complete]
-- [download 21% complete]
[ 8%] Building CXX object video/CMakeFiles/video.dir/video.cpp.o
-- [download 26% complete]
-- [download 37% complete]
-- [download 40% complete]
-- [download 41% complete]
-- [download 44% complete]
-- [download 48% complete]
-- [download 53% complete]
-- [download 60% complete]
-- [download 67% complete]
-- [download 79% complete]
-- [download 97% complete]
-- [download 100% complete]

  • Closing connection 0
  • Closing connection 1
    -- Downloading... done
    -- extracting...
    src='/Users/davide/Downloads/hypseus-singe-2.5.4/build/3rdparty/src/libmpeg2-master.tgz'
    dst='/Users/davide/Downloads/hypseus-singe-2.5.4/build/3rdparty/src/libmpeg2'
    -- extracting... [tar xfz]
    [ 9%] Linking CXX static library libcpu_x86.a
    -- extracting... [analysis]
    -- extracting... [rename]
    -- extracting... [clean up]
    -- extracting... done
    [ 10%] No update step for 'libmpeg2'
    [ 10%] No patch step for 'libmpeg2'
    [ 10%] Built target cpu_x86
    [ 11%] Performing configure step for 'libmpeg2'
    [ 11%] Building CXX object ldp-in/CMakeFiles/ldp-in.dir/ldv1000.cpp.o
    [ 12%] Building C object game/singe/CMakeFiles/singeproxy.dir/ldo.c.o
    [ 12%] Building C object game/singe/CMakeFiles/singeproxy.dir/lgc.c.o
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/video/video.cpp:39:
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Log.h:7:
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Record.h:3:
    /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Util.h:89:48: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations]
    return static_cast(::syscall(SYS_thread_selfid));
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here
    int syscall(int, ...);
    ^
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/ldp-in/ldv1000.cpp:43:
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Log.h:7:
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Record.h:3:
    /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Util.h:89:48: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations]
    return static_cast(::syscall(SYS_thread_selfid));
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here
    int syscall(int, ...);
    ^
    /Users/davide/Downloads/hypseus-singe-2.5.4/src/video/video.cpp:62:14: warning: unused variable 'cg_normalwidths' [-Wunused-const-variable]
    const Uint16 cg_normalwidths[] = {640, 800, 1024, 1280, 1280, 1600};
    ^
    /Users/davide/Downloads/hypseus-singe-2.5.4/src/video/video.cpp:63:14: warning: unused variable 'cg_normalheights' [-Wunused-const-variable]
    const Uint16 cg_normalheights[] = {480, 600, 768, 960, 1024, 1200};
    ^
    [ 13%] Building C object game/singe/CMakeFiles/singeproxy.dir/llex.c.o
    [ 14%] Building C object game/singe/CMakeFiles/singeproxy.dir/loadlib.c.o
    3 warnings generated.
    [ 15%] Building CXX object video/CMakeFiles/video.dir/tms9128nl.cpp.o
    [ 15%] Building C object game/singe/CMakeFiles/singeproxy.dir/loslib.c.o
    1 warning generated.
    [ 16%] Building CXX object ldp-in/CMakeFiles/ldp-in.dir/pr8210.cpp.o
    [ 17%] Building C object game/singe/CMakeFiles/singeproxy.dir/lstate.c.o
    [ 18%] Building C object game/singe/CMakeFiles/singeproxy.dir/ltable.c.o
    [ 18%] Building C object game/singe/CMakeFiles/singeproxy.dir/lundump.c.o
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/video/tms9128nl.cpp:36:
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Log.h:7:
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Record.h:3:
    /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Util.h:89:48: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations]
    return static_cast(::syscall(SYS_thread_selfid));
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here
    int syscall(int, ...);
    ^
    [ 19%] Building C object game/singe/CMakeFiles/singeproxy.dir/print.c.o
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/ldp-in/pr8210.cpp:47:
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Log.h:7:
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Record.h:3:
    /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Util.h:89:48: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations]
    return static_cast(::syscall(SYS_thread_selfid));
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here
    int syscall(int, ...);
    ^
    [ 20%] Building C object game/singe/CMakeFiles/singeproxy.dir/lauxlib.c.o
    [ 20%] Building C object game/singe/CMakeFiles/singeproxy.dir/ldblib.c.o
    1 warning generated.
    [ 20%] Building C object video/CMakeFiles/video.dir/SDL_FontCache.c.o
    warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
    1 warning generated.
    [ 22%] Building CXX object ldp-in/CMakeFiles/ldp-in.dir/vip9500sg.cpp.o
    [ 22%] Building C object game/singe/CMakeFiles/singeproxy.dir/ldump.c.o
    [ 23%] Building C object game/singe/CMakeFiles/singeproxy.dir/linit.c.o
    [ 23%] Building C object game/singe/CMakeFiles/singeproxy.dir/lmathlib.c.o
    [ 24%] Building C object game/singe/CMakeFiles/singeproxy.dir/lobject.c.o
    Can't exec "aclocal": No such file or directory at /opt/homebrew/Cellar/autoconf/2.71/share/autoconf/Autom4te/FileUtils.pm line 274.
    autoreconf: error: aclocal failed with exit status: 2
    make[2]: *** [3rdparty/src/libmpeg2-stamp/libmpeg2-configure] Error 2
    make[1]: *** [CMakeFiles/libmpeg2.dir/all] Error 2
    make[1]: *** Waiting for unfinished jobs....
    [ 25%] Building CXX object video/CMakeFiles/video.dir/led.cpp.o
    [ 25%] Building CXX object ldp-in/CMakeFiles/ldp-in.dir/ldp1000.cpp.o
    [ 26%] Building C object game/singe/CMakeFiles/singeproxy.dir/lparser.c.o
    1 warning generated.
    [ 27%] Building CXX object video/CMakeFiles/video.dir/palette.cpp.o
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/ldp-in/vip9500sg.cpp:40:
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Log.h:7:
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Record.h:3:
    /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Util.h:89:48: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations]
    return static_cast(::syscall(SYS_thread_selfid));
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here
    int syscall(int, ...);
    ^
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/ldp-in/ldp1000.cpp:37:
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Log.h:7:
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Record.h:3:
    /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Util.h:89:48: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations]
    return static_cast(::syscall(SYS_thread_selfid));
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here
    int syscall(int, ...);
    ^
    [ 27%] Building C object game/singe/CMakeFiles/singeproxy.dir/lstring.c.o
    [ 28%] Building C object game/singe/CMakeFiles/singeproxy.dir/ltablib.c.o
    [ 29%] Building C object game/singe/CMakeFiles/singeproxy.dir/lvm.c.o
    1 warning generated.
    [ 29%] Building CXX object video/CMakeFiles/video.dir/rgb2yuv.cpp.o
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/video/palette.cpp:30:
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Log.h:7:
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Record.h:3:
    /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Util.h:89:48: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations]
    return static_cast(::syscall(SYS_thread_selfid));
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here
    int syscall(int, ...);
    ^
    [ 29%] Building C object game/singe/CMakeFiles/singeproxy.dir/random.c.o
    [ 30%] Building CXX object ldp-in/CMakeFiles/ldp-in.dir/vp931.cpp.o
    [ 31%] Building C object game/singe/CMakeFiles/singeproxy.dir/lbaselib.c.o
    1 warning generated.
    [ 32%] Linking CXX static library libvideo.a
    [ 32%] Built target video
    [ 32%] Building C object game/singe/CMakeFiles/singeproxy.dir/ldebug.c.o
    [ 33%] Building CXX object ldp-in/CMakeFiles/ldp-in.dir/pr7820.cpp.o
    1 warning generated.
    [ 34%] Building C object game/singe/CMakeFiles/singeproxy.dir/lfunc.c.o
    [ 34%] Building CXX object ldp-in/CMakeFiles/ldp-in.dir/vp380.cpp.o
    [ 35%] Building C object game/singe/CMakeFiles/singeproxy.dir/liolib.c.o
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/ldp-in/vp931.cpp:38:
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Log.h:7:
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Record.h:3:
    /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Util.h:89:48: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations]
    return static_cast(::syscall(SYS_thread_selfid));
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here
    int syscall(int, ...);
    ^
    [ 35%] Building C object game/singe/CMakeFiles/singeproxy.dir/lmem.c.o
    [ 36%] Building C object game/singe/CMakeFiles/singeproxy.dir/lopcodes.c.o
    [ 37%] Building C object game/singe/CMakeFiles/singeproxy.dir/lrandom.c.o
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/ldp-in/pr7820.cpp:46:
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Log.h:7:
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Record.h:3:
    /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Util.h:89:48: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations]
    return static_cast(::syscall(SYS_thread_selfid));
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here
    int syscall(int, ...);
    ^
    [ 37%] Building C object game/singe/CMakeFiles/singeproxy.dir/lstrlib.c.o
    1 warning generated.
    [ 38%] Building CXX object ldp-in/CMakeFiles/ldp-in.dir/vp932.cpp.o
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/ldp-in/vp380.cpp:38:
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Log.h:7:
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Record.h:3:
    /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Util.h:89:48: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations]
    return static_cast(::syscall(SYS_thread_selfid));
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here
    int syscall(int, ...);
    ^
    1 warning generated.
    [ 39%] Building C object game/singe/CMakeFiles/singeproxy.dir/ltm.c.o
    [ 40%] Building C object game/singe/CMakeFiles/singeproxy.dir/lzio.c.o
    [ 40%] Linking CXX static library libsingeproxy.a
    1 warning generated.
    [ 40%] Built target singeproxy
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/ldp-in/vp932.cpp:39:
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Log.h:7:
    In file included from /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Record.h:3:
    /Users/davide/Downloads/hypseus-singe-2.5.4/src/3rdparty/plog/include/plog/Util.h:89:48: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations]
    return static_cast(::syscall(SYS_thread_selfid));
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here
    int syscall(int, ...);
    ^
    1 warning generated.
    [ 41%] Linking CXX static library libldp-in.a
    [ 41%] Built target ldp-in
    make: *** [all] Error 2

`

Hypseus 2.11.1 TRON attempt to call global 'spriteUnload' (a nil value)

Hello

Description

Tron game starts with an intro video and suddenly it breaks with error messages

2024-06-08 20:04:26.433 INFO [7943] [printline@96] SINGE: error running function 'onOverlayUpdate': /storage/roms/daphne/roms/Framework/main.singe:5179: attempt to call global 'spriteUnload' (a nil value)
2024-06-08 20:04:26.570 INFO [7943] [printline@96] SINGE: error running function 'onOverlayUpdate': /storage/roms/daphne/roms/Framework/toolbox.singe:284: attempt to call global 'spriteUnload' (a nil value)

platform

odroid n2+ 4GB
Emuelec 4.8 platform Linux EMUELEC 4.9.269 #1 SMP PREEMPT Sun Jun 2 23:41:48 CEST 2024 aarch64 GNU/Linux
SDL 2 2.28.2
SDL 2 img 2.6.3
SDL 2 ttf 2.0.18

Log

PLATFORM: daphne
ROM NAME: /storage/roms/daphne/roms/Tron.daphne
BASE ROM NAME: Tron.daphne
USING CONFIG: /storage/.config/retroarch/retroarch.cfg
1st Argument: /storage/roms/daphne/roms/Tron.daphne
2nd Argument: -Pdaphne
3rd Argument: --core=HYPSEUS
4th Argument: --emulator=HYPSEUS
Full arguments: /storage/roms/daphne/roms/Tron.daphne -Pdaphne --core=HYPSEUS --emulator=HYPSEUS --controllers=-p1index 0 -p1guid 030086655e040000a10200000a060000
Run Command is:
/usr/bin/bash hypseus.start.sh /storage/roms/daphne/roms/Tron.daphne
Emulator Output is:
[version] Hypseus Singe: v2.11.1-dirty
[console] WARNING: -useoverlaysb is not supported for this game and will be ignored
2024-06-08 20:03:56.569 INFO [7943] [reset_logfile@342] Version v2.11.1-dirty
2024-06-08 20:03:56.569 INFO [7943] [reset_logfile@346] Command line: hypseus singe vldp -gamepad -framefile /storage/roms/daphne/roms/Tron.daphne/Tron.txt -script /storage/roms/daphne/roms/Tron.daphne/Tron.singe -fullscreen -useoverlaysb 2
2024-06-08 20:03:56.569 INFO [7943] [reset_logfile@347] CPU : Amlogic || Mem : 3648 megs
2024-06-08 20:03:56.588 INFO [7943] [reset_logfile@348] OS : Linux 4.9 || Video : Hardkernel
2024-06-08 20:03:56.606 INFO [7943] [reset_logfile@349] RGB2YUV Function: C
2024-06-08 20:03:56.606 INFO [7943] [reset_logfile@355] Line Blending Function: C
2024-06-08 20:03:56.607 INFO [7943] [reset_logfile@362] Audio Mixing Function: C
2024-06-08 20:03:56.622 WARN [7943] [sound::init@208] WARNING : requested 2048 samples for sound buffer, but got 1024 samples
2024-06-08 20:03:56.773 INFO [7943] [SDL_gamepad_init@546] Gamepad #0: Generic X-Box pad connected
2024-06-08 20:03:56.773 WARN [7943] [sdl2_controller_axis@191] Unrecognized axis macro in config: BUTTON_X
�[?25l2024-06-08 20:03:56.844 INFO [7943] [video::notify_stats@1827] Viewport Stats:|w:640x480|v:640x480|o:320x240|l:1920x1080|o
2024-06-08 20:03:57.844 INFO [7943] [ldp_vldp::read_frame_conversions@1031] Framefile parse succeeded. Video/Audio directory is: /storage/roms/daphne/roms/Tron.daphne/Video/
2024-06-08 20:03:57.865 INFO [7943] [printline@96] Starting Singe version 1.82
2024-06-08 20:03:58.223 INFO [7943] [video::notify_stats@1827] Viewport Stats:|w:1920x1080|v:1920x1080|o:1920x1080|l:1920x1080|o
2024-06-08 20:04:26.433 INFO [7943] [printline@96] SINGE: error running function 'onOverlayUpdate': /storage/roms/daphne/roms/Framework/main.singe:5179: attempt to call global 'spriteUnload' (a nil value)
2024-06-08 20:04:26.570 INFO [7943] [printline@96] SINGE: error running function 'onOverlayUpdate': /storage/roms/daphne/roms/Framework/toolbox.singe:284: attempt to call global 'spriteUnload' (a nil value)
2024-06-08 20:04:27.570 INFO [7943] [printline@96] SINGE: Multiple errors, cannot continue...
exit 161

Performance regression with recent SDL (RetroPie related)

(Continued from the RetroPie forums, https://retropie.org.uk/forum/topic/18505/)

Hi,

I tested Hypseus with/without the SDL commit you identified as having an impacting on the performance (libsdl-org/SDL@e87c794).

I used Dragon's Lair as a test, game booted and then running in the attract mode. I can see the mentioned commit having an impact, CPU usage is higher than without the commit. However, I don't see any issue with the RetroPie or the legacy drivers, looks simply as a SDL regression.

The problem seems to be related to the usage of the SDL_PIXELFORMAT_YV12 texture used with SDL_TEXTUREACCESS_TARGET (probably from here).

The SDL commit message is

FOURCC isn't supported by renderer back-ends for target access
So use a correct format and fallback to with native/yuv path

which hints that SDL_PIXELFORMAT_YV12 is not valid anymore with SDL_TEXTUREACCESS_TARGET (YV12 is FourCC) and the new code chooses another format, which I assume adds a conversion step (hence the overhead and the performance loss).

Adding some debugging info to the SDL new code added in the commit, the SDL_CreateTexture flows like this:

....
INFO: Received texture format: YV12, w=1280, h=720, is TARGET? 1, isPixFmtFourcc ? 1
INFO:  Texture is supported by the renderer ? 1
INFO: Choosing another texture format (else branch)
INFO:  * Closest texture format: (372645892):
INFO:  * Name: ARGB8888
....

Before the commit, the code checked only for IsSupportedFormat(renderer, format), which yielded true (regardless whether the new or legacy drivers are used), but now the FourCC pixel formats are not allowed.

I don't see this as related to the drivers used, there's a test (testrendertarget) in SDL which shows the supported texture formats and YV12 is supported by both drivers:

  • PI 4 (KMSDRM, MESA drivers, fkms overlay):
/testrendertarget --info all
INFO: Built-in video drivers: x11, wayland, KMSDRM, RPI, dummy
INFO: Video driver: KMSDRM
INFO: Number of displays: 1
INFO: Display 0: 0
...
INFO: Built-in render drivers:
INFO:   Renderer opengl:
INFO:     Flags: 0x0000000E (Accelerated | PresentVSync | TargetTexturesSupported)
INFO:     Texture formats (4): ARGB8888, ABGR8888, RGB888, BGR888
INFO:   Renderer opengles2:
INFO:     Flags: 0x0000000E (Accelerated | PresentVSync | TargetTexturesSupported)
INFO:     Texture formats (4): ARGB8888, ABGR8888, RGB888, BGR888
INFO:   Renderer opengles:
INFO:     Flags: 0x00000006 (Accelerated | PresentVSync)
INFO:     Texture formats (1): ABGR8888
INFO:   Renderer software:
INFO:     Flags: 0x0000000D (Software | PresentVSync | TargetTexturesSupported)
INFO:     Texture formats (8): ARGB8888, ABGR8888, RGBA8888, BGRA8888, RGB888, BGR888, RGB565, RGB555
INFO: Current renderer:
INFO:   Renderer opengl:
INFO:     Flags: 0x0000000A (Accelerated | TargetTexturesSupported)
INFO:     Texture formats (8): ARGB8888, ABGR8888, RGB888, BGR888, YV12, IYUV, NV12, NV21
INFO:     Max Texture Size: 4096x4096
INFO: 544.37 frames per second
  • RPI 3, legacy drivers:
 ./testrendertarget --info all
INFO: Built-in video drivers: x11, wayland, KMSDRM, RPI, dummy
INFO: Video driver: RPI
INFO: Number of displays: 2
INFO: Display 0: 0
...
NFO: Built-in render drivers:
INFO:   Renderer opengl:
INFO:     Flags: 0x0000000E (Accelerated | PresentVSync | TargetTexturesSupported)
INFO:     Texture formats (4): ARGB8888, ABGR8888, RGB888, BGR888
INFO:   Renderer opengles2:
INFO:     Flags: 0x0000000E (Accelerated | PresentVSync | TargetTexturesSupported)
INFO:     Texture formats (4): ARGB8888, ABGR8888, RGB888, BGR888
INFO:   Renderer opengles:
INFO:     Flags: 0x00000006 (Accelerated | PresentVSync)
INFO:     Texture formats (1): ABGR8888
INFO:   Renderer software:
INFO:     Flags: 0x0000000D (Software | PresentVSync | TargetTexturesSupported)
INFO:     Texture formats (8): ARGB8888, ABGR8888, RGBA8888, BGRA8888, RGB888, BGR888, RGB565, RGB555
INFO: Window requested size 640x480, got 1920x1080
INFO: Current renderer:
INFO:   Renderer opengles2:
INFO:     Flags: 0x0000000A (Accelerated | TargetTexturesSupported)
INFO:     Texture formats (9): ARGB8888, ABGR8888, RGB888, BGR888, YV12, IYUV, NV12, NV21, 0x2053454f
INFO:     Max Texture Size: 2048x2048

Hypseus uses the opengl renderer on the Pi4 and opengles2 on PI3.

I can repeat the test with a Pi4 running Bullseye, just to make sure I'm using the latest RaspiOS, but I think the results will be similar.

Remove letterboxing from Cliffhanger with `-vertical_stretch`?

Hi,
is there any possible way to remove the black bars on top and on the bottom of the Cliffhanger video? The old Daphne had a command line option -vertical_stretch which could be used for that, but it doesn't work with Hypseus.

With the stretch I would try this: Use an anamorphic coded, letterboxed video stretched to full screen with something like -x 1920 -y 1080 -ignore_aspect_ratio -vertical_stretch XX, where XX would be the size of the letterbox bars.

Is it possible to put that option back into Hypseus?

Thanks for your time and effort with Hypseus!

Ability to add Hypseus into Launchbox

Hello DirtBagXon,
Thank you so much for talking up the Daphne and Singe projects and making them better.
I have an issue with adding Singe games into LaunchBox. I have tried to write a batch file and also tried to modularize the command line in Launchbox. I cannot get the games to launch from LaunchBox either way. I have had success with old Daphne in Launchbox using the batch file approach. Are there any pointers you can give me as to adding these games?

I will give you examples which have failed:
Added Emulator Hypseus with application path: Emulators\Hypseus Singe\hypseus.exe - just path particular to my setup
Added Roms with the target as the fileframe txt file. For example Dragons Lair TV /singe/dltv/dltv.txt
Under Emulation, Added custom command line parameter under the game: singe vldp -framefile "singe\dltv\dltv.txt" -script "singe\dltv\dltv.singe" -sound_buffer 2048 -volume_nonvldp 5 -volume_vldp 20 -fullscreen -nolinear_scale

Also tried
singe vldp -framefile "singe\dltv%1" -script "singe\dltv\dltv.singe" -sound_buffer 2048 -volume_nonvldp 5 -volume_vldp 20 -fullscreen -nolinear_scale.

Avvio roms da hard disk

I have batocera installed on raspberry pi4, games don't start from the internal hard disk, on the contrary they start easily from microsd. below the log file, I don't know how to solve it anymore maybe you who are good will be able to give me an indication. thanks
vmapy: nessun processo trovato
1980-01-01 01:05:55,474 ERROR (emulatorlauncher:582): configgen exception:
Traceback (most recent call last):
File "/usr/bin/emulatorlauncher", line 580, in
exitcode = main(args, maxnbplayers)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/emulatorlauncher", line 98, in main
return start_rom(args, maxnbplayers, args.rom, args.rom)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/emulatorlauncher", line 249, in start_rom
cmd = generator.generate(system, rom, playersControllers, guns, gameResolution)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/configgen/generators/daphne/daphneGenerator.py", line 58, in generate
os.symlink(batoceraFiles.daphneHomedir + "/roms", batoceraFiles.daphneDatadir + "/singe")
PermissionError: [Errno 1] Operation not permitted: '/userdata/roms/daphne/roms' -> '/userdata/system/configs/daphne/singe'

Getting Error on Pi 5 Hypseus Build

I have installed Hypseus from scratch on a new Pi 5 build. I have about 60 games set up, all of them work just fine, except for DLE and SAE. I have grabbed the latest framework folders, tried everything I can think of. These two games work just fine on my Pi 4 build, but I cannot get them to run on the Pi 5. Here's the error log that I'm getting:

2024-05-09 17:37:22.992 INFO [17258] [reset_logfile@356] Line Blending Function: C
2024-05-09 17:37:22.992 INFO [17258] [reset_logfile@363] Audio Mixing Function: C
2024-05-09 17:37:23.275 INFO [17258] [game::load_compressed_rom@936] Loading compressed ROM image tq_u33.bin ... 32768 bytes read.
2024-05-09 17:37:23.275 INFO [17258] [game::load_compressed_rom@936] Loading compressed ROM image tq_u1.bin ... 8192 bytes read.
2024-05-09 17:37:23.275 INFO [17258] [game::load_compressed_rom@936] Loading compressed ROM image tq_cop.bin ... 1024 bytes read.
2024-05-09 17:37:26.650 INFO [17258] [video::notify_stats@2108] Viewport Stats:|w:640x480|v:640x480|o:320x240[s]|l:1920x1080|o
2024-05-09 17:37:27.651 INFO [17258] [ldp_vldp::read_frame_conversions@1031] Framefile parse succeeded. Video/Audio directory is: /home/pi/RetroPie/roms/daphne/tq.daphne/
2024-05-09 17:37:27.741 WARN [17272] [ivldp_get_mpeg_frame_offsets@1107] MPEG data file /home/pi/RetroPie/roms/daphne/tq.daphne/tq.dat is outdated and has to be created again!
2024-05-09 17:38:02.521 INFO [17446] [reset_logfile@343] Version v2.11.2-RPi
2024-05-09 17:38:02.521 INFO [17446] [reset_logfile@347] Command line: /opt/retropie/emulators/hypseus/hypseus.bin singe vldp -retropath -manymouse -script /home/pi/RetroPie/roms/daphne/timegal.daphne/timegal.singe -framefile /home/pi/RetroPie/roms/daphne/timegal.daphne/timegal.txt -homedir /opt/retropie/emulators/hypseus -fullscreen
2024-05-09 17:38:02.521 INFO [17446] [reset_logfile@348] CPU : UnknownCPU || Mem : 8064 megs
2024-05-09 17:38:02.523 INFO [17446] [reset_logfile@349] OS : Linux 6.6 || Video : Unknown video
2024-05-09 17:38:02.525 INFO [17446] [reset_logfile@350] RGB2YUV Function: C
2024-05-09 17:38:02.525 INFO [17446] [reset_logfile@356] Line Blending Function: C
2024-05-09 17:38:02.525 INFO [17446] [reset_logfile@363] Audio Mixing Function: C
2024-05-09 17:38:02.816 INFO [17446] [manymouse_init_mice@335] Using ManyMouse for mice input.
2024-05-09 17:38:02.959 INFO [17446] [manymouse_init_mice@356] Found 3 mice devices:
2024-05-09 17:38:02.959 INFO [17446] [manymouse_init_mice@365] #0: Microsoft X-Box 360 pad
2024-05-09 17:38:02.959 INFO [17446] [manymouse_init_mice@365] #1: Telink Wireless Receiver Mouse
2024-05-09 17:38:02.959 INFO [17446] [manymouse_init_mice@365] #2: Logitech M525
2024-05-09 17:38:06.431 INFO [17446] [video::notify_stats@2108] Viewport Stats:|w:640x480|v:640x480|o:320x240|l:1920x1080|o
2024-05-09 17:38:07.433 INFO [17446] [ldp_vldp::read_frame_conversions@1031] Framefile parse succeeded. Video/Audio directory is: /home/pi/RetroPie/roms/daphne/timegal.daphne/./
2024-05-09 17:38:07.545 WARN [17461] [ivldp_get_mpeg_frame_offsets@1107] MPEG data file /home/pi/RetroPie/roms/daphne/timegal.daphne/./timegal.dat is outdated and has to be created again!
2024-05-09 17:38:20.245 INFO [17446] [printline@95] Starting Singe version 1.88
2024-05-09 17:38:20.879 INFO [17446] [video::notify_stats@2108] Viewport Stats:|w:640x480|v:720x480|o:360x240|l:1920x1080|o
2024-05-09 17:38:35.984 INFO [17446] [printline@95] SINGE: Game Settings Loaded.
2024-05-09 17:38:35.984 INFO [17446] [printline@95] SINGE: Initializing Time Gal Singe v1.1
2024-05-09 17:38:47.129 INFO [17635] [reset_logfile@343] Version v2.11.2-RPi
2024-05-09 17:38:47.129 INFO [17635] [reset_logfile@347] Command line: /opt/retropie/emulators/hypseus/hypseus.bin singe vldp -retropath -manymouse -script /home/pi/RetroPie/roms/daphne/timetraveler.daphne/timetraveler.singe -framefile /home/pi/RetroPie/roms/daphne/timetraveler.daphne/timetraveler.txt -homedir /opt/retropie/emulators/hypseus -fullscreen
2024-05-09 17:38:47.130 INFO [17635] [reset_logfile@348] CPU : UnknownCPU || Mem : 8064 megs
2024-05-09 17:38:47.132 INFO [17635] [reset_logfile@349] OS : Linux 6.6 || Video : Unknown video
2024-05-09 17:38:47.134 INFO [17635] [reset_logfile@350] RGB2YUV Function: C
2024-05-09 17:38:47.134 INFO [17635] [reset_logfile@356] Line Blending Function: C
2024-05-09 17:38:47.134 INFO [17635] [reset_logfile@363] Audio Mixing Function: C
2024-05-09 17:38:47.412 INFO [17635] [manymouse_init_mice@335] Using ManyMouse for mice input.
2024-05-09 17:38:47.547 INFO [17635] [manymouse_init_mice@356] Found 3 mice devices:
2024-05-09 17:38:47.547 INFO [17635] [manymouse_init_mice@365] #0: Microsoft X-Box 360 pad
2024-05-09 17:38:47.547 INFO [17635] [manymouse_init_mice@365] #1: Telink Wireless Receiver Mouse
2024-05-09 17:38:47.547 INFO [17635] [manymouse_init_mice@365] #2: Logitech M525
2024-05-09 17:38:50.919 INFO [17635] [video::notify_stats@2108] Viewport Stats:|w:640x480|v:640x480|o:320x240|l:1920x1080|o
2024-05-09 17:38:51.921 INFO [17635] [ldp_vldp::read_frame_conversions@1031] Framefile parse succeeded. Video/Audio directory is: /home/pi/RetroPie/roms/daphne/timetraveler.daphne/./
2024-05-09 17:38:51.926 WARN [17649] [ivldp_get_mpeg_frame_offsets@1107] MPEG data file /home/pi/RetroPie/roms/daphne/timetraveler.daphne/./dvd/vts_01_1.dat is outdated and has to be created again!
2024-05-09 17:38:52.234 INFO [17635] [printline@95] Starting Singe version 1.88
2024-05-09 17:38:52.263 WARN [17649] [ivldp_get_mpeg_frame_offsets@1107] MPEG data file /home/pi/RetroPie/roms/daphne/timetraveler.daphne/./dvd/vts_18_1.dat is outdated and has to be created again!
2024-05-09 17:38:52.879 INFO [17635] [video::notify_stats@2108] Viewport Stats:|w:640x480|v:720x480|o:360x240|l:1920x1080|o
2024-05-09 17:38:57.965 INFO [17635] [printline@95] SINGE: Playing DVD version 2.0b
2024-05-09 17:39:15.254 INFO [17824] [reset_logfile@343] Version v2.11.2-RPi
2024-05-09 17:39:15.255 INFO [17824] [reset_logfile@347] Command line: /opt/retropie/emulators/hypseus/hypseus.bin singe vldp -retropath -manymouse -script /home/pi/RetroPie/roms/daphne/titanae.daphne/titanae.singe -framefile /home/pi/RetroPie/roms/daphne/titanae.daphne/titanae.txt -homedir /opt/retropie/emulators/hypseus -fullscreen
2024-05-09 17:39:15.255 INFO [17824] [reset_logfile@348] CPU : UnknownCPU || Mem : 8064 megs
2024-05-09 17:39:15.257 INFO [17824] [reset_logfile@349] OS : Linux 6.6 || Video : Unknown video
2024-05-09 17:39:15.259 INFO [17824] [reset_logfile@350] RGB2YUV Function: C
2024-05-09 17:39:15.259 INFO [17824] [reset_logfile@356] Line Blending Function: C
2024-05-09 17:39:15.259 INFO [17824] [reset_logfile@363] Audio Mixing Function: C
2024-05-09 17:39:15.536 INFO [17824] [manymouse_init_mice@335] Using ManyMouse for mice input.
2024-05-09 17:39:15.671 INFO [17824] [manymouse_init_mice@356] Found 3 mice devices:
2024-05-09 17:39:15.671 INFO [17824] [manymouse_init_mice@365] #0: Microsoft X-Box 360 pad
2024-05-09 17:39:15.671 INFO [17824] [manymouse_init_mice@365] #1: Telink Wireless Receiver Mouse
2024-05-09 17:39:15.671 INFO [17824] [manymouse_init_mice@365] #2: Logitech M525
2024-05-09 17:39:18.957 INFO [17824] [video::notify_stats@2108] Viewport Stats:|w:640x480|v:640x480|o:320x240|l:1920x1080|o
2024-05-09 17:39:19.958 INFO [17824] [ldp_vldp::read_frame_conversions@1031] Framefile parse succeeded. Video/Audio directory is: /home/pi/RetroPie/roms/daphne/titanae.daphne/./
2024-05-09 17:39:20.033 WARN [17839] [ivldp_get_mpeg_frame_offsets@1107] MPEG data file /home/pi/RetroPie/roms/daphne/titanae.daphne/./titanae.dat is outdated and has to be created again!
2024-05-09 17:39:28.670 INFO [17824] [printline@95] Starting Singe version 1.88
2024-05-09 17:39:29.362 INFO [17824] [video::notify_stats@2108] Viewport Stats:|w:1280x720|v:1280x720|o:640x360|l:1920x1080|o
2024-05-09 17:39:45.008 INFO [18014] [reset_logfile@343] Version v2.11.2-RPi
2024-05-09 17:39:45.008 INFO [18014] [reset_logfile@347] Command line: /opt/retropie/emulators/hypseus/hypseus.bin singe vldp -retropath -manymouse -script /home/pi/RetroPie/roms/daphne/triad.daphne/triad.singe -framefile /home/pi/RetroPie/roms/daphne/triad.daphne/triad.txt -homedir /opt/retropie/emulators/hypseus -fullscreen
2024-05-09 17:39:45.008 INFO [18014] [reset_logfile@348] CPU : UnknownCPU || Mem : 8064 megs
2024-05-09 17:39:45.010 INFO [18014] [reset_logfile@349] OS : Linux 6.6 || Video : Unknown video
2024-05-09 17:39:45.012 INFO [18014] [reset_logfile@350] RGB2YUV Function: C
2024-05-09 17:39:45.012 INFO [18014] [reset_logfile@356] Line Blending Function: C
2024-05-09 17:39:45.012 INFO [18014] [reset_logfile@363] Audio Mixing Function: C
2024-05-09 17:39:45.300 INFO [18014] [manymouse_init_mice@335] Using ManyMouse for mice input.
2024-05-09 17:39:45.439 INFO [18014] [manymouse_init_mice@356] Found 3 mice devices:
2024-05-09 17:39:45.439 INFO [18014] [manymouse_init_mice@365] #0: Microsoft X-Box 360 pad
2024-05-09 17:39:45.439 INFO [18014] [manymouse_init_mice@365] #1: Telink Wireless Receiver Mouse
2024-05-09 17:39:45.439 INFO [18014] [manymouse_init_mice@365] #2: Logitech M525
2024-05-09 17:39:48.768 INFO [18014] [video::notify_stats@2108] Viewport Stats:|w:640x480|v:640x480|o:320x240|l:1920x1080|o
2024-05-09 17:39:49.769 INFO [18014] [ldp_vldp::read_frame_conversions@1031] Framefile parse succeeded. Video/Audio directory is: /home/pi/RetroPie/roms/daphne/triad.daphne/./
2024-05-09 17:39:49.865 WARN [18028] [ivldp_get_mpeg_frame_offsets@1107] MPEG data file /home/pi/RetroPie/roms/daphne/triad.daphne/./triad.dat is outdated and has to be created again!
2024-05-09 17:40:00.874 INFO [18014] [printline@95] Starting Singe version 1.88
2024-05-09 17:40:01.513 INFO [18014] [video::notify_stats@2108] Viewport Stats:|w:1280x960|v:1280x960|o:640x480|l:1920x1080|o
2024-05-09 17:41:12.756 INFO [18203] [reset_logfile@343] Version v2.11.2-RPi
2024-05-09 17:41:12.756 INFO [18203] [reset_logfile@347] Command line: /opt/retropie/emulators/hypseus/hypseus.bin singe vldp -retropath -manymouse -script /home/pi/RetroPie/roms/daphne/tron.daphne/tron.singe -framefile /home/pi/RetroPie/roms/daphne/tron.daphne/tron.txt -homedir /opt/retropie/emulators/hypseus -fullscreen
2024-05-09 17:41:12.756 INFO [18203] [reset_logfile@348] CPU : UnknownCPU || Mem : 8064 megs
2024-05-09 17:41:12.758 INFO [18203] [reset_logfile@349] OS : Linux 6.6 || Video : Unknown video
2024-05-09 17:41:12.760 INFO [18203] [reset_logfile@350] RGB2YUV Function: C
2024-05-09 17:41:12.760 INFO [18203] [reset_logfile@356] Line Blending Function: C
2024-05-09 17:41:12.760 INFO [18203] [reset_logfile@363] Audio Mixing Function: C
2024-05-09 17:41:13.040 INFO [18203] [manymouse_init_mice@335] Using ManyMouse for mice input.
2024-05-09 17:41:13.179 INFO [18203] [manymouse_init_mice@356] Found 3 mice devices:
2024-05-09 17:41:13.179 INFO [18203] [manymouse_init_mice@365] #0: Microsoft X-Box 360 pad
2024-05-09 17:41:13.179 INFO [18203] [manymouse_init_mice@365] #1: Telink Wireless Receiver Mouse
2024-05-09 17:41:13.179 INFO [18203] [manymouse_init_mice@365] #2: Logitech M525
2024-05-09 17:41:16.474 INFO [18203] [video::notify_stats@2108] Viewport Stats:|w:640x480|v:640x480|o:320x240|l:1920x1080|o
2024-05-09 17:41:17.475 INFO [18203] [ldp_vldp::read_frame_conversions@1031] Framefile parse succeeded. Video/Audio directory is: /home/pi/RetroPie/roms/daphne/tron.daphne/./
2024-05-09 17:41:17.567 WARN [18217] [ivldp_get_mpeg_frame_offsets@1107] MPEG data file /home/pi/RetroPie/roms/daphne/tron.daphne/./tron.dat is outdated and has to be created again!
2024-05-09 17:41:28.495 INFO [18203] [printline@95] Starting Singe version 1.88
2024-05-09 17:41:29.229 INFO [18203] [video::notify_stats@2108] Viewport Stats:|w:1280x720|v:1280x720|o:640x360|l:1920x1080|o
2024-05-09 17:41:46.604 INFO [18391] [reset_logfile@343] Version v2.11.2-RPi
2024-05-09 17:41:46.604 INFO [18391] [reset_logfile@347] Command line: /opt/retropie/emulators/hypseus/hypseus.bin singe vldp -retropath -manymouse -script /home/pi/RetroPie/roms/daphne/typing-md2.daphne/typing-md2.singe -framefile /home/pi/RetroPie/roms/daphne/typing-md2.daphne/typing-md2.txt -homedir /opt/retropie/emulators/hypseus -fullscreen
2024-05-09 17:41:46.604 INFO [18391] [reset_logfile@348] CPU : UnknownCPU || Mem : 8064 megs
2024-05-09 17:41:46.607 INFO [18391] [reset_logfile@349] OS : Linux 6.6 || Video : Unknown video
2024-05-09 17:41:46.609 INFO [18391] [reset_logfile@350] RGB2YUV Function: C
2024-05-09 17:41:46.609 INFO [18391] [reset_logfile@356] Line Blending Function: C
2024-05-09 17:41:46.609 INFO [18391] [reset_logfile@363] Audio Mixing Function: C
2024-05-09 17:41:46.896 INFO [18391] [manymouse_init_mice@335] Using ManyMouse for mice input.
2024-05-09 17:41:47.031 INFO [18391] [manymouse_init_mice@356] Found 3 mice devices:
2024-05-09 17:41:47.031 INFO [18391] [manymouse_init_mice@365] #0: Microsoft X-Box 360 pad
2024-05-09 17:41:47.031 INFO [18391] [manymouse_init_mice@365] #1: Telink Wireless Receiver Mouse
2024-05-09 17:41:47.031 INFO [18391] [manymouse_init_mice@365] #2: Logitech M525
2024-05-09 17:41:50.404 INFO [18391] [video::notify_stats@2108] Viewport Stats:|w:640x480|v:640x480|o:320x240|l:1920x1080|o
2024-05-09 17:41:51.406 INFO [18391] [ldp_vldp::read_frame_conversions@1031] Framefile parse succeeded. Video/Audio directory is: /home/pi/RetroPie/roms/daphne/typing-md2.daphne/./
2024-05-09 17:41:51.416 WARN [18406] [ivldp_get_mpeg_frame_offsets@1107] MPEG data file /home/pi/RetroPie/roms/daphne/typing-md2.daphne/./cdrom/a_trailer.dat is outdated and has to be created again!
2024-05-09 17:41:52.026 INFO [18391] [printline@95] Starting Singe version 1.88
2024-05-09 17:41:52.152 WARN [18406] [ivldp_get_mpeg_frame_offsets@1107] MPEG data file /home/pi/RetroPie/roms/daphne/typing-md2.daphne/./cdrom/z_type.dat is outdated and has to be created again!
2024-05-09 17:41:52.763 INFO [18391] [video::notify_stats@2108] Viewport Stats:|w:640x480|v:720x480|o:360x240|l:1920x1080|o
2024-05-09 17:41:54.196 INFO [18391] [printline@95] SINGE: Playing CDROM version 0.20b
2024-05-09 17:42:13.633 INFO [18582] [reset_logfile@343] Version v2.11.2-RPi
2024-05-09 17:42:13.633 INFO [18582] [reset_logfile@347] Command line: /opt/retropie/emulators/hypseus/hypseus.bin uvt vldp -framefile /home/pi/RetroPie/roms/daphne/uvt.daphne/uvt.txt -homedir /opt/retropie/emulators/hypseus -fullscreen
2024-05-09 17:42:13.633 INFO [18582] [reset_logfile@348] CPU : UnknownCPU || Mem : 8064 megs
2024-05-09 17:42:13.635 INFO [18582] [reset_logfile@349] OS : Linux 6.6 || Video : Unknown video
2024-05-09 17:42:13.637 INFO [18582] [reset_logfile@350] RGB2YUV Function: C
2024-05-09 17:42:13.637 INFO [18582] [reset_logfile@356] Line Blending Function: C
2024-05-09 17:42:13.637 INFO [18582] [reset_logfile@363] Audio Mixing Function: C
2024-05-09 17:42:13.926 INFO [18582] [game::load_compressed_rom@936] Loading compressed ROM image usvs.rm4 ... 8192 bytes read.
2024-05-09 17:42:13.927 INFO [18582] [game::load_compressed_rom@936] Loading compressed ROM image usvs.rm3 ... 8192 bytes read.
2024-05-09 17:42:13.927 INFO [18582] [game::load_compressed_rom@936] Loading compressed ROM image usvs.rm2 ... 8192 bytes read.
2024-05-09 17:42:13.927 INFO [18582] [game::load_compressed_rom@936] Loading compressed ROM image usvs.rm1 ... 8192 bytes read.
2024-05-09 17:42:13.927 INFO [18582] [game::load_compressed_rom@936] Loading compressed ROM image usvs.rm0 ... 8192 bytes read.
2024-05-09 17:42:13.927 INFO [18582] [game::load_compressed_rom@936] Loading compressed ROM image usvsdrom.1 ... 8192 bytes read.
2024-05-09 17:42:13.927 INFO [18582] [game::load_compressed_rom@936] Loading compressed ROM image usvsyrom.1 ... 8192 bytes read.
2024-05-09 17:42:13.928 INFO [18582] [game::load_compressed_rom@936] Loading compressed ROM image usvs.rm4 ... 8192 bytes read.
2024-05-09 17:42:13.928 INFO [18582] [game::load_compressed_rom@936] Loading compressed ROM image usvs.rm3 ... 8192 bytes read.
2024-05-09 17:42:13.928 INFO [18582] [game::load_compressed_rom@936] Loading compressed ROM image usvs.rm2 ... 8192 bytes read.
2024-05-09 17:42:13.928 INFO [18582] [game::load_compressed_rom@936] Loading compressed ROM image usvs.rm1 ... 8192 bytes read.
2024-05-09 17:42:13.928 INFO [18582] [game::load_compressed_rom@936] Loading compressed ROM image usvs.rm0 ... 8192 bytes read.
2024-05-09 17:42:13.928 INFO [18582] [game::load_compressed_rom@936] Loading compressed ROM image usvs.fg3 ... 16384 bytes read.
2024-05-09 17:42:13.929 INFO [18582] [game::load_compressed_rom@936] Loading compressed ROM image usvs.fg2 ... 16384 bytes read.
2024-05-09 17:42:13.929 INFO [18582] [game::load_compressed_rom@936] Loading compressed ROM image usvs.fg1 ... 16384 bytes read.
2024-05-09 17:42:13.929 INFO [18582] [game::load_compressed_rom@936] Loading compressed ROM image usvs.fg0 ... 16384 bytes read.
2024-05-09 17:42:13.929 INFO [18582] [game::load_compressed_rom@936] Loading compressed ROM image usvs.bg0 ... 4096 bytes read.
2024-05-09 17:42:13.929 INFO [18582] [game::load_compressed_rom@936] Loading compressed ROM image usvs.bg1 ... 4096 bytes read.
2024-05-09 17:42:17.207 INFO [18582] [video::notify_stats@2108] Viewport Stats:|w:640x480|v:640x480|o:256x240[s]|l:1920x1080|o
2024-05-09 17:42:18.209 INFO [18582] [ldp_vldp::read_frame_conversions@1031] Framefile parse succeeded. Video/Audio directory is: /home/pi/RetroPie/roms/daphne/uvt.daphne/
2024-05-09 17:42:18.241 WARN [18596] [ivldp_get_mpeg_frame_offsets@1107] MPEG data file /home/pi/RetroPie/roms/daphne/uvt.daphne/uvt.dat is outdated and has to be created again!
2024-05-09 17:42:21.868 INFO [18582] [printline@95] Loaded 4096 bytes from /opt/retropie/emulators/hypseus/ram/uvt.gz
2024-05-09 17:42:21.872 INFO [18582] [mach3::cpu_mem_read@728] MACH3 NOTE: CPU #2 queried 0xA800 when no data was present
2024-05-09 17:42:21.873 INFO [18582] [mach3::cpu_mem_read@728] MACH3 NOTE: CPU #2 queried 0xA800 when no data was present
2024-05-09 17:42:25.129 INFO [18582] [printline@95] Saved 4096 bytes to uvt.gz
2024-05-09 17:42:34.763 INFO [18770] [reset_logfile@343] Version v2.11.2-RPi
2024-05-09 17:42:34.763 INFO [18770] [reset_logfile@347] Command line: /opt/retropie/emulators/hypseus/hypseus.bin singe vldp -retropath -manymouse -script /home/pi/RetroPie/roms/daphne/johnnyrock.daphne/johnnyrock.singe -framefile /home/pi/RetroPie/roms/daphne/johnnyrock.daphne/johnnyrock.txt -homedir /opt/retropie/emulators/hypseus -fullscreen
2024-05-09 17:42:34.763 INFO [18770] [reset_logfile@348] CPU : UnknownCPU || Mem : 8064 megs
2024-05-09 17:42:34.765 INFO [18770] [reset_logfile@349] OS : Linux 6.6 || Video : Unknown video
2024-05-09 17:42:34.767 INFO [18770] [reset_logfile@350] RGB2YUV Function: C
2024-05-09 17:42:34.767 INFO [18770] [reset_logfile@356] Line Blending Function: C
2024-05-09 17:42:34.767 INFO [18770] [reset_logfile@363] Audio Mixing Function: C
2024-05-09 17:42:35.056 INFO [18770] [manymouse_init_mice@335] Using ManyMouse for mice input.
2024-05-09 17:42:35.199 INFO [18770] [manymouse_init_mice@356] Found 3 mice devices:
2024-05-09 17:42:35.199 INFO [18770] [manymouse_init_mice@365] #0: Microsoft X-Box 360 pad
2024-05-09 17:42:35.199 INFO [18770] [manymouse_init_mice@365] #1: Telink Wireless Receiver Mouse
2024-05-09 17:42:35.199 INFO [18770] [manymouse_init_mice@365] #2: Logitech M525
2024-05-09 17:42:38.569 INFO [18770] [video::notify_stats@2108] Viewport Stats:|w:640x480|v:640x480|o:320x240|l:1920x1080|o
2024-05-09 17:42:39.571 INFO [18770] [ldp_vldp::read_frame_conversions@1031] Framefile parse succeeded. Video/Audio directory is: /home/pi/RetroPie/roms/daphne/johnnyrock.daphne/./
2024-05-09 17:42:39.579 WARN [18784] [ivldp_get_mpeg_frame_offsets@1107] MPEG data file /home/pi/RetroPie/roms/daphne/johnnyrock.daphne/./cdrom/a_intro.dat is outdated and has to be created again!
2024-05-09 17:42:39.968 INFO [18770] [printline@95] Starting Singe version 1.88
2024-05-09 17:42:40.104 WARN [18784] [ivldp_get_mpeg_frame_offsets@1107] MPEG data file /home/pi/RetroPie/roms/daphne/johnnyrock.daphne/./cdrom/z_menus.dat is outdated and has to be created again!
2024-05-09 17:42:40.863 INFO [18770] [video::notify_stats@2108] Viewport Stats:|w:640x480|v:720x480|o:360x240|l:1920x1080|o
2024-05-09 18:17:45.781 INFO [1280] [reset_logfile@343] Version v2.11.2-RPi
2024-05-09 18:17:45.784 INFO [1280] [reset_logfile@347] Command line: /opt/retropie/emulators/hypseus/hypseus.bin singe vldp -retropath -manymouse -script /home/pi/RetroPie/roms/daphne/DLe.daphne/DLe.singe -framefile /home/pi/RetroPie/roms/daphne/DLe.daphne/DLe.txt -homedir /opt/retropie/emulators/hypseus -fullscreen
2024-05-09 18:17:45.784 INFO [1280] [reset_logfile@348] CPU : UnknownCPU || Mem : 8064 megs
2024-05-09 18:17:45.786 INFO [1280] [reset_logfile@349] OS : Linux 6.6 || Video : Unknown video
2024-05-09 18:17:45.788 INFO [1280] [reset_logfile@350] RGB2YUV Function: C
2024-05-09 18:17:45.788 INFO [1280] [reset_logfile@356] Line Blending Function: C
2024-05-09 18:17:45.788 INFO [1280] [reset_logfile@363] Audio Mixing Function: C
2024-05-09 18:17:46.060 INFO [1280] [manymouse_init_mice@335] Using ManyMouse for mice input.
2024-05-09 18:17:46.207 INFO [1280] [manymouse_init_mice@356] Found 3 mice devices:
2024-05-09 18:17:46.207 INFO [1280] [manymouse_init_mice@365] #0: Microsoft X-Box 360 pad
2024-05-09 18:17:46.207 INFO [1280] [manymouse_init_mice@365] #1: Telink Wireless Receiver Mouse
2024-05-09 18:17:46.207 INFO [1280] [manymouse_init_mice@365] #2: Logitech M525
2024-05-09 18:17:49.790 INFO [1280] [video::notify_stats@2108] Viewport Stats:|w:640x480|v:640x480|o:320x240|l:1920x1080|o
2024-05-09 18:17:50.792 INFO [1280] [ldp_vldp::read_frame_conversions@1031] Framefile parse succeeded. Video/Audio directory is: /home/pi/RetroPie/roms/daphne/DLe.daphne/Video/
2024-05-09 18:17:50.859 INFO [1280] [printline@95] Starting Singe version 1.88
2024-05-09 18:17:51.862 INFO [1280] [printline@95] SINGE: error compiling script: cannot open roms/../DLe/Framework/globals.singe: No such file or directory
2024-05-09 18:17:51.862 ERROR [1280] [sep_error@466] SINGE: Script Error!
2024-05-09 18:17:51.862 INFO [1280] [printline@95] SINGE: error compiling script: (null) : /home/pi/RetroPie/roms/daphne/DLe.daphne/DLe.singe:63: attempt to index global 'Tiers' (a nil value)
2024-05-09 18:17:51.862 INFO [1280] [printline@95] SINGE: Cannot continue, quitting...
2024-05-09 18:22:19.388 INFO [1493] [reset_logfile@343] Version v2.11.2-RPi
2024-05-09 18:22:19.388 INFO [1493] [reset_logfile@347] Command line: /opt/retropie/emulators/hypseus/hypseus.bin singe vldp -retropath -manymouse -script /home/pi/RetroPie/roms/daphne/DLe.daphne/DLe.singe -framefile /home/pi/RetroPie/roms/daphne/DLe.daphne/DLe.txt -homedir /opt/retropie/emulators/hypseus -fullscreen
2024-05-09 18:22:19.388 INFO [1493] [reset_logfile@348] CPU : UnknownCPU || Mem : 8064 megs
2024-05-09 18:22:19.390 INFO [1493] [reset_logfile@349] OS : Linux 6.6 || Video : Unknown video
2024-05-09 18:22:19.392 INFO [1493] [reset_logfile@350] RGB2YUV Function: C
2024-05-09 18:22:19.392 INFO [1493] [reset_logfile@356] Line Blending Function: C
2024-05-09 18:22:19.392 INFO [1493] [reset_logfile@363] Audio Mixing Function: C
2024-05-09 18:22:19.644 INFO [1493] [manymouse_init_mice@335] Using ManyMouse for mice input.
2024-05-09 18:22:19.791 INFO [1493] [manymouse_init_mice@356] Found 3 mice devices:
2024-05-09 18:22:19.791 INFO [1493] [manymouse_init_mice@365] #0: Microsoft X-Box 360 pad
2024-05-09 18:22:19.791 INFO [1493] [manymouse_init_mice@365] #1: Telink Wireless Receiver Mouse
2024-05-09 18:22:19.791 INFO [1493] [manymouse_init_mice@365] #2: Logitech M525
2024-05-09 18:22:23.222 INFO [1493] [video::notify_stats@2108] Viewport Stats:|w:640x480|v:640x480|o:320x240|l:1920x1080|o
2024-05-09 18:22:24.222 INFO [1493] [ldp_vldp::read_frame_conversions@1031] Framefile parse succeeded. Video/Audio directory is: /home/pi/RetroPie/roms/daphne/DLe.daphne/Video/
2024-05-09 18:22:24.242 INFO [1493] [printline@95] Starting Singe version 1.88
2024-05-09 18:22:25.244 INFO [1493] [printline@95] SINGE: error compiling script: cannot open roms/../DLe/Framework/globals.singe: No such file or directory
2024-05-09 18:22:25.244 ERROR [1493] [sep_error@466] SINGE: Script Error!
2024-05-09 18:22:25.244 INFO [1493] [printline@95] SINGE: error compiling script: (null) : /home/pi/RetroPie/roms/daphne/DLe.daphne/DLe.singe:63: attempt to index global 'Tiers' (a nil value)
2024-05-09 18:22:25.244 INFO [1493] [printline@95] SINGE: Cannot continue, quitting...
2024-05-09 18:28:31.627 INFO [1699] [reset_logfile@343] Version v2.11.2-RPi
2024-05-09 18:28:31.627 INFO [1699] [reset_logfile@347] Command line: /opt/retropie/emulators/hypseus/hypseus.bin singe vldp -retropath -manymouse -script /home/pi/RetroPie/roms/daphne/DLe.daphne/DLe.singe -framefile /home/pi/RetroPie/roms/daphne/DLe.daphne/DLe.txt -homedir /opt/retropie/emulators/hypseus -fullscreen
2024-05-09 18:28:31.627 INFO [1699] [reset_logfile@348] CPU : UnknownCPU || Mem : 8064 megs
2024-05-09 18:28:31.629 INFO [1699] [reset_logfile@349] OS : Linux 6.6 || Video : Unknown video
2024-05-09 18:28:31.631 INFO [1699] [reset_logfile@350] RGB2YUV Function: C
2024-05-09 18:28:31.631 INFO [1699] [reset_logfile@356] Line Blending Function: C
2024-05-09 18:28:31.631 INFO [1699] [reset_logfile@363] Audio Mixing Function: C
2024-05-09 18:28:31.896 INFO [1699] [manymouse_init_mice@335] Using ManyMouse for mice input.
2024-05-09 18:28:32.031 INFO [1699] [manymouse_init_mice@356] Found 3 mice devices:
2024-05-09 18:28:32.031 INFO [1699] [manymouse_init_mice@365] #0: Microsoft X-Box 360 pad
2024-05-09 18:28:32.031 INFO [1699] [manymouse_init_mice@365] #1: Telink Wireless Receiver Mouse
2024-05-09 18:28:32.031 INFO [1699] [manymouse_init_mice@365] #2: Logitech M525
2024-05-09 18:28:35.315 INFO [1699] [video::notify_stats@2108] Viewport Stats:|w:640x480|v:640x480|o:320x240|l:1920x1080|o
2024-05-09 18:28:36.315 INFO [1699] [ldp_vldp::read_frame_conversions@1031] Framefile parse succeeded. Video/Audio directory is: /home/pi/RetroPie/roms/daphne/DLe.daphne/Video/
2024-05-09 18:28:36.335 INFO [1699] [printline@95] Starting Singe version 1.88
2024-05-09 18:28:37.336 INFO [1699] [printline@95] SINGE: error compiling script: cannot open roms/../DLe/Framework/globals.singe: No such file or directory
2024-05-09 18:28:37.337 ERROR [1699] [sep_error@466] SINGE: Script Error!
2024-05-09 18:28:37.337 INFO [1699] [printline@95] SINGE: error compiling script: (null) : /home/pi/RetroPie/roms/daphne/DLe.daphne/DLe.singe:63: attempt to index global 'Tiers' (a nil value)
2024-05-09 18:28:37.337 INFO [1699] [printline@95] SINGE: Cannot continue, quitting...

Please help! Thank you!

Build fails on Arch Linux.

I'm the package maintainer for the aur repo for Archlinux, and I get an error compiling the newest commit. Here is the error message I get.

Building CXX object game/singe/CMakeFiles/singeproxy.dir/singeproxy.cpp.o /home/build/hypseus-singe-git/src/hypseus-singe/src/game/singe/singeproxy.cpp: In function ‘int sep_screenshot(lua_State*)’: /home/build/hypseus-singe-git/src/hypseus-singe/src/game/singe/singeproxy.cpp:1247:16: error: ‘clock’ was not declared in this scope 1247 | double now = clock() / (double)CLOCKS_PER_SEC; | ^~~~~ /home/build/hypseus-singe-git/src/hypseus-singe/src/game/singe/singeproxy.cpp:31:1: note: ‘clock’ is defined in header <ctime>’; did you forget to ‘#include <ctime>’? 30 | #include <vector> +++ |+#include <ctime> 31 | /home/build/hypseus-singe-git/src/hypseus-singe/src/game/singe/singeproxy.cpp:1247:34: error: ‘CLOCKS_PER_SEC’ was not declared in this scope 1247 | double now = clock() / (double)CLOCKS_PER_SEC; | ^~~~~~~~~~~~~~ make[2]: *** [game/singe/CMakeFiles/singeproxy.dir/build.make:76: game/singe/CMakeFiles/singeproxy.dir/singeproxy.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:523: game/singe/CMakeFiles/singeproxy.dir/all] Error 2 make: *** [Makefile:111: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

I've been using the same PKGBUILD script for 2 years with no issue, so I figured I'd report this. Am I missing something obvious? Any new dependency or anything? Thanks for your time. I enjoy the program very much.

Issues loading singe games - Retropie 4.7.1

I am having an issue loading any singe games on Retropie 4.7.1, I installed Daphne and followed the readme for hypseuse-singe. Everything seems in order.

All games have a similar issue in the runcommand logs related to an error compiling a script related to cdrom-globals.singe missing. See example runcommand logs from crime patrol:

Parameters:
Executing: SDL1_VIDEODRIVER=dispmanx SDL_DISPMANX_WIDTH=1920 SDL_DISPMANX_HEIGHT=1080 /opt/retropie/emulators/daphne/daphne.sh "/home/pi/RetroPie/roms/daphne/crimepatrol.daphne"
[version] Hypseus Singe: v2.6.12-RPi-1
[console] Setting alternate home dir: /opt/retropie/emulators/daphne
2021-08-20 12:50:33.431 INFO [2187] [reset_logfile@322] Version v2.6.12-RPi-1
2021-08-20 12:50:33.431 INFO [2187] [reset_logfile@326] Command line: /opt/retropie/emulators/daphne/daphne.bin singe vldp -framefile /home/pi/RetroPie/roms/daphne/crimepatrol.daphne/crimepatrol.txt -script /home/pi/RetroPie/roms/daphne/crimepatrol.daphne/crimepatrol.singe -homedir /opt/retropie/emulators/daphne -retropath -fullscreen
2021-08-20 12:50:33.431 INFO [2187] [reset_logfile@327] CPU : ARMv7 || Mem : 3840 megs
2021-08-20 12:50:33.453 INFO [2187] [reset_logfile@328] OS : Linux 5.4 || Video : BCM2711
2021-08-20 12:50:33.469 INFO [2187] [reset_logfile@329] RGB2YUV Function: C
2021-08-20 12:50:33.469 INFO [2187] [reset_logfile@335] Line Blending Function: C
2021-08-20 12:50:33.469 INFO [2187] [reset_logfile@342] Audio Mixing Function: C
2021-08-20 12:50:35.606 INFO [2187] [ldp_vldp::read_frame_conversions@1038] Framefile parse succeeded. Video/Audio directory is: /home/pi/RetroPie/roms/daphne/crimepatrol.daphne/./
2021-08-20 12:50:35.628 INFO [2187] [printline@96] Starting Singe version 1.25
2021-08-20 12:50:35.651 INFO [2187] [printline@96] SINGE: Script Error!
2021-08-20 12:50:36.652 INFO [2187] [printline@96] SINGE: error compiling script: cannot open singe/../crimepatrol.daphne/cdrom-globals.singe: No such file or directory
2021-08-20 12:50:36.652 INFO [2187] [printline@96] SINGE: Cannot continue, quitting...

cmake failing on Ubuntu Server 20.04.2

CMakeOutput.log attached.
CMakeOutput.log

pi@ELITEDESK:~$ sudo apt-get install libmpeg2-4-dev libsdl2-image-dev libsdl2-ttf-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libmpeg2-4-dev is already the newest version (0.5.1-9).
libsdl2-image-dev is already the newest version (2.0.5+dfsg1-2).
libsdl2-ttf-dev is already the newest version (2.0.15+dfsg1-1).

pi@ELITEDESK:~$ git clone --single-branch --branch RetroPie https://github.com/DirtBagXon/hypseus-singe.git
Cloning into 'hypseus-singe'...
remote: Enumerating objects: 4031, done.
remote: Counting objects: 100% (270/270), done.
remote: Compressing objects: 100% (71/71), done.
remote: Total 4031 (delta 218), reused 224 (delta 199), pack-reused 3761
Receiving objects: 100% (4031/4031), 16.39 MiB | 11.01 MiB/s, done.
Resolving deltas: 100% (2783/2783), done.

pi@ELITEDESK:/hypseus-singe$ mkdir build
pi@ELITEDESK:
/hypseus-singe$ cd build
pi@ELITEDESK:~/hypseus-singe/build$ cmake ../src
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for one of the modules 'sdl2'
-- Checking for one of the modules 'SDL2_ttf'
-- Checking for one of the modules 'SDL2_image'
-- Checking for one of the modules 'libmpeg2'
-- Target: Linux x86_64
-- Version: v2.5.5-RPi
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Checking for one of the modules 'vorbisfile'
CMake Error at /usr/share/cmake-3.16/Modules/FindPkgConfig.cmake:707 (message):
None of the required 'vorbisfile' found
Call Stack (most recent call first):
ldp-out/CMakeLists.txt:15 (PKG_SEARCH_MODULE)

-- Configuring incomplete, errors occurred!
See also "/home/pi/hypseus-singe/build/CMakeFiles/CMakeOutput.log".

Hypseus 2.11.2 not launching on Retropie 4.8

Hi

first off thanks for Hypseus it works great on my other arcade machine.

However

On my new bartop - Raspberry Pi 3B - I am having problems running it. Daphne works fine (although I cant get the controls to work but thats another story). When I try running say Dragons Lair it immediately goes to a black screen.

The logs show this -

2024-06-13 16:30:28.534 INFO [2749] [reset_logfile@343] Version v2.11.2-RPi
2024-06-13 16:30:28.546 INFO [2749] [reset_logfile@347] Command line: /opt/retropie/emulators/hypseus/hypseus.bin lair vldp -texturestream -framefile /home/pi/RetroPie/roms/daphne/lair.daphne/lair.txt -homedir /opt/retropie/emulators/hypseus -fullscreen
2024-06-13 16:30:28.546 INFO [2749] [reset_logfile@348] CPU : ARMv7 || Mem : 768 megs
2024-06-13 16:30:28.555 INFO [2749] [reset_logfile@349] OS : Linux 5.10 || Video : BCM2835
2024-06-13 16:30:28.565 INFO [2749] [reset_logfile@350] RGB2YUV Function: C
2024-06-13 16:30:28.565 INFO [2749] [reset_logfile@356] Line Blending Function: C
2024-06-13 16:30:28.565 INFO [2749] [reset_logfile@363] Audio Mixing Function: C
2024-06-13 16:30:28.627 WARN [2749] [sound::init@208] WARNING : requested 2048 samples for sound buffer, but got 5512 samples

and nothing else.

As you can see with Daphne same files it works.

--DAPHNE version 1.0.13
--Command line is: /opt/retropie/emulators/daphne/daphne.bin lair vldp -nohwaccel -framefile /home/pi/RetroPie/roms/daphne/lair.daphne/lair.txt -homedir /opt/retropie/emulators/daphne -fullscreen
--CPU : UnknownCPU 0 MHz || Mem : 0 megs
--OS : Linux 5.10 || Video : Unknown video
--OpenGL: Compiled In
--RGB2YUV Function: C
--Line Blending Function: C
--Audio Mixing Function: C
Setting alternate home dir:
/opt/retropie/emulators/daphne
Set 640x480 at 16 bpp with flags: 20000020
Initializing sound system ...
GI Sound chip initialized at 2000000 Hz
WARNING : requested 2048 samples for sound buffer, but got 5512 samples
Joystick #0 was successfully opened
Remapping input ...
Loading compressed ROM image dl_f2_u1.bin...8192 bytes read.
Loading compressed ROM image dl_f2_u2.bin...8192 bytes read.
Loading compressed ROM image dl_f2_u3.bin...8192 bytes read.
Loading compressed ROM image dl_f2_u4.bin...8192 bytes read.
Framefile parse succeeded. Video/Audio directory is: /home/pi/RetroPie/roms/daphne/lair.daphne/./
YUV overlay is done in software (ie unaccelerated).
Booting ROM ...
Play
LDP : disc is already playing, play command ignored
Play
Display disable received
Search to 323 received - [25] Attract Mode, Sequence 0 Attract Mode
search succeeded d0
Play

I've tried reinstalling, compiling from source following your instructions, searching forums like Retropie and reddit but I have not figured out what is going wrong. Can you help somehow ?

(Ubuntu 18.04) Compiling fails at 100% during linking

So its been a while since Ive done this last with you back on Singe..
I see you have something new here but it fails to compile through cmake instructions.
I'm on ubuntu 18.04 latest build. Here is the error:

Scanning dependencies of target hypseus
[100%] Building CXX object CMakeFiles/hypseus.dir/hypseus.cpp.o
[100%] Linking CXX executable hypseus
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libogg.a(framing.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
CMakeFiles/hypseus.dir/build.make:125: recipe for target 'hypseus' failed
make[2]: *** [hypseus] Error 1
CMakeFiles/Makefile2:76: recipe for target 'CMakeFiles/hypseus.dir/all' failed
make[1]: *** [CMakeFiles/hypseus.dir/all] Error 2
Makefile:105: recipe for target 'all' failed
make: *** [all] Error 2

Building with latest OpenDingux Beta/gcw0 Toolchain results in an error

Trying to compile this project, using the latest version (2021-03-10) of opendingux-gcw0-toolchain

Getting an error when Cross-Compiling:

Scanning dependencies of target hypseus
[ 99%] Building CXX object CMakeFiles/hypseus.dir/hypseus.cpp.o
[100%] Linking CXX executable hypseus
/opt/gcw0-toolchain/bin/../lib/gcc/mipsel-gcw0-linux-uclibc/10.2.0/../../../../mipsel-gcw0-linux-uclibc/bin/ld: 3rdparty/lib/libmpeg2.a(decode.o): Relocations in generic ELF (EM: 62)
/opt/gcw0-toolchain/bin/../lib/gcc/mipsel-gcw0-linux-uclibc/10.2.0/../../../../mipsel-gcw0-linux-uclibc/bin/ld: 3rdparty/lib/libmpeg2.a(decode.o): Relocations in generic ELF (EM: 62)
/opt/gcw0-toolchain/bin/../lib/gcc/mipsel-gcw0-linux-uclibc/10.2.0/../../../../mipsel-gcw0-linux-uclibc/bin/ld: 3rdparty/lib/libmpeg2.a(decode.o): Relocations in generic ELF (EM: 62)
/opt/gcw0-toolchain/bin/../lib/gcc/mipsel-gcw0-linux-uclibc/10.2.0/../../../../mipsel-gcw0-linux-uclibc/bin/ld: 3rdparty/lib/libmpeg2.a(decode.o): Relocations in generic ELF (EM: 62)
/opt/gcw0-toolchain/bin/../lib/gcc/mipsel-gcw0-linux-uclibc/10.2.0/../../../../mipsel-gcw0-linux-uclibc/bin/ld: 3rdparty/lib/libmpeg2.a(decode.o): Relocations in generic ELF (EM: 62)
/opt/gcw0-toolchain/bin/../lib/gcc/mipsel-gcw0-linux-uclibc/10.2.0/../../../../mipsel-gcw0-linux-uclibc/bin/ld: 3rdparty/lib/libmpeg2.a(decode.o): Relocations in generic ELF (EM: 62)
/opt/gcw0-toolchain/bin/../lib/gcc/mipsel-gcw0-linux-uclibc/10.2.0/../../../../mipsel-gcw0-linux-uclibc/bin/ld: 3rdparty/lib/libmpeg2.a: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/hypseus.dir/build.make:116: hypseus] Error 1
make[1]: *** [CMakeFiles/Makefile2:397: CMakeFiles/hypseus.dir/all] Error 2
make: *** [Makefile:106: all] Error 2

Executed steps:

git clone https://github.com/DirtBagXon/hypseus-singe.git
cd hypseus-singe
mkdir build
cd build
cmake -S ../src/ -DCMAKE_TOOLCHAIN_FILE=/opt/gcw0-toolchain/share/buildroot/toolchainfile.cmake
make -j

The only changes I made to the code, were to include a src/cmake/modules/FindSDL2.cmake file, with the following changes:

set(SDL2_INCLUDE_DIR /opt/gcw0-toolchain/mipsel-gcw0-linux-uclibc/sysroot/usr/include/SDL2)
set(SDL2_LIBRARY /opt/gcw0-toolchain/mipsel-gcw0-linux-uclibc/sysroot/usr/lib/libSDL2.so)

Here is some information on opendingux-gcw0-toolchain - https://opendingux.net/opendingux/2020/10/13/we-have-nighties.html

Thank you for any assistance

REQUEST: Flatpak, Appimage or dmg

Hola.

I'm currently chatting with the main dev of Emulationstation Desktop Edition (https://es-de.org). If you are not familair, definitely check it out.

Anyway, having a Flatpak or Appimage distribution would do wonders for his project. Any chance?

Thanks for all of your hard work.

John

add Goldrake game

Salve,
I'm newbie,
Is it very difficult to create a lasergame based on goldrake?
I saw that there's a game based on daitarn 3, but it's based on
on an episode of the TV series?

Timegal - singe onscreen text

Was posting in discussions.. should probably post my issues here.. lol

Got timegal working thru singe. When my onscreen prompts should come up (like being underwater, and being prompted with text on going UP or Down...) the text doesnt show on the screen. Everything else appears to be working good.
Is there a list of known issues somewhere outside of the Issues area? Perhaps I just need to know where this is. :)

Thayer's Quest Speech WITH Subtitles?

I can get Thayer's Quest to work with speech and I can get it to work without speech and subtitles, but is there a command line option that will get me both speech AND the subtitles?

-fastboot not working for DLE21

According to release notes for hypseus-singe v2.10.3:

Faster booting for enhanced ROMS: dle21 and sae, via -fastboot

My command line output:

D:\Emulators\Hypseus Singe>hypseus.exe dle21 vldp -framefile "D:\Emulators\Hypseus Singe\vldp\lair\lair.txt" -fastboot
2023-12-21 11:46:03.335 INFO  [57064] [reset_logfile@347] Version v2.11.1_x64
2023-12-21 11:46:03.335 INFO  [57064] [reset_logfile@351] Command line: hypseus.exe dle21 vldp -framefile D:\Emulators\Hypseus Singe\vldp\lair\lair.txt -fastboot
2023-12-21 11:46:03.336 INFO  [57064] [reset_logfile@352] CPU : GenuineIntel || Mem : 65280 megs
2023-12-21 11:46:03.336 INFO  [57064] [reset_logfile@353] OS : Windows 10 || Video : NVIDIA GeForce RTX 4090
2023-12-21 11:46:03.336 INFO  [57064] [reset_logfile@354] RGB2YUV Function: C
2023-12-21 11:46:03.336 INFO  [57064] [reset_logfile@360] Line Blending Function: C
2023-12-21 11:46:03.336 INFO  [57064] [reset_logfile@367] Audio Mixing Function: C
2023-12-21 11:46:03.652 INFO  [57064] [SDL_input_init@496] No joysticks detected
2023-12-21 11:46:03.655 INFO  [57064] [game::load_compressed_rom@926] Loading compressed ROM image DLE21_U1.bin ... 8192 bytes read.
2023-12-21 11:46:03.655 INFO  [57064] [game::load_compressed_rom@926] Loading compressed ROM image DLE21_U2.bin ... 8192 bytes read.
2023-12-21 11:46:03.656 INFO  [57064] [game::load_compressed_rom@926] Loading compressed ROM image DLE21_U3.bin ... 8192 bytes read.
2023-12-21 11:46:03.753 INFO  [57064] [video::notify_stats@1860] Viewport Stats:|w:640x480|v:640x480|o:320x240[s]|l:640x480|o
2023-12-21 11:46:04.753 INFO  [57064] [ldp_vldp::read_frame_conversions@1031] Framefile parse succeeded. Video/Audio directory is: D:/Emulators/Hypseus Singe/vldp/lair/./
2023-12-21 11:46:04.860 INFO  [57064] [video::notify_stats@1860] Viewport Stats:|w:960x720|v:960x720|o:480x360[s]|l:960x720|o

I see the boot sequence going through all the slates before going into attract mode.

I have noticed one small difference between running hypseus with and without -fastboot. With the -fastboot option, the game starts to play the first few seconds of the attract mode, and then resets to the beginning of the attract video. You can see this at 25 seconds in the video. I do not see the attract mode restarting when not using the -fastboot option.

https://youtu.be/l8sPi_lnXjs

I see the same problem when running hypseus on Steam Deck - the slates play with -fastboot. However, on the deck, I do not see the attract sequence restarting.

Batocera integration

Hi DirtBagXon :)

My PR to integrate Singe 1 game support into Batocera was accepted and merged batocera-linux/batocera.linux#4865

On Batocera the Hypseus emulator is located in /usr/share/daphne but the content is located in /userdata/roms/daphne and Batocera's ES integration expects folders with suffix .daphne https://wiki.batocera.org/systems:daphne

Your Retropie integration with -retropath documented in https://github.com/DirtBagXon/hypseus-singe/blob/master/src/3rdparty/retropie/RETROPIE.md#extended-argument-summary works but requires a symlink /usr/share/daphne/singe to an empty folder /userdata/roms/daphne/singe

This is an example of a generated command line:

/usr/bin/hypseus singe vldp -retropath -framefile /userdata/roms/daphne/maddog.daphne/maddog.txt -script /userdata/roms/daphne/maddog.daphne/maddog.singe -x 1280 -y 720 -fullscreen_window -manymouse -fastboot -datadir /usr/share/daphne -homedir /usr/share/daphne

As documented on the -retropath parameter, singe/timegal/ is rewritten to singe/../timegal.daphne/ but Batocera would benefit if Hypseus could rewrite it to /userdata/roms/daphne/timegal.daphne/ instead.

The way Batocera is distributed and upgraded, /userdata belongs to the user while the rest is an overlay filesystem that gets replaced with every upgrade. Asking the users to keep an empty singe folder in /userdata/roms/daphne is doable but less elegant : ) but I'd assume integrating a symlink /usr/share/daphne/singe to that folder in their overlay filesystem should be feasible nonetheless.

Let us know if you have a better approach :) Take care!

GPi 2 Case Displaying Wrong Aspect Ratio

I've got the core up and running on the GPi 2 case from RetroFlag but several of the homebrew games that are meant for 16:9 are showing up in the wrong aspect ratio on the smaller 4:3 screen. Is there a way to change this? Thank you.

423062654_881707683752537_211103034878906664_n
423105523_1473148756744055_396184770646437682_n
423541837_1092772908584717_6173867228303765665_n

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.