PDA

View Full Version : Problem getting gamezone2 working



uhale
2008-04-16, 04:17 AM
I've looked carefully for setup of gamezone plugin, but when I try to run mame or zsnes, it flashes back to main gbpvr screen. If I then click on one of the emus again, it will go to where I think the roms should show up, but they don't.
gbpvr log:



2008-04-16 00:08:43.187 VERBOSE [1] GameZone: Activate()
2008-04-16 00:08:43.187 VERBOSE [1] WizUiLabel: ctor- PlacementName: selectedemulatorLabel
2008-04-16 00:08:43.187 VERBOSE [1] WizUiLabel: ctor- PlacementName: NoOFFilesLabel
2008-04-16 00:08:43.187 VERBOSE [1] WizUiLabel: ctor- PlacementName: NoOFPagesFilesLabel
2008-04-16 00:08:43.203 VERBOSE [1] Unexpected error get image from callback (@image): System.InvalidCastException: Unable to cast object of type 'System.String' to type 'GetImageCallback'.
at GBPVRX2.SkinHelper2.getNamedImage(Image image, String name, Hashtable parameters, XmlNode fromNode)
2008-04-16 00:08:43.203 VERBOSE [1] GameZone: Initfilelist routine entered
2008-04-16 00:08:43.218 VERBOSE [1] GameZone: Entering UpdateFilelabels
2008-04-16 00:08:43.218 VERBOSE [1] getValue cached value: /settings/ActiveSkin : blue
2008-04-16 00:08:43.218 VERBOSE [1] GameZone: Displaying file F:\Program Files\Devnz\GBPVR\skin2\blue\gamezone\GameZone.jpg
2008-04-16 00:08:43.218 VERBOSE [1] getValue cached value: /settings/ActiveSkin : blue
2008-04-16 00:08:43.218 VERBOSE [1] GameZone: Initfilelist routine exited
2008-04-16 00:08:43.218 VERBOSE [1] GameZone: Entered DisplayGZMainView
2008-04-16 00:08:43.218 VERBOSE [1] GameZone: Exiting DisplayGZMainView
2008-04-16 00:08:43.218 VERBOSE [1] WizUiButtonList: ctor- PlacementName: ButtonList
2008-04-16 00:08:43.218 VERBOSE [1] WizUiButton: ctor- PlacementName: ButtonList
2008-04-16 00:08:43.218 VERBOSE [1] Skinhelper loading image from file: F:\Program Files\Devnz\GBPVR\skin2\blue\gamezone\button_norma l.png
2008-04-16 00:08:43.234 VERBOSE [1] Skinhelper loading image from file: F:\Program Files\Devnz\GBPVR\skin2\blue\gamezone\button_selec ted.png
2008-04-16 00:08:43.234 VERBOSE [1] WizUiButton: ctor- PlacementName: ButtonList
2008-04-16 00:08:43.234 VERBOSE [1] WizUiButton: ctor- PlacementName: ButtonList
2008-04-16 00:08:43.234 VERBOSE [1] WizUiButton: ctor- PlacementName: ButtonList
2008-04-16 00:08:43.234 VERBOSE [1] WizUiButton: ctor- PlacementName: ButtonList
2008-04-16 00:08:43.234 VERBOSE [1] WizUiButton: ctor- PlacementName: ButtonList
2008-04-16 00:08:43.234 ERROR [1] Failed to find node: /settings/CompositeImages/CompositeImage[@name="ListBox1"]
2008-04-16 00:08:43.234 VERBOSE [1] WizUiList: ctor- PlacementName: ListBox1
2008-04-16 00:08:43.250 VERBOSE [1] loading /settings/Placements/Placement[@name="ListBox1"]
2008-04-16 00:08:43.250 VERBOSE [1] Skinhelper loading image from file: F:\Program Files\Devnz\GBPVR\skin2\blue\gamezone\ListBackgrou nd.png
2008-04-16 00:08:43.265 VERBOSE [1] GameZone: Activate() complete.
2008-04-16 00:08:43.437 VERBOSE [1] Creating new GBPVRUiElement (selected)
2008-04-16 00:08:43.437 VERBOSE [1] Creating new GBPVRUiElement (normal)
2008-04-16 00:08:43.437 VERBOSE [1] Creating new GBPVRUiElement (normal)
2008-04-16 00:08:43.437 VERBOSE [1] Creating new GBPVRUiElement (normal)
2008-04-16 00:08:43.437 VERBOSE [1] Creating new GBPVRUiElement (normal)
2008-04-16 00:08:43.437 VERBOSE [1] Creating new GBPVRUiElement (normal)
2008-04-16 00:08:43.437 VERBOSE [1] loading /settings/Placements/Placement[@name="ListBox1"]
2008-04-16 00:08:45.609 VERBOSE [1] original location: {X=102,Y=97} translated to: {X=9.960938, Y=12.63021}
2008-04-16 00:08:45.640 VERBOSE [1] GameZone: Entering Control_OnKeyDown, command rx = Mame
2008-04-16 00:08:45.640 VERBOSE [1] GameZone: Command Received as per keymappings = GameZone_Enter
2008-04-16 00:08:45.640 VERBOSE [1] WizUiButtonList: ctor- PlacementName: ButtonList
2008-04-16 00:08:45.640 VERBOSE [1] WizUiButton: ctor- PlacementName: ButtonList
2008-04-16 00:08:45.640 VERBOSE [1] WizUiButton: ctor- PlacementName: ButtonList
2008-04-16 00:08:45.640 VERBOSE [1] WizControlManager: UpdateControl()- BEGIN
2008-04-16 00:08:45.640 VERBOSE [1] WizControlManager: UpdateControl()- Located control-ButtonList
2008-04-16 00:08:45.640 VERBOSE [1] WizUiButtonList: Dispose()- ButtonList
2008-04-16 00:08:45.640 VERBOSE [1] WizUiButton: Dispose()- ButtonList
2008-04-16 00:08:45.656 VERBOSE [1] WizUiButton: Dispose()- ButtonList
2008-04-16 00:08:45.656 VERBOSE [1] WizUiButton: Dispose()- ButtonList
2008-04-16 00:08:45.656 VERBOSE [1] WizUiButton: Dispose()- ButtonList
2008-04-16 00:08:45.656 VERBOSE [1] WizUiButton: Dispose()- ButtonList
2008-04-16 00:08:45.656 VERBOSE [1] WizUiButton: Dispose()- ButtonList
2008-04-16 00:08:45.656 VERBOSE [1] WizControlManager: UpdateControl()- END: Replaced: ButtonList
2008-04-16 00:08:45.656 VERBOSE [1] GameZone: Entering UpdateFilelabels
2008-04-16 00:08:45.656 VERBOSE [1] getValue cached value: /settings/ActiveSkin : blue
2008-04-16 00:08:45.656 VERBOSE [1] GameZone: Displaying file F:\Program Files\Devnz\GBPVR\skin2\blue\gamezone\Mame.jpg
2008-04-16 00:08:45.656 VERBOSE [1] getValue cached value: /settings/ActiveSkin : blue
2008-04-16 00:08:45.656 VERBOSE [1] GameZone: Entering getROMsystemNames
2008-04-16 00:08:45.656 VERBOSE [1] GameZone: Entered getROMPathNames
2008-04-16 00:08:45.656 INFO [1] GameZone: selected Filename =
2008-04-16 00:08:45.765 VERBOSE [1] ReturnToMainMenu()
2008-04-16 00:08:45.765 VERBOSE [1] GameZone is currently active
2008-04-16 00:08:45.765 VERBOSE [1] GameZone.Deactivate() called
2008-04-16 00:08:45.765 VERBOSE [1] GameZone: Deactivated
2008-04-16 00:08:45.765 VERBOSE [1] GameZone: Exited Deactivated
2008-04-16 00:08:45.765 VERBOSE [1] Creating new GBPVRUiElement (selected)
2008-04-16 00:08:45.765 VERBOSE [1] Creating new GBPVRUiElement (normal)
2008-04-16 00:08:45.765 VERBOSE [1] ReturnToMainMenu()@2
2008-04-16 00:08:45.765 VERBOSE [1] System.ArgumentNullException: Value cannot be null.
Parameter name: path
at System.IO.File.OpenText(String path)
at GameZone.GameZone.GameZoneTask.getROMPathNames()
at GameZone.GameZone.GameZoneTask.getROMsystemNames(S tring systemname)
at GameZone.GameZone.GameZoneTask.Controls_OnKeyDown( KeyEventArgs e)
at GameZone.GameZone.GameZoneTask.OnKeyDown(KeyEventA rgs e)
at GameZone.GameZone.GameZoneTask.OnUiClick(PointF location)
at GBPVRX2.MenuTask.x0be92cb4e3ac1817.OnUiClick(Point F location)
at GBPVRX2.x0061b801bdf12d35.xf1b04f0b61b2ba29(Object xdf2e3583f942db7b, MouseEventArgs xc4f45905cb1fc7ba)
at System.Windows.Forms.Control.OnMouseClick(MouseEve ntArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
at System.Windows.Forms.ContainerControl.WndProc(Mess age& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at GBPVRX2.x0061b801bdf12d35.WndProc(Message& m)
2008-04-16 00:08:48.406 VERBOSE [1] original location: {X=476,Y=356} translated to: {X=46.48438, Y=46.35416}
2008-04-16 00:08:48.406 VERBOSE [1] GameZone: Activate()
2008-04-16 00:08:48.406 VERBOSE [1] GameZone: Activate() complete.
2008-04-16 00:08:50.437 VERBOSE [1] original location: {X=114,Y=89} translated to: {X=11.13281, Y=11.58854}
2008-04-16 00:08:50.437 VERBOSE [1] GameZone: Entering Control_OnKeyDown, command rx = Game Info
2008-04-16 00:08:50.437 VERBOSE [1] GameZone: Command Received as per keymappings = GameZone_Enter


-------I cut out a bunch of log info here, nothing looked important----------


2008-04-16 00:08:55.875 VERBOSE [1] GameZone: Entering UpdateFilelabels
2008-04-16 00:08:55.875 VERBOSE [1] getValue cached value: /settings/ActiveSkin : blue
2008-04-16 00:08:55.875 VERBOSE [1] GameZone: Displaying file F:\Program Files\Devnz\GBPVR\skin2\blue\gamezone\GameZone.jpg
2008-04-16 00:08:55.875 VERBOSE [1] getValue cached value: /settings/ActiveSkin : blue
2008-04-16 00:08:55.875 VERBOSE [1] Creating new GBPVRUiElement (selected)
2008-04-16 00:08:55.875 VERBOSE [1] Creating new GBPVRUiElement (normal)
2008-04-16 00:08:55.875 VERBOSE [1] Creating new GBPVRUiElement (normal)
2008-04-16 00:08:55.875 VERBOSE [1] Creating new GBPVRUiElement (normal)
2008-04-16 00:08:55.875 VERBOSE [1] Creating new GBPVRUiElement (normal)
2008-04-16 00:08:55.875 VERBOSE [1] Creating new GBPVRUiElement (normal)
2008-04-16 00:08:55.968 VERBOSE [1] ListBox1 renderingRequired.
2008-04-16 00:08:57.312 VERBOSE [1] original location: {X=107,Y=276} translated to: {X=10.44922, Y=35.9375}
2008-04-16 00:08:57.312 VERBOSE [1] GameZone: Entering Control_OnKeyDown, command rx = Main Menu
2008-04-16 00:08:57.312 VERBOSE [1] GameZone: Command Received as per keymappings = GameZone_Enter
2008-04-16 00:08:57.312 VERBOSE [1] ReturnToMainMenu()
2008-04-16 00:08:57.312 VERBOSE [1] GameZone is currently active
2008-04-16 00:08:57.312 VERBOSE [1] GameZone.Deactivate() called
2008-04-16 00:08:57.312 VERBOSE [1] GameZone: Deactivated
2008-04-16 00:08:57.312 VERBOSE [1] GameZone: Exited Deactivated
2008-04-16 00:08:57.312 VERBOSE [1] Creating new GBPVRUiElement (normal)
2008-04-16 00:08:57.312 VERBOSE [1] Creating new GBPVRUiElement (selected)
2008-04-16 00:08:57.312 VERBOSE [1] ReturnToMainMenu()@2
2008-04-16 00:08:58.843 VERBOSE [1] original location: {X=480,Y=400} translated to: {X=46.875, Y=52.08333}
2008-04-16 00:08:58.875 VERBOSE [1] Preparing for shutdown
2008-04-16 00:08:58.890 VERBOSE [1] Exiting...


Any help is appreciated. Thanks!

idkpmiller
2008-04-16, 07:02 AM
Hi,

the line

GameZone: selected Filename =

suggests that you have not added a path for the roms for mame. see the image attached for an example.

uhale
2008-04-16, 01:21 PM
I do have a folder set for roms. There is a txt in the roms folder named dir.txt, do I need to put anything in here?

I downloaded the latest release of Mame and zsnes, which could be the problem.

Attached are two jpegs showing the config for gamezone mame.

idkpmiller
2008-04-17, 12:19 AM
Hi,

Please bare with me while I work through this issue with you.

Firstly you do not have to edit any files called dir.txt so thata No to your question.

It is true that I have not tested the latest versions of the emulators but from what I saw in the logs it points to an issue prior to invoking the actual emulator so its doubtful thaere are the problem.

You may have come across a bug, I have not tested a virgin install, which I am assuming is your scenario!

Could you please provide the config.xml file from your gbpvr directory and also a complete log with GBPVR set to debug mode (first page of the config application)


Thanks

idkpmiller
2008-04-17, 03:24 AM
I have been able to reproduce the bug.

The workaround untill I release an update is to add a second rom directory!

It then works. I spent so much time testing the more complicated features that I had not tested with only a single rom path.
Thanks for your help in finding this bug.

Cheers

idkpmiller
2008-04-17, 11:24 AM
Hi,

I have attached a new gamezone.dll file which needs to be copied to you /gbpvr/plugins/gamezone directory overwriting the existing dll
Once done restart pvrx2 and see if that resolves your issue.

Thanks

uhale
2008-04-17, 08:41 PM
Thanks for your quick response and hard work on GameZone.

Unfortunately, still having trouble. I replaced DLL and added second ROMs directory (I only have 2 Mame roms in each directory).

I can now access the roms via GameZone, but when I click on the rom to play it, not much happens (I can still exit out of the program).

Log and config attached.

uhale
2008-04-17, 08:55 PM
attached

uhale
2008-04-18, 01:32 AM
With zsnes, I get a "directdraw error", don't know if that means anything. It runs fine outside of gamezone.

idkpmiller
2008-04-18, 07:04 AM
Actually I'm a Brit, wannabe Kiwi.... :-D

Ok, taking the next step with Mame, looking at your log I see the line.


GameZone: Mame launched F:\Program Files\Devnz\GBPVR\Gamezone\Mame\Mame.exe "F:\Program Files\Devnz\GBPVR\Gamezone\Mame\roms\lemmings.zip" -screen_aspect

using the line above slightly modified as shown below try to run the command in a dos cmd window and you will see it fails! this is because mame doesnt like the scree aspect arguament without a parameter. YES! you have found another bug. Are you a tester ? I think I should include you for beta testing this bug must have been in there forever!

"F:\Program Files\Devnz\GBPVR\Gamezone\Mame\Mame.exe" "F:\Program Files\Devnz\GBPVR\Gamezone\Mame\roms\lemmings.zip" -screen_aspect


Ok simply enogh to workaround go to the mame configuration and select the correct value for the screen aspect for your TV i.e. dont leave it blank!

Thant hopefully should get mame working.
The new DLL I supplied should mean you dont need to have two rom paths, you should try with one and see if it works ok with the new dll.

I will take a look at what could be causing your issue with Snes.. back in a tick.

idkpmiller
2008-04-18, 07:37 AM
ok for ZSnes, please check the two items below:

1. the application name is zsnesw151.exe i.e the windows version binary not the dos version. 1.51 is the latest version still this hasnt been updated for ages according to the site I visited.

2. if its not 1 above then set your config is similar to mine see below and it should work. If not then please send me a log file showing an attempt at running zsnes similar to the one you sent before for Mame.

cheers

uhale
2008-04-19, 10:15 PM
I'm not a tester, but have done some old school programming (basic and pascal!). I'd be happy to be a beta tester for you in the future.

I uninstalled gamezone completely (as far as I could tell), and then reinstalled with new dll you provided, and I downloaded the latest mame. This time I downloaded the i686 optimized version and had to rename mamepp.exe to Mame.exe.

zsnes worked fine this time, made sure it was windows binary, may have been dos before.

Thanks for the help getting me rolling with your program, I love it so far!

If I run across any more bugs, or if I have any requests, I'll stick 'em on the forum here.

Cheers!

idkpmiller
2008-04-20, 07:10 AM
Thats great to know you are up and running, I am puting together the official next version which has a couple of features but is mainly bug fixes, as I have come across a few of my own as well as the ones you have found.

Appreciate if you take part in the poll, in this forum

Thanks