Unlocker 2.0.7

This commit is contained in:
I049299 2015-09-16 17:09:59 +01:00
parent 6c8b757129
commit 3c80ee7a67
2 changed files with 7 additions and 6 deletions

View File

@ -10,9 +10,9 @@ If you are using an earlier product please continue using Unlocker 1
Version 2 has been tested against: Version 2 has been tested against:
* Workstation 11 on Windows and Linux * Workstation 11/12 on Windows and Linux
* Player 7 on Windows and Linux * Player 7 & Workstation Player 12 on Windows and Linux
* Fusion 7 on Mavericks and Yosemite * Fusion 7/8 on Mavericks and Yosemite
* ESXi 6.0 * ESXi 6.0
The patch code carries out the following modifications dependent on the product The patch code carries out the following modifications dependent on the product
@ -56,7 +56,7 @@ Latest Linux and ESXi products are OK and do not show this problem.
| IMPORTANT: | | IMPORTANT: |
| ========== | | ========== |
| | | |
| If you create a new VM using version 11 hardware VMware will stop and | | If you create a new VM using version 11 or 12 hardware VMware will stop and |
| create a core dump.There are two options to work around this issue: | | create a core dump.There are two options to work around this issue: |
| | | |
| 1. Change the VM to be HW 10 - this does not affect performance. | | 1. Change the VM to be HW 10 - this does not affect performance. |
@ -156,6 +156,7 @@ History
18/06/15 2.0.5 - ESXi 6 working 18/06/15 2.0.5 - ESXi 6 working
- Latest tools from Fusion 7.1.2 - Latest tools from Fusion 7.1.2
20/06/15 2.0.6 - ESXi 6 patch for smcPresent vCenter compatibility 20/06/15 2.0.6 - ESXi 6 patch for smcPresent vCenter compatibility
16/09/15 2.0.7 - Workstation 12 on Linux fixes
(c) 2011-2015 Dave Parsons (c) 2011-2015 Dave Parsons

View File

@ -198,7 +198,7 @@ def patchkeys(f, vmx, key, osname):
i += 1 i += 1
return smc_old_memptr, smc_new_memptr return smc_old_memptr, smc_new_memptr
def patchsmc(name, osname, so): def patchsmc(name, osname, sharedobj):
with open(name, 'r+b') as f: with open(name, 'r+b') as f:
# Read file into string variable # Read file into string variable
@ -260,7 +260,7 @@ def patchsmc(name, osname, so):
# Find matching RELA record in .rela.dyn in ESXi ELF files # Find matching RELA record in .rela.dyn in ESXi ELF files
# This is temporary code until proper ELF parsing written # This is temporary code until proper ELF parsing written
if so == True: if sharedobj:
print 'Modifying RELA records from: ' + hex(smc_old_memptr) + ' to ' + hex(smc_new_memptr) print 'Modifying RELA records from: ' + hex(smc_old_memptr) + ' to ' + hex(smc_new_memptr)
patchELF(f, smc_old_memptr, smc_new_memptr) patchELF(f, smc_old_memptr, smc_new_memptr)