Author Topic: CHR->CRE conversion  (Read 4351 times)

Offline devSin

  • Planewalker
  • *****
  • Posts: 1632
  • Gender: Male
CHR->CRE conversion
« on: July 19, 2006, 11:32:23 AM »
Code changes in the later betas broke it. It'll take more than a few minutes to get it working again, though, but it should probably be done (even though the operation is a tad pointless).

Offline FredSRichardson

  • Moderator
  • Planewalker
  • *****
  • Posts: 190
  • Gender: Male
Re: CHR->CRE conversion
« Reply #1 on: July 19, 2006, 02:21:47 PM »
Code changes in the later betas broke it. It'll take more than a few minutes to get it working again, though, but it should probably be done (even though the operation is a tad pointless).
Is this so you can create NPC's out of exported characters?  I always wondered how to do that :D

Offline devSin

  • Planewalker
  • *****
  • Posts: 1632
  • Gender: Male
Re: CHR->CRE conversion
« Reply #2 on: July 19, 2006, 03:01:26 PM »
Yeah, it's supposed to swap around the sections to match the order of the BioWare toolset (instead of the engine save order), in addition to removing the header. The beta source up tries an incompatible class cast (or something; I never bothered to investigate) that renders the feature inoperable (as a consequence, it's commented out in the source).

On the byline, do you plan on reviewing my changes and applying the ones you want to keep, or should I start pointing out the details?

Offline Grim Squeaker

  • Fallen
  • Planewalker
  • *****
  • Posts: 1019
  • Gender: Male
Re: CHR->CRE conversion
« Reply #3 on: July 19, 2006, 03:24:13 PM »
Btw if you get this fixed, a possible addition (probably for later) would be incorporating Ghrey's 'finishing touchs' as mentioned in his mini-mod here.

Quote
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)

On top of that I'd suggest changing offset 0x270 from PC to NEUTRAL.
"You alone can make my song take flight..."

Offline FredSRichardson

  • Moderator
  • Planewalker
  • *****
  • Posts: 190
  • Gender: Male
Re: CHR->CRE conversion
« Reply #4 on: July 19, 2006, 03:54:02 PM »
On the byline, do you plan on reviewing my changes and applying the ones you want to keep, or should I start pointing out the details?

Your at the top of my list :)

I plan on going through the changes and then asking you loads of questions about them.  I want to try and update a bit carefully is all :)

Offline devSin

  • Planewalker
  • *****
  • Posts: 1632
  • Gender: Male
Re: CHR->CRE conversion
« Reply #5 on: July 19, 2006, 06:31:38 PM »
Quote
I plan on going through the changes and then asking you loads of questions about them.
I just wanted to make sure I wouldn't have to start filing reports on everything I changed. I look forward to questions, but I imagine most of it is going to be painfully obvious. EffectFactory is probably going to be the worst. ;-)

 

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:
Verification:
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)?: