touhouworldcup / thprac Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
The check for thcrap folder validity includes checking that thcrap_configure.exe exists, which makes using thcrap through the launcher inconvenient, as thcrap_configure.exe is deleted every time a game is opened with thcrap and the folder is validated every time the launcher opens
SPEAKIGN OF HOTKEYS, it also would be cool if you could assign different keys to hotkeys, but that's not as important
Hydrop002 commented on 4 Feb 2021
红五面练习模式,boss击破后有概率进六,导致rep无法保存,望修复。
ack7139 commented on 5 Feb 2021
我这里无法复现这个bug,能否提供一下使用的机体以及练习时使用的选项?
Hydrop002 commented on 5 Feb 2021
感觉跟机体没啥关系,也没其它设置,我个人经常拿梦A从pad一非开始练,打完pad就有可能进六。而且进六之后放的是蕾米的bgm,此外什么都没有的,也不能自杀。------------------ 原始邮件 ------------------
发件人: "ack7139"<[email protected]>
发送时间: 2021年2月5日(星期五) 中午11:36
收件人: "ack7139/thprac"<[email protected]>;
抄送: "Hydrop"<[email protected]>;"Author"<[email protected]>;
主题: Re: [ack7139/thprac] 关于红魔乡的小bug (#10)
ack7139 commented on 5 Feb 2021
了解了,我再调查看看
monkey03297 commented on 1 May 2021
風神錄六面Boss的終符,有隨著血條越少,彈速越快的現象。
希望可以做為選項,以利練習。
Kerbinator-CN commented on 1 Sep 2021
呃,這個我覺得沒有問題,神德其實不是說隨著血量改變彈速
只有開卡後三十秒彈速以及發彈頻率增加一次,之後就不再變化,與血量無關。
用練習器開和實戰是完全一致的,因此沒有什麼問題。
見 https://thwiki.cc/游戏攻略/STG血量数据
(應該可以close)
webbedspace commented on 7 Jan •
Due to a bug (the bug is that Junko's sprite counts as an enemy during the opening dialogue), the "Shooting Down" of Extra Boss Nonspell 1 is 50% instead of 100% when played from the prior stage portion. This does not happen when starting the chapter directly in THPrac, causing PIV and life piece increases to be incorrect.
i'm not sure if F10 is a normal in-game hotkey or a thprac one, but that happens
@toimine
toimine commented on 22 Feb 2021 •
there's a spoileral ssg file for pofv practice, would be cool if thprac could do what it does
the ssg (both english and japanese versions).zip
also would be cool to simulate extra frames of latency (1 to 9), it'd help for netplay practice
ack7139 commented on 22 Feb 2021
Just when I'm thinking about enhancing PoFV support. Thanks for providing the SSG files.
toimine commented on 22 Feb 2021
Np!
toimine commented on 9 Mar 2021
just realised, it would also be great if one could change rank and boss/charge level (or whatever the 6 and 7 is on https://en.touhouwiki.net/wiki/Phantasmagoria_of_Flower_View/Gameplay, it determines how strong boss attacks and charges are) and maybe have a mode where a charge attack/boss attack is spawned constantly, for l2/l3/boss practice
ack7139 commented on 9 Mar 2021
The "fixed charge attack" one is cool, but (from what I've tested at least) fixing AI's charge attack level makes their bullet dodging ability considerably worse. I'll test further to see if more AI adjustments would help. Rank adjustment will be added for sure.
toimine commented on 9 Mar 2021 •
no need for ai adjustments, the ssg i've posted allows adding invincibility to any side of the screen (or even both), so you can make ai invincible
ack7139 commented on 9 Mar 2021
Yeah I guess that could be a workaround, but still making AI spam c2/c3 endlessly is not decent enough for a simulation of actual human gameplay. I'll see if I can do better.
toimine commented on 10 Mar 2021
Well, in some matchups (like aya/medi vs anything), even without restrictions ai will die very fast while a human won't, and you can't practice those much no matter what, so i still think letting you make ai invincible should be helpful
ack7139 commented on 10 Mar 2021
Indeed. The usefulness of making AI invincible doesn't restrict to those mentioned above so it will definitely be added.
Nekuskus commented on 10 Apr 2021
I think this would be a pretty nice feature to have, it'd make practice a bit easy without worrying about accidentally overwriting your replays
ack7139 commented on 10 Apr 2021
I'm not sure what you mean by that, is it something like "Automatically restart the game when you got hit"?
Nekuskus commented on 10 Apr 2021
Sorry for not being more precise,
I meant a feature that would restart the attempt with the same config after you run out of lives. After getting hit would work too but the same can be achieved by starting with 0 lives.
ack7139 commented on 10 Apr 2021
Oh okay I see, in fact that makes way more sense programming-wise. Adding to the TODO list!
Rivers47 commented https://github.com/ack7139/thprac/issues/21#issue-874708059
关卡练习从道中某一节点开始的时候,能否做到让自机从屏幕的某个位置开始游戏?有些地方敌人出来的太快了练习的时候自机来不及走到路线需要的位置。
Alpha272 commented on 20 May 2021
This is probably not really relevant since I am pretty sure, that 17.5 doesn't even have a practice mode, but it would probably be nice for people who use thprac as their primary touhou launcher.
ack7139 commented on 22 May 2021
Well 17.5 isn't out yet, and I'm not planning to support any trial versions of the game. I'll just leave this open until the full game has finally dropped (hopefully soon enough).
Alpha272 commented on 22 May 2021
Oh right im just stupid. I falsely assumed, that 17.5 is released since 18 is already out. My bad.
0CD works by patching Timer::decrement, which is a function used by every timer in the entire game. Because of this, enabling 0CD affects more things than just card cooldowns. For example, all dialouge will autoskip with 0CD enabled.
(no toimine did not write this, people who can upload code to a GitHub repo can edit people's issues)
toimine commented on 16 Jul 2021
No description provided.
webbedspace commented on 23 Aug 2021 •
This seems to be the only Extra boss with this problem.
EDIT: This is true both with and without thcrap.
Kerbinator-CN commented on 1 Sep 2021
so does Aki Minoriko being called Aki Szisuha
(seems to place the midboss' name at boss, in general)
风神录似乎确实有这种问题,用thp开关底的话boss名字会显示成中boss名字
因为EX和一面的中boss与boss不同所以会发生这种问题(呃)
webbedspace commented on 2 Sep 2021
Also true for Kisume and Kurodani Yamame in Th11
you still get 59.something fps and lots of input lag
you can compare it with launching vpatch.exe first, then injecting thprac
miml77 commented on 9 May 2021
我是不是要更改什么设置呢。中日英打开虹龙洞都是这样
ack7139 commented on 9 May 2021
这可真是头一回……请问能否提供一下使用的操作系统版本呢?另外这个问题会在启动器或者其他游戏中出现吗?
miml77 commented on 10 May 2021
我的操作系统是win10 20H2
我测试了鬼形兽和星莲船,没有这个问题
然后今天我重启了之后直接打开游戏后运行练习器(先升级到了最新的2.0.6.1),显示正常了,然后我关掉练习器先进入原版游戏的练习选择画面然后返回菜单再启动练习器就出现了全部都是方块的BUG,之后再重启游戏练习器也都是方块。
然后我重新启动了电脑,没有办法触发这个BUG了,同时虹龙洞不开启练习器练习模式卡槽也变成10个了
miml77 commented on 10 May 2021
我的操作系统是win10 20H2
我测试了鬼形兽和星莲船,没有这个问题
然后今天我重启了之后直接打开游戏后运行练习器(先升级到了最新的2.0.6.1),显示正常了,然后我关掉练习器先进入原版游戏的练习选择画面然后返回菜单再启动练习器就出现了全部都是方块的BUG,之后再重启游戏练习器也都是方块。
然后我重新启动了电脑,没有办法触发这个BUG了,同时虹龙洞不开启练习器练习模式卡槽也变成10个了
补充一下,我下午测试出怎么触发BUG了。
在中文输入法的中文模式下(微软拼音)打开游戏,先进入原版游戏的选择关卡然后回菜单然后再打开练习器就触发了,其他的正作没有这个问题。
ack7139 commented on 10 May 2021
custom.exe里面的显示设置是什么?我今天收到反馈说如果用dot by dot的话会出现bug
vtyhub commented on 16 May 2021
我也遇到这个方块乱码的问题了,绀珠传原版应用thprac打开没有方块乱码,喵玉汉化版应用thprac后打开都是乱码,虹龙洞steam版也是如此
miml77 commented on 17 May 2021
设置在附件图片里,这么多天才发现邮件发送失败了,不好意思。
ack7139 commented on 18 May 2021
我这里没有收到附件……能否直接在github上上传一下?
miml77 commented on 18 May 2021
Kerbinator-CN commented on 7 Jun 2021
我也遇到这个方块乱码的问题了,绀珠传原版应用thprac打开没有方块乱码,喵玉汉化版应用thprac后打开都是乱码,虹龙洞steam版也是如此
我绀珠传喵玉汉化版(th15c.exe+sdb)和天空璋喵玉汉化版没有问题(不过就是相对来说很容易崩溃,甚至可能bandicam读取DX录制接口或者加速播放rep到结尾停止不松开加速键时都会崩溃,但是依然还算可以)
Rivers47 commented on 8 Dec 2021 •
二面夜雀三符,符卡练习模式下自机贴近boss的时候护身弹是朝着自机打的,但实战下的护身弹是朝着别的方向打的
但用thprac跳到这张符卡的时候会出现和符卡练习模式下一样的行为
但如果用thprac跳到在那之前的某一处正常打到这张卡则和实战下的行为一样
希望thprac能使用boss实战下的行为
另外想问一下,永符卡练习模式和实战下boss的中弹判定和体术判定似乎都不一样大,目前看来使用thprac练习符卡的时候中弹判定是和实战一致的,但我不是很确定体术判定的大小是否和实战一致
ack7139 commented on 8 Dec 2021
草,没想过会有这种bug,只云过别人内避的我还以为这符没护身弹来着joy
关于体术判定这一点,现在我只能说“理论上一致”,实际上是不是我得之后详细核查一遍才知道(当然核查出来有误的话也肯定会改的)
Definitely low priority, but would be nice to have for:
This may already be pretty difficult to implement... so don't torture yourself making it work correctly for duo/trio fights.
webbedspace commented on 23 Dec 2021 •
First and Last Nameless Danmaku's rage phases are independently based on each target's HP:
A) Hecatia 66% (doubled kunai)
B) Hecatia 33% (faster red kunai)
Each of these can combine. If you attack Hecatia down to 66% HP, you get rage phase A. If you then attack Junko down to 66% HP, it becomes rage phase A1. If you then attack Junko down to 33% HP, it becomes rage phase A2. And so forth.
The only likely combinations a player should encounter are A, B, 1, and 2 alone. However, the "Rage" setting in thprac for this spell is B+2 (Hecatia 33% + Junko 33%) which will typically not happen outside of a very strange challenge run.
It is useful to allow for dialogue to take place.
For example, it would be nice to have dialogue during Meiling's first non-spell that would allow for more time to be given to the player to position themselves for scoring.
Allow for a boolean "Dialogue" option.
If selected, then the dialogue before the boss would play along its stage theme.
If not selected, then the dialogue before the boss would not be played, and the boss theme instantly plays (this is the default in thprac as of now on all bosses except Ichirin).
This should be changed since ack no longer maintains this app.
for example, i've only now discovered that there's an extra menu that appears when you press L, and it's not mentioned anywhere
ideally hotkey explanation would be great as a separate .txt file, or i'd lose myself in manual.txt
Kerbinator-CN commented on 9 May 2021
比较新的新作似乎没有红妖永的那个统计功能
就是红妖永"你的战绩"部分
希望能添加一个功能,在replay播放(包括加速播放)的时候能够统计:
miss次数,bomb次数,SCB次数
飞碟/灵界/季节解放/咆哮等的次数
抱掉的B总数,决死数等等
并且在rep播放结束的时候显示战绩
————————————————
其实意思就是:很新的游戏似乎完全没存储这些数据,需要rep通过游戏你计算 (rep炸了另说)
而且如果说通过弹幕还原那至少需要游戏内高速播放一次rep
JM-KANE commented on 28 May 2021
Kerbinator-CN commented on 1 Sep 2021
绀珠传探女终符直接跳转也有血量加倍的问题,提前一张符卡开可以解决(好在弹冠可以钻裙底卡安定,所以还不算很影响)。
monkey03297 commented on 18 Aug 2021 •
如題
由於地靈殿四面BOSS覺的符卡會依機體不同而有所變化
希望地靈殿四面符卡能夠分類
類似紅魔鄉四面那樣
能夠以機體做分類
方便選擇
webbedspace commented on 8 Dec 2021
In most games except 6, 10, 11 and 12, quitting practice returns you to the practice menu. This is a feature I think should be added by THPrac to the remaining games for convenience. Getting dropped back to the title screen is often very annoying.
ack7139 commented on 8 Dec 2021
Nice suggestion, but it could be very hard to implement. I'll see what I can do.
thcrap's JSON isn't standard JSON. It uses something known as JSON5, which allows for trailing commas, comments, hexadecimal numbers, etc... This means that you can write thcrap config files in a way that's perfectly valid for thcrap but is seen as invalid for thprac. thprac as a whole may also benefit from using JSON5 but that's beside the point. Basically, thcrap's JSON format isn't really JSON, but thprac assumes it is
denebwang commented on 26 Nov 2020
ack7139 commented on 27 Nov 2020
第一个会有的,第二个很有意思但也确实难搞,我之后做做看吧
webbedspace commented on 26 Oct 2021
If you get hit during a spell card in TH08 when F1 Invincible is active, the spell bonus doesn't become 0 like it does in other games. This also means that you can still capture the spell, resulting in your spell history having an incorrect capture listed.
rawstberry commented on 11 Mar
So, I save the replays I do with thprac so I can look back at how I dealt with a particular part. Problem is the replay gets screwed up and shows movements I would never make. This only happens when closing the game after when the replay was saved (in short, replays are just fine the first time around).
I also set my bombs and lives to zero, yet the replays shows two bombs and full lives.
I don't seem to have this problem with non-thprac replays, either (although I know replay bugs aren't uncommon with normal replays, it's never really happened to me).
toimine commented 20 days ago
you need to restart the game with thprac on to run thprac replays, or they won't sync
Various games' stages have an empty "Mid Boss" section with no selectable sub-sections in it, which simply takes you to the start of the stage when selected. These include: TH08 stages 4A and 4B*, TH10 stage 6, TH13 stage 6, and TH16 stage 6. This should be removed.
*Note: Touhouwiki considers these stages to have a midboss, by dividing Reimu's and Marisa's nons and cards differently. Although, I've heard that this is something of a controversial question in the Touhou community.
toimine commented on 4 May 2021
i mean that menu that thprac adds after choosing stage to practice
it takes a few presses for it to recognise it
haven't tried it with 1/3 frameskip though, should be similar
ack7139 commented on 6 May 2021
Hmm, that's expected and unexpected at the same time. thprac's update function is put right at the end of the game's render function, so they will be skipped altogether if frameskip is enabled. It's too much work to fix for a problem that won't be encountered by 99% of people (who don't use frameskip), so I'll put this in low priority for now.
The wave spawn rate gets faster as time goes on but thprac doesn't let you practice the faster part, only the entirety of the spell
axty666 commented on 17 Aug 2021
如果thprac没有成功扫描出来全部的游戏版本,不必手动去盯着thprac的配置文件手动修改(而可以通过手动添加其他版本的方式来添加)
kiranptl27 commented on 25 Dec 2021
Under regular conditions, Toyosatomimi no Miko's hitbox for the player's shot is bigger for her first lifebar (both the nonspell and the spellcard). After the first spellcard, her hitbox becomes the normal size (i.e. the same as other bosses.)
However, when warping using thprac:
After the spellcard that was warped to ends, the hitbox becomes the normal size.
This can most easily be seen using Marisa. When close to the boss, her outer lasers will hit when the hitbox is bigger and miss when the hitbox is the regular size.
Spell practice will also always have the bigger hitbox.
jgdhs27 commented on 16 Jan
This also affects Mamizou's spell cards. I haven't tested it on more bosses. This bug is present in vanilla spell practice.
toimine commented 3 days ago
would be cool if you could force the boss to remain at a particular height in practice settings, there are attacks (mostly in newer tuohous) where the boss being high/low makes things much harder
The exe is named 東方紅魔郷.exe
, the system locale is Japanese, and yet, thprac 2.1 doesn't recognise EOSD, before or after launching, with or without thcrap, even though ack's previous thprac version did.
P.S: I run on Windows 10 and have vpatch_th06.dll
in the folder.
webbedspace commented on 3 Sep 2021
See below.
Selecting "Restart" results in an unstable game that crashes when it returns to the title screen.
ack7139 commented on 3 Sep 2021
Honestly not so motivated to fix this since there's the option to just "not pausing on the same frame as the results screen appears", so...
I have a related question though, have you experienced any crash caused by the "restart" function outside of the situation you've mentioned in this issue?
webbedspace commented on 17 Sep 2021
Not that I can report.
I will say that I practice spells and nonspells a lot on 0 lives to replicate the effect of Spell Practice (i.e. to record a replay of a single spell by capturing it and then choosing to die on the next) so when I fail to capture a spell, I will try and pause and restart before the Results Screen appears. Thus, I see this bug surprisingly often.
ack7139 commented on 17 Sep 2021
Okay, that makes sense. I might as well add a "one-key suicide" feature to deal with the whole "can't save replay mid-game" issue.
This is bad because my THCRAP games.js uses "thprac.exe", and the executable was named "thprac.exe" before I auto-updated.
Outsides commented on 5 Jul 2021
希望可以增加在关卡中"使Boss血量在受到攻击后不变"(即使Boss"无敌")的功能. 以便于练习. 恳切希望作者能够考虑此提议. 感谢!
inakilbss commented on 20 Dec 2021
Thcrap recently updated the config tool, the new version being called thcrap.exe instead of thcrap_configure.exe. The old tool is deleted every time thcrap_loader is run, so the only way to run with thcrap is to readd the old tool every time thprac is opened.
mannyisapsycho commented on 6 Mar
wait why cant i put the goddamn crash dump folder in here
Guy-L commented on 1 Nov 2021
Here's a comparison of the true scores & in-replay scores with this option enabled and disabled for a few runs that don't counterstop (showing only the millions):
And an example (7mil stock bonus):
Seems the option doesn't have an impact outside stage 6 and Extra, and in those it correctly adds the life/bomb stock bonus but forgets to add the stage bonus (6mil or 7mil). The error confused me at first, I didn't realize there was a stock bonus in the game like in WBaWC until further digging.
As a side note: F12 is the Steam screenshot button, so it triggers when you want to show more options with thprac. Would it be possible to remap it? (You can remap the Steam key, so it's not too big a problem, I'm just more used to F12 meaning screenshot).
ack7139 commented on 2 Nov 2021
This option does work in stages 1 ~ 5, but only for single-stage practice replays. As for the missing stage bonus in stage 6/Extra, that's my bad. My stupid brain mistakenly thought that the stage bonus and the stock bonus were mutually exclusive.
About the key remap feature, I overlooked it since I hardly play Touhou on Steam. I will add it in the next release.
Also, hats off to the score comparison you made there!
inakilbss commented on 12 Jan
It would be nice to be able to pull up the practice menu (or something similar to it) during playback to be able to reset things such as score, PIV and lives. This would allow for easier estimation of a route's score potential from replays that don't exactly follow it, such as undoing a miss in th10 to see what the run would've scored without it.
@webbedspace
webbedspace commented on 12 Nov 2021
This spell has 4 phases, each separated by a cancel:
Currently you can only select phases 1 and 4 (I think).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.