Gamoover

Vous aimez GAMOOVER ? Vous avez trouvé la perle rare grâce à notre forum ?
Alors pourquoi pas nous soutenir en effectuant un petit don Paypal sur : contribution@gamoover.net
C'est peut être un détail pour vous, mais nous, ça nous aiderait beaucoup !

GAMES FAMILY 2019 in one "SHUTDOWN"

Démarré par CaShinobi, Mardi 17 Janvier 2023, 22:07:39 PM

CaShinobi

Hello à tous !

j'ai une borne générique avec la "Game family 2019 in one" que je souhaiterai éteindre proprement plutôt que de devoir retirer la prise comme je suis obligé de faire à chaque fois. Dernièrement j'ai trouvé un tuto pour ajouter un "SHUTDOWN PCB" en tête de la liste des jeux, le voici (j'ai ajouté en fichier joint l'archive contenant le tuto.pdf + shutdown.bat & shutdown.png) :

-------------------------------------------------------------------------------------------------------------
Installing Safety Shutdown Feature (Software controlled)
Written by Tim Hensel Aka Jammaboards

*** This Procedure is using the XXXX-in-1 Games Family Hard Drive

*** Perform this modification (like any modification) with extreme care. If you are not comfortable doing this then DO NOT perform this modification.

Download Software Addon here

1.Create a new directory called 'shutdown' in the EMU folder:

(Local Disk) C:\emu\shutdown\
Then place 'shutdown.exe' into that folder.

2.Next, copy 'shutdown.png' to the snap folder:

(Local Disk) C:\emu\snap\

3.Edit 'batch.bat' with any text editor program. This file is located:

(Local Disk) C:\emu\batch\batch.bat

Scroll through all the 'if 1%==' lines of code until the very one, then enter the following code into the blank line below it:

if %1==shutdown goto shutdown

Next go all the way down to the bottom of the same 'batch.bat' file. On the very last line first press return, then enter the follow lines of code:

:shutdown
cd\emu\shutdown
shutdown -u -t 0
goto end

So the end of the 'batch.bat' file should now look like:

:shutdown
cd\emu\shutdown
shutdown -u -t 0
goto end

:over
cd\temp
if exist d:\temp\mult.tmp del d:\temp\mult.tmp
cd\

Now save 'batch.bat' file and close.

4.Now, edit the 3 'game-0.lst' files with any text editor program. This files are located:

(Local Disk) C:\mamep\files\game-0.lst
(Games) D:\filebak\english\lstbak\files\game-0.lst
(Games) D:\filebak\english\lstbak\files\game-0.lst

**IMPORTANT NOTE**
Examine the 'game-0.lst' file before editing/adding any text. Mainly note there will always be 11 blank return lines between every 2-line code entries. Also note there are 12 blank return lines after the very last 2-line code entry. This is extremely important that these spacing remain; 11 blank lines between code and 12 blank lines between the very last code and end of file.

Now, scroll way down to the bottom of this huge list. On the very last possible line (which will be 11 lines past the last line of text), enter the following code:

shutdown
!SHUTDOWN! Run before powering off!

Now press return 11 times so you will have a total of 12 blank return lines after the last code.

Do the same for all 3 'game-0.lst' files and save them all.


5.That is it!

Now, after your done playing and ready to power off your cabinet...first run the '!SHUTDOWN!' located at the very top of the 'ALL' list. This will safely shutdown the hard drive first, then power off the motherboard. Shut off your main power and enjoy your day!
-------------------------------------------------------------------------------------------------------------

J'ai effectué les modifs du pdf (avec une sauvegarde du disque au préalable), cela dit j'ai le "shutdown" haut de la liste des jeux et il fonctionne mais je ne sais pas vraiment l'utiliser car quand je joue et décide ensuite de quitter le jeu avec le P1 enfoncé (comme d'habitude) pour revenir au menu principal, celui ci s'affiche une fraction de seconde et la machine s'éteint toute seul (proprement), comme si on avait lancé le "shutdown" avec le P1, cela le fait avec tout les jeux..

Je restore à chaques fois l'image d'origine (que j'avais pris le soin de faire) pour retenter d'une autre manière la modif, mais dans le tuto il y a un point non similaire comme le fichier "batch.bat" moi c'est "game.bat", ensuite il semble y avoir des erreurs dans la 2ème page au point 4 :

4. Now, edit the 3 'game-0.lst' files with any text editor program. This files are located:
(Local Disk) C:\mamep\files\game-0.lst
(Games) D:\filebak\english\lstbak\files\game-0.lst
(Games) D:\filebak\english\lstbak\files\game-0.lst

Ci dessus, Il indique 2 fois le même dossier "D:\filebak\english\lstbak\files\game-0.lst"
Et si on fait une recherche, il y a en vérité 4 "game-0.lst" dans le (Games) D:

(Games) D:\filebak\english\lstbak\files\game-0.lst
(Games) D:\filebak\english\lstbakd\files\game-0.lst
(Games) D:\filebak\chines\lstbak\files\game-0.lst
(Games) D:\filebak\chines\lstbakd\files\game-0.lst

Dans tous les cas j'ai effectué la modif juste dans "english\lstbak + chines\lstbak", tjrs le même problème;
j'ai essayé dans les 4 fichiers, idem ;
j'ai également essayé juste dans les 2 english\ et juste dans "english\lstbak" tjrs le même..
(ces modifs sur le d: sont à chaques fois faites dans (Local Disk) C:\mamep\files\game-0.lst)

J'ai même trouvé un 2ème fichier game-0.lst dans le Local Disk, le 1er cité par le gars :
(Local Disk) C:\mamep\files\game-0.lst

et le 2ème ici : (Local Disk) C:\mamew\files\game-0.lst

Quelqu'un a déjà tenté et su faire fonctionner cela ici ? ou quelqu'un aurait une piste pour moi ?

Je vous remercie d'avance pour vos éventuelles réponses  <:)