Page 1 of 1

CTD when viewing a soldier

Posted: Wed May 09, 2007 11:02 pm
by BillSeurer
I always get a CTD when I click on a specific soldier in my base. It started after he was wounded in a fight but continues even though he is now healed.

Here's what's in the crash file. I looked and indeed there is no "fly.tga" file anywhere in the game's folders. There is a faces folder but it is in the data folder not "gui.new".

[07:59:43.216] CFileSystem::OpenFile::File not found. gui.new\faces\fly.tga
[07:59:43.218] CFileSystem::OpenFile::File not found. gui.new\faces\fly.tga
[07:59:43.220] CFileSystem::OpenFile::File not found. gui.new\faces\fly.tga
[07:59:43.221] CFileSystem::OpenFile::File not found. gui.new\faces\fly.tga
[07:59:43.223] CFileSystem::OpenFile::File not found. gui.new\faces\fly.tga
[07:59:43.224] CFileSystem::OpenFile::File not found. gui.new\faces\fly.tga
[07:59:43.228] CFileSystem::OpenFile::File not found. gui.new\faces\fly.tga
[07:59:48.233] CDropArea::registerItem::A CRect object required (what you get in call to tryDropItem)
[07:59:48.233] registerInventoryPart (base\sectiontroopers.xscr 1930:30)
UnitShow (base\sectiontroopers.xscr 463:30)
UnitSelectionOnClick (base\sectiontroopers.xscr 1125:58)

[07:59:48.233] Int values:3
Float values:4
String values:2
Bool values:2
Object values:1
List values:1
Null values:0

[07:59:48.243] Waiting for sounds to stop playing
[07:59:48.777] Done waiting for messages.
[07:59:49.795] scripts done
[07:59:49.795] Switching console to window output
[07:59:49.912] graphics done
[07:59:49.916] input done
[07:59:49.917] event done
[07:59:49.917] Exiting with error

RE: CTD when viewing a soldier

Posted: Wed May 09, 2007 11:07 pm
by sage
throwing one of the other .tga files and renaming it to fly? Does that work? EDIT: whoops that advice is only relevant if you're using a mod.
ORIGINAL: BillSeurer

I always get a CTD when I click on a specific soldier in my base. It started after he was wounded in a fight but continues even though he is now healed.

Here's what's in the crash file. I looked and indeed there is no "fly.tga" file anywhere in the game's folders. There is a faces folder but it is in the data folder not "gui.new".

[07:59:43.216] CFileSystem::OpenFile::File not found. gui.new\faces\fly.tga
[07:59:43.218] CFileSystem::OpenFile::File not found. gui.new\faces\fly.tga
[07:59:43.220] CFileSystem::OpenFile::File not found. gui.new\faces\fly.tga
[07:59:43.221] CFileSystem::OpenFile::File not found. gui.new\faces\fly.tga
[07:59:43.223] CFileSystem::OpenFile::File not found. gui.new\faces\fly.tga
[07:59:43.224] CFileSystem::OpenFile::File not found. gui.new\faces\fly.tga
[07:59:43.228] CFileSystem::OpenFile::File not found. gui.new\faces\fly.tga
[07:59:48.233] CDropArea::registerItem::A CRect object required (what you get in call to tryDropItem)
[07:59:48.233] registerInventoryPart (base\sectiontroopers.xscr 1930:30)
UnitShow (base\sectiontroopers.xscr 463:30)
UnitSelectionOnClick (base\sectiontroopers.xscr 1125:58)

[07:59:48.233] Int values:3
Float values:4
String values:2
Bool values:2
Object values:1
List values:1
Null values:0

[07:59:48.243] Waiting for sounds to stop playing
[07:59:48.777] Done waiting for messages.
[07:59:49.795] scripts done
[07:59:49.795] Switching console to window output
[07:59:49.912] graphics done
[07:59:49.916] input done
[07:59:49.917] event done
[07:59:49.917] Exiting with error

RE: CTD when viewing a soldier

Posted: Wed May 09, 2007 11:14 pm
by Galfar
This bug is already on our list. Problem is caused by reequpping after soldier returns from mission.

RE: CTD when viewing a soldier

Posted: Thu May 10, 2007 2:24 am
by BillSeurer
Is there any way I can fix this on my own?

BTW, I just tried it on another soldier and indeed what you said is what causes it.

RE: CTD when viewing a soldier

Posted: Thu May 10, 2007 8:39 am
by Galfar
Well, you can edit your save game.

Use
UFO_ET.exe SaveEditor.xscr unpack slot1
to unpack save games and
UFO_ET.exe SaveEditor.xscr pack slot1
to pack them back.

After unpacking you will get bunch of new text files. Open globeSave.xsv, find
your soldier and empty his backpack or another part of inventory.