2011-12-30, 06:14
Fresh install of pcsx2 + ISO's - works a charm thx!!
nekoarashi Wrote:Fresh install of pcsx2 + ISO's - works a charm thx!!Great!!!!
Angelscry Wrote:As I already write to you, if you want XBMC to correctly regain focus you must activate the Use a fullscreen window rather than true fullscreen option that is present into XBMC system settings.
If you do not want to use the fullscreen window mode of XBMC, then you will have to restore XBMC focus by using an external launcher (.bat or autoit). In your case (PowerDVD 11) you can create and use this small autoit script :
How to proceed :Code:Run ( "C:\Program Files (x86)\CyberLink\PowerDVD11\PDVDLaunchPolicy.exe" )
ProcessWaitClose ( "PDVDLaunchPolicy.exe" )
ProcessWaitClose ( "PowerDVD11.exe" )
ProcessWaitClose ( "PowerDVDCinema11.exe" )
WinSetState ( "XBMC", "", @SW_MAXIMIZE )
- Install Autoit on your system (freeware),
- Save the previous script as launcher-powerdvd11.au3 (for example),
- Right clic on launcher-powerdvd11.au3 and compile it as launcher-powerdvd11.exe,
- Modify your launcher by selecting launcher-powerdvd11.exe file instead of PDVDLaunchPolicy.exe.
Muyfa666 Wrote:I don't want to be rude, but I have tried it with the setting "use a fullscreen window...". The only difference is that I can see XBMC in the background instead of it being minimized, but it is still out of focus.No problem... I was just able to reproduce your problem on my Windows 7 system by activating the "true fullscreen" mode of XBMC... what's why I want to be sure it was not the problem.
But as you are saying, the focus problem may very well be a problem limited to my computers.
dsync89 Wrote:I'm currently using Cirrus extended mod v2 and I'm just wondering how does this plugin read the extrafanarts. I had put some images into the folder, set the extrafanart to point to that folder, but the fanart doesn't seemed to change? What are the naming convention to be used? Currently I created each extrafanart folder for each PS2 roms.Advanced Launcher have effectively a extrafanart parameter for each launcher. Unfortunately, skins are not using it... To use extrafanart with Cirrus Extented skin... just read the instruction here : http://www.gwenael.org/forum/viewtopic.php?pid=341#p341
dsync89 Wrote:Another feature that would be great is to scrape the games based on folder name instead of the filename, which is what I did to organize my roms (1 folder for each game).All the Advanced Launcher code is based on executables (launchers) and files managed by these executables (items). Item recognition by scrapper is based of the executable/item filenames. Base Advanced Launcher on folder name do not really make sens. Advanced Launcher manage files, not folder. If you really want to keep your folder structure, you can activate the "recursive scan" option of Advanced Launcher and name your files (items, thumbs and fanarts) with the name of the game.
dsync89 Wrote:Oh and I'm also having script error: addon.py whenever I tried to fetch thumbnail or fanart for the launcher.This could happen if you do not have define where will be saved the thumbs and fanarts images of each launcher. By default these images are saved into the same directory of the executable files... but if the XBMC user you do not have write access to this directory... you will have a error. That's a supposition, until I cannot take a look at your launchers.xml and xbmc.log files.
02:26:28 T:7624 INFO: -->Python script returned the following error<--
02:26:28 T:7624 ERROR: Error Type: <type 'exceptions.TypeError'>
02:26:28 T:7624 ERROR: Error Contents: not enough arguments for format string
02:26:28 T:7624 ERROR: Traceback (most recent call last):
File "C:\Users\Gary2\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\addon.py", line 19, in <module>
plugin.Main()
File "C:\Users\Gary2\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py", line 136, in __init__
self._edit_launcher(launcher)
File "C:\Users\Gary2\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py", line 715, in _edit_launcher
self._scrap_thumb_launcher(launcherID)
File "C:\Users\Gary2\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py", line 418, in _scrap_thumb_launcher
xbmc.executebuiltin("XBMC.Notification(%s,%s, 3000)" % (__language__( 30000 ), __language__( 30065 ) % (self.settings[ "thumbs_scraper" ]).encode('utf-8','ignore')))
TypeError: not enough arguments for format string
02:26:28 T:7624 INFO: -->End of Python script error report<--
02:26:28 T:7624 INFO: Python script stopped
<launcher>
<id>bd2eb1eec016df9f8923b28eb8e72b1d</id>
<name>Anno 1404 Gold Edition</name>
<application>C:\Program Files (x86)\UBISOFT\Related Designs\ANNO 1404\Anno4.exe</application>
<args></args>
<rompath></rompath>
<thumbpath>C:\XBMC Thumbs\</thumbpath>
<fanartpath>C:\XBMC Fanarts\</fanartpath>
<extrafanartpath>C:\XBMC Fanarts\</extrafanartpath>
<romext></romext>
<platform>IBM PC Compatible</platform>
<thumb></thumb>
<fanart></fanart>
<genre>Miscellaneous</genre>
<release>2010</release>
<publisher>Related Designs / Ubisoft</publisher>
<launcherplot>Anno 1404 Gold Edition is a Compilation game‚ developed by Related Designs and published by Ubisoft‚ which was released in Europe in 2010.</launcherplot>
<minimize>true</minimize>
<lnk>true</lnk>
<roms>
</roms>
</launcher>
dsync89 Wrote:Thanks for the reply Angelscry, it really answers all my questions.Thank you for the feedback. I will try to fix this as soon as possible (maybe I'm already fixing this). Do you use XBMC with English or another language? Most of the translation files into Advanced Launcher are actually broken (not updated by foreign languages users). If you use XBMC with English language do you still have the same error?
I had set the path to the proper ones and I do have permission to read and write to it. Anyway here is the log file.
http://pastebin.com/bPUmbebp
I believe the following error is causing it.
Code:02:26:28 T:7624 INFO: -->Python script returned the following error<--
02:26:28 T:7624 ERROR: Error Type: <type 'exceptions.TypeError'>
02:26:28 T:7624 ERROR: Error Contents: not enough arguments for format string
02:26:28 T:7624 ERROR: Traceback (most recent call last):
File "C:\Users\Gary2\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\addon.py", line 19, in <module>
plugin.Main()
File "C:\Users\Gary2\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py", line 136, in __init__
self._edit_launcher(launcher)
File "C:\Users\Gary2\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py", line 715, in _edit_launcher
self._scrap_thumb_launcher(launcherID)
File "C:\Users\Gary2\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py", line 418, in _scrap_thumb_launcher
xbmc.executebuiltin("XBMC.Notification(%s,%s, 3000)" % (__language__( 30000 ), __language__( 30065 ) % (self.settings[ "thumbs_scraper" ]).encode('utf-8','ignore')))
TypeError: not enough arguments for format string
02:26:28 T:7624 INFO: -->End of Python script error report<--
02:26:28 T:7624 INFO: Python script stopped
Code:<launcher>
<id>bd2eb1eec016df9f8923b28eb8e72b1d</id>
<name>Anno 1404 Gold Edition</name>
<application>C:\Program Files (x86)\UBISOFT\Related Designs\ANNO 1404\Anno4.exe</application>
<args></args>
<rompath></rompath>
<thumbpath>C:\XBMC Thumbs\</thumbpath>
<fanartpath>C:\XBMC Fanarts\</fanartpath>
<extrafanartpath>C:\XBMC Fanarts\</extrafanartpath>
<romext></romext>
<platform>IBM PC Compatible</platform>
<thumb></thumb>
<fanart></fanart>
<genre>Miscellaneous</genre>
<release>2010</release>
<publisher>Related Designs / Ubisoft</publisher>
<launcherplot>Anno 1404 Gold Edition is a Compilation game‚ developed by Related Designs and published by Ubisoft‚ which was released in Europe in 2010.</launcherplot>
<minimize>true</minimize>
<lnk>true</lnk>
<roms>
</roms>
</launcher>
dsync89 Wrote:Thanks for the reply Angelscry, it really answers all my questions.Ok... It's my fault. Last version bring this bug... It will be fixed in the next version.... maybe before the end of the day.
I had set the path to the proper ones and I do have permission to read and write to it. Anyway here is the log file.
http://pastebin.com/bPUmbebp
I believe the following error is causing it.
Code:02:26:28 T:7624 INFO: -->Python script returned the following error<--
02:26:28 T:7624 ERROR: Error Type: <type 'exceptions.TypeError'>
02:26:28 T:7624 ERROR: Error Contents: not enough arguments for format string
02:26:28 T:7624 ERROR: Traceback (most recent call last):
File "C:\Users\Gary2\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\addon.py", line 19, in <module>
plugin.Main()
File "C:\Users\Gary2\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py", line 136, in __init__
self._edit_launcher(launcher)
File "C:\Users\Gary2\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py", line 715, in _edit_launcher
self._scrap_thumb_launcher(launcherID)
File "C:\Users\Gary2\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py", line 418, in _scrap_thumb_launcher
xbmc.executebuiltin("XBMC.Notification(%s,%s, 3000)" % (__language__( 30000 ), __language__( 30065 ) % (self.settings[ "thumbs_scraper" ]).encode('utf-8','ignore')))
TypeError: not enough arguments for format string
02:26:28 T:7624 INFO: -->End of Python script error report<--
02:26:28 T:7624 INFO: Python script stopped
Code:<launcher>
<id>bd2eb1eec016df9f8923b28eb8e72b1d</id>
<name>Anno 1404 Gold Edition</name>
<application>C:\Program Files (x86)\UBISOFT\Related Designs\ANNO 1404\Anno4.exe</application>
<args></args>
<rompath></rompath>
<thumbpath>C:\XBMC Thumbs\</thumbpath>
<fanartpath>C:\XBMC Fanarts\</fanartpath>
<extrafanartpath>C:\XBMC Fanarts\</extrafanartpath>
<romext></romext>
<platform>IBM PC Compatible</platform>
<thumb></thumb>
<fanart></fanart>
<genre>Miscellaneous</genre>
<release>2010</release>
<publisher>Related Designs / Ubisoft</publisher>
<launcherplot>Anno 1404 Gold Edition is a Compilation game‚ developed by Related Designs and published by Ubisoft‚ which was released in Europe in 2010.</launcherplot>
<minimize>true</minimize>
<lnk>true</lnk>
<roms>
</roms>
</launcher>
dsync89 Wrote:Thanks very much for the quick fix Angelscry. That was fast. Tested it and it worked flawlesslyThank you also for your complete feedback that allows me to quickly identify the problem and fix it.
Gingerbread Man Wrote:If I use this to launch PowerDVD from XBMC for Blu Ray purposes, I'm assuming it launches if I insert a blu Ray and press play? Or will it be a menu item, or will I have to go deep in XBMC, into the launcher program, select PowerDVD and then hopefully I'll be there?Advanced Launcher only start applications that have been selected and configured as launchers. So, basically you will have to select the PowerDVD entry into Advanced Launcher items list to start PowerDVD and then read your blu-ray with it. You could add PowerDVD entry as favorite into XBMC and then have the possibility to add it as a XBMC custom menu item.
Gingerbread Man Wrote:Also, odd question, what happens when the Blu Ray has finished, how do I get back to XBMC with my Harmony one contoller?I'm not a PowerDVD user, but when the Blu-ray is finished you may return back to the PowerDVD interface. Maybe there is an option into PowerDVD to automatically close it after blue-ray reading. In this case you will automatically return back to XBMC. Concerning your Harmony one controller you may be able to map a key to automatically close PowerDVD. Personally, under Windows I have mapped the "STOP" key of my remote to send "ESC" key press to windows (but I have a PS3 remote). Then I have written a small Autoit script that force applications to close (http://www.gwenael.org/forum/viewtopic.php?id=43). Under linux I'm using lircd functionalities to kill specific processes when the "STOP" key of the remote is pressed.
Gingerbread Man Wrote:I currently use a Logitech Mini Dinovo keyboard to close XBMC and load PowerDVD. Honest answer, would this still be the quickest and easiest way?You can try to create a small autoit script that will start PowerDVD and then will close it when a keyboard key will be pressed. Then you will have to map one button of you remote to with keyboard key : ESC key and STOP button seems logical for me. Here is the possible autoitscript :
HotKeySet("{ESC}", "Terminate")
Run ( '"C:\Program Files (x86)\CyberLink\PowerDVD11\PDVDLaunchPolicy.exe" E:', "C:\Program Files (x86)\CyberLink\PowerDVD11\" )
While 1
Sleep(100)
WEnd
Func Terminate()
ProcessClose ( "PowerDVD11.exe" )
Exit 0
EndFunc