Package Details: blastem 0.6.2-2

Git Clone URL: https://aur.archlinux.org/blastem.git (read-only, click to copy)
Package Base: blastem
Description: Fast and accurate Sega Genesis/Mega Drive emulator
Upstream URL: https://www.retrodev.com/blastem/changes.html
Keywords: megadrive
Licenses: GPL3
Submitter: darkfm
Maintainer: Vaporeon
Last Packager: Vaporeon
Votes: 7
Popularity: 0.000749
First Submitted: 2017-06-04 11:06 (UTC)
Last Updated: 2021-01-15 14:28 (UTC)

Dependencies (5)

Required by (0)

Sources (2)

Latest Comments

tototoro commented on 2021-09-08 12:57 (UTC)

@Fourus I use "DejaVu Sans Condensed".

Fourus commented on 2021-08-26 23:33 (UTC)

I'm having the same problem as the person below me. What font did you use to fix the problem tototoro?

width: 640, height: 480
Window created with size: 640 x 480
config says: 512
Initialized audio at frequency 48000 with a 512 sample buffer, 32-bit float 
format
Added 14 game controller mappings from gamecontrollerdb.txt
Min samples buffered before audio start: 800
blastem: nuklear_ui/nuklear.h:18538: nk_begin_titled: Assertion `ctx- 
>style.font && ctx->style.font->width && "if this triggers you forgot to add 
a font"' failed.
Aborted

tototoro commented on 2021-08-06 23:02 (UTC) (edited on 2021-08-07 09:38 (UTC) by tototoro)

width: 640, height: 480
Window created with size: 640 x 480
config says: 512
Initialized audio at frequency 48000 with a 512 sample buffer, 32-bit float format
Added 14 game controller mappings from gamecontrollerdb.txt
Min samples buffered before audio start: 2400
blastem: nuklear_ui/nuklear.h:18538: nk_begin_titled: Assertion `ctx->style.font && ctx->style.font->width && "if this triggers you forgot to add a font"' failed.

I installed vasm from AUR and xcftools from community repo. Do I need to install some fonts?

EDIT:

I changed default font in KDE Settings and it works now. I don't now why it didn't work with Nimbus Sans.

SteelTitanium commented on 2020-06-30 05:56 (UTC)

The multiple defined errors is due to the code not being GCC 10 compliant, since it defaults to -fno-common now. https://gcc.gnu.org/gcc-10/porting_to.html

doragasu commented on 2020-06-24 18:35 (UTC)

That error can be solved by changing the comparison in mw_putc function to this:

static void mw_putc(megawifi *mw, uint8_t v)
{
    if (mw->receive_bytes >= sizeof(mw->receive_buffer)) {
        return;
    }
    mw->receive_buffer[mw->receive_bytes++] = v;
}

But it still fails to build, with a lot symbols multiply defined.

trotskytown commented on 2020-05-27 03:03 (UTC) (edited on 2020-05-27 03:05 (UTC) by trotskytown)

Fails to build for me :(

In function ‘mw_putc’,
    inlined from ‘start_reply’ at megawifi.c:181:2:
megawifi.c:94:42: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
   94 |  mw->receive_buffer[mw->receive_bytes++] = v;
      |                                          ^
megawifi.c: In function ‘start_reply’:
megawifi.c:70:11: note: at offset 4098 to object ‘receive_buffer’ with size 4096 declared here
   70 |  uint8_t  receive_buffer[4096];
      |           ^
collect2: error: ld returned 1 exit status
make: *** [Makefile:260: blastem] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

commented on 2019-06-06 11:22 (UTC)

Blastem segfaults if it can't find the images/ directory. This seems to be new to 0.6.2. The offending line of code is in nuklear_ui/blastem_nuklear.c 1382. With no images to load, controller_image is nothing so a division by zero occurs.

doragasu commented on 2019-04-11 20:14 (UTC)

AFAIK, the optional dependencies are only required for the menu.bin ROM. I do not get any segfaults when entering the controllers menu. But I have no gamepads plugged to my computer, so the menu only has the "Back" button.

retronostalgia commented on 2019-04-10 18:44 (UTC)

I get a segfault when selecting the "controllers" menu option. The program author thinks it may be a packaging issue. For more, see http://www.sega-16.com/forum/showthread.php?34009-BlastEm-0-6-1-Released&p=840166&viewfull=1#post840166

Also, I'm confused about the vasm and xcftools optional dependencies. Are they only for generating the menu.bin ROM, or are they also needed for the Nuklear UI?

Thanks!

doragasu commented on 2019-03-30 16:53 (UTC)

Stable version 0.6.2 is out!

xordspar0 commented on 2019-01-30 05:34 (UTC)

Version 0.6.1-1 fails to pass the validity check.

darkfm commented on 2017-08-02 02:05 (UTC)

It should work now. I set permissions to the "games" group so if you're not already part of it, you should add yourself.

kwe commented on 2017-08-01 13:25 (UTC)

Plus, it doesn't run out-of-the-box due to permission errors (crashes when trying to run a binary): width: 640, height: 480 Window created with size: 640 x 480 Failed to open shader file default.v.glsl for reading Failed to open shader file default.f.glsl for reading $ ls /opt/blastem/ -la total 448 drwxr-xr-x 1 root root 102 Aug 1 15:15 . drwxr-xr-x 1 root root 112 Aug 1 15:15 .. -rwxr-xr-x 1 root root 387296 Aug 1 15:15 blastem -rw-rw-rw- 1 root root 4479 Aug 1 15:15 default.cfg -rw-rw-rw- 1 root root 47031 Aug 1 15:15 gamecontrollerdb.txt -rw-rw-rw- 1 root root 11689 Aug 1 15:15 rom.db drw-r--r-- 1 root root 56 Aug 1 15:15 shaders $ ls /opt/blastem/shaders/ -la ls: cannot access '/opt/blastem/shaders/.': Permission denied ls: cannot access '/opt/blastem/shaders/..': Permission denied ls: cannot access '/opt/blastem/shaders/default.f.glsl': Permission denied ls: cannot access '/opt/blastem/shaders/default.v.glsl': Permission denied Giving +x to the shaders directory fixed it for me.

kwe commented on 2017-08-01 13:09 (UTC)

Consider adding the 'megadrive' keyword, so the package can be found when searching for 'megadrive' instead of just 'mega drive'.

doragasu commented on 2017-06-08 17:47 (UTC)

It builds perfect now, including the menu option. Thanks!

darkfm commented on 2017-06-08 03:55 (UTC)

It should be fixed now. I forgot it needed xcftools, also from AUR.

doragasu commented on 2017-06-05 17:12 (UTC)

Built successfully without vasm installed. Installed vasm from AUR, and since then build fails with message: _______________________________________________________________ cc -o blastem blastem.o system.o genesis.o debug.o gdb_remote.o vdp.o render_sdl.o ppm.o io.o romdb.o hash.o menu.o xband.o realtec.o terminal.o config.o tern.o util.o gst.o 68kinst.o m68k_core.o m68k_core_x86.o gen.o backend.o mem.o arena.o gen_x86.o backend_x86.o ym2612.o psg.o wave.o sms.o z80inst.o z80_to_x86.o -O2 -flto -lm -lSDL2 -lGLEW -lGLU -lGL -m64 true ./blastem xcf2png font_interlace_variable.xcf > font_interlace_variable.png xcf2png arrow.xcf > arrow.png /bin/sh: xcf2png: command not found make: *** [Makefile:233: font_interlace_variable.png] Error 127 make: *** Waiting for unfinished jobs.... /bin/sh: xcf2png: command not found make: *** [Makefile:233: arrow.png] Error 127 ==> ERROR: A failure occurred in build(). Aborting... _______________________________________________________________ I suppose this is because of a missing dependency, but I do not know what I'm missing ("pkgfile xcf2png" and "yaourt -Ss xcf2png" show nothing).