.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
World Supremacy- Save $9.00

   







Go Back   .com.unity Forums > Digital Eel > Weird Worlds: Return to Infinite Space > Scenarios and Mods

 
 
Thread Tools Display Modes
  #1  
Old January 7th, 2007, 05:07 PM

Phlagm Phlagm is offline
Corporal
 
Join Date: Jan 2007
Location: Austin, TX
Posts: 151
Thanks: 0
Thanked 0 Times in 0 Posts
Phlagm is on a distinguished road
Default A stern warning to those altering credits.ini

I made the classic WW modding mistake. I edited 17 things at the same time, and then tried to test them.

I was fine tuning a weapon on my test ship, and then I decided that I should put three weapons on it and thus I could tweak 3 simultaneously. That worked well, until I decided to simultaneously add a sound file, make the beginnings of a new weapon (and mod the test race file to put it on the ship) and then tweak another weapon. On top of all that I decided to add some silly mod credits to the front of the real credits.

Then I loaded the game back up, and it worked fine, but when I clicked the simulator button, crash! I reinstalled the game and started building up the mod folder one tiny bit at a time (after lots of other removing of the test race, the test ships, and all the weapons I had been messing with, and it all failed to correct the problem) 2 hours later, I discover it was the modified credits that did it.

BEWARE!

-Jeremy
  #2  
Old January 7th, 2007, 05:45 PM
Fingers's Avatar

Fingers Fingers is offline
Sergeant
 
Join Date: Jun 2005
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
Fingers is on a distinguished road
Default Re: A stern warning to those altering credits.ini

Yeah, testing one thing at a time is the safest.

The credits.ini has a size limit of 160 lines and seems to have a particularly screwy failure mode if you exceed that. Not only do the credits break but it'll overflow and garble some pointers to interface strings. This will cause a crash when it tries to display a generic button like "CANCEL".

If we release another update I'll make it fail more gracefully (ie. just ignore any credits lines after 160). This was just sloppy coding on my part... Near the end of the project, seemingly insignificant part of the program, etc...
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 11:28 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.