Jump to content
Sign In to follow this  
Benlemaire

datgen doesn't work

7 posts in this topic Last Reply

Highlighted Posts

Posted:
Last Online:  
 

i cant' make datgen work at all. when i run the program i get this error

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Xml.XmlException: The root element is missing.
   at System.Xml.XmlTextReader.Read()
   at System.Xml.XmlValidatingReader.ReadWithCollectTextToken()
   at System.Xml.XmlValidatingReader.Read()
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.Load(String filename)
   at DatGen4.frmDatGen.LoadConfig()
   at DatGen4.frmDatGen.frmDatGen_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at DatGen4.frmDatGen.WndProc(Message& m)
   at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
DatGen4
    Assembly Version: 0.6.0.21494
    Win32 Version: 0.6.0.21494
    CodeBase: file:///C:/Program%20Files/SynapticEffect/DatGen/DatGen4.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
SynapticEffect.SimCity
    Assembly Version: 0.3.1.21491
    Win32 Version: 0.3.1.21491
    CodeBase: file:///C:/Program%20Files/SynapticEffect/DatGen/SynapticEffect.SimCity.DLL
----------------------------------------
SynapticEffect.Forms
    Assembly Version: 0.4.1.694
    Win32 Version: 0.4.1.694
    CodeBase: file:///C:/Program%20Files/SynapticEffect/DatGen/SynapticEffect.Forms.DLL
----------------------------------------
System.Drawing
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
SynapticEffect.Forms.HexEd
    Assembly Version: 0.5.6.692
    Win32 Version: 0.5.6.692
    CodeBase: file:///C:/Program%20Files/SynapticEffect/DatGen/SynapticEffect.Forms.HexEd.DLL
----------------------------------------
SynapticEffect.Collections
    Assembly Version: 0.1.0.692
    Win32 Version: 0.1.0.692
    CodeBase: file:///C:/Program%20Files/SynapticEffect/DatGen/SynapticEffect.Collections.DLL
----------------------------------------
FSHLib
    Assembly Version: 0.3.2.22681
    Win32 Version: 0.3.2.22681
    CodeBase: file:///C:/Program%20Files/SynapticEffect/DatGen/FSHLib.DLL
----------------------------------------
SynapticEffect
    Assembly Version: 0.9.2.0
    Win32 Version: 0.9.2.0
    CodeBase: file:///C:/Program%20Files/SynapticEffect/DatGen/SynapticEffect.DLL
----------------------------------------
DatScriptEngine
    Assembly Version: 0.1.0.21492
    Win32 Version: 0.1.0.21492
    CodeBase: file:///C:/Program%20Files/SynapticEffect/DatGen/DatScriptEngine.DLL
----------------------------------------
System.Xml
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.




can anyone help me? it used to work very well and suddenly it stopped working

Share this post


Link to post
Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     

    I have .net framework

    I've searched all the datgen-related forums but i couldn't get the answer

    Anyone can help me? or i just need a program that lets me see pics of my bats so that i can organize my plugins folder

    Share this post


    Link to post
    Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     

    Andreas, thanks for the help

    the problem with the reader as well with sc4tool is that you have to load one by one the bats you wanna see by clicking the open button and browse for the file in my huge plugins folder

    what was nice with datgen is that I just needed to double-click on a file to see the pic of my bats

    is there maybe a way to automatically open the reader when i click on a lot? or is there anyone that knows how to make datgen work?

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    are you using the new datgen or the old one?

    If its the new datgen, you'll need a the later .NET upgrades that MS has done. not just the basic .NET setup.

    If its the old one, then having .NET is enough, so I'd check what version you're running. You need the latest one there too.

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    Originally posted by: Benlemaire 

    is there maybe a way to automatically open the reader when i click on a lot? or is there anyone that knows how to make datgen work?quote>

     

    Just assign the SC4 filetypes (SC4Lot, SC4Model, SC4Desc, DAT) to the reader, then the program will start when you double-click on them. Right-click on one file, select "Open with" and then "Select Program". In the new window, select/browse for the Reader's EXE and check "Always open with this program".

    Share this post


    Link to post
    Share on other sites

    Sign In or register to comment...

    To comment in reply, you must be a community member

    Sign In  

    Already have an account? Sign in here.

    Sign In Now

    Create an Account  

    Sign up to join our friendly community. It's easy!  

    Register a New Account

    Sign In to follow this  

    • Recently Browsing   0 members

      No registered users viewing this page.

    ×

    Thank You for the Continued Support!

    Simtropolis depends on donations to fund site maintenance costs.
    Without your support, we just would not be in our 24th year online!  You really help make this a great community. *:thumb:

    But we still need your support to stay online. If you're able to, please consider a donation to help us stay up and running. This helps sustain a platform where we can share our community creations for years to come.

    Make a Donation, Get a Gift!

    Expand your city with the best from the Simtropolis Exchange.
    Make a Donation and get one or all three discs today!

    STEX Collections

    By way of a "Thank You" gift, we'd like to send you our STEX Collector's DVD. It's some of the best buildings, lots, maps and mods collected for you over the years. Check out the STEX Collections for more info.

    Each donation helps keep Simtropolis online, open and free!

    Thank you for reading and enjoy the site!

    More About STEX Collections