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

Pages: [1]
1
Scripting / hiscore.dat support
« on: June 07, 2017, 10:00:42 PM »
Hi guys long time no see.

I have been thinking about the cab setup, and I would love to show the current high score for each game on the frontend.

Is there a way for attract mode to parse / show the relevant info?

2
General / screenshot of exit confirmation
« on: October 23, 2016, 07:39:53 PM »
Hi guys here's a weird request:

I need a screenshot of attract-mode's exit confirmation dialog (the one that says 'exit attract-mode yes/no').

I'm at work and making up an instruction card for my cab. I have no way of generating one from here, and google searches yield nothing.

Can anyone help me out?


3
Emulators / Re: need help with playchoice 10 driver
« on: November 24, 2015, 02:53:31 PM »
Jonnytracker I had the same problem on my cab with Bonanza Bros.

It would show some sort of stats on the "bottom" screen, and the game in a tiny "top" screen.

I ended up finding a different version of the rom, which played full screen.

I really think your best bet is to use individual roms for nes games, though.
I would avoid using playchoice roms at all.

4
General / Multiple emulators in one list in AM
« on: August 19, 2015, 05:20:15 PM »
Is there a way to have a single list in Attract Mode, which shows (for example), MAME, Daphne, Nes, and Megadrive games?

Selecting a Daphne game would load Daphne, selecting a MAME game would load MAME, etc.

5
well done hermine. This is a fantastic guide.

I assume hi_164 is for hiscores?

6
Scripting / Is there a way to avoid stretching preview videos?
« on: August 13, 2015, 06:20:29 PM »
Currently I have the preview snap as a full screen video in the background of AM, with a resolution of 640x480 for the frontend and the videos.

This works well for the most part, but looks horrible for vertical shooters, due to the vertical orientation of the games (I think most, if not all of the preview videos may be 320x480, but I can't remember exactly and can't check due to being at work). This results in the preview videos stretching, and not being a true representation of the game.

My question is:
Is there a scripting or settings way to centre the videos, without stretching them?
Black borders are OK.

I am willing to add borders to the relevant videos if that is the only way.

7
General / Re: ROMlist oddity
« on: June 24, 2015, 08:05:14 PM »
Not sure if this is the reason, but it looks like the (U) in the romlist file doesn't have a space before it, like the others in the list do. Try changing this and see what happens.

8
Scripting / Generating and using random numbers
« on: June 09, 2015, 02:57:31 AM »
Hi guys

I'm having trouble working with some random numbers I'm trying to use.
Here is my code:

function irand(max)
{
    local roll = (1.0 * rand() / RAND_MAX) * (max + 1)
    return roll.tointeger()
}

local finform = irand(4);
   if ( finform = 1 ) finalform.file_name = "1.png" ;
   if ( finform = 2 ) finalform.file_name = "2.png" ;
   if ( finform = 3 ) finalform.file_name = "3.png" ;
   if ( finform = 4 ) finalform.file_name = "4.png" ;
   fe.add_text ( finform, 10, 400, 320, 16 );

From what I can tell, it ALWAYS comes up with 4

Can anyone help me debug?

Also one other side point: The add_text at the end is just for debugging, but it doesn't place it at 10, 400, it places it at 0,0 for some reason (I suspect to do with the way the number is formatted).

9
Themes / Re: Final Form
« on: May 28, 2015, 02:41:04 AM »
Here's the .nut and the filter I used behind the vids and the logo.


10
Themes / Final Form
« on: May 28, 2015, 02:39:26 AM »
OK here's the FE i've been working on. It's currently in usable form, but I'd like to add random music selection at some point.

I'll post the .nut soon.

http://youtu.be/ZoNggz5Ers4

11
Pretty much as the title asks.

I've declared an artwork (wheel art, in this case), and the images are not all the same size, as per what the scraper has pulled.

I need a way to read the size of the images before I manipulate them.

I've tried something like zzzzz = wheelart.height, but it always returns zero

12
Scripting / Re: animate module
« on: May 24, 2015, 04:44:16 PM »
Hi Liquid

First let me say this is a great module, and it should make things a lot easier!

I have discovered a bug with the Properties module:

When operating on an artwork (I haven't tried it out on an image yet), if you don't set the height and width when declaring the artwork
--ie: if you use ("marquee", 10, 5) rather than ("marquee", 10, 5, 150, 50) --
it fails.
In my experience the artwork just disappears from the screen (it may be ending up at coordinates far off the screen).

I prefer not defining height and width, as this sticks with the original artwork sizes rather than resizing it, but your module is so great, I'm happy to work with what I have!

13
Scripting / Re: How to detect scroll direction?
« on: May 24, 2015, 04:08:36 PM »
Thanks so much for replying comprehensively like this raygun.

Yes I was messing with getinput state for a while, but didn't know the parameters to use.

Also, AM is easily the best fe I've tried, and I've been searching for a while. Thanks for your great work.

14
Scripting / How to detect scroll direction?
« on: May 23, 2015, 11:19:19 PM »
Hi everyone.
I'm trying to improve my layout design, using Liquid's (experimental) animate module, but I need to be able to detect the direction someone moves through the list (ie; up or down).
Can anyone point me in the right direction?

15
Themes / Video background with scrolling marquees [finished]
« on: April 27, 2015, 09:39:14 PM »
Hi I just wanted to share what I'm currently working on for the cab I'm building.

I've actually cobbled together some script from the basic and cools layouts, and some code for scrolling marquees I found on this forum (thanks!).

Also, does anyone know if and how I can add hiscore.dat support?

It *shouldn't* be too hard to write some scripting to parse the file, it seems to be in plain text, with the rom name followed by the high score info, although some roms seem to use hex or sometimes their own type of code.

[update]

Ok I've done some work on the spacing between the marquees, and added some code to smoothly expand or shrink the marquee as necessary. Let we know what you think!

Here's a youtube video (which I feel better shows the scrolling effect) instead of a huge-ass jpeg!

http://youtu.be/GmE3Eh6BSs0


Pages: [1]