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

Pages: [1]
1
Scripting / Re: Need Help...display an image when you press a button
« on: February 20, 2017, 02:03:21 PM »
That's great, thank you. All working :)

2
Scripting / Re: Need Help...display an image when you press a button
« on: February 20, 2017, 11:53:22 AM »
This is a great script, I was wondering if you could offer some help in getting user specific sizes for the image to be used.

If I add say:

   </ label="Image Height", help="Choose the image height", order=5 />
   hsize="";
   </ label="Image Width", help="Choose the image width", order=6 />
   wsize="";

I doesn't work if I try to then get the config information under the constructor using:

         _image = fe.add_image( config["image"], 0, 0, config["hsize], config["wsize"]);

   //      _image = fe.add_image( config["image"], 0, 0, 100, 100);  This does work of course!

I'm not great with programming so any help would be appreciated!

thanks

3
General / Re: Attract Mode Freeze / Win XP / 32 Bit
« on: September 28, 2016, 03:00:39 PM »
Ok, no suggestions on a fix, but I have a few updates.

On different hardware both physical and virtual....

Attract Mode 2.1.0 - 32 bit freezes / locks up somewhere within 2 hours on xp SP3. Regardless of video snapshot, image snapshot or no snapshots! I have to CTRL - ALT - DEL

Attract Mode 1.6.2 - 32 bit stalls / pauses somewhere within 2 hours on xp SP3. Regardless of video snapshot, image snapshot or no snapshots! Press any key and all is well, either the screensaver resumes or the main menu resumes, depending where it froze.
This allows a simple Auto Hot Key Script to keep the machine alive, at worst it will show a "paused / frozen" image for no more than 5 minutes before springing back to life.

Attract Mode 2.1.0 - 64 bit. (Not what I was planning to use, but just for problem solving) With Windows 7 64 Bit. Works flawlessly, been on for over 5 days solid.

Purely for shelling purposes, it would be great to have the 32bit version working properly with XP, but the AHK script is a more than useful workaround. In fact, the AHK script has been modified to scroll down one on the list of games changing the on screen game every so often too, kind of an extra attract mode for attract mode!

I hope somebody finds the AHK script useful as an addition to Attract Mode 32 bit on XP which is great software and an awesome skinnable frontend!

Sends a left mouse click to wake attract mode 1.6.2 32bit if it has frozen. click sent every 10 minutes, but only if the system has had no user input for 10 minutes, ie it is idle. I'd suggest setting the Attract Mode screen saver to 300 (5 minutes). You still get the odd freeze but it is auto remedied within 5 minutes max or by any user input!

; =============
; Attract Mode Keep Alive
#Persistent

SetTimer, CarryOn, 600000
Return

CarryOn:
IfGreater, A_TimeIdle, 600000
MouseClick, left
sleep, 1000
Send Input {Down}
Return
; ========================

4
General / Attract Mode Freeze / Win XP / 32 Bit
« on: September 20, 2016, 01:12:39 AM »
Hi,

Attract Mode freezes anywhere between 1 hour - 2 hours, ALT tabbing to the console window shows no info other than the initial load up and once task manager is run, attract mode can be forced to exit. The system itself is still stable and attract mode can then be re launched.

I have tried this on 5 different PC's, 4 with XP SP3 32Bit, one with Win 7 32Bit.

All fresh installs, with SP3, drivers, Mame and Attract Mode.

Originally Mame was running on it's own and is stable for weeks at a time, and I do mean that the machines are left on solid for weeks at a time.

I wanted to introduce a nice front end / menu instead of just having a single game launch on startup, hence my use of attract mode.

Other than downloading 2.1.0 and extracting it, mame paths are setup, 20 roms are scanned along with their marquees and snaps, all show, games play and games exit perfectly.

The problem arises when the PC's are idle. At some stage atract mode front end freezes.

I have tried the basic theme, cools and reflect, they all freeze within a couple of hours. (usually close to 2 hours)

Initially I thought it was the video screensaver so I disabled the screensaver (set timeout to 0)  but it didn't make a difference.

Then, I thought it might be video (the video snaps) in general so I swapped all the video snaps for png images and re-enabled the screensaver, even with just images attract mode still freezes.

I then disabled the screensaver and again attract mode froze several hours later.

I've tried different layouts in Virtual PC's too just to get a better spread of results and they too all freeze within 2 or so hours.

Any idea's what can be tried please to try and track this down?

Many Thanks.

Update:

I have installed AM 1.6.2 over the top and left two machines running. One machine with no screen saver but video snap playing in the BASIC theme. The second machine is identical but I have enabled the screensaver which cycles though all of the 20 video snaps.

Both machines still froze at around 2 hours, however... a single press of any key and AM responds normally.
Machine one which is just playing snaps in the BASIC them just starts playing the snap video again after a key press.
Machine two, closes the frozen video screensaver and returns to the AM - BASIC theme menu.

Temporarily, I will have an AHK script run in the background sending a keypress "UP" if the machine is idle for longer than say 60 minutes and report back if they freeze again.

Any ideas or suggestions in the meantime would be greatly appreciated!


Pages: [1]