RetroFE forums

General Category => General Discussion & Help => Topic started by: bodbod on April 24, 2017, 08:43:29 PM

Title: Shortcut - RetroFE
Post by: bodbod on April 24, 2017, 08:43:29 PM
Hi,

I am about to finalize my arcade machine and the whole system automation when booting it. By doing so I am encountering issues that some others may have already noticed but no information on the forum so I share if this thread can help.
Indeed, when moving or creating a new shortcut, the retrofe.exe application is running without any problem but the emulators are not launching correctly.
This may come from the fact that the "cmd.exe" does not start from the Retrofe repository.

Below the log showing the problem when I create and use the new shortcut :

Quote
2017-04-24 20:09:05] [INFO] [Launcher] Checking to see if "D:\ROM$\MAME\3countb.zip" exists  [Yes]
[2017-04-24 20:09:05] [INFO] [Launcher] Attempting to launch: "emulators\MAME\mame64.exe" "3countb"
[2017-04-24 20:09:05] [INFO] [Launcher]      from within folder: emulators\MAME
[2017-04-24 20:09:05] [ERROR] [Launcher] Failed to run: emulators\MAME\mame64.exe
[2017-04-24 20:09:05] [INFO] [Launcher] Completed
[2017-04-24 20:09:05] [ERROR] [Launcher] Failed to launch.
[2017-04-24 20:09:19] [INFO] [SDL] DeInitializing
[2017-04-24 20:09:20] [INFO] [RetroFE] Exiting

When checking the properties of the original shortcut placed in the main repository, some extra commands are added to run the app.

Quote
%COMSPEC% /c start "" core\retrofe.exe

and there is a option which my windows do no tunderstand when I test it in Run : %CD%
is that related to the command Change Directory ?

If you have the same issue or a clue, I d be happy to know.

Thanks very much !

Title: Re: Shortcut - RetroFE
Post by: tonesmalone on April 25, 2017, 07:58:16 AM
Just load the exe directly.


Sent from my iPhone using Tapatalk Pro
Title: Re: Shortcut - RetroFE
Post by: Pieter Hulshoff on April 25, 2017, 08:39:40 AM
Start in D:\RetroFE in stead of D:\RetroFE\core.

Sent from my SM-G920F using Tapatalk

Title: Re: Shortcut - RetroFE
Post by: Pieter Hulshoff on April 25, 2017, 09:28:20 AM
Just load the exe directly.

He's using my EmuMovies setup, which uses a relative path to the emulator. As such, the starting directory's rather important. :)
Title: Re: Shortcut - RetroFE
Post by: bodbod on April 25, 2017, 11:33:38 AM
Thanks guys, I ll give a try tonight and confirm this is fixing the issue.

cheers !
Title: Re: Shortcut - RetroFE
Post by: ryuuji on April 25, 2017, 12:47:36 PM
tried it ... works
Title: Re: Shortcut - RetroFE
Post by: bodbod on April 25, 2017, 09:45:59 PM
Yes confirmed !

Thanks guys for the tip, this thread can be closed.