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

Pages: [1]
1
Hi All,
Per the request of the original developer of this project - the user known in this forum as PCCA-MATRIX, I am proud to present the Attract Mode community with a Masterpiece of coding:
the 'PCCA Hyperspin theme conversion for Attract-Mode' layout, which enables the Attract Mode frontend to use original Hyperspin themes as-is. The project is currently in an advanced beta development stage but is completely usable. It was my pleasure in the last few months to interact and support PCCA-MATRIX in his development efforts as a tester and as a linguistic "expert" ;)

Since it basically runs authentic Hyperspin themes, the PCCA layout works a little different from other Attract Mode themes.
When used, it will look for themes in a directory structure similar to that used by Hyperspin. This is easy to set up.

Tutorial:
1. Download the PCCA layout from here: https://github.com/pcca-matrix/PCCA-Layout
(this page also includes detailed instruction on the options pcca provides).

2. Unzip and from the 'modules' folder copy the 'hs-animate' folder to your attract/modules/ folder.
From the 'layouts' folder, copy the 'pcca' folder to your attract/layouts/ folder.

3. Within your attract/layouts/pcca/ folder, create a new folder called 'my_themes' (for example) - this is where you will store all your Hyperspin themes.
If you want, you can place this folder outside of the 'pcca' main folder, but for the purpose of this tutorial it will be within it.

4. To make things easy, I highly recommend downloading the official Hyperspin install so we can use it's default media library as a basis for our own themes folder:
https://hyperspin-fe.com/files/file/17585-hyperspin-151-full-package/
Unzip it and copy the CONTENTS of its 'Media' folder (not the Media folder itself!) to our own 'my_themes' folder that we created within 'pcca'.
When done, you can delete the Hyperspin install folder and zip file as we have no more use for it!

If you take a look at these default themes you will see two types of folders: 'Main Menu' and folders named after systems (like 'MAME' or 'Sega CD' for example).
Within the 'Main Menu' folder you will place all the Hyperspin themes that you want 'pcca' to use for the main menu.
Each system folder will house the Hyperspin themes relevant to that system.
In both cases, the Hyperspin themes must have the same name as the system Display names in Attract Mode.


5. Launch Attract Mode and go to Attract Mode's general options screen (called "configure") by pressing the 'Tab' button:
In Configure->Startup Mode set to 'Show Display Menu' and in Displays->Display Menu Options->'Allow Exit from 'Display Menu' set to 'No'.
THIS IS MANDATORY and pcca will not work properly without this step.

6. Go to Attract Mode Configure->Displays->'Display Menu' Options->Menu Style / Layout and set it to 'pcca'.
This tells attract mode to use pcca as it's main menu theme. This is not mandatory and should be done only if you want pcca as your main menu layout as well.

7. Set each system you have in the display menu list to 'pcca' if you want this system to use Hyperspin themes. For example:
Configure->Displays->Mame->Layout and set to 'pcca'
-OR-
Configure->Displays->Nintendo Entertainment System->Layout and set to 'pcca'

8. In any of the systems that uses pcca, go to 'Layout Options' and set the 'Media Path' option to where you store
your Hyperspin themes. for example: C:\attract\layouts\pcca\my_themes
This needs to be done ONLY ONCE. pcca will use this path as a starting point to find all the Hyperspin themes that you have.
Example: 'Configure->Displays->Mame->Layout Options->Media Path' and insert the above path to the 'my_themes' folder.

Short Video of setting it up through the Attract Mode menus:
https://youtu.be/rH6FBcYWPSU

You should now be able to run and use any original Hyperspin theme on your Attract Mode setup.

We welcome all the community to use, test and provide feedback on this amazing project!

Please report bugs and issues here: https://github.com/pcca-matrix/PCCA-Layout/issues

We hope you enjoy it,
PCCA-MATRIX & Yaron2019  8)



3
Themes / Nintendo Game & Watch theme [Released]
« on: May 05, 2020, 06:36:24 AM »
I feel that there are not enough themes for the old handhelds so I created one which is very cool in my opinion because it dynamically presents the handhelds themselves together with their snaps and not only a snap in a generic rectangle. The graphics for the handhelds are included within the theme, you just need to download the logos and snaps from emumovies' free section.
The theme didn't make it to version 3.0 of the Great Theme Collection but will be included in the next version.

- Small bump to v3.1: fixed 16:10 snap screen aspect ratios

Download of this theme is now available only through The Great Themes Collection page:
http://forum.attractmode.org/index.php?topic=3289.0

Demo video:
https://youtu.be/YWILIqCPzWg



4
Scripting / Animations
« on: March 22, 2020, 03:40:36 AM »
Hi,
How can I delay a start of one animation until another one is finished?

For example, in this code I have an animation that runs when the layout starts (Transition.StartLayout) and I want the next animation that should run when navigating the wheel Transition.ToNewSelection to NOT run until the StratLayout is complete.


if ( my_config["enable_gboxart"] == "Yes" )
{
   local y = 0.45;
   
   if ( my_config["enable_frame"] == "No" )
      y = 0.47;
      
   local boxart = fe.add_artwork("boxart", flx*0.38, fly*y flw*0.2, flh*0.6 );

   boxart.preserve_aspect_ratio = true;

   local start_transition1 = {
      when = Transition.StartLayout,
      property = "y",
      start = fly*2,
      end = fly*y,
      time = (ini_anim_time+400)
   }
   animation.add( PropertyAnimation( boxart, start_transition1 ) );
   
        // ADD CODE -  DON'T RUN THE NEXT ANIM UNTIL THE FIRST ONE IS FINSIHED
   local move_transition1 = {
      when = Transition.ToNewSelection,
      property = "y",
      start = fly*2,
      end = fly*y,
      time = 1200
   }
   animation.add( PropertyAnimation( boxart, move_transition1 ) );
}

Thnx

5
Themes / Hyperspin Main Menu Theme Mode v3.0 [Released]
« on: March 12, 2020, 04:49:07 AM »
To accompany my best selling 'Hyperspin Theme Mode', I hereby present the 'Hyperspin Main Menu Theme Mode'.
You. Complete. Me.  :-*

Version 3.0 Released!
------------------------
Read here: http://forum.attractmode.org/index.php?topic=3289.0

Version 2.0 Released!
------------------------
- Full compatibility with 16:9 and 16:10 screen aspect ratios
- Random sounds function memory leak bug fixed (special thanks to Oomek)
- New and very cool bezels added
- Rewritten layout menu for easy access to features


Demo Video:
https://youtu.be/Tjr183lmEgE

Download of this theme is now available only through The Great Themes Collection page:
http://forum.attractmode.org/index.php?topic=3289.0

Here you can download the entire collection of main menu wheel art that I used in the video. Just make sure the file names are the same as your display names in AM:
https://mega.nz/#!0E8GCCLS!nVVz9imUYxW7iTp5KvC7Tt5XNEn8khPYNtml183M6OQ


I downloaded the menu videos from emumovies ftp server (available for content contributors and paying customers). After you download the videos, place them in a folder named 'themes' in your attract/menu-art folder.


'Hyperspin Theme Mode' forum page:  http://forum.attractmode.org/index.php?topic=3280.0


For the Hyperspin Main Menu Theme Mode, place your wheel logos and theme videos in these folders:
Wheel logos -> attract\menu-art\wheel
Theme videos -> attract\menu-art\themes

6
I get this error message when trying to upload a 820kb jpg to the forum:
"The upload folder is full. Please try a smaller file and/or contact an administrator."


7
Themes / White font with border
« on: March 05, 2020, 01:09:01 AM »
Does anyone know where I can find a white font with a black border that is not transparent?
All the fonts I find are outlined fonts - meaning they have a border but their filling is transparent.

Attached is the font I am using right now and I want it to have black borders. Can anyone help?
Thanks

8
Release v5.5 must be one of the shortest living updates in this forum's history because release v5.6 is here and it's all about Linux compatibility!

It annoyed me that despite all my hard work, using the same frontend with the same modules with the same layouts I couldn't get the same results on linux. Animations where missing, background art was not loading, letters were not showing and even the Amiga 500 png image refused to show. So enough was enough, I had to investigate. I found out two issues:

1. Some attract mode modules don't work the same on Windows and Linux - I found two of those: 'Fade' and 'Pan-and-Scan'.
For example, 'Pan-and-Scan' has two functions: PanAndScanArt() and PanAndScanImage(). On windows PanAndScanArt() loads images both in and out of the layout folder but in linux it doesn't! In order to load images from the layout folder you must use PanAndScanImage() which is dedicated to that purpose. This is why my hovering animations didn't show when running on linux.

2. Apparently, linux is case sensitive but windows is not. For linux, "amiga500.png" and "Amiga500.png" are two different things. Luckily I had only ONE of these case sensitive issues. So the Amiga Forever! theme now works properly. As for the Leters, "a.png" and "A.png" are also distinct in linux so now all letter packs are lower case ("a.png").

So, The Great Themes Collection should now work on Windows and Linux! HURRAAA  8)

P.S
I tested with attract mode 2.6.1 on Ubuntu 20.04 VM.

Cheers,
Yaron


Demo video:
https://www.youtube.com/watch?v=nkw0JO4Q3IQ


Download the Collection:
https://mega.nz/file/FZ9lUKJC#DW1T5dQF7MS-oyT5xKUGb_Ce9tKlVI-_1GL6W26fsms


Those who want to build additional themes for this collection, here are all the art files for each theme in xcf format (Gimp):
https://mega.nz/file/5JNXAQgb#CUo1xcZo5X_a7e43kXedLoVZEKhnGTJAaPYWAqqiABw



Instructions on how to use the collection:

-------------------------------------------------------
This is a theme collection for the Attract Mode front-end (v2.6.1).
It is best suited for wide screen displays.


Stage 1: Prepare the games roms and media for the emulated system
--------------------------------------------------------------------------------------------
Download all the game roms and media and place them in folders of your choosing.
For example, for MAME, place the roms in  'C:\my_games\mame\roms'

You can download all the media you need from emumovies.com (wheel logos, videos, cart art, box art, etc)
In attract mode's 'menu-art' folder, create a folder for your system, example:
'C:\attract\menu-art\mame'

In this folder create the following folders:
C:\attract\menu-art\mame\wheel
C:\attract\menu-art\mame\videos
C:\attract\menu-art\mame\boxart
C:\attract\menu-art\mame\cartart

Copy the relevant files to each folder (wheel logos to 'wheel', snap videos to 'videos', etc).

Now you need to connect the emulator to the media. For each system attract mode has an emulator cfg file located in
...\attract\emulators

In our example it will be: C:\attract\emulators\mame.cfg
You can edit this file with notepad or from within attract mode's menu system. Here you will tell attract mode what emulator to use, where to find all the art, etc.

It should look something like this:

# Generated by Attract-Mode v2.6.1
#
executable           E:/Arcade/Attract/apps/Mame/mame64nonag.exe
args                 [name]
rompath              E:/Arcade/Attract/apps/Mame/roms
romext               .zip;.chd
system               Arcade
info_source          listxml
exit_hotkey          Escape
artwork    marquee         c:/attract/menu-art/mame/marquee
artwork    snap            c:/attract/menu-art/mame/videos
artwork    wheel           c:/attract/menu-art/mame/wheel
artwork    boxart          c:/attract/menu-art/mame/boxart
artwork    flyer           c:/attract/menu-art/mame/flyer

As you can see, the "artwork" label tells attract mode to find wheel in 'c:/attract/menu-art/mame/wheel', snap (videos) in 'c:/attract/menu-art/mame/videos'
etc.

Replace the paths in the example to the ones you have, save and close the file.


Stage 2: Set up the collection as your themes of choice
-------------------------------------------------------------------------
1. Copy the contents of the included layouts folder to your attract\layouts folder.
2. Copy the sounds, videos and letters folders to your main attract folder (where the attract.exe file is)
3. Launch attract mode and assign the themes (layouts) that you want to the emulators you have:
Pressing 'Tab' will bring the main 'Configure' menu on screen. Then go to 'Displays', choose the display you want to configure by
pressing 'Enter' and choose a layout from the 'Layout' option (navigate the layouts list with up/down arrows or joystick).

Attract Mode should now know what emulators to use, where to find the art it needs and what theme to use for each system you assigned it for.


Performance
-----------------
If performance on low end systems such as the Pi is slow, you can improve it by disabling shader related options in the layout options menu:
- In the 'At-The-Arcade' layout series set "Enable CRT screen glow" to "No" and if that is not enough you can also set "Enable lighted marquee effect" to "No" as well.
- In the 'Hyperspin-Theme-Mode' layout series, set "Enable video shader effect" to "No".
- In any other layout (consoles, computers, handhelds), disable any bloom or glow effects, for example: set "Enable CRT bloom shader effect" to "No".


The themes included in this collection are best suited for wide screen displays

Currently there are 88 themes for 75 systems in the collection (including variations):
----------------------------------------------------------------------------------------------------------
Main Menus:
Hyperspin Main Menu Theme Mode (featured in the demo video)
Main Menu theme

Arcade:
At-The-Arcade
At-The-Arcade Candy
At-The-Arcade HD
At-The-Arcade Sega Model 2
At-The-Arcade Sega Model 3
At-The-Arcade Naomi
At-The-Arcade Naomi v2
At-The-Arcade Atomiswave
At-The-Arcade SNK MVS
Hyperspin Theme Mode

Consoles:
SNK Neo Geo CD
SNK Neo Geo AES
Nintendo Wii
Nintendo Gamecube
Nintendo 64
Super Nintendo Entertainment System
Super Nintendo Entertainment System - Simple
Nintendo Super Famicom
Nintendo Super Famicom - Simple
Nintendo Entertainment System
Nintendo Entertainment System - Lava
Nintendo Famicom
Nintendo Famicom Disk System
Sega Dreamcast
Sega CD
Sega CD - Dark
Sega Saturn
Sega Saturn Japan
Sega 32X
Sega Genesis
Sega Mega Drive Japan
Sega Master System
Sega SG-1000
Daphne
Sony Playstation 3
Sony Playstation 2
Sony Playstation
Panasonic 3DO
Commodore Amiga CD32
NEC PC Engine-CD
NEC PC Engine
NEC Turbografx-16
NEC Turbografx-CD
Microsoft XBox 360
Microsoft XBox
Amstrad GX4000
Atari 2600
Atari 5200
Atari 7800
ColecoVision
Mattel Intellivision
Magnavox Odyssey 2
Bally Astrocade
Emerson Arcadia 2001
GCE Vertex

Computers:
PC Games
Commodore Amiga Forever!
Commodore Amiga-Memories
Commodore 64
Sinclair ZX Spectrum
Atari ST
Atari 8-bit
Amstrad CPC
Windows 3.x
Sharp X68000
MS-DOS
MS-DOS Vintage
MSX2
MSX
Apple II

Handhelds:
Nintendo 3DS
Nintendo DS
Nintendo Game Boy Advance
Nintendo Game Boy Color
Nintendo Game Boy
Nintendo Virtual Boy
Sony PSP
SNK Neo Geo Pocket Color
SNK Neo Geo Pocket
Sega Game Gear
Atari Lynx
Bandai WonderSwan Color
Bandai WonderSwan
Nintendo Game & Watch

9
Themes / Hyperspin Theme Mode [Release v3.0]
« on: February 28, 2020, 05:34:48 AM »
'Hyperspin Theme Mode' is a theme that recreates a hyperspin-like experience by using mp4 theme videos provided by emumovies. The result is extremely close to the original experience and since it doesn't actually try to run cumbersome native hyperspin themes - just their rendered videos -  it is very light on resources and much faster compared to the origin. Everything is here: the glitz, the themes, the animatons, the fading wheels, sounds, game info, 16:9 or 4:3 perspective and more. You can tinker with all options - which there are many.  Featured in the demo video is Arcade themes, but this system will of course work with any mp4 videos for any system.
Enjoy!  :)

IN ORDER TO HAVE THIS THEME WORK, PLEASE PLACE YOUR SNAP VIDEO FILES AND WHEEL LOGOS IN THE FOLLOWING PATH, IN THIS CASE MAME:
Wheel logos -> attract\menu-art\Mame\wheel
Theme videos -> attract\menu-art\Mame\themes

THEN MAKE SURE TO SET THE CORRECT PATHS FOR THE EMULATOR YOU ARE USING (IN MY CASE 'MAME') TO RUN THE GAMES AS FOLLOWS:

# Generated by Attract-Mode v2.6.1
#
executable           E:/Arcade/Attract/apps/Mame/mame64nonag.exe
args                 [name]
rompath              E:/Arcade/Attract/apps/Mame/roms
romext               .zip;.chd
system               Arcade
info_source          listxml
exit_hotkey          Escape
artwork    flyer           $PROGDIR/menu-art/mame/flyer
artwork    marquee         $PROGDIR/menu-art/mame/marquee
artwork    themes          $PROGDIR/menu-art/mame/themes  <- THIS IS WHERE YOU WANT THE THEME TO LOOK FOR THE VIDEO FILES
artwork    wheel           $PROGDIR/menu-art/mame/wheel <- THIS IS WHERE YOU WANT THE THEME TO LOOK FOR THE WHEEL LOGO FILES
artwork    boxart          $PROGDIR/menu-art/mame/boxart <- THIS IS WHERE YOU WANT THE THEME TO LOOK FOR THE BOXART FILES

HYPERSPIN THEME MODE WILL USE THE EMULATOR DATA TO LOOK FOR THE VIDEOS, WHEEL LOGOS, ETC.


V2.0 Demo Video:
https://youtu.be/oh8i_oYtVRc

Download of this theme is now available only through The Great Themes Collection page:
http://forum.attractmode.org/index.php?topic=3289.0

-- MEDIA --
Download hyperspin video themes:
https://emumovies.com/files/file/2162-mame-hyperspin-video-themes-4x3-hq-pack-1/
https://emumovies.com/files/file/2168-mame-hyperspin-video-themes-4x3-hq-pack-2/
https://emumovies.com/files/file/2173-mame-hyperspin-video-themes-4x3-hq-pack-3/

For HD quality themes, download from emumovies ftp if you are a supporter (paying customer or content contributor):
https://emumovies.com/ftpdetails/


For the Hyperspin Theme Mode (mine is set to a 'mame' folder in the 'art-menu' folder), place your wheel logos and theme videos
in these folders:
Wheel logos -> attract\menu-art\Mame\wheel
Theme videos -> attract\menu-art\Mame\themes


10
Themes / MS-DOS Vintage theme [Release v3.0]
« on: August 26, 2019, 11:59:31 PM »
Cool theme for MS-DOS.

Thanks for asahendrix for the art, iOtero and jedione for the fading list code!


YouTube:
https://www.youtube.com/watch?v=syC5j5BqZDo

Download of this theme is now available only through The Great Themes Collection page:
http://forum.attractmode.org/index.php?topic=3289.0


Version 3.0 Released!
------------------------
Read here: http://forum.attractmode.org/index.php?topic=3289.0

Version 2.0 Released!
------------------------
- Full compatibility with 16:9 and 16:10 screen aspect ratios
- New original IBM PC keyboard sound

Update v1.2:
- User can now choose delay and fade-in/out times for game list and snap videos (Huge thanks to iOtero for the code and support!)

Update v1.1:
- Added option to show boxart
- Added option to play a long version of the PC ambient sound

11
Scripting / List box fade out
« on: August 26, 2019, 10:58:26 AM »
The following code is supposed to fade out an entire list box, but the current selection in the list doesn't fade. What am I doing wrong?

local lb = fe.add_listbox( flx*0.385, fly*0.09, flw*0.31, flh*0.4 );
lb.rows = 25;
lb.align = Align.Left;
lb.set_rgb(0,255,0);
lb.set_sel_rgb(0,255,0);
lb.charsize = 22;
lb.bg_alpha=0;
lb.selbg_alpha=0;
lb.rotation = -3;


function transition_callback( ttype, var, ttime )
{
   switch ( ttype )
   {
      case Transition.ToNewSelection:
                local animConfig = {
                property = "alpha",
                start = 255,
                end = 0,
                time = 1000
            }
            animation.add( PropertyAnimation( lb, animConfig ) );
   }
   return false;
}
fe.add_transition_callback( "transition_callback" )


You can see the problem here:
https://www.youtube.com/watch?v=uxk2fKhXQjo&feature=youtu.be

12
Themes / Amiga Memories [Release]
« on: August 23, 2019, 09:05:16 AM »
I loved the Amiga above all other computers and decided to release 'Amiga Memories', which is a theme inspired by the '16 bit memories' art work of Toni Bratincevic.

If it looks similar to iotero's theme ioamiga it's because I initially wanted to integrate this variation into it but iotero disapproved. It is his right to reject any changes to his theme and I hold no grudge against his decision.

That being said, I wanted to use this amazing background art to produce a theme palatable to my taste (I don't like lists!): vertical wheel, screen glow and some sound effects.

So here it is!  8)

Download:
https://mega.nz/#!YEMlHAbB!lP0po-vtDsFRm3sJYBpLNvFoxuzzZZ4i5HVtjn9jsJo

Youtube demo:
https://www.youtube.com/watch?v=4Rn3scq4jm8

14
Themes / At-The-Arcade Theme [Release v3.0]
« on: August 03, 2019, 07:18:26 AM »
At-The-Arcade is a new theme that aims at creating an authentic experience of how Arcades where back in the 80's and 90's.
The layout is simple and clean but provides quite a few customization options through the layout menu. Some of it's nicer features are a shader that emulates the lighting effects of glowing CRTs - which is crucial for getting the right 'feel', an animated background of an arcade shop with authentic ambient sound and a cool LED board with a scrolling game title marquee at the top of the arcade cabinet.

Back in the day, being at the Arcade was a great experience and I hope I captured some of it with this theme!


Download of this theme is now available only through The Great Themes Collection page:
http://forum.attractmode.org/index.php?topic=3289.0

Download the random wheel sounds from here and place its folder in your main Attract folder:
https://mega.nz/file/NFsyRKrQ#OAU-FbhbyRvHTKXbXRLq6fuXRgWXG4kXuARXRutmONI

YouTube v2.0 update demo:
https://youtu.be/hF6HjjAiLuM


Version 3.0 Released!
------------------------
Read here: http://forum.attractmode.org/index.php?topic=3289.0

Version 2.0 Released!
------------------------
- Startup animation added!
- Full compatibility with 16:9 and 16:10 screen aspect ratios
- Random sounds function memory leak bug fixed
- Rewritten layout menu for easy access to features

Update v1.4:
- Added a new LED board game title scroller - thank you farique for the awesome scroller code and guidance!!
- Made some code improvements
- Small bug fix

Update v1.3:
- Fixed an issue where "Show wheel pointer" option did not work in some cases

Update v1.2:
- Added option to show scratches on cab screen
- Small bug fix

Update v1.1:
- Added option for an animated arcade background
- Added option for arcade ambient sounds
- Added three options for wheel art background intensity
- Hardcoded Arcade cabinet texture loading in the script
- Small bug fixes

15
General / Does the gamesdb scraper work in the daily build?
« on: July 03, 2019, 11:15:16 AM »
I just downloaded the latest daily build and tried to generate a ROM list for the "Magnavox Odyssey 2" using thegamesdbm but I get this error: "None of the configured system identifiers are recognized by thegamesdb.net".

I added the exact system identifier that thegamesdb use: Magnavox Odyssey 2

Is this an AM issue or is this still a problem with gamesdb?

-Edit-
Trying this with the console shows a different error: "Error processing request: SSL peer certificate or SSH remote key was not OK".

Pages: [1]