Author Topic: CREATE bug  (Read 2056 times)

Offline Echon

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 1944
  • Gender: Male
    • The Fields of the Dead
CREATE bug
« on: May 07, 2015, 05:22:49 AM »
For SPLs, CREATE writes 'V1.0' in the version field, which crashes the game. The correct value is 'V1  ' (with two blank spaces).

http://gibberlings3.net/forums/index.php?showtopic=27285

Offline The Imp

  • Planewalker
  • *****
  • Posts: 288
  • Gender: Male
Re: CREATE bug
« Reply #1 on: May 07, 2015, 11:54:35 AM »
This is true for .spl files technically in BG1, BG1: TotS, BG2, BG2: ToB, PST, IWD, IWD:HoW, IWD:TotL and the EE games(checked those 3 via Near Infinity) ... but the IWD2 want to be "V2.0".

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 1176
Re: CREATE bug
« Reply #2 on: May 07, 2015, 12:24:29 PM »
Fixed.
You can use
Code: [Select]
CREATE spl foo
  WRITE_ASCII 4 "V1  " (4)
in the meantime.

Offline Echon

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 1944
  • Gender: Male
    • The Fields of the Dead
Re: CREATE bug
« Reply #3 on: May 07, 2015, 12:55:23 PM »
Great. Thanks!

Offline Gwendolyne_FP

  • Planewalker
  • *****
  • Posts: 66
Re: CREATE bug
« Reply #4 on: October 20, 2015, 11:44:21 AM »
I faced something weird:

When I create new items (for BG2-ToB), I get a CTD :

ASSERTION FAILED! Return Address: 0x9FFB75 File: ChVidImage3d.cpp Line: 899 Expression: FALSE Message: CVidCell::FXRender3dSetPalette: LoadFrame() failed

I checked the itm files and they seem to be fine.

And as soon as I load and save them with DLTCEP, without any change, no more problem ingame!

Did I miss something ?


« Last Edit: October 20, 2015, 11:45:16 AM by Gwendolyne_FP »

Offline The Imp

  • Planewalker
  • *****
  • Posts: 288
  • Gender: Male
Re: CREATE bug
« Reply #5 on: October 21, 2015, 12:51:26 PM »
Did I miss something ?
The DLTCEP has(or at least should have) an automatic effect re-arranger function. Or something to that effect.
Personally though, I would say that you probably forgot one of the essential offsets from being set ! Say " item animation " reference  from armor or the like, or it's just off by a mile and a half.  :D
« Last Edit: October 21, 2015, 12:54:40 PM by The Imp »

Offline Gwendolyne_FP

  • Planewalker
  • *****
  • Posts: 66
Re: CREATE bug
« Reply #6 on: October 21, 2015, 02:30:10 PM »
No, there is no offset missing.

I replaced CREATE ITM myobject with COPY_EXISTING template.itm myobject.itm (template is an "empty" itm file), patched it the same way as the CREATE process and...

No CTD!

It looks like as if the CREATE function was bugged.  ???

« Last Edit: October 21, 2015, 02:31:55 PM by Gwendolyne_FP »

Offline Argent77

  • Planewalker
  • *****
  • Posts: 187
Re: CREATE bug
« Reply #7 on: October 21, 2015, 04:48:07 PM »
Can you check the signature field of the created ITM file? It should contain "V1  ". WeiDU (as of v238) apparently creates items with the signature "V1.0", which causes BG2 to crash (the Enhanced Editions appear to be fine). Even IESDP has misspelled it as "V1.0".

You can probably use Wisp's work-around
Code: [Select]
CREATE itm foo
  WRITE_ASCII 4 "V1  " (4)
in the meantime.
« Last Edit: October 21, 2015, 04:58:09 PM by Argent77 »

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 1176
Re: CREATE bug
« Reply #8 on: October 23, 2015, 03:57:51 PM »
Fixed. And posted in the IESDP forum. Thanks.

Offline Gwendolyne_FP

  • Planewalker
  • *****
  • Posts: 66
Re: CREATE bug
« Reply #9 on: October 26, 2015, 08:36:13 PM »
Thanks to both of you!

It did the trick! ;)

 

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