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

Pages: [1] 2
1
Scripting / Re: Sound on Button Push
« on: Today at 12:59:15 PM »
Using the 2nd code you posted (directly above)... I now get the click when I push CUSTOM1 (button)... unfortunately the animation (CUSTOM1 is associated with moving from the "LIST" screen to the "INFO" screen to the "FLYER" screen then to the "CABINET" screen and then back again.  Now it just... clicks.  :)

Is it perhaps WHERE I put the code that makes the difference?

THANK YOU!!

EDIT:
Figured it out.  All I needed to do was change the first "return true;" to "return false;"...

:)

Thanks!

2
Themes / Re: Vertical CRT layout 0.2
« on: Yesterday at 02:44:46 PM »
Certainly understandable and I do appreciate the work you put in to it... if anyone can chime in on how to either add scrolling to the HISTORY component ... or pagination (as mentioned... though I think this might be actually harder to implement)... please let me know.


3
Themes / Re: Vertical CRT layout 0.2
« on: Yesterday at 12:54:30 PM »
I re-skinned this layout last night... I thought it needed a little something.  Here is the result:

You can download the images below... I also included my LAYOUT.NUT which includes a few tweaks (32point font, 9 entries on screen (though I may have moved that to 11 since I too this photo), centered "manufacturer" line, slightly tweaked selection coloring (more yellow),  slightly more visible fonts in places... and a "sound" for when you switch between ROMS (included as well... put it in the LAYOUT folder). 





4
Themes / Re: Vertical CRT layout 0.2
« on: Yesterday at 12:37:10 PM »
I've come across a small "issue".  Many of the Arcade History entries are longer than the single screen this front end provides.  Any way to either add "scrolling" to the HISTORY page or,  perhaps,  pagination (push a button for the next page kind of thing)?

5
Scripting / Re: Sound on Button Push
« on: Yesterday at 12:35:40 PM »
Yeah... I'm failing miserably at trying to get this to work... considering I know next to nothing about coding,  it's no surprise,  but I've tried a few things with no success.

The current WORKING code that I hacked from another front end that makes the "click" sound when you move from ROM to ROM is:

Code: [Select]
//game select sound
function select_sound( ttype, var, ttime ) {
 switch ( ttype ) {

  case Transition.ToNewSelection:
      local sound = fe.add_sound("game.mp3");
      sound.playing=true;
  break;
  }
 return false;
}
fe.add_transition_callback( "select_sound" );

I tried using that code and hacking in what I THOUGHT was possibly going to work... it didn't...

Code: [Select]
function button_sound( ttype, var, ttime ) {
if ((signal_str=="custom1"))
{ local sound = fe.add_sound("game.mp3");
      sound.playing=true;
  break;
  }
 return false;
}
fe.add_transition_callback( "button_sound" );

But again,  being that I really have no idea what I am doing,  it's no surprise it didn't work... but I figured I could at least TRY.

:D

NOW... anyone care to tell me what kind of a dummy I am and show me where I went wrong? 

:)

6
Themes / Re: Vertical CRT layout 0.2
« on: February 15, 2018, 07:09:12 PM »
Almost to where I want it... however it's going to be a bit of a pain to write instructions on how to setup for the Pi. 

:)

I WOULD like to figure out how to add a "sound" to the custom1 button push.  Ideally I'd love to set up two sound... one for the button push 1, 2, and 3... and a different sound for button push 4 (back to list of games).  I'm trying... but failing thus far.  Here is what I have...

https://youtu.be/VGu314worYE

7
Scripting / Sound on Button Push
« on: February 15, 2018, 08:55:21 AM »
How do I code in sound on a certain button push?

I "hacked" this code from another layout to make a sound when moving from ROM to ROM,  but I'd like to assign a sound to CUSTOM 1.

8
Themes / Re: Vertical CRT layout 0.2
« on: February 14, 2018, 07:36:20 PM »
Awesome... the new Layout works great...

Now I need to acquire Flyers and Cabinets images... do you have a suggested source to get artwork?  Also,  I am guessing the INFO field is pulling from the Arcade History data file... where do I put that file in order for it to read it?  Same folder as the layout?

Thanks!

No worries!

I got my artwork from here --> http://www.progettosnaps.net/index.php

My history.dat file is my mame folder but it can go anywhere. Just make sure it's enabled and pointed to in the plugins area of Attract mode (Tab > Plugins > history.dat). Once you've set it up make sure you select Generate Index so that it can be read by the frontend

Got everything working EXCEPT the history.dat in the layout.  Flyers... cabinets... vids...etc.   I do generate a HISTORY.DAT file and I can see the HISTORY data by hitting H on the keyboard,  but it's not coming up in the layout.

I am using a ARpiCADE setup which has been interesting getting to work as the directory structure is surely different than the PC...

I'm guessing the front end is looking for HISTORY.DAT in a certain location and not finding it there.   The plugin IS finding the history.dat file and like I said,  I can generate an index and I can see the history data by hitting H... it's just not coming in in the layout under INFO...

I'll update if I figure it out...

EDIT: ...found the windows C: path and changed that to /boot/history.dat,  moved the dat file to the FAT32 BOOT folder and all is well.

I also added a "tick" sound when changing game... and because I run the ARpiCADE on a 19" standard res CRT,  I upped the font size to 24 point,  decreased the number of games listed on screen to 11,  expanded the game list box's width by 100px to account for the larger font... and made sure that the box hid to the right 100 additional pixels when moving to the information tab.

One thing I have noticed... when I only had the videos (no flyers/cabinets/history) the theme was exceptionally responsive.  Hold the stick down and it would jump from game to game exceptionally quick...

...since adding the flyers and cabinet images (plus history),  it's much... much... MUCH slower.  I'm guessing the additional load time for the different art is taking it's toll on the Pi3's storage speed capabilities...

I intend to do a little more testing when I have time to determine if there is a decent enough speed gain by eliminating the cabinet images... if so,  I may look in determining how easy/difficult it would be to remove the tab completely... I'm guessing,  however,  it's the flyers that are what's slowing it down (or the combination of the two)... the flyer images tend to be pretty large (some 2MB or more).  It might behoove me to adjust the image size for all of them to 640x480...

9
Themes / Re: Vertical CRT layout 0.2
« on: February 14, 2018, 08:11:48 AM »
Awesome... the new Layout works great...

Now I need to acquire Flyers and Cabinets images... do you have a suggested source to get artwork?  Also,  I am guessing the INFO field is pulling from the Arcade History data file... where do I put that file in order for it to read it?  Same folder as the layout?

Thanks!

10
Themes / Re: Vertical CRT layout 0.2
« on: February 13, 2018, 03:08:43 PM »
Were you supposed to include animate2 module with this layout?

11
Themes / Re: Vertical CRT layout 0.2
« on: February 12, 2018, 10:08:26 PM »
FWIW I am using an ARpiCADE Pi3 system running on an arcade monitor that is in vertical orientation.

Unfortunately this layout comes up horizontally... and only takes up approximately 1/3 of the horzontal screen (pretty much like the video shows) that has been posted.

If I turn the image using the keyboard in attract it still only takes up 1/3 of the vertical screen and the images are super stretched.

This should be a vertical layout... right?   So it should fit the entire screen of a low-res crt screen that is oriented vertically.

What am I doing wrong?  Also... is it right that there are no display options?

Finally... how do you switch between tabs?  I only have a single stick and 2 buttons to work with (well,  and P1 and p2).

Thanks for the help...


12
General / Re: Grid Layout?
« on: February 12, 2018, 11:01:59 AM »
Very odd.  I am using attract mode on the Pi3 and while I have a LAYOUT.NUT and folder for almost every layout in a layout folder... there is none for COOLS or GRID or FILTERED GRID... anywhere.  Obviously it's SOMEWHERE but for the life of me I can't find it.

Bizarre.

13
Themes / Re: Arcadeflow theme v 1.1 [Release]
« on: February 12, 2018, 07:25:08 AM »
Yea,  at first I had the extra folder inside the folder...

...upon fixing that,  I can see some layout options (from my recollection from last night... I was testing a lot of layouts)... but yeah,  it locked up.

14
Themes / Re: Arcadeflow theme v 1.1 [Release]
« on: February 11, 2018, 02:47:33 PM »
I wonder what I could be doing wrong.  I unzip to my LAYOUTS folder... when I select Arcadeflow Theme it simply shows a tanish background... a could of white highlighted boxes... and that is it.  No videos.  No snaps.  No marquees.  Etc.

Wow that is not good, not good at all. I'm not sure if the theme is compatible with the Pi, I can't check it, but have you followed the instruction for the creation of the "blur" art category, to obtain the blurred backgrounds? Maybe I can add it as an option so if you don't want/can't generate blurred backgrounds you can still use the theme with a simple background...

There is no option for vertical display because the theme should adapt automatically, at what resolution are you running it? Did you have the chance to try v 1.0 or only 1.1?

I only got to run 1.1... not 1.0.  I did NOT generate the backgrounds... I "assumed" it would simply run with a blank background (to test the theme of course).

I am running on an arcade monitor so the resolution is lower... 320x240, etc... the theme I've been using adapts to a few different low resolutions depending on the resolution of the game that was last played (I do believe). 

It just may not run on the Pi3...

15
General / Grid Layout?
« on: February 11, 2018, 02:18:06 PM »
Is the "GRID" and "FILTERED GRID" layouts that I have somehow incorporated as part of attract mode?  I ask because there is no layout for GRID or FILTERED GRID... or for VERTICOOLS for that matter (but it too appears in the menu of layouts to choose from).

Where can I find the code for the GRID layout?

Pages: [1] 2