Jump to content

Recommended Posts

  • Content Provider
Posted
On 12/12/2024 at 9:51 PM, KiwiBri said:

 

 

ah. so I need to pull the complete PIN2DMD branch from GitHub and replace that on my machine? Ok, I'll give that a in a bit and report back 
Thanks.

 

 

ep_desktop_pygame.py should be the only difference

Posted
On 12/14/2024 at 2:41 PM, lucky1 said:

 

ep_desktop_pygame.py should be the only difference

 

Yes, correct. 

Ok, so for the past few days I was out of town, then had a cold and now had a few days to look at this. 

Firstly I have not had much success. 

 

Here's where I stand:

 

I replaced the code in   ep_desktop_pygame.py  as  follows:

 

def __init__(self):     ===>     def __init__(self, windowless=False):

 

This got ride of the error that was being show before:

Capture.PNG.1f6fdc5deb769ca1655286e22a187404.PNG

 

Now we get this error:

Capture1..PNG.05ab87ed0ee113e51533186728f93a4c.PNG

 

 

and checking the log file:

 

Capture2.thumb.PNG.ca24eaaad69f654b1c09b8d4c2e63466.PNG

 

 

It seems to indicate that the USB is not found. 

But I have installed the USB...

 

Capture3.PNG.d0e872fc56e9252bbc8ca870de5a6cde.PNG

 

 

 

I'm all out of ideas.

 

 

 

 

 

  • Content Provider
Posted (edited)
10 hours ago, KiwiBri said:

I replaced the code in   ep_desktop_pygame.py  as  follows:

 

def __init__(self):     ===>     def __init__(self, windowless=False):

 

Why did you edit the code ?  The last recommendation was replacing the ep_desktop_pygame.py with the one from the pin2dmd branch or trying the complete pin2dmd branch.

Edited by lucky1
Posted
7 hours ago, lucky1 said:

 

Why did you edit the code ?  The last recommendation was replacing the ep_desktop_pygame.py with the one from the pin2dmd branch or trying the complete pin2dmd branch.

 

Oh, I was trying to diagnose the "windowless" error that we were getting before that. 
 

using the pin2dmd branch and/or replacing the ep_desktop_pygame.py fails as mentioned before. 🤷🏽‍♂️

 

I've installed everything from scratch 3 times and its always the same issue.

Posted
20 hours ago, lucky1 said:

Maybe your installation can´t find/access the libusb1.dll ? 

Is it blocked . Maybe try copying it to C:\Windows\System32\

 

Maybe this discussion helps https://stackoverflow.com/questions/13773132/pyusb-on-windows-no-backend-available

 

Ok, copied to C:\Windows\System32\

 

Started seeing this error, so thats some progress?  Seems to be that the USB is being blocked.. 

 

USB_permission_Capture.thumb.PNG.f464bb733b5864b19fb92c76417753d7.PNG

 

I have given the libusb1.dll full permission in the c:windows\system32 folder.. 

 

can't for the life of me think what else is blocking it?

 

 

Posted (edited)

Update!!!

 

I left it for a bit, went to lunch and thought I would try again.. and now, through a sheer combination of luck and other events I have a working system!

 

So.. here's the working scenario. 

 

The permission I setting must have worked, as I am no longer getting "insufficient permissions" error.  

I have the USB dlls in the c:\windows\system32 folder 

I changed my USB Driver to this:

 

USBupdatedCapture.PNG.63f9e6243f5eac7b3e0967feb45d18f1.PNG

 

 

I am using  the following still in the  ep_desktop_pygame.py :

 

def __init__(self):     ===>     def __init__(self, windowless=False):

 

If I remove the "windowless=False" code, I get an error. 

 

 

The DMD is being shown on the Pin2DMD now and I am able to play the game. 

 

@lucky1 thanks for the help and pointers in getting this going.  

 

So the only catch now with running CCC to to have the correct core.vbs swapped in when running. 

 

 

see ...

 

 

 

or 

 

 

 

 

 

 

 

 

 

 

 

 

 

Edited by KiwiBri
  • 2 months later...
Posted (edited)

My working CCC table with pup pack was working well until recently, on Windows 10 and 11. I believe the culprit is the Windows update 24h2 and maybe the latest. 

VP 10.8.0 Changelog

LIMITATIONS:
 

Broken PROC support

it may be prudent if someone updated the installer, if anyone has the time and expertise which is well out of date with the latest python files, at least 

 

 

Edited by fourbanks

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...