-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base_tsa: Fix crash after Ctrl-Alt-Del in all games since th11 #1
Comments
This seems to be a rather common issue among Windows applications in general, as I've also encountered it with DOSBox and Neko Project II. Maybe these are just GPU hardware or driver issues on my end? |
A while ago I've tried to fix this bug, but I didn't succeed. My guess was that the game doesn't handle lost devices the right way. It seems like the game indeed doesn't do it properly, but it isn't a problem most of the time, because modern versions of d3d9 don't lose device when you alt-tab or alt-enter, etc. It still happens, however, when you do win+L or ctrl+alt+del. That's not the actual reason though, after applying my fix, the game still crashes somewhere around texture (re)initialization. One thing I haven't got around to test is wether or not the game will crash under XP (with original d3d9 installed) when alt-tabbing from full screen. Here's the aforementioned fix: DankRank/thcrap@42e7b152 p.s. Everything I mention applies to LoLK, as I haven't looked at the other games (except DDC), but I'd assume that the problem is same. |
Found my old stuff for LoLK v1.00b stack trace:
Patch for the BP_devicelost, mentioned in previous post. {
"breakpoints": {
"devicelost": {
"cavesize": "5"
}
}
} th15.v1.00b.js {
"breakpoints":{
"devicelost":{
"addr": "Rx72972"
}
}
} |
2edbcc1 fixes this for all latest versions |
Reopening, since the fix doesn't work on all machines apparently. |
Should be fixed as of thpatch/thcrap@cb3404cdd UPD: that fix breaks switching between fullscreen and windowed for some reason. |
Fixed the fullscreen switching in thpatch/thcrap@c807a61ba0 Works on my machine, stops working on @nmlgc 's machine after switching fullscreen to window. (UPD2: because his drivers are trash)
UPD2: disregard that. |
…images. We'll probably end up rearranging all those sprites anyway though, to make sure that translators can make them as large as they can possibly appear in-game, despite breaking compatibility to the retexture patch and other existing translations… Sprites enlarged ---------------- front.png: • #19 – MAX • #20 – 点 replay00.png: • #9 – 処理落ち率 result01.png: • #4 – Extra title01.png / title01s.png: • #11 – Extra Start title04.png / title04s.png: • #00 – Shot (決定) • #1 – Bomb (キャンセル) • #11 – Off • #16 – Midi • #18 – Skip
No description provided.
The text was updated successfully, but these errors were encountered: