2012-12-31, 21:02
(2012-12-31, 08:15)rtwolfe Wrote: Hi Anglescry: Thanks for the quick feedback. It all gets pretty fuzzy. Was very tired this week trying to get this working.There is effectively an error into the script. Sorry, but the right synthax is not the one you have provided. The right one is :
I just tried using your code, with a small tweak. I think it needed a single tick just inside the last paren and Autoit seemed content.
Run('"E:\NES\NEStopia\nestopia.exe" "' & $CmdLine[1] & '", ""')
Code:
...
Run('"E:\NES\NEStopia\nestopia.exe" "' & $CmdLine[1] & '"', "")
...
(2012-12-31, 08:15)rtwolfe Wrote: However, when I went thru the rest of my steps with your more generic script, ... making exe, making UAC free shortcut, and then linking that into Advanced launcher then add my zip ROMS, I got a Script failed - addon.PY error in XBMC when I tried to launch the game.No, the Script failed - addon.PY error message is an internal XBMC error message linked to Advanced Launcher and not at all related to what happen outside XBMC (.bat, script file or UAC). If the error message occurs again PLEASE post just after the content of your xbmc.log file, so I will be able to tell you what is going wrong, and if it is an Advanced Launcher bug, I will be able to fix it.
I remember running into this same issue while I was trying to get games to run in XBMC last week. I played around with bat files and tested different approaches. It looked like the error might be tied to the UAC issue? But I could make it work, did NOT get the addon.PY error, if I did NOT pass a parameter. So, not knowing a better alternative, I just put the zip game file name in each script and compiled each, yada yada.
If your parameters are not passed correctly to your script, it could be only linked to 2 causes :
- You do not have indicated the right arguments into Advanced Launcher (in this case, post the content or your launchers.xml file that contain launchers configuration),
- Your script do not receive/use the arguements correctly and must be fixed/corrected (like I have just done for your script).
If you start several roms/items using the same emulator/application there is no need to create one script of each game... definitively not.
(2012-12-31, 11:28)Mudislander Wrote: I'm having a few problems with adding support into Hybrid do to lack of content. Thought I'd ask if anyone has a collection of fake nfo's, icons and fanart that I could use. Thanks in advance.To be honest it will be more easy for you to create a launcher than trying to install fake information on your system. You just have create fake console game files (named for ex : mario bros.zip, zelda.zip) then create a file launcher pointing to a fake application (any executable you want), indicate the fake console game files directory. Then setup scrapers... then scan for new items. It take less than 5 min to do this. Look at this youtube tutorial : http://www.youtube.com/watch?v=vDjA68OY0wM