Package Details: blastem 0.6.2-1

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
Conflicts: blastem-hg
Provides: blastem
Submitter: darkfm
Maintainer: Vaporeon
Last Packager: Vaporeon
Votes: 4
Popularity: 0.000009
First Submitted: 2017-06-04 11:06
Last Updated: 2019-04-02 12:27

Dependencies (5)

Required by (0)

Sources (2)

Latest Comments

1 2 Next › Last »

SteelTitanium commented on 2020-06-30 05:56

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

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

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...

Anonymous comment on 2019-06-06 11:22

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

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

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

Stable version 0.6.2 is out!

xordspar0 commented on 2019-01-30 05:34

Version 0.6.1-1 fails to pass the validity check.

darkfm commented on 2017-08-02 02:05

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

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.