Difference between revisions of "Crash To Desktop"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>Mrtnrln
m (One cause of a CTD added)
m (15 revisions imported)
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{expand}}
 
{{expand}}
  
A crash to desktop (abbrv: CTD) is the name for when the game unexpectedly closes and returns you to the desktop.
+
A '''Crash to Desktop''', abbreviated as '''CTD''',  is the name for when the game unexpectedly closes and returns you to the desktop.
  
 
==Commonly Known Causes of CTD's==
 
==Commonly Known Causes of CTD's==
  
* Zooming out (Expand)
+
* Zooming in or out rapidly. Zooming requires the game to regenerate the graphics at a new zoom, which can overwhelm the program.
* Making contact between [[Puzzle Piece]]s and [[Transit_Enabled_Lot| TE'd Lot's]]
+
* Making contact between [[Puzzle Piece]]s and [[Transit Enabled]] (TE) lots.
 
* Functional Landmarks Mod, while you still have normal, non-functional Landmarks in your city.
 
* Functional Landmarks Mod, while you still have normal, non-functional Landmarks in your city.
others...
+
* There may be others not listed here.
  
===Info from SC4D===
+
===Puzzle Piece & Transit Enabled Lot Conflict===
[http://sc4devotion.com/forums/index.php?topic=5094.0|NAM FAQ]
+
[http://sc4devotion.com/forums/index.php?topic=5094.0| NAM FAQ]
This issue occurs only when a [[Puzzle Piece]] of a certain network is hovered over a [[TE Lot]] that is transit enabled with the same network.  For example, Elevated Heavy Rail Viaducts over a Transit-Enabled Rail Station.  
+
This issue occurs only when a [[Puzzle Piece]] of a certain network is hovered over a [[Transit Enabled]] lot that is transit enabled with the same network.  For example, Elevated Heavy Rail Viaducts over a Transit-Enabled Rail Station.  
  
The issue is the result of hardcoded material in the main .exe file, so there is no way to fix it.  When you select a puzzle piece, be careful that the cursor is not located over a TE Lot. Otherwise, the game will crash immediately without you even noticing that you hovered a puzzle piece over a TE-Lot.
+
The issue is the result of hardcoded material in the main .exe file; the SimCity 4.exe file, for some reason or another, tends to get stuck in an "infinite loop" when puzzle pieces are hovered over [[TE Lot]]s. The infinite loop causes an exception and the game closes itself automatically due to this.
  
It is, however, possible to avoid it, with a few simple tips:
+
It was previously thought to be unfixable due to it's hardcoded nature, until [[People:Simmaster07|Simmaster07]] discovered a solution via DLL modding. The DLL SC4 Fix completely removes the crashing due the TE Lot/Puzzle Piece hovering, and also stabilizes other aspects of the game, making CTDs generally less likely, though still possible (e.g. zooming in/out too fast). You can download it from the STEX [http://community.simtropolis.com/files/file/30883-sc4fix-third-party-patches-for-sc4/| here], though please note that, as of May 2016, the NAM RHW Disconnector tool still caused CTDs with ''all'' TE Lots, regardless of network type.
  
*Be careful when placing Puzzle Pieces and TE Lots like Stations, [[Transit Switch]]es, Bus Blockers, etc.
+
For more info on TE Lots, see [[People:mott|mott]]'s discussion on the topic [http://sc4devotion.com/forums/index.php?topic=2763.0]. Thanks to [[People:Chrisim|Chrisim]] for providing some additional information on this issue!
*Avoid using unnecessary Puzzle Pieces.  For instance, use Draggable GLR instead of GLR Puzzle Pieces--GLR Stations are TE Lots
 
*Avoid using unnecessary TE Lots, especially those merely intended for cosmetic purposes--they can also cause issues with the [[Traffic Simulator]]
 
 
 
 
 
For more info on TE Lots, see {{member|mott}}'s discussion on the topic [http://sc4devotion.com/forums/index.php?topic=2763.0].
 
 
 
''Technical info'': why this problem occurs
 
The SimCity 4.exe file, for some reason or another, tends to get stuck in an "infinite loop" when puzzle pieces are hovered over [[TE Lot]]s.  The infinite loop causes an exception and the game closes itself automatically due to this.
 
 
 
Thanks to {{member|Chrisim}} for providing some additional information on this issue!
 
  
 
[[Category:Bugs]]
 
[[Category:Bugs]]
 +
{{expand}}

Latest revision as of 01:43, 9 August 2019

A Crash to Desktop, abbreviated as CTD, is the name for when the game unexpectedly closes and returns you to the desktop.

Commonly Known Causes of CTD's

  • Zooming in or out rapidly. Zooming requires the game to regenerate the graphics at a new zoom, which can overwhelm the program.
  • Making contact between Puzzle Pieces and Transit Enabled (TE) lots.
  • Functional Landmarks Mod, while you still have normal, non-functional Landmarks in your city.
  • There may be others not listed here.

Puzzle Piece & Transit Enabled Lot Conflict

NAM FAQ This issue occurs only when a Puzzle Piece of a certain network is hovered over a Transit Enabled lot that is transit enabled with the same network. For example, Elevated Heavy Rail Viaducts over a Transit-Enabled Rail Station.

The issue is the result of hardcoded material in the main .exe file; the SimCity 4.exe file, for some reason or another, tends to get stuck in an "infinite loop" when puzzle pieces are hovered over TE Lots. The infinite loop causes an exception and the game closes itself automatically due to this.

It was previously thought to be unfixable due to it's hardcoded nature, until Simmaster07 discovered a solution via DLL modding. The DLL SC4 Fix completely removes the crashing due the TE Lot/Puzzle Piece hovering, and also stabilizes other aspects of the game, making CTDs generally less likely, though still possible (e.g. zooming in/out too fast). You can download it from the STEX here, though please note that, as of May 2016, the NAM RHW Disconnector tool still caused CTDs with all TE Lots, regardless of network type.

For more info on TE Lots, see mott's discussion on the topic [1]. Thanks to Chrisim for providing some additional information on this issue!