Autor Tópico: Cabrio FE - Compilando, Instalando e configurando o Cabrio no Ubuntu 12.04 64Bit  (Lida 59909 vezes)

Offline platao

  • Equipe Ubuntu
  • Usuário Ubuntu
  • *****
  • Mensagens: 5.052
    • Ver perfil
Re: Cabrio FE - Compilando, Instalando e configurando o Cabrio no Ubuntu 12.04 64Bit
« Resposta #30 Online: 08 de Junho de 2014, 22:40 »
Se vc colocar o cabrio para iniciar da tela de loguim, antes de entrar no desktop pode ser que nao pisque""

Uma coisa que eu queria saber é se da para colocar animações em flash ag3nt3 podia pegar coisas simples ate do proprio Hiperspin, como aquela animação do controle arcade se movendo, que fica na base da tela, indicando para vc mexer a roda dos jogos...
« Última modificação: 08 de Junho de 2014, 23:01 por platao »
\\\\\\\\Apostilas Dicas e Guias do Ubuntu\\\\\\\\\> http://ubuntuforum-br.org/index.php/topic,79368.msg440997.html#msg440997

Offline Sergio Benjamim

  • Usuário Ubuntu
  • *
  • Mensagens: 2.902
    • Ver perfil
Re: Cabrio FE - Compilando, Instalando e configurando o Cabrio no Ubuntu 12.04 64Bit
« Resposta #31 Online: 09 de Junho de 2014, 03:01 »
Se vc colocar o cabrio para iniciar da tela de loguim, antes de entrar no desktop pode ser que nao pisque""

Uma coisa que eu queria saber é se da para colocar animações em flash ag3nt3 podia pegar coisas simples ate do proprio Hiperspin, como aquela animação do controle arcade se movendo, que fica na base da tela, indicando para vc mexer a roda dos jogos...

Hum, seria interessante, contanto que fosse qualquer outra coisa não baseada no flash :)

---

Tem um tópico no fórum do ubuntu internacional, dá uma olhada. Vamos tentar trocar umas figurinhas :)
É novo no Ubuntu? Já leu o Ubuntu – Guia do Iniciante 2.0 ?
Experimente o Xubuntu 14.04 !

Offline platao

  • Equipe Ubuntu
  • Usuário Ubuntu
  • *****
  • Mensagens: 5.052
    • Ver perfil
Re: Cabrio FE - Compilando, Instalando e configurando o Cabrio no Ubuntu 12.04 64Bit
« Resposta #32 Online: 09 de Junho de 2014, 10:46 »
**Cria um topico novo tbm para o cabrio, aquele é um pouco antigo ja, dez 2013

Se quiser dar um "copiar e colar" do nosso topico aqui no forum e colar la manda ver!!! ; )



static const char *tag_iface_labels   = "labels";
static const char *tag_iface_labels_label   = "label";
static const char *tag_iface_prune_menus   = "prune-menus";

static const char *tag_iface_lookups   = "lookups";
static const char *tag_iface_lookups_category   = "category-lookup";
static const char *tag_iface_lookups_lookup   = "lookup";

static const char *tag_theme_sounds   = "sounds";
static const char *tag_theme_sounds_sound   = "sound";
static const char *tag_theme_sounds_sound_file   = "sound-file";

static const char *tag_theme_hints_pulse   = "pulse";

static const char *tag_theme_hints_image_back   = "back-image";

static const char *tag_zoom   = "zoom";

static const char *tag_offset1   = "primary-offset";
static const char *tag_offset2   = "secondary-offset";

static const char *tag_order   = "order";

/* Labels */
static const char *config_label_all   = "all";
static const char *config_label_platform   = "platform";
static const char *config_label_back   = "back";
static const char *config_label_select   = "select";
static const char *config_label_lists   = "lists";

https://github.com/fredbcode/cabrio/blob/master/config.c

Olha, tem mais opçoes de configuração que podem ser adicionadas no arquivo xml para o cabrio tbm...veja as destacadas em preto e as demais ai em cima!

Pelo que entendi da para adicionar sons alem dos que ja vem configurados por padrao, tbm da para subistituir se quiser todas as imagens dos botoes e trocar por outras, antes de compilar o cabrio, e so trocar por outra e preservar o mesmo nome para facilitar...

Fiz outro video DEMO so que esse foi gravado a 30fps

https://www.youtube.com/watch?v=vKAIFQ3_vUE&feature=youtu.be
« Última modificação: 09 de Junho de 2014, 10:49 por platao »
\\\\\\\\Apostilas Dicas e Guias do Ubuntu\\\\\\\\\> http://ubuntuforum-br.org/index.php/topic,79368.msg440997.html#msg440997

Offline platao

  • Equipe Ubuntu
  • Usuário Ubuntu
  • *****
  • Mensagens: 5.052
    • Ver perfil
Re: Cabrio FE - Compilando, Instalando e configurando o Cabrio no Ubuntu 12.04 64Bit
« Resposta #33 Online: 03 de Julho de 2014, 19:44 »
Parece que o Fred andou fazendo algumas modificações de leve no fork dele.

Modifiquei alguma coisa aqui tbm e parece que ficou mais legal;

Código: [Selecionar]
<?xml version="1.0" encoding="UTF-8"?>
<cabrio-config>
  <interface>
    <theme>default</theme>
    <full-screen>true</full-screen>
    <frame-rate>60</frame-rate>
    <video-loop>true</video-loop>
    <background>
     <image-file>/home/platao/.cabrio-master/background/gameroom_1024x768.jpg</image-file>
     <rotation>0</rotation>
     <transparency>18%</transparency>
    </background>
    <menu>
     <image-file>/home/platao/.cabrio-master/menu/menu-item.png</image-file>
     <orientation>landscape</orientation>
     <items-visible>5</items-visible>
     <font-scale>0.8</font-scale>
     <border>32%</border>
    </menu>
     <submenu>
     <image-file>/home/platao/.cabrio-master/menu/submenu-item.png</image-file>
     </submenu>
    <font>
     <font-file>/home/platao/.cabrio-master/data/fonts/Ubuntu-B.ttf</font-file>
     <size>55</size>
     <color>FFFF00</color>
    </font>
    <screen>
      <width>1280</width>
      <height>800</height>
      <rotation>0</rotation>
      <flip-horizontal>0</flip-horizontal>
      <flip-vertical>0</flip-vertical>
    </screen>
    <snap>
        <primary-offset>-2.5</primary-offset>
        <secondary-offset>0</secondary-offset>
        <size>1.3</size>
        <x-angle></x-angle>
        <y-angle></y-angle>
        <z-angle></z-angle>
        <fix-aspect-ratio>true</fix-aspect-ratio>
    </snap>
    <hints>
        <primary-offset>-2.2</primary-offset>
        <secondary-offset>-1</secondary-offset>
        <size>0.8</size>
        <spacing>0.2</spacing>
    </hints>
    <graphics>
      <quality>high</quality>
      <max-image-width>512</max-image-width>
      <max-image-height>512</max-image-height>
    </graphics>
    <controls>
      <event>
        <name>up</name>
        <value>up</value>
        <device>
          <type>keyboard</type>
          <id>0</id>
        </device>
      </event>
      <event>
        <name>down</name>
        <value>down</value>
        <device>
          <type>keyboard</type>
          <id>0</id>
        </device>
      </event>
      <event>
        <name>left</name>
        <value>left</value>
        <device>
          <type>keyboard</type>
          <id>0</id>
        </device>
      </event>
      <event>
        <name>right</name>
        <value>right</value>
        <device>
          <type>keyboard</type>
          <id>0</id>
        </device>
      </event>
      <event>
        <name>select</name>
        <value>1</value>
        <device>
          <type>keyboard</type>
          <id>0</id>
        </device>
      </event>
      <event>
        <name>back</name>
        <value>2</value>
        <device>
          <type>keyboard</type>
          <id>0</id>
        </device>
      </event>
      <event>
        <name>quit</name>
        <value>3</value>
        <device>
          <type>keyboard</type>
          <id>0</id>
        </device>
      </event>
    </controls>
  </interface>
  <emulators>
    <emulator>
      <name>mame</name>
      <display-name>MAME</display-name>
      <executable>/home/platao/Games/Mame64/mame64-143/mame64</executable>
      <directory>/home/platao/Games/Mame64/mame64-143</directory>
      <platform>Arcade</platform>
      <params>
        <param>
          <name>-nowindow</name>
        </param>
        <param>
          <name>-skip_gameinfo</name>
        </param>
        <param>
          <name>-switchres</name>
        </param>
        <param>
          <name>-joystick</name>
        </param>
      </params>
    </emulator>
  </emulators>
<game-list>
<name>Arcadelist</name>
<games>
<game>
<name>1942</name>
<platform>Arcade</platform>
<rom-image>1942.zip</rom-image>
<images>
<image>
<type>logo</type>
<image-file>1942b.png</image-file>
</image>
<image>
<type>screenshot</type>
<image-file>1942.jpg</image-file>
</image>
<image>
<type>background</type>
<image-file></image-file>
</image>
</images>
<video>1942.mp4</video>
<categories>
<category>
<name>Genre</name>
<value>Shooter</value>
</category>
</categories>
</game>
<game>
<name>1943</name>
<platform>Arcade</platform>
<rom-image>1943.zip</rom-image>
<images>
<image>
<type>logo</type>
<image-file>1943.png</image-file>
</image>
<image>
<type>screenshot</type>
<image-file>1943.png</image-file>
</image>
<image>
<type>background</type>
<image-file></image-file>
</image>
</images>
<video>1943.mp4</video>
<categories>
<category>
<name>Genre</name>
<value>Shooter</value>
</category>
</categories>
</game>
<game>
<name>1944</name>
<platform>Arcade</platform>
<rom-image>1944.zip</rom-image>
<images>
<image>
<type>logo</type>
<image-file>1944.png</image-file>
</image>
<image>
<type>screenshot</type>
<image-file>1944.png</image-file>
</image>
<image>
<type>background</type>
<image-file></image-file>
</image>
</images>
<video>1944.mp4</video>
<categories>
<category>
<name>Genre</name>
<value>Shooter</value>
</category>
</categories>
</game>
<game>
<name>19xx</name>
<platform>Arcade</platform>
<rom-image>19xx.zip</rom-image>
<images>
<image>
<type>logo</type>
<image-file>19XX.png</image-file>
</image>
<image>
<type>screenshot</type>
<image-file>19XX.png</image-file>
</image>
<image>
<type>background</type>
<image-file></image-file>
</image>
</images>
<video>19xx.mp4</video>
<categories>
<category>
<name>Genre</name>
<value>Shooter</value>
</category>
</categories>
</game>
<game>
<name>AfterBurner</name>
<platform>Arcade</platform>
<rom-image>aburner.zip</rom-image>
<images>
<image>
<type>logo</type>
<image-file>afterburner.png</image-file>
</image>
<image>
<type>screenshot</type>
<image-file>aburner.png</image-file>
</image>
<image>
<type>background</type>
<image-file></image-file>
</image>
</images>
<video>aburner.mp4</video>
<categories>
<category>
<name>Genre</name>
<value>Shooter</value>
</category>
</categories>
</game>
<game>
<name>AllPointBuletin</name>
<platform>Arcade</platform>
<rom-image>apb.zip</rom-image>
<images>
<image>
<type>logo</type>
<image-file>apb.png</image-file>
</image>
<image>
<type>screenshot</type>
<image-file>apb.png</image-file>
</image>
<image>
<type>background</type>
<image-file></image-file>
</image>
</images>
<video>apb.mp4</video>
<categories>
<category>
<name>Genre</name>
<value>Driving</value>
</category>
</categories>
</game>
<game>
<name>RType</name>
<platform>Arcade</platform>
<rom-image>rtype.zip</rom-image>
<images>
<image>
<type>logo</type>
<image-file>rtype.png</image-file>
</image>
<image>
<type>screenshot</type>
<image-file>rtype.png</image-file>
</image>
<image>
<type>background</type>
<image-file></image-file>
</image>
</images>
<video>rtype.mp4</video>
<categories>
<category>
<name>Genre</name>
<value>Shooter</value>
</category>
</categories>
</game>
<game>
<name>RTypeleo</name>
<platform>Arcade</platform>
<rom-image>rtypeleo.zip</rom-image>
<images>
<image>
<type>logo</type>
<image-file>rtype_leo.png</image-file>
</image>
<image>
<type>screenshot</type>
<image-file>rtypeleo.png</image-file>
</image>
<image>
<type>background</type>
<image-file></image-file>
</image>
</images>
<video>rtypeleo.mp4</video>
<categories>
<category>
<name>Genre</name>
<value>Shooter</value>
</category>
</categories>
</game>
</games>
</game-list>
 <locations>
    <location>
     <type>platform</type>
     <directory>/home/platao/.cabrio-master/platform</directory>
    </location>
    <location>
      <type>video</type>
      <directory>/home/platao/.cabrio-master/video</directory>
    </location>
    <location>
      <type>logo</type>
      <directory>/home/platao/.cabrio-master/logo</directory>
    </location>
    <location>
      <type>screenshot</type>
      <directory>/home/platao/.cabrio-master/screenshots</directory>
    </location>
    <location>
      <type>background</type>
      <directory></directory>
    </location>
 </locations>
</cabrio-config>

As snaps de videos estao um pouco maiores agora e sem o efeito 3D tela em 1280x800.

https://www.youtube.com/watch?v=MCjRNEE292M
\\\\\\\\Apostilas Dicas e Guias do Ubuntu\\\\\\\\\> http://ubuntuforum-br.org/index.php/topic,79368.msg440997.html#msg440997

Offline platao

  • Equipe Ubuntu
  • Usuário Ubuntu
  • *****
  • Mensagens: 5.052
    • Ver perfil
Re: Cabrio FE - Compilando, Instalando e configurando o Cabrio no Ubuntu 12.04 64Bit
« Resposta #34 Online: 21 de Agosto de 2014, 00:34 »
Super pacote DEV do Cabrio, do PPA do Companheiro Sergio Benjamim, que e uma opção interessante para quem quer montar uma arcade ou bartop e nao quer recorrer ao Hiperspin ou ao Maximus arcade.

O aplicativo e bem enxuto muito bom.

Código: [Selecionar]
<?xml version="1.0" encoding="UTF-8"?>
<cabrio-config>
  <interface>
    <theme>default</theme>
    <full-screen>true</full-screen>
    <frame-rate>60</frame-rate>
    <video-loop>true</video-loop>
    <music-volume>60</music-volume>
    <video-sound>true</video-sound>
    <theme-sound>false</theme-sound>
    <background>
     <image-file>/home/platao/.cabrio/background/gameroom_1280x800.jpg</image-file>
     <rotation>0</rotation>
     <transparency>18%</transparency>
    </background>
    <menu>
     <image-file>/home/platao/.cabrio/menu/menu-item.png</image-file>
     <orientation>landscape</orientation>
     <items-visible>5</items-visible>
     <font-scale>0.8</font-scale>
     <border>32%</border>
    </menu>
     <submenu>
     <image-file>/home/platao/.cabrio/menu/submenu-item.png</image-file>
     </submenu>
    <font>
     <font-file>/home/platao/.cabrio/data/fonts/Ubuntu-B.ttf</font-file>
     <size>55</size>
     <color>FFFF00</color>
    </font>
    <screen>
      <width>1280</width>
      <height>800</height>
      <rotation>0</rotation>
      <flip-horizontal>0</flip-horizontal>
      <flip-vertical>0</flip-vertical>
    </screen>
    <snap>
        <primary-offset>-2.5</primary-offset>
        <secondary-offset>0</secondary-offset>
        <size>1.3</size>
        <x-angle></x-angle>
        <y-angle></y-angle>
        <z-angle></z-angle>
        <fix-aspect-ratio>true</fix-aspect-ratio>
    </snap>
    <hints>
        <primary-offset>-2.2</primary-offset>
        <secondary-offset>-1</secondary-offset>
        <size>0.8</size>
        <spacing>0.2</spacing>
    </hints>
    <graphics>
      <quality>high</quality>
      <max-image-width>512</max-image-width>
      <max-image-height>512</max-image-height>
    </graphics>
    <controls>
      <event>
        <name>up</name>
        <value>up</value>
        <device>
          <type>keyboard</type>
          <id>0</id>
        </device>
      </event>
      <event>
        <name>down</name>
        <value>down</value>
        <device>
          <type>keyboard</type>
          <id>0</id>
        </device>
      </event>
      <event>
        <name>left</name>
        <value>left</value>
        <device>
          <type>keyboard</type>
          <id>0</id>
        </device>
      </event>
      <event>
        <name>right</name>
        <value>right</value>
        <device>
          <type>keyboard</type>
          <id>0</id>
        </device>
      </event>
      <event>
        <name>select</name>
        <value>1</value>
        <device>
          <type>keyboard</type>
          <id>0</id>
        </device>
      </event>
      <event>
        <name>back</name>
        <value>2</value>
        <device>
          <type>keyboard</type>
          <id>0</id>
        </device>
      </event>
      <event>
        <name>quit</name>
        <value>3</value>
        <device>
          <type>keyboard</type>
          <id>0</id>
        </device>
      </event>
      <event>
        <name>list1</name>
        <value>4</value>
        <device>
          <type>keyboard</type>
          <id>0</id>
        </device>
      </event>
      <event>
        <name>list2</name>
        <value>5</value>
        <device>
          <type>keyboard</type>
          <id>0</id>
        </device>
      </event>
      <event>
        <name>list3</name>
        <value>6</value>
        <device>
          <type>keyboard</type>
          <id>0</id>
        </device>
      </event>
      <event>
        <name>list4</name>
        <value>6</value>
        <device>
          <type>keyboard</type>
          <id>0</id>
        </device>
      </event>
      <event>
        <name>list5</name>
        <value>7</value>
        <device>
          <type>keyboard</type>
          <id>0</id>
        </device>
      </event>
    </controls>
  </interface>
  <emulators>
    <emulator>
      <name>mame</name>
      <display-name>MAME</display-name>
      <executable>/home/platao/Games/Mame64/mame64-143/mame64</executable>
      <directory>/home/platao/Games/Mame64/mame64-143</directory>
      <platform>Arcade</platform>
      <params>
        <param>
          <name>-nowindow</name>
        </param>
        <param>
          <name>-skip_gameinfo</name>
        </param>
        <param>
          <name>-switchres</name>
        </param>
        <param>
          <name>-joystick</name>
        </param>
      </params>
    </emulator>
  </emulators>
<game-list>
<name>Arcadelist</name>
<games>
<game>
<name>1942</name>
<platform>Arcade</platform>
<rom-image>1942.zip</rom-image>
<images>
<image>
<type>logo</type>
<image-file>1942b.png</image-file>
</image>
<image>
<type>screenshot</type>
<image-file>1942.jpg</image-file>
</image>
<image>
<type>background</type>
<image-file></image-file>
</image>
</images>
<video>1942.mp4</video>
<categories>
<category>
<name>Genre</name>
<value>Shooter</value>
</category>
</categories>
</game>
<game>
<name>1943</name>
<platform>Arcade</platform>
<rom-image>1943.zip</rom-image>
<images>
<image>
<type>logo</type>
<image-file>1943.png</image-file>
</image>
<image>
<type>screenshot</type>
<image-file>1943.png</image-file>
</image>
<image>
<type>background</type>
<image-file></image-file>
</image>
</images>
<video>1943.mp4</video>
<categories>
<category>
<name>Genre</name>
<value>Shooter</value>
</category>
</categories>
</game>
<game>
<name>1944</name>
<platform>Arcade</platform>
<rom-image>1944.zip</rom-image>
<images>
<image>
<type>logo</type>
<image-file>1944.png</image-file>
</image>
<image>
<type>screenshot</type>
<image-file>1944.png</image-file>
</image>
<image>
<type>background</type>
<image-file></image-file>
</image>
</images>
<video>1944.mp4</video>
<categories>
<category>
<name>Genre</name>
<value>Shooter</value>
</category>
</categories>
</game>
<game>
<name>19xx</name>
<platform>Arcade</platform>
<rom-image>19xx.zip</rom-image>
<images>
<image>
<type>logo</type>
<image-file>19XX.png</image-file>
</image>
<image>
<type>screenshot</type>
<image-file>19XX.png</image-file>
</image>
<image>
<type>background</type>
<image-file></image-file>
</image>
</images>
<video>19xx.mp4</video>
<categories>
<category>
<name>Genre</name>
<value>Shooter</value>
</category>
</categories>
</game>
<game>
<name>AfterBurner</name>
<platform>Arcade</platform>
<rom-image>aburner.zip</rom-image>
<images>
<image>
<type>logo</type>
<image-file>afterburner.png</image-file>
</image>
<image>
<type>screenshot</type>
<image-file>aburner.png</image-file>
</image>
<image>
<type>background</type>
<image-file></image-file>
</image>
</images>
<video>aburner.mp4</video>
<categories>
<category>
<name>Genre</name>
<value>Shooter</value>
</category>
</categories>
</game>
<game>
<name>AllPointBuletin</name>
<platform>Arcade</platform>
<rom-image>apb.zip</rom-image>
<images>
<image>
<type>logo</type>
<image-file>apb.png</image-file>
</image>
<image>
<type>screenshot</type>
<image-file>apb.png</image-file>
</image>
<image>
<type>background</type>
<image-file></image-file>
</image>
</images>
<video>apb.mp4</video>
<categories>
<category>
<name>Genre</name>
<value>Driving</value>
</category>
</categories>
</game>
<game>
<name>RType</name>
<platform>Arcade</platform>
<rom-image>rtype.zip</rom-image>
<images>
<image>
<type>logo</type>
<image-file>rtype.png</image-file>
</image>
<image>
<type>screenshot</type>
<image-file>rtype.png</image-file>
</image>
<image>
<type>background</type>
<image-file></image-file>
</image>
</images>
<video>rtype.mp4</video>
<categories>
<category>
<name>Genre</name>
<value>Shooter</value>
</category>
</categories>
</game>
<game>
<name>RTypeleo</name>
<platform>Arcade</platform>
<rom-image>rtypeleo.zip</rom-image>
<images>
<image>
<type>logo</type>
<image-file>rtype_leo.png</image-file>
</image>
<image>
<type>screenshot</type>
<image-file>rtypeleo.png</image-file>
</image>
<image>
<type>background</type>
<image-file></image-file>
</image>
</images>
<video>rtypeleo.mp4</video>
<categories>
<category>
<name>Genre</name>
<value>Shooter</value>
</category>
</categories>
</game>
</games>
</game-list>
 <locations>
    <location>
     <type>platform</type>
     <directory>/home/platao/.cabrio/platform</directory>
    </location>
    <location>
      <type>video</type>
      <directory>/home/platao/.cabrio/video</directory>
    </location>
    <location>
      <type>logo</type>
      <directory>/home/platao/.cabrio/logo</directory>
    </location>
    <location>
      <type>screenshot</type>
      <directory>/home/platao/.cabrio/screenshots</directory>
    </location>
    <location>
      <type>background</type>
      <directory></directory>
    </location>
 </locations>
</cabrio-config>

Para dar um pontape inicial para quem desejar, e esta talvez um pouco perdido na configuração, aqui tem um pacote tar com os arquivos e o deb do cabrio, todos os arquivos necessarios para ele funcionar minimamente, como a demo que foi mostrada.

- descompact o pacote tar baixado

- instale o deb do cabrio

- va ate o terminal e digite cabrio

- defina as teclas cima baixo esquerda e direita start select exit e outras

- sera criada a pasta oculta .cabrio na sua home

- estraia todo o conteudo desse pacote tar que vc baixou dentro dessa pasta .cabrio, ele dira que ja existe o arquivo cabrio.xml mande sobrescrever normalmente.

- abra o cabrio.xml com o gedit ou outro editor

- altere onde esta escrito "/home/platao/.cabrio/....... para "/home/seu usuario aqui/.cabrio/.......

- rode novamente o comando cabrio no terminal

- teste e de um retorno aqui ou no PPA do Sergio, nas listas de discussao do google, no git hub do Fred ou no site do cabrio.

LInk para o tar - >  https://mega.co.nz/#!shwkgIBZ!woHjyPZtqdoUg9MtO8KanfLUIMZD_x-PZRHIyWlWbKs

**Funciona com libavcodec54 do trusty mas sem som, e necessario ainda a libavcodec53 para funcionar bem!
« Última modificação: 21 de Agosto de 2014, 01:31 por platao »
\\\\\\\\Apostilas Dicas e Guias do Ubuntu\\\\\\\\\> http://ubuntuforum-br.org/index.php/topic,79368.msg440997.html#msg440997

Offline jaimeinside

  • Usuário Ubuntu
  • *
  • Mensagens: 16
    • Ver perfil
Re: Cabrio FE - Compilando, Instalando e configurando o Cabrio no Ubuntu 12.04 64Bit
« Resposta #35 Online: 01 de Outubro de 2014, 16:48 »
Pessoal, testei aqui o LiveMameCab, com o Cabrio já instalado e bonitinho... Até a hora de carregar o programa depois que eu gero os XMLs... Parece um 386 de tão lento! Isto é normal?

Outra coisa: quando eu instalo o driver da Nvidia, tanto faz pelo apt-get quanto pelo driver do site da Nvidia, ao reiniciar, o Cabrio não roda nem com reza!

Alguém já viu isso?


Offline Sergio Benjamim

  • Usuário Ubuntu
  • *
  • Mensagens: 2.902
    • Ver perfil
Re: Cabrio FE - Compilando, Instalando e configurando o Cabrio no Ubuntu 12.04 64Bit
« Resposta #36 Online: 22 de Novembro de 2014, 00:19 »
Aooo, o fred corrigiu o problema do áudio nos loops de vídeo do 14.04 em diante.

Nova versão já está no PPA.
É novo no Ubuntu? Já leu o Ubuntu – Guia do Iniciante 2.0 ?
Experimente o Xubuntu 14.04 !

Offline platao

  • Equipe Ubuntu
  • Usuário Ubuntu
  • *****
  • Mensagens: 5.052
    • Ver perfil
Re: Cabrio FE - Compilando, Instalando e configurando o Cabrio no Ubuntu 12.04 64Bit
« Resposta #37 Online: 22 de Novembro de 2014, 07:59 »
Vou testar aqui para ver!

No 14.04 o cabrio estava lento isso foi acertado tbm?

No 12.04 a velocidade esta normal, as animações fluem normalmente a troca de games tbm, acho ate que vc ja tinha reportado isso, essa lentidao geral das animações do cabrio no trusty.


Vc viu isso?

https://github.com/SteveMaddison/cabrio2
\\\\\\\\Apostilas Dicas e Guias do Ubuntu\\\\\\\\\> http://ubuntuforum-br.org/index.php/topic,79368.msg440997.html#msg440997

Offline Sergio Benjamim

  • Usuário Ubuntu
  • *
  • Mensagens: 2.902
    • Ver perfil
Re: Cabrio FE - Compilando, Instalando e configurando o Cabrio no Ubuntu 12.04 64Bit
« Resposta #38 Online: 22 de Novembro de 2014, 12:42 »
Vou testar aqui para ver!

No 14.04 o cabrio estava lento isso foi acertado tbm?

No 12.04 a velocidade esta normal, as animações fluem normalmente a troca de games tbm, acho ate que vc ja tinha reportado isso, essa lentidao geral das animações do cabrio no trusty.


Vc viu isso?

https://github.com/SteveMaddison/cabrio2


Acho que a lentidão era algo do Xubuntu, talvez relacionado ao compton... desativei ele, estou usando o xfce sem window compositor.

Está rodando legal, só dá uma travada de leve às vezes quando tem vídeo na seleção dos jogos.

Esse Cabrio 2 está só na fase das ideias e discussão ainda, vai demorar bastante pra sair alguma coisa.
É novo no Ubuntu? Já leu o Ubuntu – Guia do Iniciante 2.0 ?
Experimente o Xubuntu 14.04 !

Offline Sergio Benjamim

  • Usuário Ubuntu
  • *
  • Mensagens: 2.902
    • Ver perfil
Re: Cabrio FE - Compilando, Instalando e configurando o Cabrio no Ubuntu 12.04 64Bit
« Resposta #39 Online: 22 de Novembro de 2014, 14:18 »
Consegui carregar o RetroArch pelo Cabrio  8)

Aqui separei os xml em 3 arquivos: config.xml (configurações gerais), mame.xml e genesis.xml, a ideia é deixar um xml para cada plataforma/video game. Neste último, configurei de forma que o cabrio chame o retroarch da seguinte forma:

Código: [Selecionar]
retroarch -L /usr/lib/libretro/genesis_plus_gx_libretro.so /home/sergio/Games/Mega Drive/Sonic The Hedgehog 2 (World).zip
Esse é um exemplo de como carregar o genesis plus gx pelo terminal.

Então em xml a configuração vai ficar:

Código: [Selecionar]
<emulators>
  <emulator>
    <name>genesis</name>
    <display-name>Mega Drive</display-name>
    <executable>retroarch</executable>
    <platform>Genesis</platform>
    <params>
      <param>
        <name>-L</name>
      </param>
      <param>
        <name>/usr/lib/libretro/genesis_plus_gx_libretro.so</name>
      </param>
    </params>
  </emulator>
</emulators>

Para o jogo é importante lembrar de indicar a plataforma do jogo, no caso como eu coloquei Genesis lá em cima, tem que colocar para o jogo também:

Código: [Selecionar]
<game>
<name>Sonic The Hedgehog 2 (World)</name>
<platform>Genesis</platform>
<rom-image>/home/sergio/Games/Mega Drive/Sonic The Hedgehog 2 (World).zip</rom-image>
</game>
« Última modificação: 23 de Novembro de 2014, 00:20 por Sergio Benjamim »
É novo no Ubuntu? Já leu o Ubuntu – Guia do Iniciante 2.0 ?
Experimente o Xubuntu 14.04 !

Offline Sergio Benjamim

  • Usuário Ubuntu
  • *
  • Mensagens: 2.902
    • Ver perfil
Re: Cabrio FE - Compilando, Instalando e configurando o Cabrio no Ubuntu 12.04 64Bit
« Resposta #40 Online: 23 de Novembro de 2014, 00:32 »
Coloquei uma imagem como background, e percebi duas faixas pretas nos lados. Parece que o Cabrio não tem um suporte muito bom para monitores de 1600x900. Deixei a imagem com exatamente 1600x900, e nada. A configuração do vídeo está correta:

Código: [Selecionar]
<screen>
  <width>1600</width>
  <height>900</height>
  <rotation>0</rotation>
  <flip-horizontal>0</flip-horizontal>
  <flip-vertical>0</flip-vertical>
</screen>

Edit: https://github.com/SteveMaddison/cabrio/issues/19
« Última modificação: 23 de Novembro de 2014, 14:38 por Sergio Benjamim »
É novo no Ubuntu? Já leu o Ubuntu – Guia do Iniciante 2.0 ?
Experimente o Xubuntu 14.04 !

Offline platao

  • Equipe Ubuntu
  • Usuário Ubuntu
  • *****
  • Mensagens: 5.052
    • Ver perfil
Re: Cabrio FE - Compilando, Instalando e configurando o Cabrio no Ubuntu 12.04 64Bit
« Resposta #41 Online: 23 de Novembro de 2014, 01:18 »
Vou testar isso aqui, ja tentou dessa forma?

Pegar uma imagem no tamanho que vc deseja;

<background>
     <image-file>/home/platao/.cabrio/background/gameroom_1280x800.jpg</image-file>
     <rotation>0</rotation>
     <transparency>18%</transparency>
</background>

E veja no que da ; 0
\\\\\\\\Apostilas Dicas e Guias do Ubuntu\\\\\\\\\> http://ubuntuforum-br.org/index.php/topic,79368.msg440997.html#msg440997

Offline Sergio Benjamim

  • Usuário Ubuntu
  • *
  • Mensagens: 2.902
    • Ver perfil
Re: Cabrio FE - Compilando, Instalando e configurando o Cabrio no Ubuntu 12.04 64Bit
« Resposta #42 Online: 23 de Novembro de 2014, 11:53 »
Pessoal, testei aqui o LiveMameCab, com o Cabrio já instalado e bonitinho... Até a hora de carregar o programa depois que eu gero os XMLs... Parece um 386 de tão lento! Isto é normal?

Outra coisa: quando eu instalo o driver da Nvidia, tanto faz pelo apt-get quanto pelo driver do site da Nvidia, ao reiniciar, o Cabrio não roda nem com reza!

Alguém já viu isso?

Você gerou um novo xml, tentou abrir o cabrio e ele ficou lento, é isso? O Cabrio tem um problema com lista de jogos muito grande, ele demora um tempo até carregar tudo, será que não é isso?

Em relação ao driver da Nvidia, sempre instale o driver disponível nos repositórios do ubuntu, o 304 ou 331. Instalar pelo driver do site da Nvidia não é recomendável. Abra o cabrio pelo terminal e veja se há alguma mensagem relacionado à ele não conseguir abrir.
É novo no Ubuntu? Já leu o Ubuntu – Guia do Iniciante 2.0 ?
Experimente o Xubuntu 14.04 !

Offline platao

  • Equipe Ubuntu
  • Usuário Ubuntu
  • *****
  • Mensagens: 5.052
    • Ver perfil
Re: Cabrio FE - Compilando, Instalando e configurando o Cabrio no Ubuntu 12.04 64Bit
« Resposta #43 Online: 23 de Novembro de 2014, 13:08 »
Falando em driver...eu estou com uma 750Ti aqui em casa, estou usando o driver beta 346.16 e tive um problema, havia flikering bem irritante" "tela piscando", vou ver se faço um video depois, mas consegui contornar indo ate o compiz setting manager e clicando em soluçoes "workarounds" e marcando "force full screen redraws on repaint" e aparentemente o problema foi acertado, portanto, se alguem tem um problema parecido pode tentar essa dica.



Edit video para ilustrar o problema do driver e possivel soplução https://www.youtube.com/watch?v=ZKEio9nlBHg
« Última modificação: 23 de Novembro de 2014, 17:24 por platao »
\\\\\\\\Apostilas Dicas e Guias do Ubuntu\\\\\\\\\> http://ubuntuforum-br.org/index.php/topic,79368.msg440997.html#msg440997

Offline Sergio Benjamim

  • Usuário Ubuntu
  • *
  • Mensagens: 2.902
    • Ver perfil
Re: Cabrio FE - Compilando, Instalando e configurando o Cabrio no Ubuntu 12.04 64Bit
« Resposta #44 Online: 23 de Novembro de 2014, 14:39 »
Vou testar isso aqui, ja tentou dessa forma?

Pegar uma imagem no tamanho que vc deseja;

<background>
     <image-file>/home/platao/.cabrio/background/gameroom_1280x800.jpg</image-file>
     <rotation>0</rotation>
     <transparency>18%</transparency>
</background>

E veja no que da ; 0

É desse jeito que está aqui.

Código: [Selecionar]
<cabrio-config>
  <interface>
    <theme>default</theme>
    <full-screen>true</full-screen>
    <background>
     <image-file>/home/sergio/Games/Cabrio/background/1980-s-arcade-220917.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>
[...]
É novo no Ubuntu? Já leu o Ubuntu – Guia do Iniciante 2.0 ?
Experimente o Xubuntu 14.04 !