Author Topic: Help Me Take SGDK2 to the Next Step -- Who Can and Can't Run It?  (Read 19846 times)

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
I need your help folks.  Apparently I still haven't been able to work out why some people can run SGDK2 games and Map Editor (DirectX stuff) and others can't.  Could you all help me out by supplying some information about your experience with Pre-Alpha demo release 5?  So far, what I think I need to know is:
1. Can you run SGDK2 at all -- does it come up when you run the EXE?
2. Can you load the sample project SHFL.sg2?
3. Can you edit the map in the sample project (see the graphics in the map editor)?
3b. If Not, what exactly does the error message say?
4. Can you run the sample project (F5 key after loading the project)?
4b. If Not, what exactly does the error message say?
5. What version of DirectX do you have installed?

For information about your DirectX Installation, I suggest running the DirectX applet from Control Panel.  From there you can click the "DxDiag" button among other things.  DxDiag appears to tell you exactly which version of DirectX you have installed.  I have DirectX 9.0c (4.09.0000.0904).  I notice that DxDiag does report some old files on my system -- I wonder if this has anything to do with it; I have version 5.03.0001.1126 of the following dlls reported as old:
d3d8d.dll
d3dx8d.dll
d3dx9d.dll
d3d9d.dll
directx.cpl

I'm going to go install the latest DirectX from Microsoft's web site to see if anything changes.

sam

  • Fanatic
  • ***
  • Posts: 303
  • This statement is false.
    • MSN Messenger - samlancashire@hotmail.com
    • View Profile
    • samlancashire.com
    • Email
1. Yes
2. Yes
3. Yes
4. No
4b. 'An unhandled exception has occured....File or assembly name Microsoft.DirectX.DirectInput, or one of it's dependencies, was not found....'
Details
Quote
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.FileNotFoundException: File or assembly name Microsoft.DirectX.DirectInput, or one of its dependencies, was not found.
File name: "Microsoft.DirectX.DirectInput"
   at SGDK2.CodeGenerator.CompileProject(String ProjectName, String FolderName, String& errs)
   at SGDK2.frmMain.mnuFileRunProject_Click(Object sender, EventArgs e)
   at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.MenuItem.ShortcutClick()
   at System.Windows.Forms.Menu.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Form.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
   at System.Windows.Forms.ThreadContext.System.Windows.Forms.UnsafeNativeMethods+IMsoComponent.FPreTranslateMessage(MSG& msg)

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.DirectX.DirectInput, Version=1.0.1901.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
 (Fully-specified)
LOG: Appbase = C:\Program Files\GameDev 2\SGDK2-pre03\SGDK2\
LOG: Initial PrivatePath = NULL
Calling assembly : SGDK2IDE, Version=1.0.2371.37510, Culture=neutral, PublicKeyToken=null.
===

LOG: Publisher policy file is not found.
LOG: Host configuration file not found.
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: Microsoft.DirectX.DirectInput, Version=1.0.1901.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
LOG: Attempting download of new URL file:///C:/Program Files/GameDev 2/SGDK2-pre03/SGDK2/Microsoft.DirectX.DirectInput.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/GameDev 2/SGDK2-pre03/SGDK2/Microsoft.DirectX.DirectInput/Microsoft.DirectX.DirectInput.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/GameDev 2/SGDK2-pre03/SGDK2/Microsoft.DirectX.DirectInput.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/GameDev 2/SGDK2-pre03/SGDK2/Microsoft.DirectX.DirectInput/Microsoft.DirectX.DirectInput.EXE.



************** Loaded Assemblies **************
mscorlib
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2032
    CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
SGDK2IDE
    Assembly Version: 1.0.2371.37510
    Win32 Version: 1.0.2371.37510
    CodeBase: file:///C:/Program%20Files/GameDev%202/SGDK2-pre03/SGDK2/SGDK2IDE.exe
----------------------------------------
System.Drawing
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2032
    CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2032
    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.2032
    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Data
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2032
    CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
----------------------------------------
System.Xml
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2032
    CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
Microsoft.DirectX
    Assembly Version: 1.0.1901.0
    Win32 Version: 5.3.0000001.1126 built by: DIRECTX
    CodeBase: file:///C:/Program%20Files/GameDev%202/SGDK2-pre03/SGDK2/Microsoft.DirectX.DLL
----------------------------------------
Microsoft.DirectX.Direct3D
    Assembly Version: 1.0.1901.0
    Win32 Version: 5.3.0000001.1126 built by: DIRECTX
    CodeBase: file:///C:/Program%20Files/GameDev%202/SGDK2-pre03/SGDK2/Microsoft.DirectX.Direct3D.DLL
----------------------------------------
Microsoft.DirectX.Direct3DX
    Assembly Version: 1.0.1901.0
    Win32 Version: 5.3.0000001.1126 built by: DIRECTX
    CodeBase: file:///C:/Program%20Files/GameDev%202/SGDK2-pre03/SGDK2/Microsoft.DirectX.Direct3DX.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.
5. Um...Direct X 9 I remember came with a game I got. I dont see anything to do with Direct X in the Control Panel...

durnurd

  • Lead Lemming
  • Expert
  • Fanatic
  • *****
  • Posts: 1234
  • Games completed so far: 0
    • MSN Messenger - durnurd@hotmail.com
    • View Profile
    • Find My Ed
You can run DxDiag directly from Windows by opening the Run dialog (Start->Run or [Windows]+R) and typing dxdiag and pressing enter.  You'll get something like the image below.  You can find the version of DirectX near the bottom (where it says "DirectX Version: DirectX 9.0c (4.09.0000.0904)" in the image)

Edward Dassmesser

sam

  • Fanatic
  • ***
  • Posts: 303
  • This statement is false.
    • MSN Messenger - samlancashire@hotmail.com
    • View Profile
    • samlancashire.com
    • Email
Ok, Thanks, Here it is (I was too lazy to type the numbers... :) )

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Sam, Microsoft.DirectX.DirectInput.dll was included in the pre-alpha 5 release -- is it in the directory where SGDK2.exe is running from?  Did any DLL files get copied into the SHFL folder that gets created when the project is compiled?

sam

  • Fanatic
  • ***
  • Posts: 303
  • This statement is false.
    • MSN Messenger - samlancashire@hotmail.com
    • View Profile
    • samlancashire.com
    • Email
I just did a search for it and nothing came up. Pre-Alpha Release 5 came with an installer right? If so I'll just wipe all the other SGDK2 stuff from my comp and redownload it.

sam

  • Fanatic
  • ***
  • Posts: 303
  • This statement is false.
    • MSN Messenger - samlancashire@hotmail.com
    • View Profile
    • samlancashire.com
    • Email
Thanks, everything works now. :)

billybob884

  • Contributor
  • Fanatic
  • **
  • Posts: 355
    • AOL Instant Messenger - billybob884
    • View Profile
1. Can you run SGDK2 at all -- does it come up when you run the EXE?

yep it opens up fine (nice splash screen btw)

2. Can you load the sample project SHFL.sg2?

yep

3. Can you edit the map in the sample project (see the graphics in the map editor)?

yea (idk if you had thought of this, but you may want to consider doing some sort of undo/redo thing)

4. Can you run the sample project (F5 key after loading the project)?

yes, but 1) the fps is blinking rapid fire in the top left corner, and 2, the sprites move continuously after you press left/right, dont kno if thats ok or not, also, on that 1st block that looks like its on a non-moving layer, the space underneith it gets kinda garbaged from the sprites when the screen is moved up (if that makes any sense), I emailed you a video clip b/c i couldnt attach it

5. What version of DirectX do you have installed?

apparently 9.0c
"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move." :: Hitchhiker's Guide to the Galaxy

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Windows Media Player can't find the codec to play the AVI file you sent.  MPG or WMV format would probably work better if you can convert it into one of those formats.  I know that the bottom of the layer gets garbled because the layers aren't sized correctly.  But maybe you're talking about something different because the way I released it, I didn't think the sprites were able to move into an area where you would be able to see the bottom of the layer or the garbled graphics.

Does it behave any better when you switch to full-screen mode with Alt-Enter?  (Does the FPS stop flickering?)  I thought I noticed those flickering when using Windows' Magnifier.  But that's not happening now.  Maybe that got fixed when I upgraded DirectX, or maybe I was seeing that on a different computer.  What number do you have for FPS? Maybe you have some option set on your video driver that makes it bhave strangely.

Graiskye

  • Visitor
  • *
  • Posts: 2
    • View Profile
 Okay I just startedusing the SGDK, and after using 1.46(IIRC), I saw this thread and tried out the new one.
 To answer your questions:
Quote
1. Can you run SGDK2 at all -- does it come up when you run the EXE?
2. Can you load the sample project SHFL.sg2?
3. Can you edit the map in the sample project (see the graphics in the map editor)?
3b. If Not, what exactly does the error message say?
4. Can you run the sample project (F5 key after loading the project)?
4b. If Not, what exactly does the error message say?
5. What version of DirectX do you have installed?

 Answers as follows.....
 1.) Yes
 2.) Yes
 3.) Yes
   3b.) no errors
 4.)Yes
   4b.) again no errors
 5.) Direct X9
 
 Guess my system specs may matter so here goes: AMD Athlon XP+2200/512mb  ram/XP Home... bascially your standard run of the mill desktop PC.
 I must say that ver 2.0 looks alot nicer, I havent really gotten into the nuts and bolts of either version so I cannot really comment on the differences, but from a purely aesthetic POV, it looks good, and I expect it works well, tho I will report any probs if I have them.
Hope that helps, best of luck, Graiskye

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: Help Me Take SGDK2 to the Next Step -- Who Can and Can't Run It?
« Reply #10 on: 2006-07-12, 05:47:49 AM »
Well, considering that SGDK2 is still "pre-alpha" (not officially released and not even in beta... and not even in alpha) don't expect too much out of it just yet.  My hope is that what's there works reasonably well, but it's rather user un-friendly and incomplete at this point.  There aren't any wizards or help files and there are lots of missing features.  A clever user/developer might be able to create an interesting game by using the ability to extend and modify the game project's source code (analogous to scripting in 1.x), but there is a lot more source code that I intend to provide by default still, like the ability to follow paths and switch maps and activate/deactivate sprites etc.

Anyway, isn't there anybody who can't run SGDK2?  Scott, are you out there?  You said you couldn't run it.

durnurd

  • Lead Lemming
  • Expert
  • Fanatic
  • *****
  • Posts: 1234
  • Games completed so far: 0
    • MSN Messenger - durnurd@hotmail.com
    • View Profile
    • Find My Ed
Re: Help Me Take SGDK2 to the Next Step -- Who Can and Can't Run It?
« Reply #11 on: 2006-07-12, 07:56:29 AM »
With .NET 2.0 installed w/o 1.x (Artificially induced situation just for this; I was waiting for a build) I was able to run the program and edit graphics, but not open the map editor or play the game.  DX 9.0c.

You may also not find it interesting to know that without .NET 2.0 or .NET 1.x installed, it fails miserably before anything happens at all.

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

************** Exception Text **************
System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at SGDK2.Display..ctor(GameDisplayMode mode, Boolean windowed)
   at SGDK2.Display..ctor()
   at SGDK2.frmMapEditor.InitializeComponent()
   at SGDK2.frmMapEditor..ctor(LayerRow Layer)
   at SGDK2.frmMain.EditObject()
   at SGDK2.frmMain.mnuEditProperties_Click(Object sender, EventArgs e)
   at SGDK2.frmMain.tvwMain_DoubleClick(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnDoubleClick(EventArgs e)
   at System.Windows.Forms.TreeView.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
SGDK2IDE
    Assembly Version: 1.0.2371.37510
    Win32 Version: 1.0.2371.37510
    CodeBase: file:///C:/Documents%20and%20Settings/Administrator/Desktop/SGDK2-pre05/SGDK2IDE.exe
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (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 computer
rather than be handled by this dialog box.
Edward Dassmesser

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: Help Me Take SGDK2 to the Next Step -- Who Can and Can't Run It?
« Reply #12 on: 2006-07-13, 05:55:57 AM »
Does that test environment with .NET 2.0 and without .NET 1.1 have the managed DirectX dll files in the directory where SGDK2.exe is (those that came with Pre-alpha 5)?  I find it very odd that .NET 2.0 causes the managed DirectX DLLs to be unable to load, but it looks like that's what's happening.

Also, I don't expect there's anything I can do about failing altogether when .NET isn't installed at all.  It's a .NET program and it just won't run when .NET isn't there.

durnurd

  • Lead Lemming
  • Expert
  • Fanatic
  • *****
  • Posts: 1234
  • Games completed so far: 0
    • MSN Messenger - durnurd@hotmail.com
    • View Profile
    • Find My Ed
Re: Help Me Take SGDK2 to the Next Step -- Who Can and Can't Run It?
« Reply #13 on: 2006-07-13, 06:25:59 AM »
Well, yes of course you couldn't do much about the "not having DirectX installed" which is why you may not find it interesting.

As for SGDK2, I downloaded the latest version (PA5), extracted the files to a subdirectory under the desktop, and ran it.
Edward Dassmesser

porfirio

  • Visitor
  • *
  • Posts: 2
    • View Profile
    • Email
Re: Help Me Take SGDK2 to the Next Step -- Who Can and Can't Run It?
« Reply #14 on: 2006-12-01, 03:35:52 AM »
I cant Run, generate or debug, i always get this error

SHFL\Sfx.cs(7,40) : error CS0234: Nome do espa