vinaypundith / bettercamp

A super simple script to automate hardware drivers setup for Microsoft Windows on older Apple Macintosh computers
14 stars 3 forks source link

Error while running Python 3.10 #7

Open catchthewind opened 3 months ago

catchthewind commented 3 months ago

I installed Windows 11 PRO Version: 10.0.19041.3636 and then Python 3.10 Tried BootCamp folder in bettercamp-main as well as in root of USB I have Bootcamp 4.0.4033

Every time I run your script I get first step done and then error :( Can you tell me what could be wrong with it?

OUtput and error below:

Python 3.10.0 (tags/v3.10.0:b494f59, Oct 4 2021, 19:00:18) [MSC v.1929 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license()" for more information.

=================== RESTART: D:\bettercamp-main\bettercamp.py ================== MacBookPro5,3 EFI boot mode detected Installing Chainloader to patch nVidia graphics driver bootloop/blank screen when booting in EFI mode Traceback (most recent call last): File "D:\bettercamp-main\bettercamp.py", line 109, in run_boot_camp_installer() File "D:\bettercamp-main\bettercamp.py", line 39, in run_boot_camp_installer bcversion = float(bcversionstring[bcversionstring.find('')+16:bcversionstring.find('CC1222222222222222222222222222222222222222222222222222222222222222222222222222222222222222P')+19]) ValueError: could not convert string to float: ''

catchthewind commented 3 months ago

I have also run linux to check the IDs of GF 9400

line with display has ID pci@0000:03:00.0 display C79 [Geforce 9400M]

line with bridge right BEFORE display has ID pci@0000:00:10.0 bridge MCP79 PCI Express Bridge

Please tell how to fix script error above and also what to put into startup.nsh ??

Thanks

rondog86 commented 2 months ago

other question... where do I get the Autounattend.xml? it says in this repository but I cant find it