Database Question: emulators

Help each other out

Database Question: emulators

Postby fredrickthemouse on Sat Mar 05, 2005 6:46 am

Hey All, New to the XLobby community, Been playing with it and makin' myself a skin for it over the last couple days, I think XLs great and is really fun to play around with.

Anyway, (oh, I'm also new to XML, databases, and all this tricky stuff) But I was lucky enough to get something going on..... This is what I got (thanks to edgley's post: http://www.xlobby.com/forum/viewtopic.php?t=1308)
I used the images database to build one with my NES roms and coverart... works ok, (except I had to manually type in all the entries for the game files and coverart) not such a big deal.... but,

The only way I could get the buttons on the database window (im talking about the actual window on the active skin, don't know what to call it) to work was to go into the DB editor, highlight an item entry, say "dr mario" then on the advance tab add an even like "nes:open dr mario", then go to the Event Manager and make an event "nes:open dr mario" and add "execute file" and list the rom file......

after I entered about 10 games this way I knew there was a way to do this better, the right way to do it..... But beyond what I expained I just dunno what other way to get the same effect......

I was reading stuff on like sending a variable to the actual Emulation program, to get it to open and then open the corrasponding (i know I can't spell) rom.... But I don't know how to do that either. I use JNES as of now, But it wouldn't bother me to use another emulator if JNES doesn't support doing something like that....

Thanks for any or all help.
fredrickthemouse
 
Posts: 4
Joined: Sat Mar 05, 2005 5:57 am
Location: Fairfax, Va

Postby usurpers26 on Wed Jul 20, 2005 2:34 pm

Did you ever find a solution for this? I am trying to find a NES emulator that will let me pass it a variable as well. Or maybe I'm just going about it the wrong way...
usurpers26
 
Posts: 5
Joined: Sun Apr 25, 2004 2:25 pm

Postby Colby on Wed Jul 20, 2005 9:46 pm

Its been awhile since I set up my emulators, but I think all you have to do is take the nes files and associate them to an emulator of choice. Then the nes db category will have a simple execute command attached to it. (if you dont do anything I think it defaults to this) As far as emulators that allow us to pass variables I cant think of any. If I ever have time again I am planning on revamping my emulators. I wonder if you couldnt use xmovewindow plugin for emus.

..to work was to go into the DB editor, highlight an item entry, say "dr mario" then on the advance tab add an even like "nes:open dr mario", then go to the Event Manager and make an event "nes:open dr mario" and add "execute file" and list the rom file...... after I entered about 10 games this way I knew there was a way.....


Just add the execute file to the category not each entry. It will save you a lot of trouble.
Colby
 
Posts: 929
Joined: Mon Feb 02, 2004 7:42 am
Location: Brookline Station, MO, USA

Postby usurpers26 on Fri Jul 22, 2005 12:53 pm

Actually, I got all my NES roms to work. It was rather easy...I just wasn't paying attention :)

Using Nestopia, I setup an "execute file" when you click on a game. My problem was that I was passing %games>parameter% to Nestopia for the name of the rom. %parameter% ended up containing the enitre path of the rom, Nestopia did not like this. I just created another field with the name of the rom, %rom% and passed %games>rom% to Nestopia.
usurpers26
 
Posts: 5
Joined: Sun Apr 25, 2004 2:25 pm