Author Topic: Mass .chr to .cre converter, a supplement to NI.  (Read 2889 times)

Offline Ghreyfain

  • Moderator
  • Planewalker
  • *****
  • Posts: 4705
  • Gender: Male
    • Pocket Plane Group
Mass .chr to .cre converter, a supplement to NI.
« on: December 27, 2004, 05:32:47 PM »
Short story shorter:  Andyr was wondering if there was a tool that could quickly paste the sounds from one .cre to another, and I mentioned that NI could copy and paste multiple blocks.  I also mentioned that I had made a .tp2 that set some other options in a .cre that had been newly converted from a .chr by NearInfinity, to make it more easily editable.

Here's the instructions.txt:

"What it does:

CHRtoCRE removes a few leftover flags that are part of a .chr file, for easier editing.

These are:
 - Export Allowed flag is deleted
 - Sounds are blanked
 - Portraits are blanked
 - Script fields are blanked
 - Dialog field is blanked
 - Morale break is set to 5 (a default for many humanoids)
 - Morale recovery is set to 60 (a default for many humanoids)

How to do it:

1) Convert any newly made .chr files you want as .cre's with NearInfinity.
2) Copy the newly converted .cre files into the CHRtoCRE "Start" folder.
3) Run the setup.exe WeiDU file.
4) Copy the newly super-converted .cre files from the "End" folder to wherever you want in your mod."

So anyways, he suggested I upload it, and here it is.
« Last Edit: December 27, 2004, 05:37:18 PM by Ghreyfain »
Earn Money Sleeping.

Offline icelus

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 3173
  • Gender: Male
Re: Mass .chr to .cre converter, a supplement to NI.
« Reply #1 on: December 27, 2004, 07:16:08 PM »
Thank you, Ghrey.
<Moongaze> Luckily BWL has a very understanding and friendly admin.

Offline SConrad

  • Spellhold Director
  • Planewalker
  • *****
  • Posts: 130
  • Gender: Male
  • WeiDU (ab)user
    • Spellhold Studios
Re: Mass .chr to .cre converter, a supplement to NI.
« Reply #2 on: December 28, 2004, 01:55:00 PM »

Typo, Ghrey?

jcompton: "When did the switch flip in your brain that made this make sense to you?"

Spellhold Studios - Where the switch flipped in our brains that made things make sense!

Offline Bons

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 1237
  • Gender: Female
  • Glad Corvis Isn't Dead Club
Re: Mass .chr to .cre converter, a supplement to NI.
« Reply #3 on: December 28, 2004, 02:06:40 PM »
No typo. The file was written pre-farcture.
Newt had always suspected that people who regularly used the word "community" were using it in a very specific sense that excluded him and everyone he knew.

             --Neil Gaiman, Terry Pratchett, "Good Omens"

Offline Avenger_teambg

  • Planewalker
  • *****
  • Posts: 399
Re: Mass .chr to .cre converter, a supplement to NI.
« Reply #4 on: December 30, 2004, 03:51:39 AM »
While not so fast as a command line mass conversion tool, dltcep can save and import the sound strings of creatures.

Offline Grim Squeaker

  • Fallen
  • Planewalker
  • *****
  • Posts: 1019
  • Gender: Male
Re: Mass .chr to .cre converter, a supplement to NI.
« Reply #5 on: January 21, 2005, 08:51:48 AM »
Might I suggest when you update this to include NO_LOG_RECORD that you also add as part of the conversion changing offset 0x270 from PC - 2 to NEUTRAL - 128.
"You alone can make my song take flight..."


With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: