Search
Tuesday, 15th of September 2015, 3:45:57 UTC
3:46:13
Onyx_Arrow
hate this patching software when it comes to DDC
3:46:38
Onyx_Arrow
it only launches like, maybe 10-20% of the time, the other times it crashes
3:46:55
Onyx_Arrow
Nazeo tried and it seriously went nowhere
3:47:56
Onyx_Arrow
it's not my firewall
3:48:12
Onyx_Arrow
it's the script or something for the patch
3:48:27
Onyx_Arrow
because it works FINE for ISC and LoLK
3:48:40
Onyx_Arrow
i'm honestly starting to get really pissed
3:48:49
Onyx_Arrow
DDC runs fine in Japanese
3:49:11
Onyx_Arrow
but English? NOPE, only works once in every 12 bloody tries to launch it
3:49:34
Onyx_Arrow
i don't get what is wrong
3:49:54
Onyx_Arrow
there is no mods added to the list, just the base English patch
3:50:07
Nmlgc1
Oh, could it be this bug that I've failed to solve for 2 years now?
3:50:22
Nmlgc1
You didn't try isolating what in base_tsa exactly is causing that crash?
3:51:31
Onyx_Arrow
i'm not as versed in this kind of scripting
3:51:50
Onyx_Arrow
so i have no idea what i'm doing wrong
3:54:00
Nmlgc1
OK. Have you tried deleting thcrap_update.dll?
3:55:09
Onyx_Arrow
what good would that do?
3:55:59
Nmlgc1
This may fix the issue. The netcode is pretty terrible. If not, it's the first step to isolate the problem anyway.
3:56:20
Onyx_Arrow
alright, i moved it to a different directory just in case
3:56:34
Onyx_Arrow
should i just re-run the configure or something?
3:56:44
Nmlgc1
No, just the patched game through the shortcut.
3:56:51
Nmlgc1
In fact, configure won't even start now.
4:00:07
Nmlgc1
OK. Now try moving away nmlgc/base_tsa/th14.v1.00b.js
4:01:52
Onyx_Arrow
just try the game again?
4:03:49
Onyx_Arrow
it upped the working percentage a bit
4:04:34
Onyx_Arrow
i did some quick tests, it crashed twice in the 6 times i started it
4:04:47
Onyx_Arrow
so it's better, but still not entirely fixed
4:05:13
Nmlgc1
And you won't have a translated game with this either. :)
4:05:30
Nmlgc1
Does it always crash on the same spot?
4:05:45
swflint_away
** NICK swflint
4:05:56
Onyx_Arrow
it was running in english when i tested, though i moved the file
4:06:05
Onyx_Arrow
it just replaced it?
4:08:50
Onyx_Arrow
okay, so i realized i goofed in the initial thing... but yeah, it runs 100% fine in Japanese
4:09:04
Onyx_Arrow
it's the patch itself that's apparently the issue
4:09:45
Nmlgc1
So the patched game runs now when starting it through the shortcut, even though it's still in Japanese? (The window title bar should be translated, though.)
4:11:10
Onyx_Arrow
when i ran it from the shortcut with the updater and the base tsa out of the folder, it just ran in japanese
4:11:28
Onyx_Arrow
what do you mean by Title bar? like, the window title, or the DDC logo?
4:12:03
Nmlgc1
The window title. It should still say "Touhou Kishinjou - Double Dealing Character v1.00b".
4:12:53
Onyx_Arrow
i'm pretty sure it did indeed say that
4:16:10
Nmlgc1
Alright, so let's add some of that patch code back in until we find the cause.
4:16:37
Onyx_Arrow
i put both things back
4:17:34
Nmlgc1
You still need to have thcrap_update.dll moved away for this to work, and we'll be overwriting nmlgc/base_tsa/th14.v1.00b.js anyway.
4:19:07
Onyx_Arrow
alright, i moved it
4:19:15
Nmlgc1
http://nmlgc.net/th14.v1.00b.js
4:19:33
Nmlgc1
OK, then overwrite nmlgc/base_tsa/th14.v1.00b.js with this file and try again.
4:22:02
Onyx_Arrow
it work on the first open of the game, but then crashed on the second and third
4:22:30
Nmlgc1
Next attempt: http://nmlgc.net/th14.v1.00b.js
4:24:47
Onyx_Arrow
did 10 attempts, all worked
4:24:54
Onyx_Arrow
seems to be fixed
4:27:48
Nmlgc1
Wait, we just removed all of the patching hook points...
4:28:47
Onyx_Arrow
so there is more
4:34:11
Nmlgc1
If this doesn't crash the game, we've found the bug: http://nmlgc.net/th14.v1.00b.js
4:37:16
Onyx_Arrow
10 successful loads this time also
4:37:55
Onyx_Arrow
so what was the problem? a string of script or two janky or something?
4:43:30
Nmlgc1
Something in the file replacer is wrong. Let me put some more detailed logging into the engine so that I can find the exact point.
4:43:53
Nmlgc1
You can now put both original files back to where they were.
4:44:22
Onyx_Arrow
the updater is the only file i have to put back
4:45:02
Nmlgc1
Oh, you don't have the original th14.v1.00b.js anymore? Then just delete it, the updater will redownload it when you start the game.
4:46:57
Onyx_Arrow
delete the fixed one?
4:47:49
Nmlgc1
It's not really "fixed", I just removed stuff that really needed to be in there in order to, like, actually translate the game.
4:49:02
Onyx_Arrow
so this will be fixed soon with an update i'm assuming?
4:50:13
Nmlgc1
Probably. Still need to find the exact point though. Just a moment...
5:05:08
Nmlgc1
OK, replace all thcrap files with those and try again: http://nmlgc.net/thcrap-Onyx_Arrow.zip
5:05:25
Nmlgc1
Wait for the game to crash, then post the thcrap_log.txt file.
5:19:41
Onyx_Arrow
http://pastebin.com/68Mh90sB
5:19:53
Onyx_Arrow
it took a bit of pushing to get it to crash
5:20:22
Onyx_Arrow
it kept working, and at first i was like "okay maybe it's fixed" but then i got lucky(?) and it crashed
5:49:54
Nmlgc1
... I seriously have no idea. According to the log, everything should be working just fine. It crashes as soon as the updater checks for updates, but we've already ruled that out.
5:57:00
Onyx_Arrow
so basically i just have to clench and pray that it works when i want to play it?
6:02:00
Nmlgc1
Pretty much. I suspect it's a bug somewhere in the image patcher (which is called by the file replacer), but any bug that deep in the engine would have affected other games too.
6:03:32
Nmlgc1
Hm, but you could try a patch configuration that just has base_tsa, script_latin and western_name_order. Maybe it's really just triggered by some image that's replaced for English.
6:04:24
Onyx_Arrow
that would not have the game in English though?
6:04:37
Onyx_Arrow
it doesn't affect other games
6:04:49
Onyx_Arrow
which is why i'm super confused
6:06:18
Nmlgc1
Yes, but if it doesn't crash the patched 14 with the rest of thcrap, I can definitely tell that some English image causes the bug.
6:07:24
Onyx_Arrow
so i need to try patching JUST Touhou 14?
6:08:00
Nmlgc1
Just base_tsa, script_latin and western_name_order for th14, yes.
6:08:12
Onyx_Arrow
alright, gimme a minute
6:14:56
Onyx_Arrow
10 tests with those three settings, and it works fine
6:15:22
Onyx_Arrow
so it's specifically the English Patch that is not working right
6:21:12
Nmlgc1
OK. Move thcrap_update.dll away again, then try which one of the English images listed in thcrap_log.txt (search for lang_en\th14/) is causing the crash by moving them away one by one.
6:36:12
Nmlgc1
I have to leave for today, but I'll be reading your next messages in the chat log once I'm back. See you! \o
6:37:41
Onyx_Arrow
i removed the following stuff
6:37:59
Onyx_Arrow
loading folder: no change
6:38:16
Onyx_Arrow
ename, no change
6:38:31
Onyx_Arrow
front00, no change
6:38:43
Onyx_Arrow
musiccmt, no change
6:38:56
Onyx_Arrow
player_00, no change
6:39:04
Onyx_Arrow
player_01, no change
6:39:13
Onyx_Arrow
rank00, no change
6:39:24
Onyx_Arrow
spells, no change
6:39:44
Onyx_Arrow
title_logo, no change
6:40:06
Onyx_Arrow
when i hit player_02 though, i was able to get 10 successful start ups
6:40:39
Onyx_Arrow
(ignore that i though the underscore was missing)
6:41:29
Onyx_Arrow
so from what I can gather, it's at least player_02 that's the root of the problem?
6:41:53
Onyx_Arrow
I'm going to begin re-inserting files and seeing what happens
6:46:29
Onyx_Arrow
musiccmt re-added, no crash at 10 tries
6:47:50
Onyx_Arrow
loading folder re-added, no crash at 10
6:50:26
Onyx_Arrow
front00 re-added, same as last 2
6:52:44
Onyx_Arrow
ename re-added, same result
6:55:05
Onyx_Arrow
title_logo re-added, same
6:57:05
Onyx_Arrow
rank00 re-added, same
6:59:40
Onyx_Arrow
spells.js re-added, same
7:01:42
Onyx_Arrow
player_00 re-added, same
7:03:43
Onyx_Arrow
player_01 re-added, same7
7:03:57
Onyx_Arrow
So I've pinpointed the point of error
7:04:49
Onyx_Arrow
thpatch\lang_en\th14/title/player_02.png is the source of the issue I've been having
7:07:42
Onyx_Arrow
double checking confirms this as far as I can tell
7:08:54
Onyx_Arrow
[thpatch\lang_en\th14/title/player_02.png] is the problem?
Tuesday, 15th of September 2015, 15:45:57 UTC