0% found this document useful (0 votes)
49 views1 page

Emu

The document provides instructions for compiling an emulator driver and installing it on Windows. It describes: 1. Editing batch files to set paths for the driver source, Windows DDK, and compiling debug vs release builds. 2. Running batch files to compile, install, and uninstall the driver. 3. How the installed driver will scan the registry and create virtual USB devices for each key found. 4. A utility that can plug and unplug the virtual USB devices and restart the driver. It also provides two methods for installing the emulator driver files - manually through Device Manager or automatically with a batch file using devcon.exe.

Uploaded by

Mohamed Ahmed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views1 page

Emu

The document provides instructions for compiling an emulator driver and installing it on Windows. It describes: 1. Editing batch files to set paths for the driver source, Windows DDK, and compiling debug vs release builds. 2. Running batch files to compile, install, and uninstall the driver. 3. How the installed driver will scan the registry and create virtual USB devices for each key found. 4. A utility that can plug and unplug the virtual USB devices and restart the driver. It also provides two methods for installing the emulator driver files - manually through Device Manager or automatically with a batch file using devcon.exe.

Uploaded by

Mohamed Ahmed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

To compile emulator:

1. Change path in files "chk make.bat", "free make.bat" in this lines: set
SRC_DRIVE=C: set SRC_PATH=22\bus set DDK_PATH=D:\WINDDK\2600.1106 ,
where SRC_DRIVE - disk drive letter, where sources are located SRC_PATH - path
to .\bus directory, DDK_PATH - path to Windows XP DDK directory.

2. Execute "chk make.bat" for make debug build or "free make.bat" for make release
build.

3. For device driver installation execute "chk install.bat" to install debug build or
"free install.bat" to install release build of driver.

On run driver once scan registry key \Registry\MACHINE\System\CurrentControlSet\


Services\Emulator\HASP\Dump , read dumps of all keys and create virtual USB-keys for
each dump. For success execution of this phase you need to have already Aladdin HASP
device driver installed.

4. For "unplug" all virtual USB-keys you can execute file "unplug all.bat", which call
enum.exe to do this task. With help of last program you can not only "unplug"
keys, but also "plug" it, see .\Controller\enum.exe /?.

in the general case for rebuilding list of avalible USB-keys according to registry state you
can restart driver (see p. 3) or use enum.exe utility (see p. 4).

Emulator installation:

1. To install emulator you need 3 files: .\Inf\vusbbus.cat .\Inf\vusbbus.inf .\Inf\


VUsbBus.sys , ãäå VUsbBus.sys - compiled from sources driver.

You can install this driver in two ways:

1. First method: 3.1. Run\Settings\Control panel\Device installation 3.2. Yes, device


is already connected 3.3. Add new device 3.4. Install device from list manually 3.5.
System devices 3.6. Install from a disk...\Browse... 3.7. Locate .\Inf directory, then
"Îê".

2. Second method: add to .\Inf directory file devcon.exe and .bat-files with this
content: Install.bat: @echo off devcon remove root\vusbbus devcon install
vusbbus.inf root\vusbbus

You might also like