Maidens of the Kaleidoscope

~Hakurei Shrine~ => Rika and Nitori's Garage Experiments => Touhou Projects => Topic started by: drywall on May 14, 2009, 06:03:10 PM

Title: Shoot the Bullet English Patch Release!
Post by: drywall on May 14, 2009, 06:03:10 PM
Get the latest version here: Download (http://www.touhou.net/patch/stb_english_patch_v110.rar)

Now with actual hosting!  Big thanks to Hakkai for the use of his server!

v1.1 EDIT: A couple days ago I put up a new version but have been too busy/lazy to comment about it.  Basically it fixes some more typos/translation stuff, an install bug, and will now use the same icon for the patched version as the patch itself (with the E).  I also included a note in the readme about the problems installing on Vista when theres Unicode in the install path.  If you decide to upgrade from a previously patched version, make sure to uncheck "Copy Unpatched Data" if you don't want to overwrite any progress you've made.  If no one has any huge problems with it, this should be the final version.  And I mean it this time.

v1.03 EDIT: New version ready, it's highly recommend you upgrade.  Here's some new features that have been added:
* Patched StB will now use its own copies of scoreth095.dat and the bestshot files.  Subsequently, the patch now makes it optional to copy over your old clear/bestshot data.
* Spellcard titles displayed on the bestshot pictures has been reenabled.  Note that if you pull in bestshots from the unpatched version, these titles will be mojibake until they are overwritten in the patched version.
* Various typos have been corrected
* Patch version number is now displayed on the title screen

Sorry for all the updates, hopefully this will be the last for reals this time.

v1.02 EDIT: New version removes the verification step that was giving some people problems, now only the exe is verified.  Since this should resolve this issue, the option to turn off verification has been removed.  Also the "overwrited" line has been changed to "overwritten".  Note: if you want to rerun the patch and you're running on Vista, it's recommended you manually delete the old patch files (th095e.exe, th095e.dat, and custom_e.exe) so you don't hit any permission errors.

v1.01 EDIT: Thanks for the help so far everyone.  If you've already managed to patch your game successfully don't worry about getting this update.  This update includes some fixes for some of the issues people have been seeing, primarily now the patch can handle Unicode in installation paths.  Also a box has been added to toggle the installation verification functionality.  Those of you who have been hitting this issue, try running without it and see if the patched game runs alright.  If so I may just remove the verification altogether.  If the patched game doesn't work, try running the patch again with the verification on and now it should tell you what file failed the verification.  Post that here and I can start looking into it.

The patch has had some preliminary testing but I'd say it's still in the beta stage, so if you run into any issues OR you're able to patch successfully, let me know in this thread.  Also if you're running on a non-XP version of Windows please include that info since the majority of my testing has been on XP, though I think it should work fine on other versions.  If you're running Vista be sure to check the readme for special instructions.

Other then that I hope you enjoy the translation.

edit: Thanks for the sticky <3
Title: Re: Shoot the Bullet English Patch Release!
Post by: Arcengal on May 14, 2009, 06:29:50 PM
Problems (running on XP):

The CustomE window is tiny. Like, ridiculously tiny. Like, the size of my avatar tiny.

The English .exe disappears as the patch finishes installing, so I can never open it.

Edit: it apparently can't verify I'm patched to 1.02. I'll try repatching.
Title: Re: Shoot the Bullet English Patch Release!
Post by: Alfred F. Jones on May 14, 2009, 06:34:36 PM
o/

Excellent. I'll patch it tonight and see what happens.
Title: Re: Shoot the Bullet English Patch Release!
Post by: Gpop on May 14, 2009, 06:37:32 PM
Will patch when I get my laptop back from my fapping father -_-.
Title: Re: Shoot the Bullet English Patch Release!
Post by: Arcengal on May 14, 2009, 06:39:31 PM
Okay, so I repatched my game and didn't work.
I then found the .rar file, unzipped it to a totally different folder, downloaded the patch anew from Zun's site, patched THAT version, then ran your patch.

Same error, it can't verify that I'm running the correct version of the game.
Title: Re: Shoot the Bullet English Patch Release!
Post by: 7TC7 on May 14, 2009, 06:48:38 PM
Everythings working perfectly. Very well done~
To bad I've not much to do except recapping every spell... and listening to my friend having the opposite effect - getting killed by every spell~
Title: Re: Shoot the Bullet English Patch Release!
Post by: Emarrel on May 14, 2009, 07:18:55 PM
Running XP. After Patching I get this when I try to run th095e.exe:

(http://img183.imageshack.us/img183/7724/eraah.png) (http://img183.imageshack.us/my.php?image=eraah.png)
Title: Re: Shoot the Bullet English Patch Release!
Post by: homing curvy laser on May 14, 2009, 07:26:01 PM
It seems to be running fine so far. Good job~
However...
1. Looks like it only shows the spellcard's name once, when you start a scene. If you die and retry, it doesn't show it anymore.
2. I cleared this spellcard (whoa) on the English patch, then I went back to the original game to test more stuff. The name's gone on the Japanese version too.
(http://img232.imageshack.us/img232/9387/tcheng.jpg)
I'm running XP, by the way.
Title: Re: Shoot the Bullet English Patch Release!
Post by: nintendonut888 on May 14, 2009, 07:50:27 PM
Yikes, problems abound? I hope they get fixed...
Title: Re: Shoot the Bullet English Patch Release!
Post by: Zengeku on May 14, 2009, 08:27:16 PM
It works just fine for me and my Vista PC. So far i haven't encountered any trouble.
Title: Re: Shoot the Bullet English Patch Release!
Post by: drywall on May 14, 2009, 08:46:15 PM

Yikes, problems abound? I hope they get fixed...

Wow no kidding, but I sorta expected this to be the case...
I'll try to field what I can right now.

The CustomE window is tiny. Like, ridiculously tiny. Like, the size of my avatar tiny.

The original custom.exe is pretty tiny for me and I run 1024x768 (yeah still).  custom_e.exe is significantly larger on my machine so I'm not really sure whats going on there.  All I did with custom.exe was open it in reshacker and translate the Japanese to make custom_e.exe, so if the window size is being held over from the original then that's just how it is.  I can try and look into resizing it once I've got a better handle on problems with the actual patch.

1. Looks like it only shows the spellcard's name once, when you start a scene. If you die and retry, it doesn't show it anymore.

This was never the case on my machine and testing just now I still get the titles to reappear when I retry, but...

2. I cleared this spellcard (whoa) on the English patch, then I went back to the original game to test more stuff. The name's gone on the Japanese version too.

Scene 6-1 doesn't have a title since it's not techincally a spell card (only ZUN would know why).  This tends to be the case with the first couple scenes for every level.  So look at some scenes from previous levels and let me know if this is still the case.  It really shouldn't be since the patch does not make any changes to the original exe.

Running XP. After Patching I get this when I try to run th095e.exe:

(http://img183.imageshack.us/img183/7724/eraah.png) (http://img183.imageshack.us/my.php?image=eraah.png)


For some reason It's not finding the .dat file.  Unfortunately with just this it's unclear what the problem is.  I hate to ask but can you verify that th095e.dat is actually there?  If not there might be a problem when everything get's repacked since that relies on a separate process.

Okay, so I repatched my game and didn't work.
I then found the .rar file, unzipped it to a totally different folder, downloaded the patch anew from Zun's site, patched THAT version, then ran your patch.

Same error, it can't verify that I'm running the correct version of the game.

I'm a little confused about the problem you're having, is it that the patch fails immediately because it can't verify that its running on v1.02a of StB, or does it do all the patching then fail the installation verification at the very end?
Also, are you certain you're running v1.02a?
I've seen problems where trying to run ZUN's patch doesn't actually upgrade v1.00 all the way to v1.02a.  This was because I ran it on a version of StB where some files like readme.txt were missing and ZUN's patch can't completely finish unless it can find everything it needs.

I'll try my best to resolve these issues as soon as I find out more from you guys.  Also thanks to everyone who has reported success so far, glad to know its not a complete wash.
Title: Re: Shoot the Bullet English Patch Release!
Post by: Generalguy on May 14, 2009, 09:02:08 PM
I'm running on Vista, and after some issues with updating the game (probably because I messed with the files) I got the patch to run.

Now it's been 30 minutes the patch tells me this :

"Repacking patched files to C:\Program Files\東方文花帖\th095e.dat, please wait a moment..."

Let's see what happens if I close the patch...

Well, I get the same error as Emarrel. No wait it's something about the refresh rate :

東方動作記録 ---------------------------------------------
リフレッシュレートを60Hzに変更を試みます
HAL で動作します
error : データファイルが存在しません

Re-running the patch gives the same result.
And it gives me a bullshit file path to go to for the log, but I think it's because I have a french OS set on japanese Unicode (probably).
Title: Re: Shoot the Bullet English Patch Release!
Post by: Arcengal on May 14, 2009, 09:06:47 PM
I'm a little confused about the problem you're having, is it that the patch fails immediately because it can't verify that its running on v1.02a of StB, or does it do all the patching then fail the installation verification at the very end?
Also, are you certain you're running v1.02a?
I've seen problems where trying to run ZUN's patch doesn't actually upgrade v1.00 all the way to v1.02a.  This was because I ran it on a version of StB where some files like readme.txt were missing and ZUN's patch can't completely finish unless it can find everything it needs.

It's the latter. The patch goes through the installation process, updating files and creating touhou9.5e.exe, then it tells me at the end it isn't 1.02a so it eliminates everything it did. Also, it reset my controls (not sure if that's relevant).

I tried it on a new install of the game as I mentioned above and had the same problem.

I'll be happy to try any suggestions you have.

I run 1024x768 as well.
Title: Re: Shoot the Bullet English Patch Release!
Post by: drywall on May 14, 2009, 09:21:52 PM
I'm running on Vista, and after some issues with updating the game (probably because I messed with the files) I got the patch to run.

Now it's been 30 minutes the patch tells me this :

"Repacking patched files to C:\Program Files\東方文花帖\th095e.dat, please wait a moment..."

Let's see what happens if I close the patch...

Well, I get the same error as Emarrel. No wait it's something about the refresh rate :

東方動作記録 ---------------------------------------------
リフレッシュレートを60Hzに変更を試みます
HAL で動作します
error : データファイルが存在しません

Re-running the patch gives the same result.
And it gives me a bullshit file path to go to for the log, but I think it's because I have a french OS set on japanese Unicode (probably).

Was able to reproduce this error.  It's because you're StB install path has unicode in it which isn't playing nice with Python.  You're getting the same error as Emarrel (the refresh rate thing is irrelevant) since the datrepacking subprocess is failing so th095e.dat is never created, hence its never found.  I'll start working on a fix for this ASAP.  In the mean time you can try renaming 東方文花帖 to anything ASCII and the patch should work.  Also the bullshit file path is due to the fact that when the patch finishes executing, error or not, the temp directory it creates is automatically deleted, so as soon as it tells you about that log and you hit OK its already gone.  Annoying yes, but it's something that's done automatically by the programs I used to bundle everything.  Thanks a lot for routing this out, I should of figured this would be an issue with a Japanese game...

It's the latter. The patch goes through the installation process, updating files and creating touhou9.5e.exe, then it tells me at the end it isn't 1.02a so it eliminates everything it did. Also, it reset my controls (not sure if that's relevant).

I tried it on a new install of the game as I mentioned above and had the same problem.

I'll be happy to try any suggestions you have.

I run 1024x768 as well.

As soon as I get this other fix finished I'll send you a PM so we can try to get to the bottom of this.
Title: Re: Shoot the Bullet English Patch Release!
Post by: Koikon on May 14, 2009, 09:23:50 PM
Am I the only one not encountering any problems? (yet?)
The patch went perfectly the first time around. And I run Vista Ultimate. (I am on my admin account now, though)
The CustomE file actually has a bigger resolution than the original Custom file (-which is extremely tiny).
No problems at all.

There is one MINOR issue.... but nothing of real significance.
- When the game loads, there's usually a spinning flower in the bottom right of the screen, next to the text: now loading...
  This flower and the text stopped appearing in fullscreen mode.

..... That's all, for now.

Also, thanks for translating the Help pages, the fact that you can block a bestshot from being overwritten, makes this game even more awesome~.
(Don't you hate it when a spectacular shot gets overwritten by a crappy-looking, higher scoring shot?)
Title: Re: Shoot the Bullet English Patch Release!
Post by: dzzlA1HJ on May 14, 2009, 09:26:47 PM
Bugs:

1. Requires MSVC2003 runtime libraries (not documented).
2. Patching doesn't work.

Code: [Select]
Verifying patch installation
Verification failed
Removing patched files, please try rerunning the patch
If verification continues to fail, try reinstalling and/or upgrading to v1.02a

StB patch installation success!

3. Doesn't delete config_e.exe after failed patching.
4. "StB patch installation success!" is printed upon failure.
Title: Re: Shoot the Bullet English Patch Release!
Post by: Kanako Yasaka on May 14, 2009, 09:44:06 PM
My StB patch works perfectly, thanks!
Title: Re: Shoot the Bullet English Patch Release!
Post by: drywall on May 14, 2009, 09:44:16 PM
Bugs:

1. Requires MSVC2003 runtime libraries (not documented).
2. Patching doesn't work.

Code: [Select]
Verifying patch installation
Verification failed
Removing patched files, please try rerunning the patch
If verification continues to fail, try reinstalling and/or upgrading to v1.02a

StB patch installation success!

3. Doesn't delete config_e.exe after failed patching.
4. "StB patch installation success!" is printed upon failure.

1. This was excluded to save space upon assumption that most Windows OS already had it, It's now been put back in just to be safe.
2. The verification seems to be giving some problems, so in the next release I might put in an way to make this optional, so that you can actually try the patched game out to see if the verification error was a false negative or not.
3. Fixed
4. Fixed

Thanks for the help, keep it coming guys.
Also the Unicode problem was a quick fix so that's resolved as well.
Title: Re: Shoot the Bullet English Patch Release!
Post by: Emarrel on May 14, 2009, 10:15:12 PM
For some reason It's not finding the .dat file.  Unfortunately with just this it's unclear what the problem is.  I hate to ask but can you verify that th095e.dat is actually there?  If not there might be a problem when everything get's repacked since that relies on a separate process.

Sorted it, I must have clicked close on the patcher assuming it was already finished (I probably wasn't paying much attention), so I ended up with an incomplete th095e.DAT.

So, nothing to worry about.
Title: Re: Shoot the Bullet English Patch Release!
Post by: Generalguy on May 14, 2009, 10:32:02 PM
I renamed the folder as "stb" and the patch worked. Thanks.

I'll test the game a bit now, at least until I reach where I was before I deleted my score.dat, meaning stage 2.
Title: Re: Shoot the Bullet English Patch Release!
Post by: Doomsday on May 14, 2009, 10:52:01 PM
good to see more progress on these translation patches.

ill get around to trying it tomorrow
Title: Re: Shoot the Bullet English Patch Release!
Post by: drywall on May 14, 2009, 11:22:00 PM
Just put up a new version with all the fixes I've managed so far, go snag it at the top of the thread.
Title: Re: Shoot the Bullet English Patch Release!
Post by: Arcengal on May 14, 2009, 11:57:24 PM
Installed without verification and working flawlessly.

Thank you for all your hard work!
Title: Re: Shoot the Bullet English Patch Release!
Post by: dzzlA1HJ on May 14, 2009, 11:58:17 PM
th095e.dat failed the verification. Game runs without the verification.

The MD5 checksum of my th095e.dat is e070fd87176042ac6b5941cf8d097d03.
Title: Re: Shoot the Bullet English Patch Release!
Post by: nintendonut888 on May 15, 2009, 12:16:43 AM
It works perfectly for me. Great job!

I...I actually feel tempted to erase all my progress so I can experience it all anew. How do you do that? I don't know what you have to do to the score.dat.
Title: Re: Shoot the Bullet English Patch Release!
Post by: nothing21 on May 15, 2009, 12:17:38 AM
Delete the score.dat.

If you have second doubts, simply rename it to something else and store it away.
Title: Re: Shoot the Bullet English Patch Release!
Post by: nintendonut888 on May 15, 2009, 12:18:46 AM
Mmkay. ._.

It's going to be traumatizing to have to recapture some of the ones I've done, but my USB drive will still hold all my progress anyway...
Title: Re: Shoot the Bullet English Patch Release!
Post by: LiteYear on May 15, 2009, 12:24:43 AM
Version 1.01 worked for me, and it verified correctly on WinXP (SP3).  The only issue I've had so far is that, since I have a game controller connected to my computer, having the "Don't use DirectInput for gamepad input" unchecked by default wouldn't allow me to use keyboard input until I re-checked it.  But that might be an issue regarding this specific controller (PS3 Dualshock3)
Title: Re: Shoot the Bullet English Patch Release!
Post by: drywall on May 15, 2009, 12:33:19 AM
th095e.dat failed the verification. Game runs without the verification.

The MD5 checksum of my th095e.dat is e070fd87176042ac6b5941cf8d097d03.

I'm actually using SHA1 to generate checksums, but if the problem is with the .dat file it leads me to believe that the datpacker utility that I'm using (which I had no hand in creating) isn't always creating the .dat file in the exact same way which could cause the checksum failure.  But so far it seems the game runs fine anyway.  So in the next release I'll disable the check on the .dat file and trust datpacker is doing its job correctly (which its been doing so far).
Title: Re: Shoot the Bullet English Patch Release!
Post by: Arcengal on May 15, 2009, 12:33:46 AM
Found a grammar mistake: "overwrited". It doesn't matter though, I'll rarely use the function anyway.
Title: Re: Shoot the Bullet English Patch Release!
Post by: grgspunk on May 15, 2009, 01:12:43 AM
Works fine for me.

You should post this on the gensokyo.org forums, too. Perhaps even create a Touhou Wiki account and put the link in the StB article yourself?
Title: Re: Shoot the Bullet English Patch Release!
Post by: drywall on May 15, 2009, 01:28:57 AM
Found a grammar mistake: "overwrited". It doesn't matter though, I'll rarely use the function anyway.

Where was this?  I definitely want to fix any typos or grammatical errors like this.

You should post this on the gensokyo.org forums, too. Perhaps even create a Touhou Wiki account and put the link in the StB article yourself?

I'm going to do this soon. But my plan was to start here so you guys could help with the beta testing, which you've been all been super helpful with.  As soon as I'm a little more confident in the patch's stability and that its free of stupid stuff like "overwrited" I'll start spreading the word around.
Title: Re: Shoot the Bullet English Patch Release!
Post by: Garlyle on May 15, 2009, 02:08:22 AM
Worked, but I had to turn the "Verify Install" off.

http://www.youtube.com/watch?v=cW1fxUT4fJs

Even in english, still infuriatingly difficult 8D
Title: Re: Shoot the Bullet English Patch Release!
Post by: theshirn on May 15, 2009, 02:48:15 AM
Game works, I HATE Aya.
Title: Re: Shoot the Bullet English Patch Release!
Post by: JormundElver on May 15, 2009, 03:22:28 AM
Patchwerks perfect for me, great job!

EDIT:  Scanning through all this I've never noticed this "newspaper extra" what is this  ???
Title: Re: Shoot the Bullet English Patch Release!
Post by: nintendonut888 on May 15, 2009, 03:31:01 AM
IIRC, ZUN was originally intending on releasing an expansion to StB in the form of that. However, he decided that he had spent enough time self-inserting his waifu and it never came into being.
Title: Re: Shoot the Bullet English Patch Release!
Post by: Herasy on May 15, 2009, 04:00:15 AM
Installed, played a little, works flawlessly.

Thanks for the hard work and time spent on this patch.
 ;D
Title: Re: Shoot the Bullet English Patch Release!
Post by: Koikon on May 15, 2009, 04:11:57 AM
Where was this?  I definitely want to fix any typos or grammatical errors like this.

I'm going to do this soon. But my plan was to start here so you guys could help with the beta testing, which you've been all been super helpful with.  As soon as I'm a little more confident in the patch's stability and that its free of stupid stuff like "overwrited" I'll start spreading the word around.

When you clear a scene, you can overwrite your current bestshot with another one of your choice. When you do this, it says; Bestshot was overwrited!
Title: Re: Shoot the Bullet English Patch Release!
Post by: drywall on May 15, 2009, 04:30:19 AM
Oh that explains it.  I had never actually used that feature either so I'd never seen it but that message is present in the original as well.  Silly ZUN and his engrish.  At the moment I'm not sure where that text resides so I'm not sure if I'll get to fixing it.  I think it's kinda hilarious if you ask me.
Title: Re: Shoot the Bullet English Patch Release!
Post by: Serp on May 15, 2009, 07:29:02 AM
Excellent, it works flawlessly on my computer.  Thanks.  Also:
self-inserting his waifu
I believe you've just unintentionally given birth to a new euphemism.
Title: Re: Shoot the Bullet English Patch Release!
Post by: Kilgamayan on May 15, 2009, 03:36:55 PM
self-inserting his waifu

(http://img35.imageshack.us/img35/2060/whatf.gif)
Title: Re: Shoot the Bullet English Patch Release!
Post by: nintendonut888 on May 15, 2009, 03:45:10 PM
...Oh dear. And now I realize what I said isn't even put correctly. V_V
Title: Re: Shoot the Bullet English Patch Release!
Post by: drywall on May 15, 2009, 07:36:53 PM
New v1.02 just put up.  If you want to fix that overwrited go ahead and repatch.  XP users should just be able to rerun it no problem, but I recommend that Vista users manually delete the patched files before rerunning.  Check the first post for more details.
Title: Re: Shoot the Bullet English Patch Release!
Post by: Miserot on May 15, 2009, 09:33:09 PM
I get errors when trying to run the patch. Using Win XP SP3.


From running the patch:

---------------------------
Errors occurred
---------------------------
See the logfile 'C:\DOCUME~1\xxxxx\LOCALS~1\Temp\nsp1D.tmp\stb_english_patch.exe.log' for details
---------------------------
OK   
---------------------------


And in stb_english_patch.exe.log:

Traceback (most recent call last):
  File "stb_english_patch.py", line 19, in ?
  File "wx\__init__.pyo", line 45, in ?
  File "wx\_core.pyo", line 4, in ?
  File "wx\_core_.pyo", line 12, in ?
  File "wx\_core_.pyo", line 10, in __load
ImportError: DLL load failed: The specified module could not be found.
Title: Re: Shoot the Bullet English Patch Release!
Post by: Cadmas on May 15, 2009, 10:53:45 PM
Works perfect for me. I guess I can start playing this one. Thanks a lot.
Title: Re: Shoot the Bullet English Patch Release!
Post by: drywall on May 15, 2009, 11:50:34 PM
I get errors when trying to run the patch. Using Win XP SP3.


From running the patch:

---------------------------
Errors occurred
---------------------------
See the logfile 'C:\DOCUME~1\xxxxx\LOCALS~1\Temp\nsp1D.tmp\stb_english_patch.exe.log' for details
---------------------------
OK   
---------------------------


And in stb_english_patch.exe.log:

Traceback (most recent call last):
  File "stb_english_patch.py", line 19, in ?
  File "wx\__init__.pyo", line 45, in ?
  File "wx\_core.pyo", line 4, in ?
  File "wx\_core_.pyo", line 12, in ?
  File "wx\_core_.pyo", line 10, in __load
ImportError: DLL load failed: The specified module could not be found.

This most likely because you're missing one of the C++ libraries the patch need for its GUI.  I thought the one that was already included would cover it but looks like I missed one.  I've already updated the download link with a version of the patch that includes this DLL so if you could please let me know if this solves the problem.
Title: Re: Shoot the Bullet English Patch Release!
Post by: Miserot on May 16, 2009, 11:13:26 AM
Working perfectly now. Thanks.
Title: Re: Shoot the Bullet English Patch Release!
Post by: Rufus on May 16, 2009, 12:28:19 PM
It's nice to see this patch doing so well, aside from a few bumps in the road.
Good job, drywall.
Title: Re: Shoot the Bullet English Patch Release!
Post by: Koikon on May 16, 2009, 01:56:36 PM
I read in the readme, that the reason the spellcard names didn't appear above the bestshot in the stage select screen is because you'd have to disable the bestshots entirely, right?
Well, I don't see the spellcard titles above the bestshots in the english version.... But I do in the original version..
(http://i41.tinypic.com/2vwwwm1.jpg)

Everything else is still in japanese in the original, though. Only the spellcard names seen above the bestshots appear in english. (While actually playing the stage, the name reverts back to japanese)

So now I'm wondering if you really can't put the spellcard names up there in the english version too..
(By the way, It would be nice if you would actually put the version of the english patch used in the corner of the intro screen..... Why? because I don't know if I'm using ver 1.00 or ver 1.01 right now.)
Title: Re: Shoot the Bullet English Patch Release!
Post by: drywall on May 16, 2009, 02:38:08 PM
So now I'm wondering if you really can't put the spellcard names up there in the english version too..

This is a similar issue to what people were seeing with the MoF/SA patches, where the spellcard titles for the Player data screen were still in Japanese, and would only become English after they had beaten that card again.  In StB, those titles for the bestshots are stored within the bestshot files themselves.  So initially all the titles will be in Japanese, but when you patch StB it disables the game's ability to display Japanese fonts (so you don't need AppLocale) so all the titles would appear as garbage characters, not too attractive.  I had found where the titles were stored and attempted to change them at one point, but I found that changing just one byte invalidates that bestshot so it no longer appears on the select screen (probably due to a checksum somewhere in the file). 

Both the original and patched versions share the same bestshot files, so once you've overwritten a bestshot in the patched version, the English title gets stored with it, and will still be displayed in the Japanese version.  So yeah displaying the English titles would be possible but it would mean any stages you've previously beaten would have to be replayed, and would have a bunch of random characters for their title until then, or if I had changed them ALL stages would need to be replayed to display anything.  Not to mention that there are some English titles that are so long they don't look quite right when displayed.  After taking all this into consideration I decided the simplest solution was to just disable them for the patched version. I didn't think anyone would miss them too much, but then again a lot of my assumptions have been off the mark lately.

(By the way, It would be nice if you would actually put the version of the english patch used in the corner of the intro screen..... Why? because I don't know if I'm using ver 1.00 or ver 1.01 right now.)

Sure I can look into this, although the only differences between 1.00 and 1.01 were in how it verified the install, all the patching is the same.  However v1.02 does fix one grammatical error held over from the original game.
Title: Re: Shoot the Bullet English Patch Release!
Post by: grgspunk on May 16, 2009, 05:23:15 PM
Well you could just make it so that the patch would delete the previous save data like the other translation patches to avoid showing the garbled-up characters: Nowadays, people expect to play the whole game all over again once they apply a translation patch to it.  But why are they in English in the Japanese screenshot, though?
Title: Re: Shoot the Bullet English Patch Release!
Post by: drywall on May 16, 2009, 05:36:33 PM
Well you could just make it so that the patch would delete the previous save data like the other translation patches to avoid showing the garbled-up characters: Nowadays, people expect to play the whole game all over again once they apply a translation patche to a game. But why are they in English in the Japanese screenshot, though?

I wasn't aware that was the norm, I figured most people would want to hold onto their progress since some stages can be so damn difficult.  The English is in the Japanese screen shot since its reading a bestshot file that was created while the patched version of the game was running, hence it used the translated spellcard title when creating it.  The Japanese character set contains ASCII as a subset so it has no problem displaying English characters, but the same cannot be said the other way around.
Title: Re: Shoot the Bullet English Patch Release!
Post by: grgspunk on May 16, 2009, 05:49:34 PM
Yeah, most of them have it so that replays/save data are deleted upon installation or not interchangable between patched and unpatched versions to avoid glitches. Although the titles might not seem much, you could say the patch itself isn't that much to begin with, so why disable it?

I mean, if there are people who really want to hang on to their data, just inform them in the installation window that this character glitch will occur if they copy/paste their files after installing.
Title: Re: Shoot the Bullet English Patch Release!
Post by: Mr_Alert on May 16, 2009, 07:06:04 PM
I was not aware that save data was ever deleted on installation of any Touhou patches.  I know for a fact that the MoF and SA patches don't do so, and the IN patch installer didn't do so when I tried it. In all cases, it was mentioned in the release notes that the spell card names in the spell practice or player data screens would show up in Japanese or mojibake until they were encountered again.
Title: Re: Shoot the Bullet English Patch Release!
Post by: nintendonut888 on May 16, 2009, 07:17:19 PM
Just want to pop in and say congrats on the great job again! Not only is the game now in English so I can see Aya's stupid overconfidence and have MORE fuel for why I dislike her, but since the patched forced me to get a newer version, the game stopped crashing randomly!
Title: Re: Shoot the Bullet English Patch Release!
Post by: grgspunk on May 16, 2009, 07:31:56 PM
I was not aware that save data was ever deleted on installation of any Touhou patches.  I know for a fact that the MoF and SA patches don't do so, and the IN patch installer didn't do so when I tried it. In all cases, it was mentioned in the release notes that the spell card names in the spell practice or player data screens would show up in Japanese or mojibake until they were encountered again.

Didn't people mention something about their replays not being compatible though?
Title: Re: Shoot the Bullet English Patch Release!
Post by: drywall on May 16, 2009, 07:34:04 PM
Well at the very least I'm not happy with the way the patched and unpatched versions share the same score.dat and bestshot files.  It should be easy enough to get the patched version to point at its own copies, and then I can add an option to the patch on whether or not you want your old saved data copied over.  As for the titles on bestshots, before I can reenable it (if I ultimately choose to) I need to hack it so they are aligned on the picture correctly.
Title: Re: Shoot the Bullet English Patch Release!
Post by: Mr_Alert on May 16, 2009, 08:34:26 PM
Didn't people mention something about their replays not being compatible though?

I can really say for the other patches, but when I was working on the SA patch, I did testing to make sure replays were compatible.  It is possible I may have missed something though.
Title: Re: Shoot the Bullet English Patch Release!
Post by: Tengukami on May 17, 2009, 04:23:35 AM
I wrote a review (http://level3stage2.livejournal.com/2053.html) of this patch, linking to this thread.
Title: Re: Shoot the Bullet English Patch Release!
Post by: drywall on May 17, 2009, 05:30:56 AM
I wrote a review (http://level3stage2.livejournal.com/2053.html) of this patch, linking to this thread.

That review warmed the cockles of my heart, perhaps even to the sub-cockles.  Thank you very much.  The only thing though is where you've written "Spellcard titles turned out well:" you have shot of the music title.

Also, its awesome to hear that you ran without a hitch under WINE, especially since the patch is tailored for Windows.
Title: Re: Shoot the Bullet English Patch Release!
Post by: Tengukami on May 17, 2009, 05:42:08 AM
That review (http://level3stage2.livejournal.com/2053.html) warmed the cockles of my heart, perhaps even to the sub-cockles.  Thank you very much.  The only thing though is where you've written "Spellcard titles turned out well:" you have shot of the music title.

Also, its awesome to hear that you ran without a hitch under WINE, especially since the patch is tailored for Windows.


Whoops! Thanks for the heads-up on the music titles, heh. Fixed.
Title: Re: Shoot the Bullet English Patch Release!
Post by: Ramza on May 17, 2009, 07:34:04 AM
Small thing: The th095e.exe file doesn't have the icon with the "E" on it (like the installer does) like most of the other english exes. Not that important though.

Also, what was the actual reason behind needing a different score.dat for the english version? In every one of the other patches, I'm pretty sure they both share the same one. What's different about StB? It would be nice to be able to play both language versions and not need to clear everything twice (or just do everything in the JP version, then convert it using the patch, which kind of defeats the point)

Finally, did you say you removed the text on the best shot? On the english version, my best shots are garbled text at the moment, but they are copied data from the other. Maybe it would just be better to not display it in the english one like you were doing, to allow both exes to use the same data as well.

Thanks for all the work though, it's nice replaying things in my natural language.
Title: Re: Shoot the Bullet English Patch Release!
Post by: drywall on May 17, 2009, 04:44:09 PM
Small thing: The th095e.exe file doesn't have the icon with the "E" on it (like the installer does) like most of the other english exes. Not that important though.

Also, what was the actual reason behind needing a different score.dat for the english version? In every one of the other patches, I'm pretty sure they both share the same one. What's different about StB? It would be nice to be able to play both language versions and not need to clear everything twice (or just do everything in the JP version, then convert it using the patch, which kind of defeats the point)

Finally, did you say you removed the text on the best shot? On the english version, my best shots are garbled text at the moment, but they are copied data from the other. Maybe it would just be better to not display it in the english one like you were doing, to allow both exes to use the same data as well.

Thanks for all the work though, it's nice replaying things in my natural language.

First off, yeah I never bothered to figure out how to hack the custom icon into the exe, this probably won't happen unless there's a substantial reason for me to put out a new version (which I really hope there isn't).

Next, I thought the separate save files was a cleaner way to do things, since A) it allowed a convenient way to start over from scratch on the patched version without deleting/renaming your old save, and B) it resolves a previous issue with English titles appearing in the Japanese version, which I thought was sloppy.  If you plan on playing both versions and are worried about consistency, all you have to do is copy the contents of bestshot to bestshot_e, and scoreth095.dat to scoreth095e.dat (or vice-versa depending on which one has more progress), no need to re-run the patch to do it for you.

Lastly, the text on the bestshot had been removed, but with the latest version I put it back in, since English titles could be display, but like you said, copied data from an unpatched version will display garbled text until you get a new bestshot for the scene.
Title: Re: Shoot the Bullet English Patch Release!
Post by: Arcengal on May 17, 2009, 05:10:55 PM
This is extremely minor:

The text above Extra when it isn't unlocked reads "Complete all 66 scenes", but there are more than 66 scenes between 1-1 and 10-8.
Title: Re: Shoot the Bullet English Patch Release!
Post by: drywall on May 18, 2009, 05:32:07 PM
This is extremely minor:

The text above Extra when it isn't unlocked reads "Complete all 66 scenes", but there are more than 66 scenes between 1-1 and 10-8.

Fixed, update if you feel like it

Also, finally got around to making a wikia page.  This page also has a link to the patch's source code, which has everything you need to rebuild it as well.  I suggest taking a look for those of you interested in making patches in non-English languages.

http://touhou.wikia.com/wiki/Shoot_the_Bullet:_English_patch (http://touhou.wikia.com/wiki/Shoot_the_Bullet:_English_patch)
Title: Re: Shoot the Bullet English Patch Release!
Post by: Emarrel on May 20, 2009, 06:40:40 PM
This isn't concerning a problem with the English patcher, it's just a problem concerning using it was a repacker.

Basically, I've extracted the contents of the patch and dumped them into the route directory. The patch will run as normal, and then stop when it hits custom_e.exe. $PLUGINSDIR's custom_e is currently in StB's root directory, so it's trying to copy that and replace the same file. Of course, renaming or deleting custom_e means it can't go on further with the patch because it can't find it.

It could probably be worked around by changing the order in which the files are patched.

Thanks if you look into this.
Title: Re: Shoot the Bullet English Patch Release!
Post by: drywall on May 20, 2009, 08:56:11 PM
This isn't concerning a problem with the English patcher, it's just a problem concerning using it was a repacker.

Basically, I've extracted the contents of the patch and dumped them into the route directory. The patch will run as normal, and then stop when it hits custom_e.exe. $PLUGINSDIR's custom_e is currently in StB's root directory, so it's trying to copy that and replace the same file. Of course, renaming or deleting custom_e means it can't go on further with the patch because it can't find it.

It could probably be worked around by changing the order in which the files are patched.

Thanks if you look into this.

Changing the order of patched files wouldn't help as long as you're running the unpacked version of the exe in the same directory as your StB install.  The patch utilizes two main directories to get its work done, homedir, which is where the patch itself lives and is usually a temp directory, and work_path, which is the StB install directory you provide.  As long as these two paths are equivalent that custom_e copy step will always fail since python doesn't like it when src and dest are the same file.  I wasn't aware of this, but I don't see a need to fix this issue since it should never occur as long as the patch is run normally.

Just what exactly are you trying to do by running the unpacked version?  It wasn't clear from your post.
Title: Re: Shoot the Bullet English Patch Release!
Post by: Emarrel on May 20, 2009, 10:27:53 PM
I'm making a few no hitbox th**.DAT files for the games, I already have the files prepared, so it's just a matter of me scraping around for repackers or anything I could use as one.

The unpacked .exe had a similar structure to the PCB English patch; which is why I was using a similar method. PCB's English patch contains two folders: $_OUTDIR and $PLUGINSDIR. OUTDIR had another folder named th07, which contained some more folders that held the files to be replaced. I can add/remove files from there and effectively make-my-own patch - which is what I'm trying to do with StB.
Title: Re: Shoot the Bullet English Patch Release!
Post by: neko on July 08, 2009, 06:08:27 AM
I got the following error...

Code: [Select]
Repacking patched files to C:\Program Files\東方文花帖\th095e.dat, please wait a moment...
Error: dat repack failed
datpacker: couldn't open C:\Program Files\?????\th095e.dat for writing

Can somebody help me?
Title: Re: Shoot the Bullet English Patch Release!
Post by: 7TC7 on July 08, 2009, 01:28:12 PM
I got the following error...

Code: [Select]
Repacking patched files to C:\Program Files\東方文花帖\th095e.dat, please wait a moment...
Error: dat repack failed
datpacker: couldn't open C:\Program Files\?????\th095e.dat for writing

Can somebody help me?

Rename the folder 東方文花帖 into something not japanese.
Title: Re: Shoot the Bullet English Patch Release!
Post by: atanok on July 22, 2009, 10:22:32 PM
The patch is being absolutely FABULOUS!

I've run through the whole game and couldn't find any noticeable issue, except for the description on stage 10-1, as seen here:

(http://atanok.wordpress.com/files/2009/07/th095e-2009-07-22-19-24-13-91.png)

"It must of been charged from dead person."

Also, have a couple of replay videos I just uploaded:

Level 10 (http://www.youtube.com/watch?v=Q2tCJjZ56AE)
Level EX (http://www.youtube.com/watch?v=iUMS_-LvP9M)
Title: Re: Shoot the Bullet English Patch Release!
Post by: drywall on July 24, 2009, 02:57:50 AM
"It must of been charged from dead person."

DAMNIT



nice replays btw
Title: Re: Shoot the Bullet English Patch Release!
Post by: Tengukami on July 24, 2009, 03:34:32 AM
You should of checked the grammar and not just the spelling.
Title: Re: Shoot the Bullet English Patch Release!
Post by: drywall on August 16, 2009, 06:21:39 PM
A nice Japanese fellow emailed me the other day asking for help modifying the images in StB, so I whipped up a little program that can do the job and I thought I'd share it here in case anyone else was interested.  It's not too hard to use but it might be a little rough around the edges since I threw it together in about an hour, use at your own discretion.

Get it here: http://www.mediafire.com/file/tzho20zmjv5/stb anm patcher.rar (http://www.mediafire.com/file/tzho20zmjv5/stb anm patcher.rar)

It's a little big (about 27 megs) since it also contains a full image and .anm file rip from StB.  Also note you will need another program to repack the patched .anm files. I recommend datpacker-5 although I'm not sure where to find it off the top of my head.

I'll also take this opportunity to mention that I recently made a minor update to the actual patch, details in the 1st post.

take it easy
Title: Re: Shoot the Bullet English Patch Release!
Post by: Emarrel on August 16, 2009, 06:57:01 PM
A nice Japanese fellow emailed me the other day asking for help modifying the images in StB, so I whipped up a little program that can do the job and I thought I'd share it here in case anyone else was interested.  It's not too hard to use but it might be a little rough around the edges since I threw it together in about an hour, use at your own discretion.

Get it here: http://www.mediafire.com/file/tzho20zmjv5/stb anm patcher.rar (http://www.mediafire.com/file/tzho20zmjv5/stb anm patcher.rar)

I LOVE YOU.
Title: Re: Shoot the Bullet English Patch Release!
Post by: Prime 2.0 on October 18, 2009, 01:45:13 AM
v1.1 EDIT: ...If you decide to upgrade from a previously patched version, make sure to uncheck "Copy Unpatched Data" if you don't want to overwrite any progress you've made...

*sigh*

It's a good thing I always back up my folders when I apply English patches, because I followed those instructions and it wiped all the save data.

I guess I'm stuck with English patch version 1.0 for now.
Title: Re: Shoot the Bullet English Patch Release!
Post by: grgspunk on October 21, 2009, 01:22:24 AM
Hey, just a heads up. For some reason, the link to the StB patch (the one hosted on touhou.net) won't work any more unless you put "www" in the link:

http://www.touhou.net/patch/stb_english_patch_v110.rar

Can we correct this?
Title: Re: Shoot the Bullet English Patch Release!
Post by: CarefreeCat on March 13, 2010, 09:15:55 PM
Whenever I try to install it it says that it's not a valid Win32 application. What's that supposed to mean?
Title: Re: Shoot the Bullet English Patch Release!
Post by: CarefreeCat on March 13, 2010, 09:17:09 PM
Nv, now it's working. strange.
Title: Re: Shoot the Bullet English Patch Release!
Post by: Infy♫ on March 20, 2010, 08:51:43 PM
I can't install the patch, and therefore I can't install the english patch.
I wonder what's going wrong? it stops at about 80%
Title: Re: Shoot the Bullet English Patch Release!
Post by: drywall on March 20, 2010, 09:15:44 PM
I can't install the patch, and therefore I can't install the english patch.
I wonder what's going wrong? it stops at about 80%

Are you referring to ZUN's 1.02a patch? If so I might know the problem... I believe ZUN's patch requires you have all the original game files, including the readme and other text files. I know I've seen versions of the game available through torrents and such that don't include all the supporting text files so the 1.02a patch would fail.  Send me a PM or something listing of all of the files available in your StB install directory and I'll let you know if anything is missing.
Title: Re: Shoot the Bullet English Patch Release!
Post by: racunkodok on September 19, 2011, 08:51:05 AM
is there any way to use english patch without using zun 102a patch?