Jump to content



Photo
* * * * * 8 votes

PINemHi & PINemHi LeaderBoard v3.6.8 badges,challenges,top10's on cabinet and 5min-mode!

pinemhi pinemhi leaderboard hiscores highscores visual pinball online badges top 10 friends challenges

  • Please log in to reply
1130 replies to this topic

#661 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 13 May 2021 - 05:25 AM

 

 

 

You don't have a cab ???
Shame !
If you have room, time and money, I would advise to build one yourself.
It's pretty fun, good against stress (thats what my shrink said).
And my cab is connected to internet. I update all windows patches, connect to gamex, pinnemhi, download doff, update steam etc. Etc.

 

 

Most of the time, i am working and my playing between work looks like this

Ld4T64d.png

 

My trusty old lapturd and a single screen

If i have a little more free time, i will fold the laptop flat and it becomes the worlds smallest mini cab (and probably the lowest spec too)

 

Some times, if i actually have time to use my desktop, i will do this
ezV0zFg.jpg

 

Well not exactly that LOL
But i will just flip the monitor, and no i dont bother to pull the stand off.
I got some styrofoam wedges i cut, so i  will set the backglass where the playfield screen is and lay the main screen down on an incline
and Presto, cab view, with a backglass and 8 channel surround.

 

As far as an actual cab goes

It has gotten as far as Ok my old game PC works (No, we not using my desktop, unless someone wants to give me something to plug my flight gear into)

And it will run a 720p screen at 60fps with all eye candy maxed on all tables running at 1280X768, which looks good on a 26" screen
and far surpasses my playing skills anyways

and the PC has 7.1 good channel audio

And i have a controller, which is basically an xbox controller after meeting a soldering iron and a dremel
And it got test run a bit, and has been sitting on a spare desk ever since.
Have not had time to even think about it

 

Have to hunt up a 720p used 26" screen.
I have one but it has non removable very large speakers on the sides, so that is no good.
Shame cause it has super good color, and decent input latency but the way they made it, the LDC frame contains the speaker frame

Also need a backglass
Any used 20" monitor will do, resolution kind of does not matter, its a backglass, and its only 20 inches.

like to put like an 8" 1280x600 LCD in for a DMD, can not go bigger because the proportions will get all weird since the backbox would already be up on a riser
(cause the riser is where the rear table speakers get hidden along with the center channel)

 

And the lockdown bar needs to be wider than normal to accommodate the front of table speakers

 

One problem with SSF is that literal positioning of sound, which is stupendous acoustically sucks ass in SSF with exciters because sound induced via vibrating the cab wood does not move in illusionary 3D fashion, it just makes the wrong parts of your table vibrate.
You can not really roll a ball diagonally down the table well because there is no middle area for the sound to be in.

 

So yea fully acoustic surround audio with the backbox on its own dedicated channels

 

So need like 8 4" drivers and an 8" sub and 2 4 channel amps

320-305_HR_0.default.jpg

^^^ yea, that fan has to go ^^^

 

 

No DOF, wont need it
Cab will vibrate enough by itself, and sound wise, i just change sounds on physical things if they dont sound right to me anyways
I have stupid amounts of various mechanical sounds (which are all overly loud LOL) my tables are never normal in that respect anyways.

 

No idea what the cab will get made from, shipping pallets for all i know

 

But right now, it's kind of a non thing, i set up the hardware and tested it and that is as far as it got

 

Full sized cab is very doubtful
I already have a pac man machine, a galaga machine, a gorf machine and a wizard of wor machine
some other jamma boards that i no longer bother swapping out
And those all work, but the arcade hardware is disconnected and they all actually have MS DOS based PC's hanging inside them
running antique versions of MAME, because i got seriously tired of having to constantly fix clean resolder, recap etc the arcade boards

and got fed up with the CRT's dying so they have vga converters and 22" 1280x1024 lcd's which is so over kill for something that runs like a 320 resolution
but it is all you can get in that size.

But anyways, i kinda dont need another full sized thing, more square inches to dust and i hate dusting.


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#662 ced

ced

    Pinball Fan

  • Silver Supporter
  • 1,156 posts
  • Location:France

  • Flag: Jamaica

  • Favorite Pinball: TRON

Posted 18 May 2021 - 09:40 PM

Hi , 

 

this is my new channel twitch :)  (9 gameplay for this moment) you are welcome :)

https://www.twitch.tv/cedpinball

 

:drinks:



#663 Mike DA Spike

Mike DA Spike

    Pinball Fan

  • Platinum Supporter
  • 1,280 posts
  • Location:Hoofddorp

  • Flag: Netherlands

  • Favorite Pinball: Too many to mention

Posted 21 May 2021 - 04:26 AM

Hey DNADisturber 

I just updated pinemhi to the latest version and did my first 5 min game.
Little but scary that in the middle of the game the tablle exits, but really nice feature !
Thanks for this.

 

Because this is the 4th extra button we need on my cab (and I really run out of cab buttons, I bought an extra device.
It's called the Stream deck. It is a HID device, with 15 buttons (there is also a version of 6 buttons or even 32 buttons).
The nice part of it, is that you can add actions to a button (and even an plugin that connects to vJoy, so you can assign virtual Joystick buttons), but you can also cretae icons on it and assign to the buttons.
So, not sure if I can send the bill to you of this device, but it helps me a lot with all the extra features ! 

20210521_0617490.jpg

 

I need to setup the other buttons as well, but the most important is working !

Thanks mate for extra features (and sorry, that I'm late with my updates)
:drinks:


331ddabcc742f0ba74791e946eb0f791.gif Try PinballX Database manager as a replacement of PinballX's game list manager
With special thanks to Scutters 


#664 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 21 May 2021 - 04:59 AM

Hey DNADisturber 

I just updated pinemhi to the latest version and did my first 5 min game.
Little but scary that in the middle of the game the tablle exits, but really nice feature !
Thanks for this.

 

Because this is the 4th extra button we need on my cab (and I really run out of cab buttons, I bought an extra device.
It's called the Stream deck. It is a HID device, with 15 buttons (there is also a version of 6 buttons or even 32 buttons).
The nice part of it, is that you can add actions to a button (and even an plugin that connects to vJoy, so you can assign virtual Joystick buttons), but you can also cretae icons on it and assign to the buttons.
So, not sure if I can send the bill to you of this device, but it helps me a lot with all the extra features ! 

 

 

I need to setup the other buttons as well, but the most important is working !

Thanks mate for extra features (and sorry, that I'm late with my updates)
:drinks:

 

 

Why is there a pornhub button on your cab?


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#665 makmak

makmak

    Enthusiast

  • Members
  • PipPipPip
  • 250 posts
  • Location:Germany

  • Flag: Germany

  • Favorite Pinball: the one with less drains

Posted 21 May 2021 - 05:06 AM

You dont have a cab, so you dont know the "inverse plunger"?

#666 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 21 May 2021 - 05:44 AM

You dont have a cab, so you dont know the "inverse plunger"?

 

An inverse plunger would be one where when you let go go it, it flies out of the table and lands on the floor

i think i could pass on that part


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#667 makmak

makmak

    Enthusiast

  • Members
  • PipPipPip
  • 250 posts
  • Location:Germany

  • Flag: Germany

  • Favorite Pinball: the one with less drains

Posted 21 May 2021 - 05:53 AM

You dont need to counter-comment everything, less is sometimes more... ;-)

#668 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 21 May 2021 - 06:30 AM

You dont need to counter-comment everything, less is sometimes more... ;-)

 

you asked


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#669 Mike DA Spike

Mike DA Spike

    Pinball Fan

  • Platinum Supporter
  • 1,280 posts
  • Location:Hoofddorp

  • Flag: Netherlands

  • Favorite Pinball: Too many to mention

Posted 21 May 2021 - 07:24 AM

Hey DNADisturber 
I just updated pinemhi to the latest version and did my first 5 min game.
Little but scary that in the middle of the game the tablle exits, but really nice feature !
Thanks for this.
 
Because this is the 4th extra button we need on my cab (and I really run out of cab buttons, I bought an extra device.
It's called the Stream deck. It is a HID device, with 15 buttons (there is also a version of 6 buttons or even 32 buttons).
The nice part of it, is that you can add actions to a button (and even an plugin that connects to vJoy, so you can assign virtual Joystick buttons), but you can also cretae icons on it and assign to the buttons.
So, not sure if I can send the bill to you of this device, but it helps me a lot with all the extra features ! 
 
 
I need to setup the other buttons as well, but the most important is working !
Thanks mate for extra features (and sorry, that I'm late with my updates) :drinks:

 
 
Why is there a pornhub button on your cab?

The main question would be : why not ?

331ddabcc742f0ba74791e946eb0f791.gif Try PinballX Database manager as a replacement of PinballX's game list manager
With special thanks to Scutters 


#670 ced

ced

    Pinball Fan

  • Silver Supporter
  • 1,156 posts
  • Location:France

  • Flag: Jamaica

  • Favorite Pinball: TRON

Posted 22 May 2021 - 01:11 PM

Hi all ! 

 

This is my video for the challenge weekly 5mn mode on White Wather : 378.428.650.pts

https://www.twitch.t...deos/1031314001

 

My game isn't perfect , the score is beatable.



#671 Piple

Piple

    Neophyte

  • Members
  • Pip
  • 6 posts

  • Flag: Austria

  • Favorite Pinball: ?

Posted 22 May 2021 - 03:22 PM

Hi PinballY-users!

I created a script for PinballY front-end which maps the menu-items to the corresponding keys in pinemhi. If anyone uses PinballY, this could solve the missing-key-problem. :-)

The script adds items to the main-menu and to the pause-menu, as you can see in the screens.
It uses powershell to simulate the keypress. I'm not that expert in javascript and I'm sure there will be a better way to get this done. But it's working.

Installation:
  * Copy the pinemhi.js to your PinballY/scripts folder.
  * In main.js add:    import "pinemhi.js";
  * Edit the 4 variables to the letters you set in pinemhi.ini before

Known issues:

  * For the window-focus to work correctly in pause-menu, disable "Force exclusive fullscreen mode" in VPX
  * You have to use LOWER-CASE letters below. (for example the "l"-key)
  * Also special characters ("]" for weekly challenge) will not work. Use an alphabetical characters instead.
 
 
Feel free to share and edit!

Let me thank DnaDisturber for creating, supporting and hosting PinemHi! Also thanks to MJR for his work on PinballY!


mainmenu.png
pausemenu.png
popup.png

 

 

So here's the script:

/*
PinEmHi - PinballY add-in
Version 0.9, 2021-05-22
by Piple

This PinballY-script adds menu-entries for PinEmHi (http://www.pinemhi.com) to the main- and pause-menu.
You have to define the same keys from pinemhi.ini. They will be triggered by powershell-command.

Important:
  * You have to use LOWER-CASE letters below. (for example the "l"-key)
  * Also special characters ("]" for weekly challenge) will not work. Use an alphabetical characters instead.

Thanks to DnaDisturber for creating PinEmHi - http://www.pinemhi.com !
And also thanks to MJR for creating this great front-end PinballY - http://mjrnet.org/pinscape/PinballY.php !
*/

//----- change here:
let popupkey = "l";  //Key for showing the Pinemhi Popup - not used in main-menu but in pause-menu, can be the same as challenge-key
let challengekey = "l";  //Key for activating the challenge - not used in pause-menu but in main-menu, can be the same as popup-key
let weekchallkey = "w";  //Key for showing the weekly challenge Popup
let fiveminkey = "m";  //Key for (de)activating 5-min mode - not used in pause-menu but in main-menu
//-----

var workdir = "C:\\Windows"; //not important?
var fiveminmode = "off"; //assuming 5min-mode is turned off at frontend-start
var exefile = "powershell.exe";
var weekchallparam = "-command [System.Reflection.Assembly]::LoadWithPartialName('System.Drawing'); [System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms'); [System.Windows.Forms.SendKeys]::SendWait('" + weekchallkey + "')";
var popupparam = "-command [System.Reflection.Assembly]::LoadWithPartialName('System.Drawing'); [System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms'); [System.Windows.Forms.SendKeys]::SendWait('" + popupkey + "')";
var fiveminparam = "-command [System.Reflection.Assembly]::LoadWithPartialName('System.Drawing'); [System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms'); [System.Windows.Forms.SendKeys]::SendWait('" + fiveminkey + "')";
var challengeparam = "-command [System.Reflection.Assembly]::LoadWithPartialName('System.Drawing'); [System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms'); [System.Windows.Forms.SendKeys]::SendWait('" + challengekey + "')";

let weekchallcom = command.allocate("weekchallall");
let popupcom = command.allocate("popupall");
let fivemincom = command.allocate("fiveminall");
let challengecom = command.allocate("challengeall");

mainWindow.on("menuopen", ev => {
    if (ev.id == "main") { //main-menu entries
		if (fiveminmode == "off") {
			
			//Weekly challenge popup
			ev.addMenuItem({ after: command.GameInfo },  // where should the new item be placed in menu?
				{ title: "Weekly challenge standings", cmd: weekchallcom });
			
			//Five-min challenge
			ev.addMenuItem({ after: weekchallcom },
				{ title: "Start 5min-challenge", cmd: fivemincom });
			}
		if (fiveminmode == "on") {
			
			//5-min challenge popup
			ev.addMenuItem({ after: command.GameInfo },  // where should the new item be placed in menu?
				{ title: "5min-challenge standings", cmd: weekchallcom });
				
			//Five-min challenge
			ev.addMenuItem({ after: weekchallcom },
				{ title: "Stop 5min-challenge", cmd: fivemincom });
			}
		
		//Start challenge
		ev.addMenuItem({ after: fivemincom },
				{ title: "PinEmHi Challenge", cmd: challengecom });
		
		//Separators
		ev.addMenuItem({ before: weekchallcom }, { title: "", cmd: -1 });  //Separator before
		ev.addMenuItem({ after: challengecom }, { title: "", cmd: -1 });  //Separator after
		ev.tidyMenu(); //remove unnecessary separators
    }
	
	if (ev.id == "pause game") { //pause-menu entries
		
		if (fiveminmode == "off") {
			
			//Weekly challenge popup
			ev.addMenuItem({ after: command.GameInfo },  // where should the new item be placed in menu?
				{ title: "Weekly challenge standings", cmd: weekchallcom });
		}
		if (fiveminmode == "on") {
			
			//5-min challenge popup
			ev.addMenuItem({ after: command.GameInfo },  // where should the new item be placed in menu?
				{ title: "5min-challenge standings", cmd: weekchallcom });
		}
				
		//Pinemhi Popup
		ev.addMenuItem({ after: weekchallcom },
				{ title: "Toggle PinEmHi Popup", cmd: popupcom });
				
		//Separators
		ev.addMenuItem({ before: weekchallcom }, { title: "", cmd: -1 });  //Separator before
		ev.addMenuItem({ after: popupcom }, { title: "", cmd: -1 });  //Separator after
		ev.tidyMenu(); //remove unnecessary separators
    }

});

mainWindow.on("command", ev => {
	
	//weekly-challenge popup selected
	if (ev.id == weekchallcom) {
		let result = Shell32.ShellExecuteW(null, "open", exefile, weekchallparam, workdir, SW_HIDE);
		if (result.toNumber() > 32)
			{
				//mainWindow.message("Retrieving weekly-challenge standings...");
			}
		else // launch failed
			{
				mainWindow.message("Program launch failed (code " + result.toNumber() + ")", "error");
			}
	}
	
	//PinemHi Popup
	if (ev.id == popupcom) {
		let result = Shell32.ShellExecuteW(null, "open", exefile, popupparam, workdir, SW_HIDE);
		if (result.toNumber() > 32)
			{
				//mainWindow.message("Starting challenge.");
			}
		else // launch failed
			{
				mainWindow.message("Program launch failed (code " + result.toNumber() + ")", "error");
			}
	}	
	
	//five-min challenge selected
	if (ev.id == fivemincom) {
		if (fiveminmode == "off") {
			let result = Shell32.ShellExecuteW(null, "open", exefile, fiveminparam, workdir, SW_HIDE);
			if (result.toNumber() > 32)
			{
				mainWindow.message("5-minute challenge is now activated! Check scoreboard by selecting '5min-challenge standings'.");
				fiveminmode = "on";
			}
			else // launch failed
			{
				mainWindow.message("Program launch failed (code " + result.toNumber() + ")", "error");
			}
			
		}
	else {
			let result = Shell32.ShellExecuteW(null, "open", exefile, fiveminparam, workdir, SW_HIDE);

			if (result.toNumber() > 32)
			{
				mainWindow.message("5-minute challenge is deactivated! Weekly challenge is ready. For details select 'Weekly challenge standings'.");
				fiveminmode = "off";
			}
			else // launch failed
			{
				mainWindow.message("Program launch failed (code " + result.toNumber() + ")", "error");
			}
		}
    }
	
	//Start challenge
	if (ev.id == challengecom) {
		let result = Shell32.ShellExecuteW(null, "open", exefile, challengeparam, workdir, SW_HIDE);
		if (result.toNumber() > 32)
			{
				//mainWindow.doCommand(command.ShowMainMenu) //Show main-menu again
				//mainWindow.message("Starting challenge.");
			}
		else // launch failed
			{
				mainWindow.message("Program launch failed (code " + result.toNumber() + ")", "error");
			}
	}

});

let Shell32 = dllImport.bind("Shell32.dll", `
    HINSTANCE ShellExecuteW(
        HWND    hwnd,
        LPCWSTR lpOperation,
        LPCWSTR lpFile,
        LPCWSTR lpParameters,
        LPCWSTR lpDirectory,
        INT     nShowCmd
    );
`);


Edited by Piple, 09 June 2021 - 09:57 PM.


#672 DnaDisturber

DnaDisturber

    Pinball Fan

  • VIP
  • 775 posts
  • Location:Hiscore Hill

  • Flag: Netherlands

  • Favorite Pinball: Monster Bash

Posted 22 May 2021 - 06:10 PM

Hi PinballY-users!

I created a script for PinballY front-end which maps the menu-items to the corresponding keys in pinemhi. If anyone uses PinballY, this could solve the missing-key-problem. :-)

The script adds items to the main-menu and to the pause-menu, as you can see in the screens.
It uses powershell to simulate the keypress. I'm not that expert in javascript and I'm sure there will be a better way to get this done. But it's working.

Installation:
  * Copy the pinemhi.js to your PinballY/scripts folder.
  * In main.js add:    import "pinemhi.js";
  * Edit the 4 variables to the letters you set in pinemhi.ini before

Known issues:
  * You have to use LOWER-CASE letters below. (for example the "l"-key)
  * Also special characters ("]" for weekly challenge) will not work. Use an alphabetical characters instead.
 
 
Feel free to share and edit!

Let me thank DnaDisturber for creating, supporting and hosting PinemHi! Also thanks to MJR for his work on PinballY!


mainmenu.png
pausemenu.png
popup.png

 

 

So here's the script:

/*
PinEmHi - PinballY add-in
Version 0.9, 2021-05-22
by Piple

This PinballY-script adds menu-entries for PinEmHi (http://www.pinemhi.com) to the main- and pause-menu.
You have to define the same keys from pinemhi.ini. They will be triggered by powershell-command.

Important:
  * You have to use LOWER-CASE letters below. (for example the "l"-key)
  * Also special characters ("]" for weekly challenge) will not work. Use an alphabetical characters instead.

Thanks to DnaDisturber for creating PinEmHi - http://www.pinemhi.com !
And also thanks to MJR for creating this great front-end PinballY - http://mjrnet.org/pinscape/PinballY.php !
*/

//----- change here:
let popupkey = "l";  //Key for showing the Pinemhi Popup - not used in main-menu but in pause-menu, can be the same as challenge-key
let challengekey = "l";  //Key for activating the challenge - not used in pause-menu but in main-menu, can be the same as popup-key
let weekchallkey = "w";  //Key for showing the weekly challenge Popup
let fiveminkey = "m";  //Key for (de)activating 5-min mode - not used in pause-menu but in main-menu
//-----

var workdir = "C:\\Windows"; //not important?
var fiveminmode = "off"; //assuming 5min-mode is turned off at frontend-start
var exefile = "powershell.exe";
var weekchallparam = "-command [System.Reflection.Assembly]::LoadWithPartialName('System.Drawing'); [System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms'); [System.Windows.Forms.SendKeys]::SendWait('" + weekchallkey + "')";
var popupparam = "-command [System.Reflection.Assembly]::LoadWithPartialName('System.Drawing'); [System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms'); [System.Windows.Forms.SendKeys]::SendWait('" + popupkey + "')";
var fiveminparam = "-command [System.Reflection.Assembly]::LoadWithPartialName('System.Drawing'); [System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms'); [System.Windows.Forms.SendKeys]::SendWait('" + fiveminkey + "')";
var challengeparam = "-command [System.Reflection.Assembly]::LoadWithPartialName('System.Drawing'); [System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms'); [System.Windows.Forms.SendKeys]::SendWait('" + challengekey + "')";

let weekchallcom = command.allocate("weekchallall");
let popupcom = command.allocate("popupall");
let fivemincom = command.allocate("fiveminall");
let challengecom = command.allocate("challengeall");

mainWindow.on("menuopen", ev => {
    if (ev.id == "main") { //main-menu entries
		if (fiveminmode == "off") {
			
			//Weekly challenge popup
			ev.addMenuItem({ after: command.GameInfo },  // where should the new item be placed in menu?
				{ title: "Weekly challenge standings", cmd: weekchallcom });
			
			//Five-min challenge
			ev.addMenuItem({ after: weekchallcom },
				{ title: "Start 5min-challenge", cmd: fivemincom });
			}
		if (fiveminmode == "on") {
			
			//5-min challenge popup
			ev.addMenuItem({ after: command.GameInfo },  // where should the new item be placed in menu?
				{ title: "5min-challenge standings", cmd: weekchallcom });
				
			//Five-min challenge
			ev.addMenuItem({ after: weekchallcom },
				{ title: "Stop 5min-challenge", cmd: fivemincom });
			}
		
		//Start challenge
		ev.addMenuItem({ after: fivemincom },
				{ title: "PinEmHi Challenge", cmd: challengecom });
		
		//Separators
		ev.addMenuItem({ before: weekchallcom }, { title: "", cmd: -1 });  //Separator before
		ev.addMenuItem({ after: challengecom }, { title: "", cmd: -1 });  //Separator after
		ev.tidyMenu(); //remove unnecessary separators
    }
	
	if (ev.id == "pause game") { //pause-menu entries
		
		if (fiveminmode == "off") {
			
			//Weekly challenge popup
			ev.addMenuItem({ after: command.GameInfo },  // where should the new item be placed in menu?
				{ title: "Weekly challenge standings", cmd: weekchallcom });
		}
		if (fiveminmode == "on") {
			
			//5-min challenge popup
			ev.addMenuItem({ after: command.GameInfo },  // where should the new item be placed in menu?
				{ title: "5min-challenge standings", cmd: weekchallcom });
		}
				
		//Pinemhi Popup
		ev.addMenuItem({ after: weekchallcom },
				{ title: "Toggle PinEmHi Popup", cmd: popupcom });
				
		//Separators
		ev.addMenuItem({ before: weekchallcom }, { title: "", cmd: -1 });  //Separator before
		ev.addMenuItem({ after: popupcom }, { title: "", cmd: -1 });  //Separator after
		ev.tidyMenu(); //remove unnecessary separators
    }

});

mainWindow.on("command", ev => {
	
	//weekly-challenge popup selected
	if (ev.id == weekchallcom) {
		let result = Shell32.ShellExecuteW(null, "open", exefile, weekchallparam, workdir, SW_HIDE);
		if (result.toNumber() > 32)
			{
				//mainWindow.message("Retrieving weekly-challenge standings...");
			}
		else // launch failed
			{
				mainWindow.message("Program launch failed (code " + result.toNumber() + ")", "error");
			}
	}
	
	//PinemHi Popup
	if (ev.id == popupcom) {
		let result = Shell32.ShellExecuteW(null, "open", exefile, popupparam, workdir, SW_HIDE);
		if (result.toNumber() > 32)
			{
				//mainWindow.message("Starting challenge.");
			}
		else // launch failed
			{
				mainWindow.message("Program launch failed (code " + result.toNumber() + ")", "error");
			}
	}	
	
	//five-min challenge selected
	if (ev.id == fivemincom) {
		if (fiveminmode == "off") {
			let result = Shell32.ShellExecuteW(null, "open", exefile, fiveminparam, workdir, SW_HIDE);
			if (result.toNumber() > 32)
			{
				mainWindow.message("5-minute challenge is now activated! Check scoreboard by selecting '5min-challenge standings'.");
				fiveminmode = "on";
			}
			else // launch failed
			{
				mainWindow.message("Program launch failed (code " + result.toNumber() + ")", "error");
			}
			
		}
	else {
			let result = Shell32.ShellExecuteW(null, "open", exefile, fiveminparam, workdir, SW_HIDE);

			if (result.toNumber() > 32)
			{
				mainWindow.message("5-minute challenge is deactivated! Weekly challenge is ready. For details select 'Weekly challenge standings'.");
				fiveminmode = "off";
			}
			else // launch failed
			{
				mainWindow.message("Program launch failed (code " + result.toNumber() + ")", "error");
			}
		}
    }
	
	//Start challenge
	if (ev.id == challengecom) {
		let result = Shell32.ShellExecuteW(null, "open", exefile, challengeparam, workdir, SW_HIDE);
		if (result.toNumber() > 32)
			{
				//mainWindow.doCommand(command.ShowMainMenu) //Show main-menu again
				//mainWindow.message("Starting challenge.");
			}
		else // launch failed
			{
				mainWindow.message("Program launch failed (code " + result.toNumber() + ")", "error");
			}
	}

});

let Shell32 = dllImport.bind("Shell32.dll", `
    HINSTANCE ShellExecuteW(
        HWND    hwnd,
        LPCWSTR lpOperation,
        LPCWSTR lpFile,
        LPCWSTR lpParameters,
        LPCWSTR lpDirectory,
        INT     nShowCmd
    );
`);

Wow , nice one Piple.

Looks good !

 

:drinks:


Edited by DnaDisturber, 22 May 2021 - 06:10 PM.

Author of PINemHi & PINemHi Leaderboard........
Website : www.pinemhi.com (to see all hiscores being made and the challenges)

 


#673 ced

ced

    Pinball Fan

  • Silver Supporter
  • 1,156 posts
  • Location:France

  • Flag: Jamaica

  • Favorite Pinball: TRON

Posted 24 May 2021 - 10:24 AM

Well done 0Cool for your 1st place at the weekly challenge on CSI !   :otvclap:

 

Let's go for the next weekly challenge on Elvira and the party monsters ! 

 

:drinks:



#674 Mancave

Mancave

    Hobbyist

  • Members
  • PipPip
  • 18 posts

  • Flag: Netherlands

  • Favorite Pinball: CARtoons (vPin), Eartshshaker

Posted 26 May 2021 - 01:27 PM

Thanks Ced/pezima! Elvira is hard....ball drains crazy fast! Nice looking table, well done and thumps up to the author. Back now trying to beat Scutters score! Good luck, gents!!


0Cool...really Zero cool!


#675 scutters

scutters

    Pinball Fan

  • Members
  • PipPipPipPip
  • 539 posts

  • Flag: England

  • Favorite Pinball: Addams Family

Posted 26 May 2021 - 01:47 PM

With lockdown lifting i've missed a couple of weeks due to the return of social duties and having to talk to people again, managed to play a few games this week though.

 

It is a tough table, you can think you're on for a great score and then lose a few balls in very quick succession. If anyone can post a score around 20m this week it'll take some beating..



#676 scutters

scutters

    Pinball Fan

  • Members
  • PipPipPipPip
  • 539 posts

  • Flag: England

  • Favorite Pinball: Addams Family

Posted 26 May 2021 - 05:31 PM

. If anyone can post a score around 20m this week it'll take some beating..

 

As soon as i say it ced does it. Damn it, got work to do!



#677 ced

ced

    Pinball Fan

  • Silver Supporter
  • 1,156 posts
  • Location:France

  • Flag: Jamaica

  • Favorite Pinball: TRON

Posted 02 June 2021 - 12:00 PM

hello :)

 

little video on space shuttle (weekly challenge) 3.897.220.pts

https://youtu.be/ts6fi_bIe5A

 

elvira *26 millions*

https://youtu.be/jbCDfaw-okU

 

and more here :

https://www.youtube....pezima77/videos



#678 Mike DA Spike

Mike DA Spike

    Pinball Fan

  • Platinum Supporter
  • 1,280 posts
  • Location:Hoofddorp

  • Flag: Netherlands

  • Favorite Pinball: Too many to mention

Posted 02 June 2021 - 04:45 PM

hello :)
 
little video on space shuttle (weekly challenge) 3.897.220.pts
https://youtu.be/ts6fi_bIe5A
 
elvira *26 millions*
https://youtu.be/jbCDfaw-okU
 
and more here :
https://www.youtube....pezima77/videos

Wow, wow and WOW !
I wish I was that good

331ddabcc742f0ba74791e946eb0f791.gif Try PinballX Database manager as a replacement of PinballX's game list manager
With special thanks to Scutters 


#679 scutters

scutters

    Pinball Fan

  • Members
  • PipPipPipPip
  • 539 posts

  • Flag: England

  • Favorite Pinball: Addams Family

Posted 04 June 2021 - 10:08 AM

hello :)

 

little video on space shuttle (weekly challenge) 3.897.220.pts

https://youtu.be/ts6fi_bIe5A

 

elvira *26 millions*

https://youtu.be/jbCDfaw-okU

 

and more here :

https://www.youtube....pezima77/videos

 

Congrats on last weeks Elvira score!

Don't know what it is with Space Shuttle, maybe i've totally messed up my POV on the cab but the only way i can hit the lock ball shots is with fluke rebounds.

 

Question for DNA - is there any chance friend scores could display as an alias?. Not sure what characters are allowed when registering but if it would be nice to add in the ini something like 'friendn=leaderboardname|displayname' and then use the display name (if found) in the popups. Just a nice to have, if it'd be a ball ache to do then just ignore me!



#680 ced

ced

    Pinball Fan

  • Silver Supporter
  • 1,156 posts
  • Location:France

  • Flag: Jamaica

  • Favorite Pinball: TRON

Posted 04 June 2021 - 01:47 PM

thx scutters ! 

 

for the lock ball shots , the left lock is more easy , for the right lock with fluke rebunds too sometimes for me

 

@mike da spike : thank you for your comments, it's very kind of you but you are already, you don't know that's all :)

 

:drinks:







Also tagged with one or more of these keywords: pinemhi, pinemhi leaderboard, hiscores, highscores, visual pinball, online, badges, top 10, friends, challenges