Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

MTool Forum

  1. Home
  2. 一般讨论 / General Discussion
  3. mtool启动命令是否有参数?

mtool启动命令是否有参数?

Scheduled Pinned Locked Moved 一般讨论 / General Discussion
9 Posts 2 Posters 27 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    omoi
    wrote on last edited by
    #1

    本人最近在开发一款资源管理器,想加入通过mtool启动游戏的功能。但是目前的操作是打开mtool启动脚本->等待控制台运行启动命令->启动mtool->切换到第一个tab->手动将可执行文件拖入mtool->点击启动游戏。请问mtool的启动命令是否有参数传入游戏的exe文件直接启动mtool+注入+启动游戏?

    1 Reply Last reply
    • 鬼 Offline
      鬼 Offline
      鬼才琪露诺
      wrote on last edited by
      #2

      有 但仅限 "能正确自动检测引擎的前提下"....

      以 --dp= 开头 数据/引擎路径参数。去掉前缀和引号 启动游戏
      匹配 "xxx.exe" 形式 带引号的可执行文件路径,去引号后同样 启动游戏。
      匹配 D:\path\to\xxx.exe Windows 盘符开头的绝对 .exe 路径,直接 启动游戏。

      如果不考虑自动检测 可以看 与工具一同启动.bat 是怎么拉工具+注入的

      1 Reply Last reply
      • O Offline
        O Offline
        omoi
        wrote on last edited by
        #3

        感谢告知 请问.\MTool.exe --dp="I:\my\game\path\Game.exe" 如此是否正确?
        我看了一下与工具一同启动.bat通过inject.exe向游戏注入mtool/loaders下的对应hook,接下来启动了mtool的nw.exe,参数为mtool所在路径?这一步我没理解如何传入了游戏本地的位置。

        另外可否告知一些技术细节?例如krkr2和krkrz如何识别区分?wolf rpg不同版本之间如何识别?当然不愿告知也理解

        鬼 1 Reply Last reply
        • O omoi

          感谢告知 请问.\MTool.exe --dp="I:\my\game\path\Game.exe" 如此是否正确?
          我看了一下与工具一同启动.bat通过inject.exe向游戏注入mtool/loaders下的对应hook,接下来启动了mtool的nw.exe,参数为mtool所在路径?这一步我没理解如何传入了游戏本地的位置。

          另外可否告知一些技术细节?例如krkr2和krkrz如何识别区分?wolf rpg不同版本之间如何识别?当然不愿告知也理解

          鬼 Offline
          鬼 Offline
          鬼才琪露诺
          wrote on last edited by
          #4

          @omoi 启动时不传入 整个系统是 脱钩的两部分.
          注入的 dll 让游戏主动找 MTool 链接并宣告自己的身份.

          在一开始, 根据 "各引擎的独特特征" 进行 比如说文件属性里的版本信息.96a66108-473f-4fc4-988e-6be8f5e247ce-图片.png
          或者文件结构, 然后决定注入哪个 dll.

          1 Reply Last reply
          • 鬼 Offline
            鬼 Offline
            鬼才琪露诺
            wrote on last edited by
            #5

            图片.png

            O 1 Reply Last reply
            • 鬼 鬼才琪露诺

              图片.png

              O Offline
              O Offline
              omoi
              wrote on last edited by
              #6

              @鬼才琪露诺 啊这...原来如此,我以为完全靠文件结构做判断的
              #3里 .\MTool.exe --dp="I:\my\game\path\Game.exe" 这条命令我昨天尝试了一下只启动了mtool本体,游戏并没有跟着启动。测试的时RPG Maker MV的游戏

              1 Reply Last reply
              • 鬼 Offline
                鬼 Offline
                鬼才琪露诺
                wrote on last edited by
                #7

                那试试不带 --dp= 的

                O 1 Reply Last reply
                • 鬼 鬼才琪露诺

                  那试试不带 --dp= 的

                  O Offline
                  O Offline
                  omoi
                  wrote on last edited by
                  #8

                  @鬼才琪露诺 好像也不行呢,我尝试用bat内的注入成功了

                  鬼 1 Reply Last reply
                  • O omoi

                    @鬼才琪露诺 好像也不行呢,我尝试用bat内的注入成功了

                    鬼 Offline
                    鬼 Offline
                    鬼才琪露诺
                    wrote on last edited by
                    #9

                    @omoi 我这边尝试是没有问题的......

                    1 Reply Last reply

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups