GithubHelp home page GithubHelp logo

cabrio's Issues

Remember last filter and selected game

Cabrio has no memory of consecutive runs at the moment. If you're like me and play a specific for a period of time, browsing the collection to get to that game at every launch is a little bit painful.

Ideally, the last selected filter and browsing state should be stored, and used at initialization.

Play a video

Hi is it possible to play a video? For example if i have a movie and i want to put it in cabrio and launch the movie with vlc will that be possible?

Warning: Error opening video file

The first time Cabrio starts up I get the the snap video to play however its distorted half way across the video (see the attached screenshot.When I move to the next game I get the error Warning: Error opening video file and Cabrio plays the static screen where the snaps go.

I have tried may diffrent video files: AVI, MP4, WMV, FLV and all produce the same result

I'm running Ubuntu 12.10 and have complied Cabrio from from get hub.

Screen shots and issues are also posted at the cabrio fe Google groups page. https://groups.google.com/forum/?fromgroups=#!topic/cabrio-fe-dev/dnWNFr8JncM
Screenshot at 2013-02-04 17:45:44
Screenshot at 2013-02-04 17:46:03

Rendering issue when number of games matches number of tiles in theme

When there are exactly as many games in the game list as there are tiles in the theme, the tiles, while initially visible, eventually disappear as the game list is being cycled. Once a game entry is taken out of view in either direction, it will not come back, even when cycling in reverse.

It looks like there is is a mis-management of the freeing and loading of textures, when the conditions described above are met. This is only a rendering issue because cycling works (although it's invisible) and games can still be launched.

This issue also occurs during filtering, if the resulted filtered list again exactly contains as many elements as there are tiles in the theme.

Always reproducable for me, sample config below illustrates the issue with default caroussel theme (issue occurs with or without images)

<?xml version="1.0" encoding="UTF-8"?>
<cabrio-config>
    <interface>
        <theme>caroussel</theme>
    <full-screen>false</full-screen>
    <screen>
        <width>800</width>
    <height>600</height>
    <rotation>0</rotation>
    <flip-horizontal>0</flip-horizontal>
    <flip-vertical>0</flip-vertical>
    </screen>
    <graphics>
    <quality>high</quality>
    <max-image-width>512</max-image-width>
    <max-image-height>512</max-image-height>
    </graphics>
    <controls>
    </controls>
</interface>
<emulators>
    <emulator>
    <name>snes</name>
    <display-name>SNES</display-name>
    <executable>/usr/games/snes9x-gtk</executable>
    <platform>SNES</platform>
    <params></params>
    </emulator>
</emulators>
<game-list>
<games>
    <game>
        <name>Parodius</name>
        <rom-image>/home/timothee/Games/retro_gaming/snes/roms_good_snes_2.04_7z/favorites/Parodius - Non-Sense Fantasy (E).zip</rom-image>
        <platform>SNES</platform>
    </game>
    <game>
        <name>R-Type III</name>
        <rom-image>/home/timothee/Games/retro_gaming/snes/roms_good_snes_2.04_7z/favorites/R-Type III - The Third Lightning (E) (21451).zip</rom-image>
        <platform>SNES</platform>
    </game>
    <game>
        <name>Teenage Mutant Hero Turtles - Tournament Fighters</name>
        <rom-image>/home/timothee/Games/retro_gaming/snes/roms_good_snes_2.04_7z/favorites/Teenage Mutant Hero Turtles - Tournament Fighters (E).zip</rom-image>
        <platform>SNES</platform>
    </game>
    <game>
        <name>Sky Blazer</name>
        <rom-image>/home/timothee/Games/retro_gaming/snes/roms_good_snes_2.04_7z/favorites/Sky Blazer (E).zip</rom-image>
        <platform>SNES</platform>
    </game>
    <game>
        <name>Super Metroid</name>
        <rom-image>/home/timothee/Games/retro_gaming/snes/roms_good_snes_2.04_7z/favorites/Super Metroid (E) [!].zip</rom-image>
        <platform>SNES</platform>
    </game>
    <game>
        <name>Super Tetris 2 + Bombliss</name>
        <rom-image>/home/timothee/Games/retro_gaming/snes/roms_good_snes_2.04_7z/favorites/Super Tetris 2 + Bombliss (J).zip</rom-image>
        <platform>SNES</platform>
    </game>
    <game>
        <name>F-Zero</name>
        <rom-image>/home/timothee/Games/retro_gaming/snes/roms_good_snes_2.04_7z/favorites/F-Zero (E).zip</rom-image>
        <platform>SNES</platform>
    </game>
    <game>
        <name>Cameltry (snes)</name>
        <rom-image>/home/timothee/Games/retro_gaming/snes/roms_good_snes_2.04_7z/favorites/Cameltry (J).zip</rom-image>
        <platform>SNES</platform>
    </game>
    <game>
        <name>Legend of Zelda, The</name>
        <rom-image>/home/timothee/Games/retro_gaming/snes/roms_good_snes_2.04_7z/favorites/Legend of Zelda, The - A Link to the Past (E) [!].zip</rom-image>
        <platform>SNES</platform>
    </game>
    <game>
        <name>Street Fighter II</name>
        <rom-image>/home/timothee/Games/retro_gaming/snes/roms_good_snes_2.04_7z/favorites/Street Fighter II - The World Warrior (E) [!].zip</rom-image>
        <platform>SNES</platform>
    </game>
    <game>
        <name>Super Mario World</name>
        <rom-image>/home/timothee/Games/retro_gaming/snes/roms_good_snes_2.04_7z/favorites/Super Mario World (E) (V1.1) [!].zip</rom-image>
        <platform>SNES</platform>
    </game>
    <game>
        <name>Super Mario All-Stars</name>
        <rom-image>/home/timothee/Games/retro_gaming/snes/roms_good_snes_2.04_7z/favorites/Super Mario All-Stars (E) [!].zip</rom-image>
        <platform>SNES</platform>
    </game>
    <game>
        <name>Street Racer</name>
        <rom-image>/home/timothee/Games/retro_gaming/snes/roms_good_snes_2.04_7z/favorites/street_racer.zip</rom-image>
        <platform>SNES</platform>
    </game>
    </games>
</game-list>
</cabrio-config>

OpenGL/SDL Segmentation Fault on image load

See Andrea Ghensi email thread for further detail. There is a problem with loading an mslug5.png, unknown if it is a file permission problem, perhaps a corrupt file problem. Should probably do more checking that creation of textures was successful, and log any errors found.

Execution stack:
Error: couldn't create texture: invalid value
Program received signal SIGSEV, Segmentation fault.
[...] in SDL_DisplayFormatAlpha () from /usr/lib/libSDL-1.2.so.0
Here's the execution stack (only function names):
SDL_DisplayFormatAlpha
resize
ogl_create_texture
sdl_create_texture filename /home/arcade/.advance/titles/mslug5.png
game_load_texture
game_list_resume
resume_all
emulator_run
game_sel_event
event_process
main

Problem with 1600x900

I changed the background and I noticed that Cabrio does not work properly with 1600x900 resolution. Even with a picture with the exact size of the screen, it does not work. Take a look at the picture.

In config.xml:

< cabrio-config >
< interface >
< theme > default < / theme >
< full-screen > true < /full-screen >
< background >
< image-file > /home/sergio/Games/Cabrio/background/test_1600x900.jpg < / image-file >
< rotation > 0 < / rotation >
< transparency > 20% < /transparency >
< /background >
< full-screen > true < /full-screen >
< frame-rate > 60 < /frame-rate >
< video-loop > true < /video-loop >
< screen >
< width > 1600 < /width >
< height > 900 < /height >
< rotation > 0 < /rotation >
< flip-horizontal > 0 < / flip-horizontal >
< flip-vertical > 0 < /flip-vertical >
< /screen >

screenshot - 23112014 - 14 08 10

Cabrio with random bad delay

Sometimes when I open Cabrio it has a delay of 3 seconds to do stuff, for example you move down and you have to wait 3 seconds to it respond.

Using fred fork.

make cabrio work with OpenGL-ES

Cabrio could be a great game launcher on a variety of arm-based small and/or mobile devices (e.g. pandora, or raspberry pi). These devices typically support OpenGL-ES. Cabrio's rendering code should have an OpenGL-ES compilation path, such that it can run on these devices as well.

Video probleme (compilation not failed)

Hello everyone, I just started my project Bartop arcade DIY and I chose cabrio-fe because he was the best on linux and I can not suporter the mouse. I have a brief porbleme when compiling on video (see below) and the video never read. I'm running debian squeeze amd 64. Help me.

Oh and here is the link to my youtube account and see the DEADPOOL CAB ARCADE CABINET :)

http://www.youtube.com/feed/UCdyVxCbkSDXHKL_B7xPYwag/u

See you

berzerking@deadpoolcab:~/cabrio$ make
gcc -g -Wall -DDATA_DIR="/usr/share/cabrio" -I./include -I/usr/include/libxml2 -o main.o -c main.c
gcc -g -Wall -DDATA_DIR="/usr/share/cabrio" -I./include -I/usr/include/libxml2 -o ogl.o -c ogl.c
gcc -g -Wall -DDATA_DIR="/usr/share/cabrio" -I./include -I/usr/include/libxml2 -o sdl_wrapper.o -c sdl_wrapper.c
gcc -g -Wall -DDATA_DIR="/usr/share/cabrio" -I./include -I/usr/include/libxml2 -o config.o -c config.c
gcc -g -Wall -DDATA_DIR="/usr/share/cabrio" -I./include -I/usr/include/libxml2 -o bg.o -c bg.c
gcc -g -Wall -DDATA_DIR="/usr/share/cabrio" -I./include -I/usr/include/libxml2 -o menu.o -c menu.c
gcc -g -Wall -DDATA_DIR="/usr/share/cabrio" -I./include -I/usr/include/libxml2 -o game_sel.o -c game_sel.c
gcc -g -Wall -DDATA_DIR="/usr/share/cabrio" -I./include -I/usr/include/libxml2 -o game.o -c game.c
gcc -g -Wall -DDATA_DIR="/usr/share/cabrio" -I./include -I/usr/include/libxml2 -o font.o -c font.c
gcc -g -Wall -DDATA_DIR="/usr/share/cabrio" -I./include -I/usr/include/libxml2 -o hint.o -c hint.c
gcc -g -Wall -DDATA_DIR="/usr/share/cabrio" -I./include -I/usr/include/libxml2 -o platform.o -c platform.c
gcc -g -Wall -DDATA_DIR="/usr/share/cabrio" -I./include -I/usr/include/libxml2 -o submenu.o -c submenu.c
gcc -g -Wall -DDATA_DIR="/usr/share/cabrio" -I./include -I/usr/include/libxml2 -o sound.o -c sound.c
gcc -g -Wall -DDATA_DIR="/usr/share/cabrio" -I./include -I/usr/include/libxml2 -o event.o -c event.c
gcc -g -Wall -DDATA_DIR="/usr/share/cabrio" -I./include -I/usr/include/libxml2 -o key.o -c key.c
gcc -g -Wall -DDATA_DIR="/usr/share/cabrio" -I./include -I/usr/include/libxml2 -o control.o -c control.c
gcc -g -Wall -DDATA_DIR="/usr/share/cabrio" -I./include -I/usr/include/libxml2 -o setup.o -c setup.c
gcc -g -Wall -DDATA_DIR="/usr/share/cabrio" -I./include -I/usr/include/libxml2 -o sdl_ogl.o -c sdl_ogl.c
gcc -g -Wall -DDATA_DIR="/usr/share/cabrio" -I./include -I/usr/include/libxml2 -o video.o -c video.c
video.c: In function ‘video_init’:
video.c:76: warning: ‘url_set_interrupt_cb’ is deprecated (declared at /usr/include/libavformat/avio.h:201)
video.c: In function ‘video_open’:
video.c:308: warning: ‘av_open_input_file’ is deprecated (declared at /usr/include/libavformat/avformat.h:1170)
gcc -g -Wall -DDATA_DIR="/usr/share/cabrio" -I./include -I/usr/include/libxml2 -o packet.o -c packet.c
gcc -g -Wall -DDATA_DIR="/usr/share/cabrio" -I./include -I/usr/include/libxml2 -o frame.o -c frame.c
gcc -g -Wall -DDATA_DIR="/usr/share/cabrio" -I./include -I/usr/include/libxml2 -o category.o -c category.c
gcc -g -Wall -DDATA_DIR="/usr/share/cabrio" -I./include -I/usr/include/libxml2 -o focus.o -c focus.c
gcc -g -Wall -DDATA_DIR="/usr/share/cabrio" -I./include -I/usr/include/libxml2 -o emulator.o -c emulator.c
gcc -g -Wall -DDATA_DIR="/usr/share/cabrio" -I./include -I/usr/include/libxml2 -o snap.o -c snap.c
gcc -g -Wall -DDATA_DIR="/usr/share/cabrio" -I./include -I/usr/include/libxml2 -o media.o -c media.c
gcc -g -Wall -DDATA_DIR="/usr/share/cabrio" -I./include -I/usr/include/libxml2 -o location.o -c location.c
gcc -g -Wall -DDATA_DIR="/usr/share/cabrio" -I./include -I/usr/include/libxml2 -o lookup.o -c lookup.c
gcc -o cabrio main.o ogl.o sdl_wrapper.o config.o bg.o menu.o game_sel.o game.o font.o hint.o platform.o submenu.o sound.o event.o key.o control.o setup.o sdl_ogl.o video.o packet.o frame.o category.o focus.o emulator.o snap.o media.o location.o lookup.o -lGL -lSDL -lSDL_image -lSDL_gfx -lSDL_ttf -lSDL_mixer -lGLU -lxml2 -lavutil -lavformat -lavcodec -lswscale

Allow categories to have representative images

It's quite typical in a cabrio setup to have a "manufacturer" category. And since the game makers typically have instantly recognizable logos (e.g. capcom, SNK, Taito). It would be great if categories could have representative images, just like platforms currently do.

Scaling of on-screen objects should be configurable.

Some values for scaling e.g. platform icons are hard-coded into GLfloats. Where it makes sense, these should be made configurable with defaults suitable for the most common screen resolutions and aspect ratios.

Cabrio on lubuntu

Hi i am trying to install cabrio on lubuntu and it will not compile it has an error on the video.c file

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.