ThMouseX
=======
Introduction
------------
ThMouseX is a fork from [ThMouse](https://github.com/hwei/ThMouse) made by hwei.
This is a tool that enables mouse control for Shoot 'em ups games, intended for Touhou Project series, allowing player character to move towards wherever the cursor points.
Demo clip: https://www.youtube.com/watch?v=uMkzmM13qpU
Download link
---
https://github.com/Meigyoku-Thmn/ThMouseX/releases <br>
(Require .NET Framework 4.8 from version 2.1.0)
Differences of the fork
-----------------------
* Support any game's resolutions
* Support DirectX8, DirectX9 and DirectX11 games
* Support .NET Framework games via [NeoLua](https://github.com/neolithos/neolua) and [Lib.Harmony](https://github.com/pardeike/Harmony)
* Can be opened and closed at any time, it will automatically detect configured games
* You can use Lua script ([Lua](https://www.lua.org/), [LuaJIT](https://luajit.org/), or [NeoLua](https://github.com/neolithos/neolua)) to configure further.
Drawbacks
--------
* Only works with 32-bit games, if there is a good 64-bit bullet hell game I will consider adding 64-bit support.
* Doesn't work well with Steam Overlay, although this is minimal.
* Doesn't work well with other mods that inject their own overlay (for example, [thprac](https://github.com/touhouworldcup/thprac)), they can still work but the overlays will override each other.
* Configuration is difficult.
Preconfigured games
-------------
This tool should be compatible with any Touhou games from 6 to the latest. Here is the list of preconfigured games in [Games.txt](https://github.com/Meigyoku-Thmn/ThMouseX/blob/master/ThMouseX/Games.txt):
* Touhou 6   東方紅魔郷 ~ Embodiment of Scarlet Devil (v1.02h)
* Touhou 7   東方妖々夢 ~ Perfect Cherry Blossom (v1.00b)
* Touhou 8   東方永夜抄 ~ Imperishable Night (v1.00d)
* Touhou 9   東方花映塚 ~ Phantasmagoria of Flower View (v1.50a)
* Touhou 9.5   東方文花帖 ~ Shoot the Bullet (v1.02a)
* Touhou 10  東方風神録 ~ Mountain of Faith (v1.00a)
* Touhou 11  東方地霊殿 ~ Subterranean Animism (v1.00a)
* Touhou 12  東方星蓮船 ~ Undefined Fantastic Object (v1.00b)
* Touhou 12.5  Double Spoiler ~ 東方文花帖 (v1.00a)
* Touhou 12.8  妖精大戦争 ~ 東方三月精 Fairy Wars (v1.00a)
* Touhou 13  東方神霊廟 ~ Ten Desires (v1.00c)
* Touhou 14  東方輝針城 ~ Double Dealing Character (v1.00b)
* Touhou 14.3  弾幕アマノジャク ~ Impossible Spell Card (v1.00a)
* Touhou 15  東方紺珠伝 ~ Legacy of Lunatic Kingdom (v1.00b)
* Touhou 16  東方天空璋 ~ Hidden Star in Four Seasons (v1.00a)
* Touhou 16.5  秘封ナイトメアダイアリー 〜 Violet Detector (v1.00a)
* Touhou 17  東方鬼形獣 ~ Wily Beast and Weakest Creature (v1.00b)
* Touhou 18  東方虹龍洞 ~ Unconnected Marketeerss (v1.00a)
* Touhou 18.5  バレットフィリア達の闇市場 〜 100th Black Market (v1.00a)
* Touhou 19  東方獣王園 〜 Unfinished Dream of All Living Ghost (v1.10c)
It also have preconfiguration of some other games:
* [DANMAKAI: Red Forbidden Fruit](https://store.steampowered.com/app/1388230/DANMAKAI_Red_Forbidden_Fruit/)
* [東方幕華祭 〜 Fantastic Danmaku Festival](https://store.steampowered.com/app/882710/_TouHou_Makuka_Sai__Fantastic_Danmaku_Festival/)
* [東方幕華祭 春雪篇 〜 Fantastic Danmaku Festival Part II](https://store.steampowered.com/app/1031480/TouHou_Makuka_Sai__Fantastic_Danmaku_Festival_Part_II/)
* [東方眠世界 〜 Wonderful Waking World](https://store.steampowered.com/app/1901490/__Wonderful_Waking_World/) ([itch.io link](https://oligarchomp.itch.io/wonderful-waking-world))
* [東方龍隱談 〜 Chaos of Black Loong](https://store.steampowered.com/app/915130/__Touhou_Chaos_of_Black_Loong/)
* [Len'en 1 連縁无現里 ~ Evanescent Existence (1.20a)](https://www.freem.ne.jp/win/game/15994)
* [Len'en 2 連縁蛇叢釼 ~ Earthen Miraculous Sword (1.20a)](https://www.freem.ne.jp/win/game/15995)
* [Len'en 3 連縁霊烈傳 ~ Reactivate Majestical Imperial (1.21a)](https://www.freem.ne.jp/win/game/15996)
* [Len'en 4 連縁天影戦記 ~ Brilliant Pagoda or Haze Castle (1.20f)](https://www.freem.ne.jp/win/game/13429)
You can add more games to [Games2.txt](https://github.com/Meigyoku-Thmn/ThMouseX/blob/master/ThMouseX/Games2.txt) and copy it to ThMouseX's directory, side-by-side with Games.txt.
FAQ
---
### How to compile on your computer (not recommended for non-tech savvy)
This project can be compiled via Visual Studio (I use Visual Studio 2022), or just Visual Studio Build Tools:
* [Visual Studio](https://visualstudio.microsoft.com/), select "Desktop development with C++" during installation.
* [Visual Studio Build Tools](https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=BuildTools), select "Visual C++ build tools" during installation.
Also you need [.NET Framework 4.8 SDK](https://dotnet.microsoft.com/en-us/download/dotnet-framework).
You also need to setup [vcpkg](https://vcpkg.io/en/getting-started.html) and put vcpkg folder path into the PATH of environment variables.
Remember to **compile for 32-bit, toolset v143, .NET Framework 4.8**, and make sure these files and folder are in the same folder:
* ConfigScripts
* 0Harmony.dll
* Common.dll
* Cursor.png
* DX8Hook.dll
* Games.txt
* Neo.Lua.dll
* NeoLuaBootstrap.dll
* Sigil.dll
* ThMCore.dll
* THMouseX.exe
* ThMouseX.txt
* VirtualKeyCodes.txt
### Another way to compile without installing anything on your computer (recommended way)
- Fork the THMouseX repository to your Github account<br>
![image](https://github.com/Meigyoku-Thmn/ThMouseX/assets/16047808/4b941f22-594d-46c6-be83-818db918e2d4)
- Go to the "Actions" tab<br>
![image](https://github.com/Meigyoku-Thmn/ThMouseX/assets/16047808/34ed8954-c711-4df4-843e-f730d8483394)
- Click "Deployment" on the left sidebar<br>
![chrome_1lYLXTdT9o](https://github.com/Meigyoku-Thmn/ThMouseX/assets/16047808/81c9cd3b-ef98-4092-a172-b48f379dd2c8)
- Run the workflow<br>
![chrome_AxRRzs1MUn](https://github.com/Meigyoku-Thmn/ThMouseX/assets/16047808/cdf4206b-4fa5-4e70-a0ac-a7e325d30ef9)
- Wait for it, then download the produced zipped artifact (shown up in the page with url form `https://github.com/<username>/ThMouseX/actions/runs/<flowid>`)<br>
![chrome_jdw1pXLJl2](https://github.com/Meigyoku-Thmn/ThMouseX/assets/16047808/0bcf952d-4acf-4db7-ba83-8e7d106b0301)
### How to use ThMouseX?
1. Run ThMouseX.exe.
2. Run your game, or you can run your game first and then run ThMouseX.exe.
3. If the game is supported, a cursor will show upon entering the game.
### How to control?
* The character will move towards where the cursor points. Please note that it will NOT move immidiately with the cursor, because ThMouseX doesn't modifier any game's behavior.
* You still have to use left hand to focus and shoot.
* Left click to use bomb/spell.
* Right click to toggle mouse control.
* Press M to toggle Windows mouse cursor visibility.
### How to close it?
1. You can close your game first or ThMouseX first, it doesn't matter.
2. Double-click the ThMouseX icon on the taskbar and press the Quit button, or right click it and press Exit.
Additional Instructions
-----------------------
### Cursor sprite
The crosshair/cursor sprite may be changed:
没有合适的资源?快使用搜索试试~ 我知道了~
东方Project系列中可以进行鼠标控制的软件 .zip
共432个文件
h:227个
lib:77个
cpp:34个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 60 浏览量
2024-11-27
17:03:33
上传
评论
收藏 8.11MB ZIP 举报
温馨提示
鼠标X介绍ThMouseX 是 hwei 从ThMouse分支制作的。这是用于东方Project系列的射击游戏的鼠标控制工具,可让玩家角色朝着光标指向的地方移动。演示片段https://www.youtube.com/watch?v=uMkzmM13qpU下载链接https://github.com/Meigyoku-Thmn/ThMouseX/releases(需要 .NET Framework 4.8 2.1.0 及以上版本)叉子的差异支持任何游戏的分辨率支持 DirectX8、DirectX9 和 DirectX11 游戏通过NeoLua和Lib.Harmony支持 .NET Framework 游戏可以随时打开和关闭,它会自动检测配置的游戏您可以使用 Lua 脚本(Lua、LuaJIT或NeoLua)进行进一步配置。缺点仅适用于 32 位游戏,如果有好的 64 位弹幕游戏,我会考虑添加 64 位支持。与 Steam Overlay 配合不佳,尽管效果很小。与注入自己的覆盖的其他模块(例如,thprac)不能很好地配合,它们仍然可以工
资源推荐
资源详情
资源评论
收起资源包目录
东方Project系列中可以进行鼠标控制的软件 .zip (432个子文件)
portfile.cmake 422B
App.config 182B
ErrorMsg.Cor.cpp 114KB
imgui_impl_win32.cpp 45KB
imgui_impl_dx11.cpp 25KB
imgui_impl_dx8.cpp 20KB
Configuration.cpp 19KB
imgui_impl_dx9.cpp 18KB
Direct3D9.cpp 17KB
Direct3D8.cpp 15KB
Direct3D11.cpp 14KB
ErrorMsg.D3D.cpp 9KB
Lua.cpp 9KB
ErrorMsg.DDraw.cpp 8KB
ImGuiOverlay.cpp 8KB
MessageQueue.cpp 8KB
Helper.cpp 7KB
Initialization.cpp 6KB
SendKey.cpp 5KB
Log.cpp 4KB
LuaJIT.cpp 4KB
MinHook.cpp 4KB
DirectInput.cpp 3KB
NeoLua.cpp 3KB
InputDetermine.cpp 2KB
LuaApi.cpp 2KB
KeyboardState.cpp 2KB
Helper.Memory.cpp 2KB
CallbackStore.cpp 1KB
Variables.cpp 1KB
Helper.Graphics.cpp 1KB
ErrorMsg.cpp 1KB
Helper.Encoding.cpp 857B
DllMain.cpp 525B
CompilerConfig.cpp 202B
CompilerConfig.cpp 87B
Scripting.cs 8KB
AboutForm.Designer.cs 6KB
LuaApi.cs 3KB
Resources.Designer.cs 3KB
Program.cs 2KB
AssemblyInfo.cs 1KB
AssemblyInfo.cs 1KB
AboutForm.cs 1KB
Logging.cs 1KB
ThMouseApplicationContext.cs 1KB
Settings.Designer.cs 1KB
Handlers.cs 1KB
Types.cs 416B
Constants.cs 254B
ThMouseXGUI.csproj 4KB
NeoLuaBootstrap.csproj 3KB
Common.def 129B
ThMouseX.vcxproj.filters 6KB
Common.vcxproj.filters 5KB
.gitignore 6KB
.gitignore 18B
strmif.h 815KB
tuner.h 735KB
qedit.h 596KB
Segment.h 470KB
ksmedia.h 409KB
Mstve.h 408KB
d3d11.h 350KB
ks.h 298KB
Mstvca.h 263KB
D2D1.h 231KB
ddraw.h 230KB
D3D10.h 220KB
dinput.h 218KB
dinput.h 217KB
DWrite.h 202KB
control.h 169KB
d3d9.h 157KB
dxtrans.h 150KB
d3dx9mesh.h 122KB
D3D11SDKLayers.h 117KB
xnamath.h 113KB
bdaiface.h 112KB
dsound.h 109KB
dmusici.h 108KB
dsound.h 106KB
bdamedia.h 103KB
DXGI.h 88KB
d3d10sdklayers.h 86KB
d3d9types.h 85KB
d3d.h 84KB
dplay.h 83KB
dmusicf.h 77KB
d3dtypes.h 76KB
d3drmobj.h 75KB
xact3.h 75KB
d3d8.h 69KB
amstream.h 69KB
D3D10effect.h 69KB
D3D10_1.h 68KB
Msvidctl.h 62KB
XAudio2.h 61KB
d3d8types.h 60KB
D3DX10math.h 59KB
共 432 条
- 1
- 2
- 3
- 4
- 5
资源评论
徐浪老师
- 粉丝: 8122
- 资源: 8383
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功