Author Topic: Change image on Ten Desires and IN.  (Read 4180 times)

RemiShama

  • Imperial Scarlet Devil.
    • Scarlet Devil Mansion | Touhou italian forum
Change image on Ten Desires and IN.
« on: September 15, 2012, 01:47:04 PM »
I found how to change the dialogue file of this two games, now the hards problems is to change some images of the game!
I have found some command bot I dont know if work on the Touhou Toolkit thanm.

The comands are these:
Code: [Select]
thinspng stage01.anm background/stage01/stage01a.png newfile.png
Are they correct? And someone can explain to me how works this on thanm? Thanks...
Visit my Touhou Italian Forum, nya.

RemiShama

  • Imperial Scarlet Devil.
    • Scarlet Devil Mansion | Touhou italian forum
Re: Change image on Ten Desires and IN.
« Reply #1 on: September 20, 2012, 10:15:11 PM »
Nobody can help me?
Visit my Touhou Italian Forum, nya.

Re: Change image on Ten Desires and IN.
« Reply #2 on: September 22, 2012, 05:15:46 AM »
thanm's replacement code is formatted like this:

Code: [Select]
thanm r file.anm directory/file.png newfile.png
You can use thanm l file.anm to find the directory of the files in the .anm, but since this usually dumps a bunch of text in the console, I find it easier to just use thanm x file.anm and work with the directories from there. As an example, IN's character portrait files are set up like data/face/[st0* / character name]/face_*_*.png; I haven't looked at the Ten Desires files in a while, though, so I can't help you there.

RemiShama

  • Imperial Scarlet Devil.
    • Scarlet Devil Mansion | Touhou italian forum
Re: Change image on Ten Desires and IN.
« Reply #3 on: September 22, 2012, 10:12:52 AM »
Uhm, ok, and for add more image in the same archive I need to use the same code but insert the other image like this?
Code: [Select]
thanm r file.anm directory/file.png file2.png file3.png newfile.png newfile2.png newfile3.png
Visit my Touhou Italian Forum, nya.

Drake

  • *
Re: Change image on Ten Desires and IN.
« Reply #4 on: September 22, 2012, 08:30:13 PM »
No. The r command replaces the specified image already in the archive with a file you give it. You don't throw in multiple.

There are instructions pages in the folder. Plus, if you just run the program without any parameters on the command line or get the syntax wrong it will give you more brief instructions.

You can't simply add in new images, if that's what you're asking. Making a new image archive means you have to script up instructions so that the game can parse the images properly. If you just want to change images, then you need to replace existing ones.

A Colorful Calculating Creative and Cuddly Crafty Callipygous Clever Commander
- original art by Aiけん | ウサホリ -

RemiShama

  • Imperial Scarlet Devil.
    • Scarlet Devil Mansion | Touhou italian forum
Re: Change image on Ten Desires and IN.
« Reply #5 on: September 26, 2012, 11:21:01 AM »
So, what command I need to use to change the images?
Im not good with this programm...
Visit my Touhou Italian Forum, nya.