User Tools

Site Tools


alt_mode

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
alt_mode [2019/04/03 12:49]
pinupadmin
alt_mode [2019/05/31 12:17] (current)
pinupadmin
Line 7: Line 7:
 Then in launch script you can do things depending on the value of [ALTMODE]. best to see example below for FX3. Then in launch script you can do things depending on the value of [ALTMODE]. best to see example below for FX3.
  
-<​code>​ +----
-Also,  by default the launch icons will be the default '​Launch'​ wheel. +
-if you'd like to use your own wheel for an altmode. ​ Then do the following:+
  
-Global Settings/Script add a new custom option ​useAltWheels=1+<font inherit/inherit;;#​2980b9;;​inherit>​Also,​ by default the launch icons will be the default '​Launch'​ wheel.\\ 
 +if you'd like to use your own wheel for an altmode. Then do the following:</​font>​
  
-then make a wheel.png named exactly same as altmode. +<font inherit/​inherit;;#​2980b9;;​inherit>​Global Settings/​Script add a new custom option: **useAltWheels=1**</​font>​ 
-So if one of your altmodes is "​classic"​ then create/copy classic.png + 
-into the POPMEDIA/​default/​system folder. +<font inherit/​inherit;;#​2980b9;;​inherit>​then make a wheel.png named exactly same as altmode.\\ 
-</code>+So if one of your altmodes is "​classic"​ then create/copy classic.png\\ 
 +into the POPMEDIA/​default/​system folder.</​font> 
 + 
 +----
  
 This new optional variable for individual games presents alternative launch modes selectable from within Popper. Here are a few examples of how this can be used with a few different emulators: This new optional variable for individual games presents alternative launch modes selectable from within Popper. Here are a few examples of how this can be used with a few different emulators:
Line 115: Line 117:
 ) )
 </​code>​ </​code>​
 +
 +===== Prevent auto exit table: =====
 +
 +if you'd like to launch a table and prevent the system to automatically exit to popper (eg for a Jukebox table, single table demo?party, etc). you can add the "​noexit"​ AltRunMode and launch the nosleep.exe tool before launching the table
 +
 +Launch script:
 +
 +<​file>​
 +if "​[ALTMODE]"​=="​noexit"​ (
 +start ""​ "​c:​\Pinball\PinupSystem\Support Files\nosleep.exe"​ 30000 u
 +)
 +</​file>​
 +
 +Close script:
 +
 +<​file>​
 +if "​[ALTMODE]"​=="​noexit"​ (
 +Taskkill.exe /IM "​nosleep.exe"​ /F
 +)
 +</​file>​
 +
 +grab nosleep here: [[http://​www.nailbuster.com/​uploads/​nosleep.zip|http://​www.nailbuster.com/​uploads/​nosleep.zip]]
 +
 +nosleep.exe source code: AHK
 +
 +#​Persistent\\
 +SetTimer, PressTheKey,​ %1%\\
 +Return
 +
 +PressTheKey:​\\
 +Send, {%2%}\\
 +Return
 +
 +First parameter is a timer in miliseconds (should be smaller than your autoexit value), second parameter is a alowercase character not used by your emulators or Popper
  
  
alt_mode.1554310173.txt.gz · Last modified: 2019/04/03 12:49 by pinupadmin