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.


Topics - cosmo

Pages: [1]
1
Scripting / ScrollingText module doesn't work?
« on: July 21, 2017, 03:59:23 AM »
Hi, i'm trying to include a scrolling text in my layout, and not sure why but it's giving me an error on the scrollingtext.nut file

this is what i'm trying to include.

Code: [Select]
fe.load_module("objects/scrollingtext");
local scroller = ScrollingText.add("[Overview]",flx*0.355, fly*0.9, flw*0.3, flh*0.9);

and it's returning this on the debug screen

Code: [Select]
AN ERROR HAS OCCURED [cannot convert the string]

CALLSTACK
*FUNCTION [unknown()] E:\Attract\modules\objects\scrollingtext.nut line [255]
*FUNCTION [unknown()] E:\Attract\modules\objects\scrollingtext.nut line [97]

LOCALS
[playTime] ""
[actual] "[Overview]"
[var] 1
[obj] TABLE
[this] TABLE
[obj] TABLE
[i] 0
[ttime] 0
[var] 1
[ttype] 2
[this] TABLE
Script Error in transition function: transition_callback - cannot convert the string

any ideas?  :-\

2
Themes / Cosmo's Theme (v.1.1 uploaded!)
« on: April 03, 2017, 10:53:39 AM »
Cosmo's Main Menu

Well, after some time fiddling with the code and trying to optimize it, here is my main menu theme. Thanks to David Marti for the unified code.

It includes animations for the background, boxarts, cartarts, you can also mute the videos... and many more!

Preview


Video Previews:

https://www.youtube.com/watch?v=7rBgmLg09fA (v.1.1)
https://www.youtube.com/watch?v=g1rN2Suc7VY (beta version)
(the animations are faster on the raspberry pi)

Main Menu Layout:


Systems Layout:


Snes-N64 theme:


Arcade Layout:


Nintendo DS Layout:



How to install:
1. Download the .rar file below, and extract in your computer. Copy 'layouts' and 'menu-art' to:
-The folder you have installed Attract Mode (if you're using PC version)
-home/pi/.attract/    on your Raspberry Pi (use WinSCP)

2. in attract mode go to the menu/displays/ and use this layouts:
cosmo-mainmenu: to use with the displays main menu
cosmo-systems: To use with systems displays
cosmo-arcade: layout for arcade systems. Includes support for flyers and marquees.
cosmo-snes-n64: same as cosmo-systems but better support for bigger boxarts
cosmo-favorites: support for compilation displays. Info about emulator in the text box and it can show console art based on it.
cosmo-nds: support for Nintendo DS dual screen.

-If some images don't appear check that your display name in attract mode and the name of the images are the same (even capital letters on the raspberry)
-If you aren't going to use some systems you can delete their files in the menu-art folder or in "cosmo-systems" folder. Search and delete every image you aren't going to need to save some precious space. 

Systems supported:
Quote
Attract Mode Setup (for Retropie)
Ports (for Retropie)
Favorites
Kodi


Arcade:
Arcade Classics
Arcade
Atari Classics
Capcom Classics
Capcom Play System
Capcom Play System II
Capcom Play System III
Cave
Daphne
Data East Classics
Final Burn Alpha
Irem Classics
Konami Classics
MAME (Advance)
MAME (Libretro)
MAME (Mame4All)
Midway Classics
Namco Classics
Nintendo Classics
Sega Classics
SNK Neo Geo MVS
Taito Classics
Williams Classics

Computers:
Acorn BBC Micro
Amstrad CPC
Apple II
Apple Macintosh
Atari 8-bit
Atari ST
Commodore VIC-20
Commodore 64
Commodore Amiga
Fujitsu FMTowns
Microsoft MS-DOS
Microsoft MSX
Microsoft MSX2
PC Games
ScummVM
Sharp X68000
Sinclair ZX Spectrum

Consoles:
Amstrad GX4000
Atari 2600
Atari 5200
Atari 7800
Atari Lynx
Atari Jaguar
Atari Jaguar-CD
Bally Astrocade
Bandai Wonderswan
Bandai Wonderswan Color
ColecoVision
Commodore Amiga CD32
Commodore CDTV (thanks to BadFurDay)
Emerson Arcadia 2001
Fairchild Channel F
GCE Vectrex
Game & Watch
Magnavox Odyssey 2
Mattel Intellivision
Microsoft Xbox
NEC PC Engine
NEC PC Engine-CD
NEC Turbografx-16
NEC Turbografx-CD
NEC SuperGrafx
NEC PC-FX
Nintendo Famicom
Nintendo Famicom Disk System
Nintendo Entertainment System
Nintendo Game Boy
Nintendo Super Famicom
Super Nintendo Entertainment System
Nintendo Virtual Boy
Nintendo 64
Nintendo Game Boy Color
Nintendo Game Boy Advance
Nintendo Gamecube
Nintendo DS
Nintendo Wii
Nintendo WiiU
Panasonic 3DO
Philips CD-I
RCA Studio II
Sega SG-1000
Sega Master System
Sega Mega Drive Japan
Sega Genesis
Sega Mega Drive
Sega Game Gear
Sega CD
Sega Mega-CD
Sega 32X
Sega Saturn
Sega Dreamcast
SNK Neo Geo AES
SNK Neo Geo CD
SNK Neo Geo Pocket
SNK Neo Geo Pocket Color
Sony Playstation
Sony PlayStation 2
Sony PlayStation 3
Sony PSP
Sony PSP Minis
Console Classics

Downloads

Cosmo's Theme v.1.1: https://mega.nz/#!c95zSDiC!LsXoPnMCwA9XMMO5jJ2aj7R1nFfnNuZQRXR0bRHXxuk (includes the layouts + .psd templates to do the backgrounds and pointers)
Snap videos: https://mega.nz/#!x9AQ2KaT!NmNzWGnKTAO4p1UHMnbnS0PTs20k124-oLcHp44N4kc

FAQ:

Are you going to support more systems?
Probably a few more supported by retropie as:
-Dragon 32/64
-Oric
-Sam Coupe
-TI-99
-TRS-80
-Z-Machine (Infocom games)


No collections are supported? Why?
Collections are a bit personal. I don't use them. Many others probably yes. And you could make hundreds of them and not finish... so no, i'm not going to make them. But i have upload a .psd file so you can make your own backgrounds and images using photoshop. Feel free to share them and if they are good enough i will include them in the theme (crediting you ofc)

It's a bit slow on my raspberry pi!
If you are having slowdowns on the main menu or you feel its a bit slow you can disable the animations or boxart and cartart. With everything off it should work much more faster. 

Some systems don't have images!
If some images don't appear check that your display name in attract mode and the name of the images are the same (even capital letters on the raspberry). Rename them if not.

3
Themes / some robospin-like themes
« on: January 23, 2017, 02:51:09 PM »
been searching for some good looking themes left me a bit dissapointed. Robospin layouts are quite good but it has so few systems covered that i feel forced to make some news... I have tried to mix the robospin look with the idea of old tvs from "old room". They use almost all robospin code so they can use crt shaders, boxarts, scanlines for the background, etc... 

I'll posting here when i finish them... i have done many but they need a few touches here and there... 

First i'll start with a skin for the Supergrafx.



https://mega.nz/#!Q8BFyQKa!GWqALohvgJzB8m4lZvVHr3Tga6AVIDnJw_JwpJOxLks

hope you like it!

Pages: [1]