/WuLinToyBoxMod

Game mod based on the Il2cpp BepInEx framework, for the game "大侠立志传".

Primary LanguageC#Apache License 2.0Apache-2.0

HaxxToyBox

这是一个基于 BepinEx 为 il2cpp 游戏《大侠立志传》开发的 Mod。它展示了如何加载自己的资源到游戏中,并实现实例化。

构建和开发

要从源代码构建此 Mod,请确保您已安装以下工具:

  • Visual Studio 2019 或更高版本
  • .NET 6 SDK

构建步骤:

  1. 克隆仓库到本地。
  2. 使用 Visual Studio 打开 HaxxToyBox.sln
  3. 根据情况修改项目属性中的如下内容
  <Target Name="PreBuild" BeforeTargets="PreBuildEvent">
    <Exec Command="xcopy &quot;E:\Programs\Steam\steamapps\common\WulinSH\BepInEx\interop\*.dll&quot; &quot;$(ProjectDir)lib\&quot; /Y" />
  </Target>
  
  <Target Name="PostBuild" AfterTargets="PostBuildEvent">
    <Exec Command="xcopy &quot;$(TargetDir)*.dll&quot; &quot;E:\Programs\Steam\steamapps\common\WulinSH\BepInEx\plugins\HaxxToyBox\&quot; /Y" />
  </Target>

License

Copyright 2023 Haxx

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.