Giter Club home page Giter Club logo

yrdynamicpatcher's People

Contributors

chrislv-cn avatar pzhlkj6612 avatar xkein avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

yrdynamicpatcher's Issues

DynamicPatcher 2.1 with Dionysus 0.1 示例的脚本不能正常使用?

下载了DynamicPatcher 2.1 with Dionysus 0.1的文件DP-Dionysus.0.114514.zip,
我删除了游戏目录里原来的DynamicPatcher文件和DynamicPatcher 目录后,把DP-Dionysus.0.114514目录里的文件拷贝过去。
但是按照示例里的
[MTNK]
Scripts=MTNKScript.cs
FireSuperWeapon=NukeSpecial
写入规则文件后,脚本调用失败,请问是哪里的问题。还是说DP-Dionysus.0.114514 目录里的文件存放路径不对?

启动出错[Error] Message: 路径中具有非法字符。

DP添加的功能在ini中不生效,且开启后不能动态修改 路径中无中文,特殊字符

working directory: D:\BaiduNetdiskDownload\YurisRevengeIncomplete\Game\DynamicPatcher
loading configs...
try-catch callable: True
initializing CompilationManager...
loading solution: D:\BaiduNetdiskDownload\YurisRevengeIncomplete\Game\DynamicPatcher\Projects\Projects.sln
add project: D:\BaiduNetdiskDownload\YurisRevengeIncomplete\Game\DynamicPatcher\Projects\PatcherYRpp\PatcherYRpp.csproj
add project: D:\BaiduNetdiskDownload\YurisRevengeIncomplete\Game\DynamicPatcher\Projects\PatcherYRpp.Utilities\PatcherYRpp.Utilities.csproj
add project: D:\BaiduNetdiskDownload\YurisRevengeIncomplete\Game\DynamicPatcher\Projects\Extension\Extension.csproj
add project: D:\BaiduNetdiskDownload\YurisRevengeIncomplete\Game\DynamicPatcher\Projects\Extension.FX\Extension.FX.csproj
loading project: D:\BaiduNetdiskDownload\YurisRevengeIncomplete\Game\DynamicPatcher\Projects\PatcherYRpp\PatcherYRpp.csproj


[Error] System.ArgumentException info:
[Error] Message: 路径中具有非法字符。
[Error] Source: mscorlib
[Error] TargetSite.Name: EmulateFileIOPermissionChecks
[Error] Stacktrace:    在 System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
   在 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   在 System.IO.File.OpenRead(String path)
   在 DynamicPatcher.CompilationManager.LoadProject(Project project)
   在 DynamicPatcher.CompilationManager.LoadSolution(String path)
   在 DynamicPatcher.CompilationManager..ctor(String workDir)
   在 DynamicPatcher.Patcher.Init(String workDir)
   在 DynamicPatcher.Program..cctor()
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[Error] System.NullReferenceException info:
[Error] Message: 未将对象引用设置到对象的实例。
[Error] Source: DynamicPatcher
[Error] TargetSite.Name: Start
[Error] Stacktrace:    在 DynamicPatcher.Patcher.Start()
   在 DynamicPatcher.Program.Activate()
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

运行游戏办法

慕名而来,运行游戏办法:
①下载DP并解压到游戏目录,用运行Ares的方式启动游戏即可。×
②下载DP和ARES和Syringe.exe并都解压到游戏目录,对Syringe.exe右键创建快捷方式,再右键该快捷方式属性,确保【目标】的最后是类似这样的【........./Syringe.exe "gamemd.exe" -cd -log】,然后双击快捷方式即可。√
附:ares和Syringe.exe下载地址之一:https://launchpad.net/ares/+download
其他:
③本人在写这段话时,会一点Python,会改ini,会做简单的地图,但是摸索了挺久才知道怎么运行 DP,所以说不是程序员或说不是使用引擎扩展的游戏玩家很可能会不知道怎么运行游戏。
④反馈:DP的启动是需要ARES的,如果直接用Syringe.exe "gamemd.exe" 是不会运行游戏的,见如下log
⑤[19:49:12] Syringe 0.7.3.0
[19:49:12] ===============

[19:49:12] WinMain: arguments = ""gamemd.exe" -cd -log"
[19:49:12] WinMain: Trying to load executable file "gamemd.exe"...

[19:49:12] SyringeDebugger::RetrieveInfo: Retrieving info from the executable file...
[19:49:12] SyringeDebugger::RetrieveInfo: Executable information successfully retrieved.
[19:49:12] exe = gamemd.exe
[19:49:12] pImLoadLibrary = 0x007E1220
[19:49:12] pImGetProcAddress = 0x007E1250
[19:49:12] pcEntryPoint = 0x007CD80F
[19:49:12] dwExeSize = 0x00497110
[19:49:12] dwExeCRC = 0xDD7B8461
[19:49:12] dwTimestamp = 0x3BDF544E

[19:49:12] SyringeDebugger::RetrieveInfo: Opening gamemd.exe to determine imports.
[19:49:12] WinMain: SyringeDebugger::FindDLLs();

[19:49:12] SyringeDebugger::FindDLLs: Recognized DLL: "PatcherLoader.dll"
[19:49:12] SyringeDebugger::Handshake: Calling "PatcherLoader.dll" ...
[19:49:12] SyringeDebugger::Handshake: Answers "Patcher Loader Handshake" (0)
[19:49:12] SyringeDebugger::FindDLLs: Done (1 hooks added).

[19:49:12] WinMain: SyringeDebugger::Run("-cd -log");

[19:49:12] SyringeDebugger::Run: Running process to debug. cmd = "gamemd.exe -cd -log"
[19:49:12] SyringeDebugger::Run: Allocating 0x580 bytes...
[19:49:12] SyringeDebugger::Run: pAlloc = 0x001C0000
[19:49:12] SyringeDebugger::Run: Writing DLL loader & caller code...
[19:49:12] SyringeDebugger::Run: pcLoadLibrary = 0x001C0000
[19:49:12] SyringeDebugger::Run: Entering debug loop...
[19:49:12] SyringeDebugger::HandleException: Finished retrieving proc addresses.
[19:49:12] SyringeDebugger::HandleException: Creating code hooks.
[19:49:12] SyringeDebugger::Run: Done with exit code 0 (0).

[19:49:12] WinMain: SyringeDebugger::Run finished.
[19:49:12] WinMain: Exiting on success.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.