Skip to content

Commit

Permalink
Completely re-done settings code.
Browse files Browse the repository at this point in the history
Added feature of saved KeyLists.
Updated included version on ScpVBus
Now requires 64 bit (will msgbox an error if not)
Compiling from now on will only be in 64bit (CEMU already requires it)
  • Loading branch information
CemuUser8 committed Oct 25, 2017
1 parent d8845ed commit 73f8b5d
Show file tree
Hide file tree
Showing 20 changed files with 491 additions and 733 deletions.
Binary file added SavedKeyLists.ini
Binary file not shown.
2 changes: 1 addition & 1 deletion ScpVBus/ScpVBus.inf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%ManufacturerName%
CatalogFile=ScpVBus.cat
DriverVer=08/06/2016,20.13.1.308
DriverVer=09/27/2016,9.11.9.337

[DestinationDirs]
DefaultDestDir = 12
Expand Down
Binary file modified ScpVBus/ScpVBus.sys
Binary file not shown.
1 change: 0 additions & 1 deletion ScpVBus/install.bat

This file was deleted.

Binary file modified ScpVBus/scpvbus.cat
Binary file not shown.
1 change: 0 additions & 1 deletion ScpVBus/uninstall.bat

This file was deleted.

82 changes: 82 additions & 0 deletions ScpVBus/v1.7.1.2/x64/ScpVBus.inf
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
;
; ScpVBus.inf
;

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%ManufacturerName%
CatalogFile=ScpVBus.cat
DriverVer=09/27/2016,9.11.9.337

[DestinationDirs]
DefaultDestDir = 12

; ================= Class section =====================

[SourceDisksNames]
1 = %DiskName%,,,""

[SourceDisksFiles]
ScpVBus.sys = 1,,

;*****************************************
; Install Section
;*****************************************

[Manufacturer]
%ManufacturerName%=SCProductions,NTamd64

[SCProductions.NTamd64]
%ScpVBus.DeviceDesc%=ScpVBus_Device, Root\ScpVBus

[ScpVBus_Device.NT]
CopyFiles=Drivers_Dir

[Drivers_Dir]
ScpVBus.sys

;-------------- Service installation
[ScpVBus_Device.NT.Services]
AddService = ScpVBus,%SPSVCINST_ASSOCSERVICE%, ScpVBus_Service_Inst

; -------------- ScpVBus driver install sections
[ScpVBus_Service_Inst]
DisplayName = %ScpVBus.SVCDESC%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ScpVBus.sys

;
;--- ScpVBus_Device Coinstaller installation ------
;

[DestinationDirs]
ScpVBus_Device_CoInstaller_CopyFiles = 11

[ScpVBus_Device.NT.CoInstallers]
AddReg=ScpVBus_Device_CoInstaller_AddReg
CopyFiles=ScpVBus_Device_CoInstaller_CopyFiles

[ScpVBus_Device_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01009.dll,WdfCoInstaller"

[ScpVBus_Device_CoInstaller_CopyFiles]
WdfCoInstaller01009.dll

[SourceDisksFiles]
WdfCoInstaller01009.dll=1 ; make sure the number matches with SourceDisksNames

[ScpVBus_Device.NT.Wdf]
KmdfService = ScpVBus, ScpVBus_wdfsect
[ScpVBus_wdfsect]
KmdfLibraryVersion = 1.9

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
ManufacturerName="Nefarius Software Solutions"
DiskName = "Scp Virtual Bus Installation Media"
ScpVBus.DeviceDesc = "Scp Virtual Bus Driver"
ScpVBus.SVCDESC = "Scp Virtual Bus Driver"
Binary file added ScpVBus/v1.7.1.2/x64/ScpVBus.sys
Binary file not shown.
Binary file added ScpVBus/v1.7.1.2/x64/WdfCoinstaller01009.dll
Binary file not shown.
Binary file added ScpVBus/v1.7.1.2/x64/devcon.exe
Binary file not shown.
Binary file added ScpVBus/v1.7.1.2/x64/scpvbus.cat
Binary file not shown.
82 changes: 82 additions & 0 deletions ScpVBus/v1.7.1.2/x86/ScpVBus.inf
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
;
; ScpVBus.inf
;

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%ManufacturerName%
CatalogFile=ScpVBus.cat
DriverVer=09/27/2016,9.11.25.89

[DestinationDirs]
DefaultDestDir = 12

; ================= Class section =====================

[SourceDisksNames]
1 = %DiskName%,,,""

[SourceDisksFiles]
ScpVBus.sys = 1,,

;*****************************************
; Install Section
;*****************************************

[Manufacturer]
%ManufacturerName%=SCProductions,NTx86

[SCProductions.NTx86]
%ScpVBus.DeviceDesc%=ScpVBus_Device, Root\ScpVBus

[ScpVBus_Device.NT]
CopyFiles=Drivers_Dir

[Drivers_Dir]
ScpVBus.sys

;-------------- Service installation
[ScpVBus_Device.NT.Services]
AddService = ScpVBus,%SPSVCINST_ASSOCSERVICE%, ScpVBus_Service_Inst

; -------------- ScpVBus driver install sections
[ScpVBus_Service_Inst]
DisplayName = %ScpVBus.SVCDESC%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ScpVBus.sys

;
;--- ScpVBus_Device Coinstaller installation ------
;

[DestinationDirs]
ScpVBus_Device_CoInstaller_CopyFiles = 11

[ScpVBus_Device.NT.CoInstallers]
AddReg=ScpVBus_Device_CoInstaller_AddReg
CopyFiles=ScpVBus_Device_CoInstaller_CopyFiles

[ScpVBus_Device_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01009.dll,WdfCoInstaller"

[ScpVBus_Device_CoInstaller_CopyFiles]
WdfCoInstaller01009.dll

[SourceDisksFiles]
WdfCoInstaller01009.dll=1 ; make sure the number matches with SourceDisksNames

[ScpVBus_Device.NT.Wdf]
KmdfService = ScpVBus, ScpVBus_wdfsect
[ScpVBus_wdfsect]
KmdfLibraryVersion = 1.9

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
ManufacturerName="Nefarius Software Solutions"
DiskName = "Scp Virtual Bus Installation Media"
ScpVBus.DeviceDesc = "Scp Virtual Bus Driver"
ScpVBus.SVCDESC = "Scp Virtual Bus Driver"
Binary file added ScpVBus/v1.7.1.2/x86/ScpVBus.sys
Binary file not shown.
Binary file added ScpVBus/v1.7.1.2/x86/WdfCoinstaller01009.dll
Binary file not shown.
Binary file added ScpVBus/v1.7.1.2/x86/devcon.exe
Binary file not shown.
Binary file added ScpVBus/v1.7.1.2/x86/scpvbus.cat
Binary file not shown.
2 changes: 1 addition & 1 deletion controllerProfiles/vJoyDevice_GamePad.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ rumble = 0.000000
leftRange = 1.000000
rightRange = 1.000000
leftDeadzone = 0.000000
rightDeadzone = 0.330000
rightDeadzone = 0.000000
1 = button_1
2 = button_2
3 = button_4
Expand Down
2 changes: 1 addition & 1 deletion controllerProfiles/vJoyDevice_Pro.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ rumble = 0.000000
leftRange = 1.000000
rightRange = 1.000000
leftDeadzone = 0.000000
rightDeadzone = 0.330000
rightDeadzone = 0.000000
1 = button_1
2 = button_2
3 = button_4
Expand Down
Loading

0 comments on commit 73f8b5d

Please sign in to comment.