Crash after restarting the game in a new climate

Modding, Map Editor, IES Scripting and Other Questions
Post Reply
Ilya873
Posts: 3
Joined: 16 Jul 2022, 11:35
Has thanked: 1 time

Crash after restarting the game in a new climate

Post by Ilya873 »

Good afternoon. Added new climates to the game. At the first start everything works fine, but if you start a new game (on any climate), the game crashes with the following error:

EXCEPTION: ACCESS VIOLATION
0x00770d72
0x07242514
0x00000000
0x726f7469
0x646f6d20
EAX:00000000h ESI:0622f904h
EBX:00000000h EDI:00000000h
ECX:0622f930h EBP:00dab860h
EDX:00000e2ah ESP:0248fbach
EIP:00770d72h EID:00000000h
SS: 0000002bh CS: 00000023h
DS: 0000002bh FS: 00000053h
ES: 0000002bh GS: 0000002bh
Flags: 00010246h CF:0 PF:1 AF:0 ZF:1 SF:0 OF:0

All new climates are in the "Terrain" folder:

Image

What could be wrong?

User avatar
Dr.MonaLisa
High Representative
Posts: 8392
Joined: 17 Jun 2010, 11:21
Location: Poland
Has thanked: 31 times
Been thanked: 57 times

Re: Crash after restarting the game in a new climate

Post by Dr.MonaLisa »

Do you have the "Terrain" folder unpacked or what? All these files should be packed in the .zip file that is already in the game folders. Files (with some exceptions) shouldn't be left unpacked in EE2.
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
Ilya873
Posts: 3
Joined: 16 Jul 2022, 11:35
Has thanked: 1 time

Re: Crash after restarting the game in a new climate

Post by Ilya873 »

Of course it is in the archive. Otherwise the climate would not work.
zips_ee2x\EE2X_db.zip

After playing in a new climate, if you start a new game, it crashes.
User avatar
Dr.MonaLisa
High Representative
Posts: 8392
Joined: 17 Jun 2010, 11:21
Location: Poland
Has thanked: 31 times
Been thanked: 57 times

Re: Crash after restarting the game in a new climate

Post by Dr.MonaLisa »

It crashes at the place in code, where it's checking / reading a string with "terr_Temperate_0", "terr_Temperate_4", etc.

Here are the screenshots:
2022-07-17_01-40-22_OllyDbg_-_EE2X_158023_2.exe_-_[CPU_-_main_thread,_.png
2022-07-17_01-40-22_OllyDbg_-_EE2X_158023_2.exe_-_[CPU_-_main_thread,_.png (174.01 KiB) Viewed 1484 times
2022-07-17_01-40-50_OllyDbg_-_EE2X_158023_2.exe_-_[CPU_-_main_thread,_.png
2022-07-17_01-40-50_OllyDbg_-_EE2X_158023_2.exe_-_[CPU_-_main_thread,_.png (174.52 KiB) Viewed 1484 times
There must be something incorrect in the new climate files you added. Maybe there's something missing as well.

Unfortunately that's all I could check. It's not easy to analyze crashes from the Unhandled Exception codes. As first try to search for "terr_Temperate_0" and see what file uses it. Then check if other climates have a similar one.
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
These users thanked the author Dr.MonaLisa for the post:
Ilya873
Ilya873
Posts: 3
Joined: 16 Jul 2022, 11:35
Has thanked: 1 time

Re: Crash after restarting the game in a new climate

Post by Ilya873 »

Problem solved! I forgot to add climates to dbsprite_overlay.csv file

Thank you very much!
User avatar
Dr.MonaLisa
High Representative
Posts: 8392
Joined: 17 Jun 2010, 11:21
Location: Poland
Has thanked: 31 times
Been thanked: 57 times

Re: Crash after restarting the game in a new climate

Post by Dr.MonaLisa »

Great :)
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
Post Reply

Return to “Questions”