Topic: Touhou Toolkit GUI  (Read 20311 times)

0 Members and 1 Guest are viewing this topic.

dobro

  • Neophyte
  • Nickname: dobroanon
Touhou Toolkit GUI
« on: July 09, 2013, 08:17:17 pm »


As the name suggests, I'm developing a GUI for modding utilities known as Touhou Toolkit.

Help file is included with the program. Even if you haven't used thtk before, you may give it a shot. Feedback welcome on how easy to understand everything from scratch.

REMEMBER TO ALWAYS BACKUP YOUR .DAT FILES.

Installation is pretty straightforward. First you will need to download and unzip Touhou Toolkit
Then navigate to Mega folder and download the Bin subdirectory (or Bin.7z file which is the same directory, zipped) of the latest version (v1.0 as of now).  Alternatively, you may download the Src subdirectory and build the program yourself. Sources are also available at GitHub repository.

Waiting for suggestions and bugreports.
« Last Edit: July 27, 2013, 09:51:52 am by dobro »

Sparen

  • Danmakufu Artist
  • Git ready, git set, PUUSH!
  • Gender: Male
Re: Touhou Toolkit GUI
« Reply #1 on: July 09, 2013, 10:05:42 pm »
Should we reinstall if we already have a version?

Also, has the .anm packaging been fixed?

Dark Kitsune

  • Code Fox
  • Nickname: Ran
  • Gender: Female
Re: Touhou Toolkit GUI
« Reply #2 on: July 09, 2013, 11:36:03 pm »
THANKS A TON FOR THIS

I'm sick of typing all that stuff in :P
Re: Touhou Toolkit GUI
« Reply #3 on: July 10, 2013, 07:45:48 am »
Shouldn't this be in the subforum?

Funny how I didn't know about Touhou Toolkit until this topic came along.
I might use this when I get the Touhou Toolkit. This seems like a brilliant program that helps those that hate typing. AKA: Lazy people like me
Currently a normal player

dobro

  • Neophyte
  • Nickname: dobroanon
Re: Touhou Toolkit GUI
« Reply #4 on: July 10, 2013, 03:55:10 pm »
Should we reinstall if we already have a version?
You shouldn't if you have thtk version 5 (I only tested with this version, the others may or may not work).
Also, has the .anm packaging been fixed?
If you mean thanm stumbling over the double quotes in spellcard names, then no it still does. I can't really do much about this since I use thtk "as is" in binary form. However, I'll look into possible workarounds, it's already on my todo list.
EDIT: My mistake. This answer concerns a bug with THECL, not THANM. As far as I know, THANM works fine, I haven't run into any troubles with it yet.
THANKS A TON FOR THIS

I'm sick of typing all that stuff in :P
Glad you liked it.
« Last Edit: July 14, 2013, 08:07:20 am by dobro »

EthanSilver

  • Lunatic Programmer
  • Got squid, will travel.
  • Nickname: Ethan_Silver
Re: Touhou Toolkit GUI
« Reply #5 on: July 10, 2013, 04:17:31 pm »
I'm sick of typing all that stuff in :P
This seems like a brilliant program that helps those that hate typing. AKA: Lazy people like me

Sigh... Fine, cue the comic strip.


(PS: Nice work btw - I'm not posting the above to criticize or anything.)

thdat.exe always makes rebuilding the dat into a friggin' mini-project... Having something to avoid building that huge command line by hand everytime? Useful! What would be even more useful? A project-manager that helps track which files were unpacked/modified and can rebuild the entire set of files/the .dat with one push of a button! You really should consider making this into more - simply wrapping a GUI around someone else's tools seems like a waste of an opportunity. :)

(Also, that's a SERIOUSLY huge .exe for what it does. 11.7MB for a graphics-free, plain window with a handful of controls that offloads all its work to some external programs. I'm kind of curious how you managed that one. ;))


Latest works
The Strongest
  • Ethan Silver's Junkpile - Hacks and translation patches
Re: Touhou Toolkit GUI
« Reply #6 on: July 11, 2013, 05:10:17 am »
That was an interesting comic.
I personally might not even use Touhou Toolkit that much.
I like to maintain the original data and just play it instead of modifying it.
But I still think you can make more for this. Like EthanSilver said.

Currently a normal player

dobro

  • Neophyte
  • Nickname: dobroanon
Re: Touhou Toolkit GUI
« Reply #7 on: July 12, 2013, 04:47:38 pm »
What would be even more useful? A project-manager that helps track which files were unpacked/modified and can rebuild the entire set of files/the .dat with one push of a button! You really should consider making this into more - simply wrapping a GUI around someone else's tools seems like a waste of an opportunity. :)
Yeah, I've had similar thoughts during the development. And I've got a small comic just for the ocassion too

(Translation: That's how, using some simple contraptions, you may turn a loaf of bread into a trolleybus... but why would you do that?)

You see, I (as well as the other guy, the one who came up with the idea) am already generally satisfied with how the program works. So, before I start to develop something new, I would like to make sure that there are people who actually need this kind of functionality. Maybe there is some group on this board which does translating or modding or whatever? I'll also need some feedback on what features are required exactly.

(Also, that's a SERIOUSLY huge .exe for what it does. 11.7MB for a graphics-free, plain window with a handful of controls that offloads all its work to some external programs. I'm kind of curious how you managed that one. ;))
Big file size is a common trait for applications built on Delphi. VCL (Visual Component Library, Delphi's bread and butter) gets packed into the .exe and instantly adds 10MB or so to the file size. There are some tricks to reduce the size, but I just don't see the point given the modern HDD sizes and internet speed. If downloading is really a problem, I'll be putting a zipped version from now on.

saisengen

  • Nickname: Sibgamer
  • Gender: male
Re: Touhou Toolkit GUI
« Reply #8 on: July 13, 2013, 01:00:37 pm »
Also, has the .anm packaging been fixed?
What needs to be fixed? I have many times used thanm (for example, https://www.youtube.com/watch?v=HanVdbfMaw0 my real bullet hitbox mod) and it always worked correctly.

If you mean thanm stumbling over the double quotes in spellcard names, then no it still does
This is the problem with thecl, not thanm.

Easy: PoDD, FW, LoLK
Normal: SoEW, UFO, HSiFS
Hard: LLS, MS, EoSD, PoFW, MoF, SA, TD, DDC
Lunatic: PCB, IN
Extra: EoSD, PCB, IN, MoF, TD, DDC, HSiFS; Phantasm

Dark Kitsune

  • Code Fox
  • Nickname: Ran
  • Gender: Female
Re: Touhou Toolkit GUI
« Reply #9 on: July 13, 2013, 06:28:21 pm »
Quote from: EthanSilver
Having something to avoid building that huge command line by hand everytime?
Just write your own program to build it for you. It's really not hard, and doesn't even take as long as writing that command by hand...

Wriggle

  • Permabanned
  • LOOK AT ME
  • Nickname: Pearl
Re: Touhou Toolkit GUI
« Reply #10 on: July 13, 2013, 06:42:22 pm »
What needs to be fixed? I have many times used thanm (for example, https://www.youtube.com/watch?v=HanVdbfMaw0 my real bullet hitbox mod) and it always worked correctly.

Great patch btw, I'll try it sometime.. I wonder how funny Danmaku Paranoia would look with a patch like this for SA (same for the heart cards).

saisengen

  • Nickname: Sibgamer
  • Gender: male
Re: Touhou Toolkit GUI
« Reply #11 on: July 14, 2013, 03:26:31 am »
Great patch btw, I'll try it sometime.. I wonder how funny Danmaku Paranoia would look with a patch like this for SA (same for the heart cards).

Very funny, yes (this isn't my replay). SA was the first game for which I made this patch to beat normal. I made a version of this patch for all Windows-parts and it is with their help beat 3 extras (and still going through the fourth), and phantasm. Screenshots of other games with this patch I put on the imageboard in which at my request was written this GUI: http://dobrochan.ru/to/res/35630.xhtml#i36455, http://dobrochan.ru/to/res/36670.xhtml#i36877, http://dobrochan.ru/to/res/36670.xhtml#i37030. But I didn't change the heart bullets, because I don't know about their hitbox form.
« Last Edit: July 14, 2013, 03:29:00 am by sibgamer »
Easy: PoDD, FW, LoLK
Normal: SoEW, UFO, HSiFS
Hard: LLS, MS, EoSD, PoFW, MoF, SA, TD, DDC
Lunatic: PCB, IN
Extra: EoSD, PCB, IN, MoF, TD, DDC, HSiFS; Phantasm

Wriggle

  • Permabanned
  • LOOK AT ME
  • Nickname: Pearl
Re: Touhou Toolkit GUI
« Reply #12 on: July 14, 2013, 04:53:02 am »
Nice. About the heart, I have a feeling that their hitbox are actually balls, since the tip and the sides don't actually hit you, but I can be wrong as I don't remember having been hit by its upper part. :V

saisengen

  • Nickname: Sibgamer
  • Gender: male
Re: Touhou Toolkit GUI
« Reply #13 on: July 14, 2013, 05:48:53 am »
Nice. About the heart, I have a feeling that their hitbox are actually balls, since the tip and the sides don't actually hit you, but I can be wrong as I don't remember having been hit by its upper part. :V

I don't beat SA extra (exception one run with trainer), but I think, based on replays, hitboxes of these bullets such as on picrelated.
Easy: PoDD, FW, LoLK
Normal: SoEW, UFO, HSiFS
Hard: LLS, MS, EoSD, PoFW, MoF, SA, TD, DDC
Lunatic: PCB, IN
Extra: EoSD, PCB, IN, MoF, TD, DDC, HSiFS; Phantasm

Wriggle

  • Permabanned
  • LOOK AT ME
  • Nickname: Pearl
Re: Touhou Toolkit GUI
« Reply #14 on: July 14, 2013, 07:03:10 am »
I've made a replay with MarisaC where I spam all my kappa shields there, if it's helpful. So you can analyze it with slowdown, recording, etc. Sadly it's almost impossible to get hit by the upper part of the heart while focused, which needs manual tracking of our own hitbox.

dobro

  • Neophyte
  • Nickname: dobroanon
Re: Touhou Toolkit GUI
« Reply #15 on: July 14, 2013, 08:26:55 am »
Quote
If you mean thanm stumbling over the double quotes in spellcard names, then no it still does
This is the problem with thecl, not thanm.
Yeah, this. I somehow managed to misread the question. Edited my answer for clarity.

Anyway, have an update.

v0.8
Choosing a ecl or msg archive will cause the corresponding "File" field to be automatically generated.
Changed autogeneration of "Folder" and "Description" fields for thanm (added a folder with the same name as the .anm file).
Added "Help" menu item (F1) which displays a help file from \help folder according to the current language. The file is in html format and opens in a default browser. Thanks to sibgamer for for it.
Added option under "Settings" to not close the DOS window if an error has occured. This allows to view errors thrown by thtk (such as the game version not corresponding to archive version, syntax error for ecl, etc.).
Added option "Make backup" under "Settings" (enabled by default). Previously backup was always created before the main archive creation, now it can be disabled. Permission to overwrite the existing file will now only be asked if the option is disabled.

I would be ever grateful if someone took time to convert all this mess to proper English, both the program (strings in local.ini file) and the help (help_english.html file). I did the best I could but pretty sure I messed up some articles and maybe something else as well.

The Noodles Guy

  • Flip the screen
  • What if Seija met a guy with bipolar disease?
  • Nickname: Berthold
Re: Touhou Toolkit GUI
« Reply #16 on: July 14, 2013, 08:57:32 am »
How do I make this work?

I already downloaded the Toolkit, the bin thing and the Src folder.
Easy Modo? That's for kids, and for me.

saisengen

  • Nickname: Sibgamer
  • Gender: male
Re: Touhou Toolkit GUI
« Reply #17 on: July 14, 2013, 09:25:03 am »
How do I make this work?
Obviously, run thtk_gui.exe.
Easy: PoDD, FW, LoLK
Normal: SoEW, UFO, HSiFS
Hard: LLS, MS, EoSD, PoFW, MoF, SA, TD, DDC
Lunatic: PCB, IN
Extra: EoSD, PCB, IN, MoF, TD, DDC, HSiFS; Phantasm

The Noodles Guy

  • Flip the screen
  • What if Seija met a guy with bipolar disease?
  • Nickname: Berthold
Re: Touhou Toolkit GUI
« Reply #18 on: July 14, 2013, 09:33:09 am »
Obviously, run thtk_gui.exe.
I know I have to run thtk_gui.exe, but when I try to extract archives/whatever it says that thdat.exe cannot be found.
Easy Modo? That's for kids, and for me.

saisengen

  • Nickname: Sibgamer
  • Gender: male
Re: Touhou Toolkit GUI
« Reply #19 on: July 14, 2013, 09:52:48 am »
I know I have to run thtk_gui.exe, but when I try to extract archives/whatever it says that thdat.exe cannot be found.
Set path to thtk in menu Settings - Path to Touhou Toolkit. (I suggested to the author of the program to display this text field before you first start the program.)
« Last Edit: July 14, 2013, 10:25:56 am by sibgamer »
Easy: PoDD, FW, LoLK
Normal: SoEW, UFO, HSiFS
Hard: LLS, MS, EoSD, PoFW, MoF, SA, TD, DDC
Lunatic: PCB, IN
Extra: EoSD, PCB, IN, MoF, TD, DDC, HSiFS; Phantasm

The Noodles Guy

  • Flip the screen
  • What if Seija met a guy with bipolar disease?
  • Nickname: Berthold
Re: Touhou Toolkit GUI
« Reply #20 on: July 14, 2013, 10:36:10 am »
Set path to thtk in menu Settings - Path to Touhou Toolkit. (I suggested to the author of the program to display this text field before you first start the program.)
It worked, thanks!

Edit: How do I open th(something).exe files? Like thmsg.exe
« Last Edit: July 14, 2013, 10:48:00 am by Yamamoto »
Easy Modo? That's for kids, and for me.

saisengen

  • Nickname: Sibgamer
  • Gender: male
Re: Touhou Toolkit GUI
« Reply #21 on: July 14, 2013, 11:42:06 am »
How do I open th(something).exe files? Like thmsg.exe
GUI will launch these programs when you press one of the buttons in the appropriate box.
Easy: PoDD, FW, LoLK
Normal: SoEW, UFO, HSiFS
Hard: LLS, MS, EoSD, PoFW, MoF, SA, TD, DDC
Lunatic: PCB, IN
Extra: EoSD, PCB, IN, MoF, TD, DDC, HSiFS; Phantasm

メイフィールド

  • Neophyte
  • Nickname: Fio
Re: Touhou Toolkit GUI
« Reply #22 on: July 14, 2013, 03:46:51 pm »
If I click on anything but "Create archive from folder" it does say  "File does not exist"
When i click on "Create archive from folder" it does say that a list/description file not And on THECL and THMSG it does say , the folder (Which i have chosen a few seconds ago) does not exist

I'm not really good in such things , sorry    :derp:     

dobro

  • Neophyte
  • Nickname: dobroanon
Re: Touhou Toolkit GUI
« Reply #23 on: July 15, 2013, 02:30:23 pm »
Well, this is not a kind of program you just run, click on everything and see what happens. You need to know what you are doing. otherwise you may end up breaking something in the game. I've included the help file for a reason, try reading it first. If some parts are unclear, post them here, I'll try to clarify.

メイフィールド

  • Neophyte
  • Nickname: Fio
Re: Touhou Toolkit GUI
« Reply #24 on: July 16, 2013, 02:13:24 am »
Well , I'm not that new to this , but i know , the program is not supposed to that that T-T


click on everything and see what happens.


No matter what I'm doing , an error message  pop up  :getdown:

dobro

  • Neophyte
  • Nickname: dobroanon
Re: Touhou Toolkit GUI
« Reply #25 on: July 27, 2013, 09:47:34 am »
Version 1.0 is here.

Fixed a ton of bugs, added some minor tweaks for convenience. Also, GitHub.

Links are in the first post.

Sparen

  • Danmakufu Artist
  • Git ready, git set, PUUSH!
  • Gender: Male
Re: Touhou Toolkit GUI
« Reply #26 on: October 10, 2013, 10:45:15 pm »
I hope that you can respond to this, but...


Oh god I got a massive pile of error messages with the GUI. Firstly, trying to search for a filepath requires Vista or later. Secondly, it couldn't find thanm.exe, etc. (because they weren't in the folder). They also defaulted to EoSD and the first prompt was extremely confusing. I downloaded 1.0, and I'm using this because my thanm (command line) can't hook onto libpng for some reason.

Tested using Wine 1.7.3 built from source and libpng 1.5.17
Also, Mac OSX Lion

Dark Kitsune

  • Code Fox
  • Nickname: Ran
  • Gender: Female
Re: Touhou Toolkit GUI
« Reply #27 on: November 07, 2013, 10:12:51 pm »
I'm getting really a strange problem.
It doesn't seem to be able to create PCB archives. Pressing the button only backs up th07e.dat, but never brings up thdat.exe.
As far as I know, it works for all the other versions, just not PCB.

saisengen

  • Nickname: Sibgamer
  • Gender: male
Re: Touhou Toolkit GUI
« Reply #28 on: November 08, 2013, 07:36:18 pm »
Strange problem. Maybe th07e.dat has attribute "read only", check the file properties. You tried to run GUI in administrator mode? For me everything works fine (Win7/64bit), http://i.imgur.com/Dnx2Xuy.png.

You also can try the old GUI versions, for example http://dobrochan.com/to/res/36997.xhtml#i37099, but they have a lot of bugs, some of which may corrupt dat-files.
Easy: PoDD, FW, LoLK
Normal: SoEW, UFO, HSiFS
Hard: LLS, MS, EoSD, PoFW, MoF, SA, TD, DDC
Lunatic: PCB, IN
Extra: EoSD, PCB, IN, MoF, TD, DDC, HSiFS; Phantasm

Dark Kitsune

  • Code Fox
  • Nickname: Ran
  • Gender: Female
Re: Touhou Toolkit GUI
« Reply #29 on: November 09, 2013, 08:22:44 am »
Strange problem. Maybe th07e.dat has attribute "read only", check the file properties. You tried to run GUI in administrator mode? For me everything works fine (Win7/64bit), http://i.imgur.com/Dnx2Xuy.png.

You also can try the old GUI versions, for example http://dobrochan.com/to/res/36997.xhtml#i37099, but they have a lot of bugs, some of which may corrupt dat-files.
Read-only? It's not accessing the original file, it's supposed to be creating a new one.
Anyway, I've already tried all these ideas and it still won't pack the th7e.dat.

But I ended up writing my own command-line application to handle the repacking until this problem gets sorted out somehow.
« Last Edit: November 09, 2013, 08:24:48 am by Ran Yakumo »
 

SMF 2.0.15 | SMF © 2017, Simple Machines
Theme based on ModernDark64 design by BlocWeb
Page created in 0.046 seconds with 40 queries.