Author Topic: Tutorial for itoikenza: how to delete music from battle  (Read 14518 times)

alfadorredux

  • Entity
  • Mystical Knight (+700)
  • *
  • Posts: 746
  • Just a purple cat
    • View Profile
Re: Tutorial for itoikenza: how to delete music from battle
« Reply #15 on: November 19, 2017, 09:53:35 pm »
(mutter mumble Windows sigh)

The normal syntax for running a Perl program is "perl [filename].pl".  If you've been running Purple Cat Tools at all, you have Perl installed, since I released the software as raw scripts.  So in this case you would:

1. Unzip the files.
2. Make the changes I described to "test.pl" using a text editor (not a word processor).  If Notepad runs everything together on one line, try Notepad++ instead.
3. Open a command prompt in the directory holding test.pl, and type "perl test.pl".

itoikenza

  • Architect of Kajar
  • Porrean (+50)
  • *
  • Posts: 98
  • thx! Danetta utunnels alfadorredux prizvel kennedn
    • View Profile
    • YT!
Re: Tutorial for itoikenza: how to delete music from battle
« Reply #16 on: November 20, 2017, 04:53:12 pm »
i got "ActivePerl 5.24.2 Build 2403 (64-bit)" And thanks... i have today off but this project is time consuming! is there any way you can write a script? to automate this tedious hexediting process? Also utunnels' "unpackcpt.exe" doesn't unpack .weap at all!? i get a 1 sec "cmd.exe" prompt that says.... "not a cpt file...." "invalid number of sections...."
« Last Edit: November 21, 2017, 10:08:59 am by itoikenza »

prizvel

  • Guru of Time Emeritus
  • Guardian (+100)
  • *
  • Posts: 118
  • Our planet's dream is not over yet
    • View Profile
Re: Tutorial for itoikenza: how to delete music from battle
« Reply #17 on: November 22, 2017, 07:28:52 am »
"not a cpt file...." "invalid number of sections...."
As long as I remember, the weap file has one null entry in the header. You can manualy edit heder, but I have not tested this

itoikenza

  • Architect of Kajar
  • Porrean (+50)
  • *
  • Posts: 98
  • thx! Danetta utunnels alfadorredux prizvel kennedn
    • View Profile
    • YT!
Re: Tutorial for itoikenza: how to delete music from battle
« Reply #18 on: November 22, 2017, 06:02:18 pm »
Is it the very first byte? Or what? If so, can i just delete it? And save the file, with one less byte?

prizvel

  • Guru of Time Emeritus
  • Guardian (+100)
  • *
  • Posts: 118
  • Our planet's dream is not over yet
    • View Profile
Re: Tutorial for itoikenza: how to delete music from battle
« Reply #19 on: November 24, 2017, 03:59:14 pm »
Is it the very first byte? Or what? If so, can i just delete it? And save the file, with one less byte?
I was unpacking weap manually, so don't know if decpt unpack any cpt except the rooms files

itoikenza

  • Architect of Kajar
  • Porrean (+50)
  • *
  • Posts: 98
  • thx! Danetta utunnels alfadorredux prizvel kennedn
    • View Profile
    • YT!
Re: Tutorial for itoikenza: how to delete music from battle
« Reply #20 on: November 24, 2017, 04:16:38 pm »
okay. i asked utunnels & alfadorredux. they'll eventually see our conversation...

alfadorredux

  • Entity
  • Mystical Knight (+700)
  • *
  • Posts: 746
  • Just a purple cat
    • View Profile
Re: Tutorial for itoikenza: how to delete music from battle
« Reply #21 on: December 09, 2017, 05:47:16 pm »
Apologies--the weather's started acting up again where I am, and I'm back to having constant migraines, which means less energy for doing things like offering advice here.

No idea what's happening with utunnels' program.  .weap files have a couple of junk subfiles (containing ASCII letters "www" and nothing else) at the end, but as far as I know, they're valid .cpts.  decpt.pl from the 0.4-alpha version of Purple Cat Tools unpacks them without any problems, although I can't guarantee that the output is correct.

itoikenza

  • Architect of Kajar
  • Porrean (+50)
  • *
  • Posts: 98
  • thx! Danetta utunnels alfadorredux prizvel kennedn
    • View Profile
    • YT!
Re: Tutorial for itoikenza: how to delete music from battle
« Reply #22 on: January 16, 2018, 02:13:41 pm »
i completely forgot how i unpacked the .weap files. no idea how to repack, either. with your cpt.pl? plus i deleted my dump of the fieldscripts, did that again, but... it's tedious as heck to hex all those battles. all i want to do is give leena and radius masamune now, dunno if kid can have it too. i guess. help please!

update: i tried in vain to open the field scripts. same problem i got with weap files "Not a valid cpt." i keep getting... prizvel could you pm me, your copy of purplecat tools? or alfadorredux? it could be a win10 problem... Doubt it's universal. doubt you 2 ever had this error either, with field scripts?




« Last Edit: January 20, 2018, 02:10:55 pm by itoikenza »

alfadorredux

  • Entity
  • Mystical Knight (+700)
  • *
  • Posts: 746
  • Just a purple cat
    • View Profile
Re: Tutorial for itoikenza: how to delete music from battle
« Reply #23 on: January 20, 2018, 04:42:29 pm »
If you mean the PC Leena, etc. you might just be able to overwrite their weapon files with the Masamune's. (Or not--I've never tried.)

Most current version of Purple Cat Tools is attached to the second message in the "Chrono Cross Toolsets" thread in this forum (https://www.chronocompendium.com/Forums/index.php?topic=10927.0, or scroll down). No changes have been made since those were posted. Doesn't include additional scripts created by prizvel or others.

itoikenza

  • Architect of Kajar
  • Porrean (+50)
  • *
  • Posts: 98
  • thx! Danetta utunnels alfadorredux prizvel kennedn
    • View Profile
    • YT!
Re: Tutorial for itoikenza: how to delete music from battle
« Reply #24 on: January 20, 2018, 04:52:16 pm »
yeah. Playable folk. Guess who showed up on EFNet IRC? on #psxdev.

Danetta. not sure if it's truly her. i gave her a Mirc key i bought in 2016. username: Chrono Cross. Better be her! hehe.

Danetta

  • Guru of Time Emeritus
  • Porrean (+50)
  • *
  • Posts: 51
  • So where is it going?
    • View Profile
Re: Tutorial for itoikenza: how to delete music from battle
« Reply #25 on: January 22, 2018, 04:50:08 am »
Good thing I'm a digital packrat, or it would have vanished a long time ago.
LOL. Love you.

itoikenza

  • Architect of Kajar
  • Porrean (+50)
  • *
  • Posts: 98
  • thx! Danetta utunnels alfadorredux prizvel kennedn
    • View Profile
    • YT!
Re: Tutorial for itoikenza: how to delete music from battle
« Reply #26 on: January 31, 2018, 05:03:43 pm »
Good thing I'm a digital packrat, or it would have vanished a long time ago.
LOL. Love you.
would really love you alfadorredux, if you wrote a .pl that'd unpack, edit, repack! every single fieldscript!

alfadorredux

  • Entity
  • Mystical Knight (+700)
  • *
  • Posts: 746
  • Just a purple cat
    • View Profile
Re: Tutorial for itoikenza: how to delete music from battle
« Reply #27 on: February 03, 2018, 11:27:46 am »
At the time I wrote Purple Cat Tools, I wasn't coding for a living. Now that I'm back to doing that, I have very little energy or interest left over for writing additional code on the weekends. So little or nothing gets done.  :oops:

itoikenza

  • Architect of Kajar
  • Porrean (+50)
  • *
  • Posts: 98
  • thx! Danetta utunnels alfadorredux prizvel kennedn
    • View Profile
    • YT!
Re: Tutorial for itoikenza: how to delete music from battle
« Reply #28 on: February 05, 2018, 06:22:59 pm »
At the time I wrote Purple Cat Tools, I wasn't coding for a living. Now that I'm back to doing that, I have very little energy or interest left over for writing additional code on the weekends. So little or nothing gets done.  :oops:
i see... too bad! maybe Danetta can teach me... how to code. i swear i never ever will get tired of hacking Chrono Cross. playing? maybe. but learning to hack it. makes me wanna play it! A vicious cycle!

itoikenza

  • Architect of Kajar
  • Porrean (+50)
  • *
  • Posts: 98
  • thx! Danetta utunnels alfadorredux prizvel kennedn
    • View Profile
    • YT!
Re: Tutorial for itoikenza: how to delete music from battle
« Reply #29 on: April 02, 2019, 12:24:54 pm »
hmm... i get stuck at the unpack unpackcpt step... seems like it doesn't like Danetta's Single.bin... BUT! i was successful at unpacking the 5k+ ".out" thing-a'ma'bobs!
« Last Edit: April 09, 2019, 01:08:05 pm by itoikenza »