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

Pages: [1]
1
General / Can AM scrap snaps from Emumovies
« on: June 02, 2021, 08:09:43 PM »
Title says it all. I have been making romsets and getting snaps for those. but about 20% of roms don't have snaps.

Is there a way to enter my emumovies username and password into attract mode and get it to scrap ONLY the missing snaps automatically?

Thanks heaps!

2
Have a look to similar batch problems

THIS! I always knew the best way to do it is to be able to execute a batch file on emulator exit but I didn't know how to do it. This plugin was exactly what I was looking for. I am putting the link below for future reference for anybody who has my same issue.

Thanks heaps to everybody who commented and special thanks for Hermine and rand0m
http://forum.attractmode.org/index.php?topic=3918.0

Edit:
To be more precise, I made a file called after.bat and placed rand0m's code in it
taskkill /IM dosbox.exe /F
exit

and this way attract mode called it every time after a dos game was terminated

3

If you start dosbox via batch then add -exit after dosbox.exe then rest of the command e.g.:
dosbox.bat (launches dosbox)
Code: [Select]
@echo off
start /d "d:\games\dos\dosbox" dosbox.exe -exit %1

This will exit dosbox when you exit the game.

Yes it will. But only if I normally exit the game. ie. by pressing escape then confirming exit with "y"...etc

What I want is a way to terminate Dosbox even if I exit with AM's HOT KEY that terminates the emulator immediately.
It terminates the batch file that starts dosbox, but not dosbox itself.

I am not sure if I'm making my problem clear to you? Sorry english is not my first language.

4
1- Use start /wait for running dosbox
2- Create another bat file for terminating dosbox and call it at the end. Something like following where dosbox.exe is the main executable:
     
Code: [Select]
taskkill /IM dosbox.exe /F
exit

Perfect, but how do I call this batch file that terminates dosbox?
i.e is there a way to get AM to EXECUTE the batch file when i press the EXIT hotkey to close the emulator?
Thanks

5
Thanks for the reply but this is for my bartop that i built on an old laptop and there is an issue with the graphic driver that makes retroarch crash all the time :(

i.e so I am stuck with dosbox on its own

6
Let me ask it in another way:

When you press the exit hotkey set by attract mode, it immediately terminates the executable (that was set in settings)
but can I make it terminate  more than one file? i.e the batch file (executable) PLUS the actual executable of the emulator

7
General / Attract mode terminates script/batch but not emulator!!
« on: May 22, 2021, 04:32:53 AM »
Well, this issue makes perfect logical sense but I wonder how to solve it. It is so basic I am surprised I failed to see someone else discuss it here (unless if I missed the thread)

As you probably all do, I sometimes use a batch or script to launch an emulator

ex
Batch file to launch dos box with a particular game
script file to launch Nintendo DS emulator then send Alt+Enter to maximise it

Issue is that the batch/script IS the executable file from AM's point of view

So when I press the exit hotkey, AM immediately terminates the batch file, but it doesn't terminate the ACTUAL EMULATOR EXE file

An example

I launch Keen (Dos Game) with a batch file that invokes Dosbox with the keen.exe file as a parameter

when I press the hotkey to terminate and return to AM, the batch file is terminated, but dosbox is still running in the background, and now I have so much noise because there is the video of keen playing on AM + the music of the actual game running in dosbox the background.

Is there a solution to this? Can I (somehow) program AM to terminate batch file PLUS dos box or go.vbs (script) PLUS Desmume?

Thanks heaps!

Pages: [1]