Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - rcampbel3

Pages: [1]
1
General / Re: Cant compile 2.5.1 from source Ubuntu bionic
« on: January 29, 2019, 03:52:00 PM »
In file included from /usr/include/GL/gl.h:2055:0,
                 from /usr/include/SFML/OpenGL.hpp:54,
                 from src/fe_cmdline.cpp:34:
/usr/include/GL/glext.h:467:10: fatal error: KHR/khrplatform.h: No such file or directory
 #include <KHR/khrplatform.h>
          ^~~~~~~~~~~~~~~~~~~
I know that compile errors in the terminal can look like scary gobbledygook, but... they actually contain important information. A piece of advice -- start at the bottom of compile error messages and work up until you find the real problem.

In this case, the problem is that khrplatform.h doesn't exist on your system.

.h files are header files that contain information required when trying to compile using a given library. Most linux package management systems split library packages into the runtime component and the bits necessary to compile from scratch. These "development" packages almost always end in "-dev". In this case, you can clearly see that there's an OpenGL library dependency that's not installed.

Now, google for "KHR/khrplatform.h ubuntu", and you can see that the missing package name is 'libegl1-mesa-dev'

So... add it as follows:

sudo apt-get install libegl1-mesa-dev

then try compiling again. If you hit another missing package, repeat!

2
General / Re: Attact-Mode 2.5.1 Ubuntu Bionic won't launch
« on: January 08, 2019, 06:41:28 PM »
Zorro - you're almost there! Don't give up -- you're just missing the compiler. Ubuntu 18.04 cd install has left out some packages that have never been left out before -- like the compilers (gcc, g++) and make.

When you read the output from the commandline, it tells you what's going on.

make: g++: Command not found

g++ is the gnu c++ compiler. It's not installed. So... we need to install it, and then try again (you might find other missing packages, but there shouldn't be many)

from commandline, type:

sudo apt-get install build-essential

that's a metapackage that pulls in a lot of tools needed to build stuff from source -- like the missing compilers. The wiki should be updated to include that in the prerequesites.


3
General / Re: Attact-Mode 2.5.1 Ubuntu Bionic won't launch
« on: January 07, 2019, 02:51:54 PM »
Build attract from source! It's quick and easy... you'll always have the latest bugfixes and features, and it will work on your system.

If you're not a developer... don't worry too much, you can do this without understanding everything. Below info adapted from: https://github.com/mickelson/attract/wiki/Compiling-on-Ubuntu-Bionic-Beaver-%2818.04-LTS%29-amd64-desktop

You'll need 'git' and the '-dev' packages required by attract mode installed on your system... so open a terminal and run this:

sudo apt-get update && sudo apt-get -y install git libsfml-dev libopenal-dev libavformat-dev libfontconfig1-dev libfreetype6-dev libswscale-dev libavresample-dev libarchive-dev libjpeg-dev libglu1-mesa-dev

Now... make a directory for development stuff and check out the source. For me, I like to have a ~/project directory where I keep everything I'm developing or building from source, so...

mkdir ~/project

cd ~/project

# now... check out the code

git clone https://github.com/mickelson/attract

# now cd into that directory...

cd attract

# if you want to "update" your binary that was installed in /usr/bin, do the following... otherwise your binary will go in /usr/local/bin

nano  Makefile

# look for the line that says: prefix=/usr/local ; change that to prefix=/usr ; then save with <CTRL><X>
# now run 'make' while in ~/project/attract

make

# if no error messages, proceed. If error messages, read them, analyze them, figure out what's wrong, fix, re-run make, repeat :)

sudo make install

# you're done! run attract from the commandline and everything should work great!

# at a later date... to update source and rebuild attract...

cd ~/project/attract
git pull
make clean
make
sudo make install

# if you hit a problem with git pull when the makefile is updated... a simple way to deal with it is to run 'git reset --hard' and then 'git pull' again. Then you may need to re-edit the makefile, or make a copy of it -- when I have custom makefiles, I name them Makefile.ross . You can run make against a different makefile with 'make -f makefilename', and then to install 'make -f makefilename install'

Hope this helps! I know the idea of using the commandline and straying away from packaged software into compiling source code is daunting to some. Also, I know that it's not often clear when it's 'safe' to use the 'bleeding edge' source. In the case of attract mode, it's quite stable and the master branch is almost always functional -- you won't ruin your system by building attract mode from source.

4
General / Re: Attact-Mode 2.5.1 Ubuntu Bionic won't launch
« on: December 31, 2018, 01:04:01 PM »
Suggestions:

1) build attract from source on your system - either one of the releases, or if you're comfortable using git, build from the master branch - https://github.com/mickelson/attract/releases

2) file a well-written, reproducible bug report here: https://github.com/mickelson/attract/issues

5
General / Re: Linux config
« on: March 17, 2018, 06:04:44 PM »
This is my "Super Nintendo Entertainment System.cfg" file. Hope this helps.

# Generated by Attract-Mode v2.2.1-41-dirty
#
executable           retroarch
args                 -L /usr/lib/libretro/snes9x_libretro.so "[romfilename]"
rompath              /usr/local/share/games/snes/roms
romext               .smc;.sfc;.fig;.swc;.SMC;.SFC;.FIG;.SWC;.zip;.ZIP
system               Super Nintendo (SNES);super-nintendo-snes
info_source          thegamesdb.net
import_extras        /usr/local/share/games/snes/snes.xml
artwork    boxart          /usr/local/share/games/snes/boxart
artwork    cartart         /usr/local/share/games/snes/cartart
artwork    flyer           /usr/local/share/games/snes/fanart;/usr/local/share/games/snes/titles
artwork    marquee         /usr/local/share/games/snes/marquee
artwork    snap            /usr/local/share/games/snes/videos;/usr/local/share/games/snes/snap;/usr/local/share/games/snes/screens
artwork    wheel           /usr/local/share/games/snes/wheel

6
You need to provide more info before anyone can provide meaningful help.

What OS are you using?
Give an example of each type of game, the file you're using to start it, and what you have in your config file for that emulator.

There's not a lot of magic to Attract Mode. It only looks for what you tell it to look for, and it only runs what it's found.

I use linux, and I've created a directory with shell scripts for each DOS game I want to start. Then, in my config file, I have to put 'bash' as the program, and then search for files with .sh extension. Works just fine. You can do the same thing on Windows using 'cmd' as your program and ".bat" as your extension.

7
General / Re: Any chance of an attract mode selfboot?
« on: August 06, 2017, 08:16:21 PM »
Sure. Just use Linux.

Your quick win is to start with a Raspberry Pi running a retropie image as listed her: http://attractmode.org/download.html

Then if you decide that you need/want a more powerful system, just start with Ubuntu linux on x64 and follow the retropie install guide and either try to stick as close as possible to the ARM install on raspberry pi's or... just build attract mode from source on linux, and figure out your emulator settings one at a time.

Once that's done, you can configure attract mode to autostart with your window manager.

8
General / Re: Launching native Linux games?
« on: July 26, 2017, 10:33:48 PM »
Maybe not "solved" in the sense that it's silly to require a dummy executable to launch a shell script, but this works fine for me -- my "Linux Games.cfg"

Code: [Select]
# Generated by Attract-Mode v2.2.1-41-dirty
#
executable           /bin/bash
args                 "[romfilename]"
rompath              /usr/local/share/games/ports/
romext               .sh;.SH
system               PC
info_source          thegamesdb.net
artwork    boxart          /usr/local/share/games/ports/boxart
artwork    cartart         /usr/local/share/games/ports/cartart
artwork    flyer           /usr/local/share/games/ports/boxart
artwork    marquee         /usr/local/share/games/ports/marquee
artwork    snap            /usr/local/share/games/ports/videos;/usr/local/share/games/ports/snap
artwork    wheel           /usr/local/share/games/ports/wheel

9
Emulators / Re: Issues with Emulator Set-Up in Lubuntu
« on: May 29, 2017, 10:40:29 AM »
Aside from being a super cool menu system, Attract Mode doesn't do any magic. Can you run the command from the commandline? If not... you need to fix that first.

My guess is that retroarch can't find the system bios files. Check here for more info.

http://emulation-general.wikia.com/wiki/Using_RetroArch

10
Themes / Re: Cosmo's Theme (v.1.1 uploaded!)
« on: April 15, 2017, 07:07:05 PM »
Thanks, Cosmo - these are great.

My few missing categories that I'd like to see (and may end up creating) are:

- Linux (I could use 'ports' or PC games) but I do have a fair number of Linux games that don't quite seem like Ports and PC games seems like Windows games to me.
- Steam
- Doom - I have a bunch of doom 1 and 2 standalone iwads that I launch from EmulationStation... would like to do the same in attract mode
- ZMachine - I like to keep my old text adventure games in the launcher

that's about it.

Thanks again.

11
General / Best emulators for Linux
« on: March 06, 2017, 09:56:33 PM »
Here are my thoughts on the current state of emulators on Linux as of March 2017.


Nintendo Wii
dolphin-emu -b -e "[ROMFILENAME]"

Nintendo Gamecube
dolphin-emu -b -e "[ROMFILENAME]"

Nintendo 64
retroarch -L /usr/lib/libretro/parallel_n64_libretro.so "[ROMFILENAME]"

Nintendo DS
retroarch -L /usr/lib/libretro/desmume_libretro.so "[ROMFILENAME]"

Super Nintendo
retroarch -L /usr/lib/libretro/snes9x_libretro.so "[ROMFILENAME]"

Nintendo Entertainment System
retroarch -L /usr/lib/libretro/fceumm_libretro.so "[ROMFILENAME]"

Nintendo Game Boy Advance
retroarch -L /usr/lib/libretro/vba_next_libretro.so "[ROMFILENAME]"

Nintendo Gameboy Color
retroarch -L /usr/lib/libretro/gambatte_libretro.so "[ROMFILENAME]"

Nintendo Gameboy
retroarch -L /usr/lib/libretro/gambatte_libretro.so "[ROMFILENAME]"

Sony PSP
ppsspp --fullscreen --escape-exit --load "[ROMFILENAME]"

Sonly PS2
PCSX2 --fullscreen --nogui  "[ROMFILENAME]"

Sony Playstation
mednafen "[ROMFILENAME]"

Sega Dreamcast
retroarch -L /usr/lib/libretro/reicast_libretro.so "[ROMFILENAME]"

Sega Saturn
retroarch -L /usr/lib/libretro/yabause_libretro.so "[ROMFILENAME]"

Sega 32X
retroarch -L /usr/lib/libretro/picodrive_libretro.so "[ROMFILENAME]"

Sega CD
retroarch -L /usr/lib/libretro/picodrive_libretro.so "[ROMFILENAME]"

Sega GameGear
retroarch -L /usr/lib/libretro/genesis_plus_gx_libretro.so "[ROMFILENAME]"

Sega Genesis
retroarch -L /usr/lib/libretro/picodrive_libretro.so "[ROMFILENAME]"

Sega Master System
retroarch -L /usr/lib/libretro/picodrive_libretro.so "[ROMFILENAME]"

Atari Jaguar
retroarch -L /usr/lib/libretro/virtualjaguar_libretro.so "[ROMFILENAME]"

Atari Lynx
retroarch -L /usr/lib/libretro/handy_libretro.so "[ROMFILENAME]"

Atari 7800
retroarch -L /usr/lib/libretro/prosystem_libretro.so "[ROMFILENAME]"

Atari 5200
mame  a5200 -cart "[ROMFILENAME]"

Atari 2600
retroarch -L /usr/lib/libretro/stella_libretro.so "[ROMFILENAME]"

Neo Geo Pocket
retroarch -L /usr/lib/libretro/mednafen_ngp_libretro.so "[ROMFILENAME]"

3DO
retroarch -L /usr/lib/libretro/4do_libretro.so "[ROMFILENAME]"

NEC Turbografx-16
retroarch -L /usr/lib/libretro/mednafen_pce_fast_libretro.so "[ROMFILENAME]"

Colecovision
mame coleco -cart "[ROMFILENAME]"

Odyssey 2
retroarch -L /usr/lib/libretro/o2em_libretro.so "[ROMFILENAME]"

Vectrex
retroarch -L /usr/lib/libretro/vecx_libretro.so "[ROMFILENAME]"

Game & Watch
retroarch -L /usr/lib/libretro/gw_libretro.so "[ROMFILENAME]"

Amiga 500
fs-uae --Amiga_model=a500 --chip_memory=1024 --fullscreen --floppy-drive-0="[ROMFILENAME]"

Atari 800
atari800 -fullscreen -bilinear-filter -artif 0 -vsync -fit-screen height "[ROMFILENAME]"

Apple 2
mame  apple2c -flop1 "[ROMFILENAME]"

Commodore 64
x64 -fullscreen +confirmexit -autostart "[ROMFILENAME]"

Amstrad CPC
mame  cpc6128 -flop1 Desert\ %ROM% -ab "CAT\nPRINT\"run\"file\n"[ROMFILENAME]"

TRS-80 Color Computer
mame coco2b -cart "[ROMFILENAME]"

TRS-80 Model I
sdltrs -model 1 -romfile /usr/local/share/games/trs80/level2.rom -showled -diskdir /usr/local/share/games/trs80 -disk0 "[ROMFILENAME]"

ZX Spectrum
retroarch -L /usr/lib/libretro/fuse_libretro.so "[ROMFILENAME]"

Doom1/2 + total conversion IWADS
gzdoom -iwad "[ROMFILENAME]"

SCUMMVM
scummvm -f --joystick=0 "[NAME]"

Z-Machine interpreter
gargoyle "[ROMFILENAME]"


and...
Intersting and worth watching:

xenia
rpcs3
citra
decaf

12
General / Re: Attract Mode + RetroPie on Ubuntu help
« on: March 06, 2017, 09:15:10 PM »
So, there's no magic in attract mode - it's awesome, but it's going to take you some time to get to where you see in anyone's youtube video.

Here's what you need to do:

Before you do anything with Attract Mode:
- get your emulators working and configured individually
- get your joysticks and video modes and fullscreen and commandline options and exit keys all bound and set in each emulator

Install attract mode
- bind your controller and keys, configure attract mode
- Create a proper emulator config file for each emulator in attract mode
- scan your roms and scan artwork
- create a display for your emulator
- repeat for your other emulators
- search for additional attract mode themes and install them
- search for missing artwork and add it to each display
- Test, test, test, play, test some more
- read through the forums and spend LOTS of time fine-tuning your setup to your liking
- repeat

13
General / Re: Lubuntu - attract mode freeze at first startup
« on: March 06, 2017, 09:04:06 PM »
I run Ubuntu 14.04 and had some issues with attract from ppa freezing including not supporting video files. I fixed my issue by installing a real ffmpeg update from some other ppa -- don't have it handy at the moment, and then checking out the code from git and building the source.

YMMV, but it's working fine for me on 14.04

Pages: [1]