mirror of
https://gitea.tendokyu.moe/moegrid/sega-mount.git
synced 2026-09-22 22:37:57 +03:00
添加驱动
This commit is contained in:
@@ -39,13 +39,6 @@ compile_commands.json
|
||||
.ninja_log
|
||||
build.ninja
|
||||
|
||||
# ===== 项目运行时产物 =====
|
||||
# overlay差分盘(程序运行时在exe目录生成)
|
||||
overlay.vhd
|
||||
# sgfscrypt驱动文件(构建时拷贝到输出目录)
|
||||
sgfscrypt.sys
|
||||
sgfscrypt.inf
|
||||
|
||||
# ===== 项目私有目录/文件 =====
|
||||
/driver/
|
||||
/refer/
|
||||
|
||||
@@ -0,0 +1,100 @@
|
||||
;
|
||||
; Copyright(C) SEGA
|
||||
;
|
||||
|
||||
[Version]
|
||||
Signature="$Windows NT$"
|
||||
Class=SegaDevice
|
||||
ClassGuid={B8ABDCDF-E252-4733-B478-E6D28B58DE97}
|
||||
Provider=%SEGA%
|
||||
CatalogFile=sgfscrypt.cat
|
||||
DriverVer=10/02/2024,01.04.01.00
|
||||
|
||||
; ********* DestinationDirs *********
|
||||
|
||||
; 名前を変更するファイルが存在する場所、削除するファイルがある場所を指定する。
|
||||
; オプションとして、デフォルトのフォルダを指定することも可能。
|
||||
; デフォルトのフォルダは DestinationDirs 内で指定されていないものが使用する。
|
||||
|
||||
[DestinationDirs]
|
||||
sgfscrypt.Files.Sys.ntamd64 = 12
|
||||
sgfscrypt.Files.Inf = 12
|
||||
|
||||
; ***********************************
|
||||
|
||||
[SourceDisksNames]
|
||||
1 = %DiskName%
|
||||
|
||||
[SourceDisksFiles]
|
||||
sgfscrypt.sys=1,,
|
||||
sgfscrypt.inf=1,,
|
||||
WdfCoInstaller01011.dll=1
|
||||
|
||||
[Manufacturer]
|
||||
%SEGA%=sgfscryptDevice,ntamd64
|
||||
|
||||
[sgfscryptDevice.ntamd64]
|
||||
%sgfscryptDesc% = sgfscryptInstall, sgfscrypt
|
||||
|
||||
; ********* DefaultInstall *********
|
||||
|
||||
[sgfscryptInstall.ntamd64]
|
||||
CopyFiles=sgfscrypt.Files.Sys.ntamd64,sgfscrypt.Files.Inf
|
||||
|
||||
[sgfscryptInstall.ntamd64.Services]
|
||||
AddService = sgfscrypt, %SPSVCINST_ASSOCSERVICE%, sgfscryptServiceInst.ntamd64
|
||||
|
||||
[sgfscryptServiceInst.ntamd64]
|
||||
ServiceType = %SERVICE_KERNEL_DRIVER%
|
||||
StartType = %SERVICE_SYSTEM_START%
|
||||
ErrorControl = %SERVICE_ERROR_NORMAL%
|
||||
DisplayName = %sgfscryptServiceDesc%
|
||||
ServiceBinary = %12%\sgfscrypt.sys
|
||||
|
||||
[sgfscrypt.Files.Sys.ntamd64]
|
||||
sgfscrypt.sys,,,0x00000006
|
||||
|
||||
[sgfscrypt.Files.Inf]
|
||||
sgfscrypt.inf,,,0x00000006
|
||||
|
||||
[Standard.NTamd64.CoInstallers]
|
||||
AddReg=fscryptDeviceCoInstallerAddReg
|
||||
CopyFiles=fscryptDevice_CoInstaller_CopyFiles
|
||||
|
||||
[fscryptDevice.NT.CoInstallers]
|
||||
AddReg=fscryptDeviceCoInstallerAddReg
|
||||
CopyFiles=fscryptDeviceCoInstallerCopyFiles
|
||||
|
||||
[fscryptDeviceCoInstallerAddReg]
|
||||
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01011.dll,WdfCoInstaller"
|
||||
|
||||
; ********* Strings *********
|
||||
[Strings]
|
||||
|
||||
; * Localizable Strings *
|
||||
|
||||
SEGA="SEGA"
|
||||
DiskName = "SEGA fscrypt Installation Disk"
|
||||
sgfscryptDesc = "SEGA fscrypt Device"
|
||||
sgfscryptServiceDesc = "SEGA fscrypt Service"
|
||||
|
||||
; * Non Localizable Strings *
|
||||
|
||||
SPSVCINST_ASSOCSERVICE = 0x00000002
|
||||
|
||||
SERVICE_BOOT_START = 0x0
|
||||
SERVICE_SYSTEM_START = 0x1
|
||||
SERVICE_AUTO_START = 0x2
|
||||
SERVICE_DEMAND_START = 0x3
|
||||
SERVICE_DISABLED = 0x4
|
||||
|
||||
SERVICE_KERNEL_DRIVER = 0x1
|
||||
SERVICE_ERROR_IGNORE = 0x0
|
||||
SERVICE_ERROR_NORMAL = 0x1
|
||||
SERVICE_ERROR_SEVERE = 0x2
|
||||
SERVICE_ERROR_CRITICAL = 0x3
|
||||
|
||||
REG_EXPAND_SZ = 0x00020000
|
||||
REG_DWORD = 0x00010001
|
||||
|
||||
; ***********************************
|
||||
Binary file not shown.
Reference in New Issue
Block a user