Author Topic: can i create "hot key" to make safe shutdown?  (Read 3063 times)

batodan1911

  • Newbie
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
can i create "hot key" to make safe shutdown?
« on: December 22, 2019, 08:14:07 AM »
hi im using coinops edition for retrofee
i wonder if i can make some "hot key" to shutdown my pc
i wish a safe shutdown that no make any bad to my pc
and i need it to be a joystick key
any help?

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1534
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: can i create "hot key" to make safe shutdown?
« Reply #1 on: December 22, 2019, 09:20:44 AM »
That sounds like a Windows issue, where you wish to start a certain program based on a key press. If you wish to do it from within RetroFE, just create a shutdown button and a batch script that does the shutdown (see attached example).

batodan1911

  • Newbie
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: can i create "hot key" to make safe shutdown?
« Reply #2 on: December 22, 2019, 11:57:33 AM »
That sounds like a Windows issue, where you wish to start a certain program based on a key press. If you wish to do it from within RetroFE, just create a shutdown button and a batch script that does the shutdown (see attached example).
now i have the bat file that turn off the pc
but how i make retrofe to open this file by pressing joy buttom 5 for example

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1534
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: can i create "hot key" to make safe shutdown?
« Reply #3 on: December 22, 2019, 07:03:42 PM »
Hot key handling shouldn't be in RetroFE; you should do that within Windows. If you want it within RetroFE, just make it a selectable game (on the main menu), just like all the others.

batodan1911

  • Newbie
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: can i create "hot key" to make safe shutdown?
« Reply #4 on: December 24, 2019, 12:01:05 PM »
Hot key handling shouldn't be in RetroFE; you should do that within Windows. If you want it within RetroFE, just make it a selectable game (on the main menu), just like all the others.
i made special collection called "MMsettings" and i put the .bat file inside .
now i have 2 collections 1st called "arcade" and all my games in there. 2nd called 'mmsettings" and all my config in there.
problom is in attract mode- after 60secends its start to spin . problem is that is switching collection after some time and its go to my mmsettings collection

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1534
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: can i create "hot key" to make safe shutdown?
« Reply #5 on: December 24, 2019, 03:35:48 PM »
Use the attractModeSkipCollection parameter in your settings.conf to prevent it from doing that or just don't allow attract mode to run through collections at all.

batodan1911

  • Newbie
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: can i create "hot key" to make safe shutdown?
« Reply #6 on: December 25, 2019, 12:20:24 PM »
don't allow attract mode to run through collections at all.

how i do that ? whice paramater in setting file i need to delete

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1534
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: can i create "hot key" to make safe shutdown?
« Reply #7 on: December 25, 2019, 05:33:17 PM »
don't allow attract mode to run through collections at all.

how i do that ? whice paramater in setting file i need to delete
Set attractModeCollectionTime to 0 or remove it from your settings.conf.

Sent from my SM-G950F using Tapatalk