Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: abls1 on May 19, 2015, 03:26:44 AM

Title: cannot get it to run any emulator
Post by: abls1 on May 19, 2015, 03:26:44 AM
I tried changing the remulator paths and rom path and nothing

rom:
B:\Emulator Roms\Fusion364\genesis roms

exe:
B:\Emulator Roms\Fusion364

I noticed it uses

for exec
$HOME/fusion/fusion

for roms:
$HOME/fusion/roms/

Not sure why but tell me what I'm doing wrong!!!

Thanks
Title: Re: cannot get it to run any emulator
Post by: hermine.potter on May 19, 2015, 04:42:21 AM
please enter full path to .exe, put the .exe-extension behind and set the arguments/parameters (in your case:-gen "[romfilename]")
Please note :  http://www.launchbox-app.com/forum/emulation/command-line-parameters-arguments (http://www.launchbox-app.com/forum/emulation/command-line-parameters-arguments)
Please turn off hiding extensions : https://support.microsoft.com/de-de/kb/865219/en-us

e.g. zsnes:
Title: Re: cannot get it to run any emulator
Post by: omegaman on May 19, 2015, 04:58:49 AM
Abls-

Here is another example to get an idea of what to do. General rule of thumb, if the emulator works on the command line it should work the same in AM. AM just passes the info to the emulator.

# Generated by Attract-Mode 1.2.0
#
executable            Generated by Attract-Mode 1.2.0
#
executable           C:\Emulators\retroarch_gen\retroarch.exe
args                 "[romfilename]"
rompath              C:\Emulators\retroarch_gen\roms\
romext               .zip
artwork    flyer           C:\media\genesis\flyer
artwork    marquee         C:\media\genesis\wheel
artwork    snap            C:\media\genesis\video
artwork    wheel           C:\media\genesis\carts
Title: Re: cannot get it to run any emulator
Post by: akafox on May 19, 2015, 07:11:52 AM
You notice the space in that path for your roms abls?

rom:
B:\Emulator Roms\Fusion364\genesis roms
                   ^                                      ^ 
exe:
B:\Emulator Roms\Fusion364
                   ^
That's not always a good idea. The command line doesn't like spaces. If you must keep that type path you'll need to use "B:\Emulator Roms\Fusion364.exe" for your path - yes add the quotes! (Type that as is)

Also the example set up it for linux. You did fine by changing it but try without the spaces like omegaman has shown.

Also hermine.potter is right your executable needs to be ..Fusion364.exe Windows needs to have an extension (gotta love DOS!)
Please post any errors from the command prompt if there are any (right click then copy in the command prompt window)..that might help a lot.
Title: Re: cannot get it to run any emulator
Post by: abls1 on May 19, 2015, 04:25:34 PM
Not working still, but i was able to add snaps and generate a list..

Here is my new config:


# Generated by Attract-Mode 1.5.2
#
executable           "B:\EmulatorRoms\Fusion364.exe"
args                 "[romfilename]" -fullscreen
rompath              B:\EmulatorRoms\Fusion364\genesisroms
romext               .gen
system               Sega Genesis
info_source          thegamesdb.net
artwork    flyer           $HOME/fusion/boxart
artwork    marquee         
artwork    snap       B:\EmulatorRoms\123allsnaps\Sega_Genesis\Snap
artwork    wheel      B:\EmulatorRoms\123allsnaps\Sega_Genesis\Cart

Thanks
Title: Re: cannot get it to run any emulator
Post by: omegaman on May 19, 2015, 07:02:15 PM
abls1-

For fusion try something like this. Make sure you have the right rom extension. Most of the downloadable roms are either zipped .bin files or srm files.

executable           C:\Emulators\Fusion\fusion.exe
args                 --fs --quickexit "[romfilename]"
rompath              C:\Emulators\Fusion\roms
romext               .zip;.md
Title: Re: cannot get it to run any emulator
Post by: abls1 on May 20, 2015, 03:12:14 AM
Not working ;;

My rom extension is .gen and it works perfect with the emulator without frontend.
Title: Re: cannot get it to run any emulator
Post by: omegaman on May 20, 2015, 04:15:41 AM
Abls1-

OK, so you can run a game from the command line outside of AM fine ? When you try to run a game in AM, what error do you get when you exit AM? If, everything else is correct then you have something wrong with your romlist.

Step one, make sure you have the correct romlist selected under display/emulator. If that is correct then check the romlist and make sure the rom names match what you have in your rom folder. Otherwise try deleting the romlist and creating a new one.

Also, did you generate a romlist or import one? Again, check the romlist and make sure the names match.     
Title: Re: cannot get it to run any emulator
Post by: abls1 on May 20, 2015, 04:48:31 AM
The roms run fine with fusion outside of the Attrack Mode..on the frontend they do not run!!!Generating a rom list takes a while so I just added 1 rom to the folder and generated a new list with 1 rom but nothing.. when i press Enter/leftctrl to start the game nothing happends no error crash or anything that indicates an error.. inputs is like not been registered to run the game.
Title: Re: cannot get it to run any emulator
Post by: omegaman on May 20, 2015, 06:54:39 AM
abls1-

This behavior sounds like an issue with your romlist, can you post it here? Thx...  Also, you might want to check your controller mappings in AM, is select mapped etc...
Title: Re: cannot get it to run any emulator
Post by: hermine.potter on May 20, 2015, 07:36:47 AM
I've tested this config & it works..
-auto sets the region of game to automatic (pal, jp, eur).
I don't know your parameter --quickexit. Is it even necessary (because fusion exits already by pushing the ESC Button)?

executable           C:\attract\EMU\Fusion364\Fusion.exe
args                 "[romfilename]" -gen -auto -fullscreen
rompath              C:\attract\EMU\Fusion364\roms
romext               .sms;.sg;.sc;.mv;.gg;.cue;.bin;.zip
system               Sega Genesis
Title: Re: cannot get it to run any emulator
Post by: abls1 on May 20, 2015, 07:55:37 AM
rom info


#Name;Title;Emulator;CloneOf;Year;Manufacturer;Category;Players;Rotation;Control;Status;DisplayCount;DisplayType;AltRomname;AltTitle;Extra
688 Attack Sub;688 Attack Sub;fusion;;1991;SEGA Enterprises Ltd.;Strategy;1;;;;;;;;


to start the game I press leftCtrl or Enter.. on xbpx360 control is just start
Title: Re: cannot get it to run any emulator
Post by: abls1 on May 20, 2015, 08:54:31 AM
Not working either..I tried this configuration


# Generated by Attract-Mode 1.5.2
#
executable           "B:\Emulators\Fusion364.exe"
args                 "[romfilename]" -gen -auto -fullscreen
rompath              B:\Emulators\attrackmode\GENroms
romext               .sms;.sg;.sc;.mv;.gg;.cue;.bin;.zip
system               Sega Genesis
info_source          thegamesdb.net

I'm using windows 64 not sure if that matters
Title: Re: cannot get it to run any emulator
Post by: akafox on May 20, 2015, 09:35:15 AM
Do me a favor..wipe you fusion config out totally..along with your list. (Yes erase them) just them though! We will start fresh.

oh..wait..you said any emulator...you can not run mame either?
Title: Re: cannot get it to run any emulator
Post by: abls1 on May 20, 2015, 10:22:02 AM
I will start a new attrack mode and a new fusion folder.. I tried gens and it also not working let me try a nes and will get back to you before starting new.
Title: Re: cannot get it to run any emulator
Post by: abls1 on May 20, 2015, 10:35:32 AM
No emulator runs.. I do not gett!!!... stupid question but on keyboard Enter/leftCtrl are the only buttons to start the game?
Title: Re: cannot get it to run any emulator
Post by: omegaman on May 20, 2015, 11:18:27 AM
You should be able to map whatever keys you want under AM controller settings. What happens if you delete your select input map then reassign it.  Also, check your attract.cfg file under input_map section and see if it jives. Because your config and romlist look correct. There maybe a control mapping bug introduced with this latest update. I going to check on my end too.
Title: Re: cannot get it to run any emulator
Post by: omegaman on May 20, 2015, 11:21:57 AM
Fox-

Can you check to see what happens if you delete your select input mapping and reassign it. There might be a bug but I want to be sure. 
Title: Re: cannot get it to run any emulator
Post by: abls1 on May 20, 2015, 11:38:22 AM
I deleted and added a new keyboard button but still nothing happends

The roms list names are now only with out any extensions..

688 Attack Sub
Sonic The Hedgehog
Title: Re: cannot get it to run any emulator
Post by: omegaman on May 20, 2015, 02:05:04 PM
At the beginning of each line in the romlist is the name of the rom that matches exactly the rom names in your folder excluding the .zip or whatever extension. The rest is just information about the rom you want to see in your list. There is no extension like .zip in the romlist because that gets passed from the front-end emulator config to the emulator. But, the romlist you posted looked ok as long as the rom name matched with what you have in your rom folder.

#Name;Title;Emulator;CloneOf;Year;Manufacturer;Category;Players;Rotation;Control;Status;DisplayCount;DisplayType
3 Ninjas Kick Back (USA);3 Ninjas Kick Back (USA);fusion;;1994;Malibu;Action;;;;;;
6-Pak (USA);6-Pak (USA);fusion;;1996;Sega;Miscellaneous;;;;;;
688 Attack Sub (USA, Europe);688 Attack Sub (USA, Europe);fusion;;1991;Sega;Simulation;;;;;;
AAAHH!!! Real Monsters (USA);AAAHH!!! Real Monsters (USA);fusion;;1995;Realtime Associates;Action;;;;;;
ATP Tour Championship Tennis (USA);ATP Tour Championship Tennis (USA);fusion;;1994;Sega;Sports/Tennis;;;;;;
AWS Pro Moves Soccer (USA);AWS Pro Moves Soccer (USA);fusion;;1993;ASCII Entertainment;Sports/Soccer;;;;;;
Action 52 (USA) (Unl);Action 52 (USA) (Unl);fusion;;1993;Farsight Technologies;Miscellaneous;;;;;;
Addams Family Values (Europe);Addams Family Values (Europe);fusion;;1994;Ocean;Role-Playing;;;;;;
Title: Re: cannot get it to run any emulator
Post by: omegaman on May 20, 2015, 02:22:20 PM
abls-

Did you check your attract.cfg at the root. Could you post the input_map part so I can see what is assigned because this is making no sense whatsoever. Here, I am going to upload a genesis.xml file that you can import for your list.
Title: Re: cannot get it to run any emulator
Post by: abls1 on May 20, 2015, 02:45:55 PM
I added the xml file to romlist folder but nothing happend

My attrac.cfg



# Generated by Attract-Mode 1.5.2
#
list   fusion
   layout               attracman
   romlist              fusion
   filter               All
   filter               Favourites
      rule                 Favourite equals 1

list   gens
   layout               attracman
   romlist              gens
   filter               All
   filter               Favourites
      rule                 Favourite equals 1

list   steam
   layout               attracman
   romlist              steam
   filter               All
   filter               Favourites
      rule                 Favourite equals 1

list   nestopia
   layout               attracman
   romlist              nestopia
   filter               All
   filter               Favourites
      rule                 Favourite equals 1

list   mednafen
   layout               attracman
   romlist              mednafen
   filter               All
   filter               Favourites
      rule                 Favourite equals 1

sound
   sound_volume         100
   ambient_volume       100
   movie_volume         100

input_map
   select               E
   random_game          R
   exit                 Escape
   select               LControl
   select               Return
   configure            Tab
   prev_display         Left
   next_display         Right
   up                   Up
   down                 Down
   screenshot           F12
   up                   Joy0 Up
   down                 Joy0 Down
   prev_display         Joy0 Left
   next_display         Joy0 Right
   page_up              Joy0 PovX+
   page_down            Joy0 PovX-
   next_letter          Joy0 Button1
   prev_letter          Joy0 Button2
   exit                 Joy0 Button6
   select               Joy0 Button7
   configure            Joy0 Button8

general
   language             en
   exit_command         
   default_font         verdana
   font_path            %SYSTEMROOT%/Fonts/
   screen_saver_timeout 600
   displays_menu_exit   yes
   hide_brackets        no
   autolaunch_last_game no
   confirm_favourites   no
   mouse_threshold      10
   joystick_threshold   75
   window_mode          default
   filter_wrap_mode     default
   track_usage          yes
   smooth_images        yes
   accelerate_selection yes
   selection_speed_ms   40
   scrape_snaps         yes
   scrape_marquees      yes
   scrape_flyers        yes
   scrape_wheels        yes
   scrape_fanart        no

Title: Re: cannot get it to run any emulator
Post by: omegaman on May 20, 2015, 02:47:40 PM
Update-

I thought there might be a bug but it was just coincidence, I think. Anyway, I deleted my select input mapping and reassigned a different key but it didn't take for some reason. Which means I couldn't select anything on the menu, so I had to kill the task. When I ran AM again, I still couldn't select anything on the menu because the Return wasn't mapped or working. So, I checked my attract.cfg and put the right key I wanted to map for select and it worked fine. I then deleted my input again and was able to delete and reassign a key without any problem. There was definitely a glitch but something that I can't reproduce now. I will put this in the odd but working category.     
Title: Re: cannot get it to run any emulator
Post by: omegaman on May 20, 2015, 03:00:27 PM
Well, that looks OK too. Not sure what to tell you  :p  From what you posted everything looks good. Except for one thing. If you imported the gensis.xml I uploaded then you need make sure the rom names match what's in your rom folder. I know I sound like a broken record but I need to double check everything. 
Title: Re: cannot get it to run any emulator
Post by: abls1 on May 20, 2015, 03:25:37 PM
thanks for your help.. do you have an older version so i'll try that to see if i'ts an input bug!!! select does not work at selecting a game but to select other options works fine
Title: Re: cannot get it to run any emulator
Post by: omegaman on May 20, 2015, 07:42:26 PM
We could try one last thing. Make a copy of the attract.cfg and delete it. When you run AM again it will create a new attract.cfg but you need re-input stuff. But, it doesn't look like you have too much configured anyway. 
Title: Re: cannot get it to run any emulator
Post by: omegaman on May 20, 2015, 07:44:18 PM
Here is the link for the older releases. https://github.com/mickelson/attract/releases (https://github.com/mickelson/attract/releases)
Title: Re: cannot get it to run any emulator
Post by: raygun on May 20, 2015, 08:44:36 PM
I'm using windows 64 not sure if that matters

A bit of a long shot, but are you sure you installed the 64 bit version of Attract-Mode?  I'm pretty sure what is happening t(no emulator being able to run at all) happens if you try running the 32 bit version on windows 64.
Title: Re: cannot get it to run any emulator
Post by: abls1 on May 21, 2015, 12:13:57 AM
Yes.. I'm running windows 7 64 abd AM 64.. I made a new installation with on a new folder but nothing.. I will upload the whole folder and someone can view the files and configurations i made

http://www.mediafire.com/download/rcpok48tnnboaaz/attracmoded151.zip


Title: Re: cannot get it to run any emulator
Post by: akafox on May 21, 2015, 06:25:36 AM
well according to your set up you shouldn't even have a list..if what I am looking at is right.

Code: [Select]
# Generated by Attract-Mode 1.5.1#
executable           D:\attracmoded151\emulation\Fusion364
args                 "[romfilename]" -fullscreen
rompath              D:\attracmoded151\emulation\Fusion364\roms
romext               .sms;.sg;.sc;.mv;.gg;.cue;.bin;.zip
system               Sega Genesis
info_source          thegamesdb.net
artwork    flyer           $HOME/fusion/boxart
artwork    marquee         
artwork    snap            $HOME/fusion/videos;$HOME/fusion/snap
artwork    wheel
[/code]
 you say that your extension is a ".gen" file....but..you do not even have a "gen" extension for your rom extension

Code: [Select]
# Generated by Attract-Mode 1.5.1
#
executable           D:\attracmoded151\emulation\Fusion364.exe
args                 "[romfilename]" -fullscreen
rompath              D:\attracmoded151\emulation\Fusion364\roms
romext               .gen
system               Sega Genesis
info_source          thegamesdb.net
artwork    flyer           $HOME/fusion/boxart
artwork    marquee         
artwork    snap            $HOME/fusion/videos;$HOME/fusion/snap
artwork    wheel

Copy the above as is and try it. Name it fusion.cfg

Also if gen is the only extension you have you can delete the other extensions and leave just that gens
 
Also you must put a ".exe" for your executable file! I fixed that as well up there

Delete your rom list first and then rebuild it using the config file I posted
Title: Re: cannot get it to run any emulator
Post by: abls1 on May 21, 2015, 07:00:48 AM
Not working.. I think my issue is that the enter input does not work at game select.  I can run Emucon with no issues it uses different parameters for launching a game

emucon
http://emuloader.mameworld.info/emucon/

Useful parameters for fullscreen on start and exit
http://www.launchbox-app.com/forum/emulation/command-line-parameters-arguments.

Tried steam games nothing

Can this frontend run any pc game or application?

Thanks for your help be back here is about 8hrs


Title: Re: cannot get it to run any emulator
Post by: akafox on May 21, 2015, 09:01:35 AM
Hmmm...this is one of the times that you need to be there to see what is going on :(

Yes AM will work on any computer or operating system and will start any program (I've done it)

Here is what I want you to do. We need more info to fix this: The things I tell you to type are shown in quotes..DO NOT type the qoutes (i.e. "cmd" you type cmd  <- see..no quotes)

1. I want you to press and hold the windows key and then press the R key to bring up the run dialogue box.
2. Next in the pop-up box I want you to type "cmd"  then press enter
3. In that black screen type "D:\"
4. next Type "cd  D:\attracmoded151\emulation\"
5. Then type "cd  D:\attracmoded151\emulation"
6. Now type "attract.exe" AM should start.
7. Try to start a game.
8. Now exit AM (Esc then quit)
9. That stuff that prints out there from AFTER (or below) attract.exe copy that and paste it here.

That will let us see any errors that pop up. That will help us a lot in helping you.

Title: Re: cannot get it to run any emulator
Post by: abls1 on May 22, 2015, 02:39:28 AM
That command does not work I could not save the text so I took a screenshot

http://www.mediafire.com/view/83w3jxr8dkeoq4u/attrack%20mode.PNG

Maybe for next version make a log file so you can see amy errors.. not sure if attract mode is coded like hyperspin but on that frontend I cannot get any game to run either

Title: Re: cannot get it to run any emulator
Post by: hermine.potter on May 22, 2015, 03:03:05 AM
@abls1
>First:
Please consider that attract.exe is found there:
D:\attracmoded151\attract.exe

and not (like your screenshot tells)
D:\attracmoded151\emulation\attract.exe

It's the wrong folder for the attract.exe

>Second:
I've tested your mediafire-files on another win7 64bit system. It works by modify the fusion.cfg (but i think the sonic-rom is broken. Attack Sub worked fine):

executable           D:\attracmoded151\emulation\Fusion364\fusion.exe
romext               .sms;.sg;.sc;.mv;.gg;.cue;.bin;.zip;.gen

Code: [Select]
# Generated by Attract-Mode 1.5.1
#
executable           D:\attracmoded151\emulation\Fusion364\fusion.exe
args                 "[romfilename]"
rompath              D:\attracmoded151\emulation\Fusion364\roms
romext               .sms;.sg;.sc;.mv;.gg;.cue;.bin;.zip;.gen
system               Sega Genesis
info_source          thegamesdb.net
artwork    flyer           $HOME/fusion/boxart
artwork    marquee         
artwork    snap            $HOME/fusion/videos;$HOME/fusion/snap
artwork    wheel   
Title: Re: cannot get it to run any emulator
Post by: abls1 on May 22, 2015, 03:44:34 AM
@hermine.potter

That code worked in a small window:

http://www.mediafire.com/view/nmm3gsfiejuaa7u/works.PNG

Title: Re: cannot get it to run any emulator
Post by: hermine.potter on May 22, 2015, 04:07:23 AM
Congratulations. The Emulator Fusion364 now starts your game '688 sub attack' successfully!
Set the Arguments (as told many posts ago) to fullscreen and auto. Enjoy:

args                 "[romfilename]" -fullscreen -auto

btw: use this version of fusion364 (your installed version seems not to supporting exit with esc-button)
http://segaretro.org/images/6/6c/Fusion364.7z

And for another emulators the same procedure as every year:
1) Set path to the executable of the emulator & set the name of the executable & set the extension of the executable: 
D:\attracmoded151\emulation\whatever_emulator\whatever.exe

2) Set the arguments of emulator ( use google or emulator website ):
"[romfilename]" -fullscreen -whatever

3) Set rom folder
D:\attracmoded151\emulation\whatever_emulator\roms

4) Set extensions of roms
.zip; .whatever
Title: Re: cannot get it to run any emulator
Post by: akafox on May 22, 2015, 06:28:32 AM
Wow hermine I did not even catch that. you were right I saw that as a version number and thought it was the exe  left off :P I can't get am to work in a VM so i couldn't test it like i should. thanks for your help :)

we got it though...have fun abls1 :)
Title: Re: cannot get it to run any emulator
Post by: omegaman on May 22, 2015, 07:23:15 AM
This is why we always say "test your emulator on the command line first if you are having problems" which I thought was already done. Anyway, congratulations on getting it working. BTW, AM does give you error codes if you have a problem once you exit out it like Fox explained earlier. Good job Mr. Potter...
Title: Re: cannot get it to run any emulator
Post by: abls1 on May 22, 2015, 02:25:23 PM
Thanks to all for your awesome help. I will forsure need help again since I'm new to this frontend