Universe Sandbox

Universe Sandbox Legacy => Universe Sandbox Legacy | Help => Topic started by: NovaSilisko on April 29, 2011, 05:05:59 PM

Title: Error code KKAJN (Inexplicably resolved)
Post by: NovaSilisko on April 29, 2011, 05:05:59 PM
Now, the original "missing steamwrapper.dll" bug has been fixed. But I don't have any idea what causes this:

(http://i54.tinypic.com/2crocqb.jpg)

I'm on the steam version, windows 7, 64 bit.
Title: Re: Error code KKAJN
Post by: Dan Dixon on April 29, 2011, 05:17:43 PM
Weird. When does this happen?
Is it occasional or every time to try and start Universe Sandbox?
Title: Re: Error code KKAJN
Post by: NovaSilisko on April 29, 2011, 05:19:44 PM
Whenever I start it.

I tried the nonsteam version, it doesn't give that error but it crashes anyway with the normal safe mode or normal mode screen.

When I start it, the loading thing shows (planet orbiting sun), before showing this error.
Title: Re: Error code KKAJN
Post by: NovaSilisko on April 29, 2011, 05:34:33 PM
Here are the error logs

[Removed links]
Title: Re: Error code KKAJN
Post by: Dan Dixon on April 29, 2011, 08:15:05 PM
Got the links. Thanks.

No time to review right now, but I will in the next day or two and get back to you.

Sorry, I'm slammed right now.

We will resolve this problem for sure.
Title: Re: Error code KKAJN
Post by: NovaSilisko on April 29, 2011, 10:33:52 PM
I tried to use the nonsteam version again, got this now:

(http://i55.tinypic.com/sesu8o.jpg)
Title: Re: Error code KKAJN
Post by: Dan Dixon on April 30, 2011, 05:47:12 AM
I'm really sorry you're having a problem. Thanks for the log files they were helpful.

I've just uploaded a new version (non-Steam) that will help identify this problem.

You can either run the "update.exe" program that's in the Universe Sandbox folder that's probably here:
C:\Program Files (x86)\Universe Sandbox

Or just re-download the setup file from the Install link above and install it over your existing installation (no need to uninstall first).

Run it again. You'll likely still get that error, but the log files will have much more information about what happened than before.

Can you email me the Sandbox Log.txt file?

After I get the log files and fix the error I will release a new version with the fix to Steam and non-Steam in the next few days.
Title: Re: Error code KKAJN
Post by: NovaSilisko on April 30, 2011, 09:38:51 AM
All right, I sent the logs.
Title: Re: Error code KKAJN
Post by: Dan Dixon on April 30, 2011, 05:40:47 PM
The error in question is this:
The type initializer for '<Module>' threw an exception.

This says you're missing a DLL:
http://stackoverflow.com/questions/4852965/typeinitializationexception-the-type-initializer-for-module-threw-an-excepti


It looks like this is either a .NET installation issue or a C++ redistributable install issue.

1
Try installing this:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en

2
And try to run Universe Sandbox.

3
If that doesn't work install this:
http://www.microsoft.com/downloads/en/details.aspx?familyid=A5C84275-3B97-4AB7-A40D-3802B2AF5FC2&displaylang=en

4
Run Universe Sandbox

If that doesn't work I'll come up with something else to try. This is a solvable problem.
Title: Re: Error code KKAJN
Post by: NovaSilisko on April 30, 2011, 06:00:33 PM
Neither fix worked.

My copy is installed to my W:/ drive. Would this make any difference?

Also, I installed it on my awful netbook, and it works. However, it's really, really bad. Can't get more than 5 FPS on just a normal galaxy. Makes the thing heat up extremely, too.
Title: Re: Error code KKAJN
Post by: Bla on May 01, 2011, 12:56:26 AM
My copy is installed to my W:/ drive. Would this make any difference?
I don't think so, mine is installed on my E: drive and works.

Also, I installed it on my awful netbook, and it works. However, it's really, really bad. Can't get more than 5 FPS on just a normal galaxy. Makes the thing heat up extremely, too.
You can reduce the dust multiplier slider in the advanced settings in the simulation settings panel (the one which you can access from the left side in the simulation). Decreasing it will result in fewer particles and better performance.
I think the program will always try to use as much CPU as it can while simulating something, though.
Title: Re: Error code KKAJN
Post by: NovaSilisko on May 01, 2011, 01:19:41 AM
My copy is installed to my W:/ drive. Would this make any difference?
I don't think so, mine is installed on my E: drive and works.

Also, I installed it on my awful netbook, and it works. However, it's really, really bad. Can't get more than 5 FPS on just a normal galaxy. Makes the thing heat up extremely, too.
You can reduce the dust multiplier slider in the advanced settings in the simulation settings panel (the one which you can access from the left side in the simulation). Decreasing it will result in fewer particles and better performance.
I think the program will always try to use as much CPU as it can while simulating something, though.

Note that I'm not actually using any particles. Just planets and stars
Title: Re: Error code KKAJN
Post by: Bla on May 01, 2011, 01:25:40 AM
The stars in the galaxy are particles/dust.
Title: Re: Error code KKAJN
Post by: Dan Dixon on May 01, 2011, 12:03:31 PM
Sorry that didn't work for you.

I'll research this issue more and get back to you (hopefully later this evening).
Title: Re: Error code KKAJN
Post by: NovaSilisko on May 01, 2011, 12:05:17 PM
The stars in the galaxy are particles/dust.

I know. I'm not using any galaxies. Was just providing it as an example. Just planets and stars alone work decent but the overheating still is an issue.
Title: Re: Error code KKAJN
Post by: NovaSilisko on May 01, 2011, 03:10:40 PM
I suppose there's no easy way to find what DLL is missing, is there?
Title: Re: Error code KKAJN
Post by: Dan Dixon on May 02, 2011, 10:21:26 AM
Apparently reinstalling/repairing .NET can sometimes fix this issue.

Do you know how to do that? It would be worth trying.

When I have more time I can reply with more detailed instructions.



Worst case a reinstall of Windows would fix this problem (which I can understand not wanting to do).

Title: Re: Error code KKAJN
Post by: NovaSilisko on May 02, 2011, 03:21:51 PM
I've repaired the main .NET thing but not the client version.


Which versions does US make use of?
Title: Re: Error code KKAJN
Post by: NovaSilisko on May 02, 2011, 04:09:58 PM
Reinstalled 4.0, restarted...didn't do anything
Title: Re: Error code KKAJN
Post by: Dan Dixon on May 02, 2011, 07:27:14 PM
And I added some new code that should better trap the error you are having.

Can you run the new version on Steam (2.1.1) and send me the log files again?



And something else to try (as the module in question was compiled against an earlier version of .NET):

Try the 7 steps here to repair the earlier versions of .NET:
http://blogs.msdn.com/b/astebner/archive/2007/03/26/how-to-repair-the-net-framework-2-0-and-3-0-on-windows-vista.aspx

This says that this is how you repair them in Windows 7 (even though it says Vista):
http://social.msdn.microsoft.com/Forums/en-ZA/netfxsetup/thread/838d3683-53e9-4e00-b535-14da989545b0
Title: Re: Error code KKAJN
Post by: NovaSilisko on May 02, 2011, 09:05:35 PM
Tried those...not sure what i'm supposed to do exactly...

I PM'd you the sandbox log, too
Title: Re: Error code KKAJN
Post by: Dan Dixon on May 03, 2011, 12:56:07 AM
This is so weird. I'm running out of ideas.

I really think it's a configuration issue of some kind.

Try installing and running this and let me know the results:
http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx
Title: Re: Error code KKAJN
Post by: NovaSilisko on May 03, 2011, 01:04:49 AM
Code: [Select]
[05/03/11,04:02:37] ***WARNING*** File C:\Windows\Microsoft.NET\Framework\sbscmp20_mscorlib.dll is not installed on the system
[05/03/11,04:02:42] ***WARNING*** File C:\Windows\Microsoft.NET\Framework\v4.0.30319\WPF\wpftxt_v0400.dll is not installed on the system
[05/03/11,04:02:46] ***WARNING*** File C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WPF\WPFFontCache_v0400.exe is not installed on the system
[05/03/11,04:02:46] ***WARNING*** File C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WPF\wpftxt_v0400.dll is not installed on the system
[05/03/11,04:03:15] ***WARNING*** File C:\Windows\Microsoft.NET\Framework\sbscmp20_mscorlib.dll is not installed on the system
[05/03/11,04:03:15] ***WARNING*** File C:\Windows\Microsoft.NET\Framework\v4.0.30319\WPF\wpftxt_v0400.dll is not installed on the system
[05/03/11,04:03:15] ***WARNING*** File C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WPF\WPFFontCache_v0400.exe is not installed on the system
[05/03/11,04:03:15] ***WARNING*** File C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WPF\wpftxt_v0400.dll is not installed on the system

This seems suspect.

Edit: Nothing.

What version does the game even use
Title: Re: Error code KKAJN
Post by: NovaSilisko on May 03, 2011, 12:41:42 PM
I forgot to mention, the error code has changed

(http://i51.tinypic.com/jpag55.jpg)

And several of these errors came up in CBS.log after the sfc scan:

Code: [Select]
2011-05-02 22:58:33, Info                  CSI    000002be [SR] Cannot repair member file [l:22{11}]"msvcm90.dll" of Microsoft.VC90.CRT, Version = 9.0.30729.4974, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope neutral, PublicKeyToken = {l:8 b:1fc8b3b9a1e18e3b}, Type = [l:10{5}]"win32", TypeName neutral, PublicKey neutral in the store, hash mismatch


I uninstalled all the x86 VC2008 redists. And it worked.

how
Title: Re: Error code KKAJN
Post by: Dan Dixon on May 03, 2011, 03:00:44 PM
Now Universe Sandbox works?

Title: Re: Error code KKAJN
Post by: NovaSilisko on May 03, 2011, 03:06:56 PM
Now Universe Sandbox works?



Yeah...

I had uninstalled and reinstalled them several times, but just UNinstalling them worked :l
Title: Re: Error code KKAJN
Post by: Dan Dixon on May 03, 2011, 03:16:21 PM
Weird and yay!
Title: Re: [Steam] Universe Startup Problem (SOLVED)
Post by: DOOMJESUS on May 05, 2011, 12:32:16 PM
in xp 32, i get error message:

"object reference not set to an instance of an object.

error code 2.1.1 Steam - KKAJN"

after ok'ing, i am prompted to run in safe mode or not, clicking either option, sandbox just closes, same story every launch...

please help...
Title: Re: [Steam] Universe Startup Problem (SOLVED)
Post by: Dan Dixon on May 05, 2011, 12:48:13 PM
Have you tried any of the suggestions in this thread?

Or steps 4 or 5 or 7 from here?
http://universesandbox.com/forum/index.php/topic,3513.0.html

This is probably because some system files are messed up on your computer.

Let me know what you try and what happens.
Title: Re: [Steam] Universe Startup Problem (SOLVED)
Post by: DOOMJESUS on May 05, 2011, 01:16:27 PM
none of those steps changed anything and i don't see any specific recommendations in this thread. i do see that the op says the problem cleared up for him on it's own essentially, while he was trying to fix another problem, maybe you could point out something else in specific i should try.

the dotnet 1.1 on my machine is the only one that fails that verifier prog. what should i do about that? windows won't allow me to re-install that old version because there are three or four newer versions installed on the system...

i should also mention that i've got 175 other games on steam, all fully functioning...
Title: Re: [Steam] Universe Startup Problem (SOLVED)
Post by: Dan Dixon on May 05, 2011, 04:43:30 PM
Try this (option 2):

http://www.sevenforums.com/tutorials/1538-sfc-scannow-command-system-file-checker.html

What does that report?
Title: Re: [Steam] Universe Startup Problem (SOLVED)
Post by: DOOMJESUS on May 05, 2011, 06:04:09 PM
Try this (option 2):

http://www.sevenforums.com/tutorials/1538-sfc-scannow-command-system-file-checker.html

What does that report?

i don't think this will work with xp... ;D
Title: Re: [Steam] Universe Startup Problem (SOLVED)
Post by: Dan Dixon on May 05, 2011, 09:06:17 PM
Ah... I assumed Windows 7. Sorry.

Have you run any registry cleaners ever?

And you do have all the Windows Updates installed?

And you're running XP SP3?



Ahh... I wasn't paying attention to the error message. Move the messages to this thread with the same error message.

I uninstalled all the x86 VC2008 redists. And it worked.

Try that.
Title: Re: [Steam] Universe Startup Problem (SOLVED)
Post by: DOOMJESUS on May 06, 2011, 02:09:43 AM
Ah... I assumed Windows 7. Sorry.

Have you run any registry cleaners ever? no

And you do have all the Windows Updates installed? yes

And you're running XP SP3? yes



Ahh... I wasn't paying attention to the error message. Move the messages to this thread with the same error message.

I uninstalled all the x86 VC2008 redists. And it worked.

Try that.

i removed all four of the vc2008 redists i had installed.
no changes to universe sandbox.

but i do have to wonder now how many of my other games might be effected adversely by doing this...
Title: Re: Error code KKAJN (Inexplicably resolved)
Post by: Dan Dixon on May 06, 2011, 08:58:22 AM
i removed all four of the vc2008 redists i had installed.
no changes to universe sandbox.

but i do have to wonder now how many of my other games might be effected adversely by doing this...

Now try installing them again. Two of them can be found here:
C:\Program Files (x86)\Steam\steamapps\common\universe sandbox\Prerequisites

And run the files that start with vcredist.

Does Universe Sandbox run now?
Title: Re: Error code KKAJN (Inexplicably resolved)
Post by: DOOMJESUS on May 06, 2011, 03:40:00 PM
i removed all four of the vc2008 redists i had installed.
no changes to universe sandbox.

but i do have to wonder now how many of my other games might be effected adversely by doing this...

Now try installing them again. Two of them can be found here:
C:\Program Files (x86)\Steam\steamapps\common\universe sandbox\Prerequisites

And run the files that start with vcredist.

Does Universe Sandbox run now?



done, still no joy.

while i was there i also reinstalled dotnet4 to no avail...
Title: Re: Error code KKAJN (Inexplicably resolved)
Post by: Dan Dixon on May 06, 2011, 05:13:57 PM
1
Is it still giving you the same error message?

2
Did you try creating a new windows user and then running Universe Sandbox under that user?

3
Have you ever run a registry cleaner?
Title: Re: Error code KKAJN (Inexplicably resolved)
Post by: DOOMJESUS on May 06, 2011, 08:33:36 PM
1
Is it still giving you the same error message? yes, situation unchanged.

2
Did you try creating a new windows user and then running Universe Sandbox under that user? no, but i don't want to.

3
Have you ever run a registry cleaner? no, but this is a very clean system, i have not found a need for it up to now.

i'm willing to try a few things to make this work but i'm not going to just do every random thing you ask of me and you already asked me this stuff.
i think it's going to be up to you all to solve this.
Title: Re: Error code KKAJN (Inexplicably resolved)
Post by: Dan Dixon on May 09, 2011, 02:33:57 PM
I'm not recommending anyone run a registry cleaner... The other user with this problem thinks this may have been what caused the problem. That's why I asked.

Can you try to create a new user and see if that fixes it?
You can delete the new user after you've tried running Universe Sandbox from there.
If it works... it will help to identity the cause of the problem.
Title: Re: Error code KKAJN (Inexplicably resolved)
Post by: DOOMJESUS on May 10, 2011, 05:49:15 PM
I'm not recommending anyone run a registry cleaner... The other user with this problem thinks this may have been what caused the problem. That's why I asked.

Can you try to create a new user and see if that fixes it?
You can delete the new user after you've tried running Universe Sandbox from there.
If it works... it will help to identity the cause of the problem.

if a shot in the dark is what it takes to make this game work, someone else can have that honor because i'm not willing to add another user to my user to my system, particularly if i am only going to delete it. this is why i don't require a registry cleaner and i don't intend to start using one now.

i'd like to play your game but i paid the fare, my job now is to play it, the burden of fixing it is on you guys. there appears to be no shortage of people with this issue so you shouldn't have a problem convincing someone else to try that.

here's what i'll do, i'll try to launch universe sandbox again in another month and if the issue hasn't been resolved by then, i will probably forget about this game, except of course to un-recommend it to my friends...

Title: Re: Error code KKAJN (Inexplicably resolved)
Post by: Dan Dixon on May 12, 2011, 11:25:45 AM
I'm really sorry it's not working for you.

As far as I know, only you and one other person have had this problem and for him it turned out to be a DLL / registry issue.

I'm at a bit of a loss to help you solve this problem as I don't think any changes I can make on my end will help. I think the problem is with your computer's configuration.

Creating a new user will not mess up your computer. Let me know what happens if you try that.
Title: Re: Error code KKAJN (Inexplicably resolved)
Post by: DOOMJESUS on May 27, 2011, 01:36:55 PM
as predicted, uninstalling those other versions of vc eroded my system, as soon as other games started getting updates i started getting problems, i got an update for black ops yesterday and now i get the incomplete installation number 2 error for which there is no cure other than reinstalling windows.

your game generated a very specific error message and i'd bet money that you could tell me what the problem really was if you wanted to but i will never play this game thanks to your help. i just wanted you to know that...
Title: Re: Error code KKAJN (Inexplicably resolved)
Post by: Dan Dixon on May 27, 2011, 01:53:38 PM
I am really sorry that it's not working for you. If I knew know how to fix your problem I would tell you. What motivation would I have for knowing the solution and not telling you?

While the error is specific and I see where in the code it is failing, it's not clear why it would fail there for you and not everyone else. It is calling on an external library, which has dependencies of its own and it's here that I think the problem lies.

This is also why I suggested creating a new user, which is a very safe, non-damaging thing to do in Windows and can correct configuration issues present in the current user profile you're using unsuccessfully.

---

I'm also sorry for the bad advice in uninstalling the VC Redistributable libraries. I should have at least suggested writing down what you were uninstalling (so you could re-install them). I suggested this because someone else with this error reported that as the solution. So I thought it was worth trying.

Someone else emailed me just a few days ago with this error, but restarting the computer fixed it for them.

---

Here are the links to re-install the three common VC Redistributables:

Microsoft Visual C++ 2005 Redistributable
http://www.microsoft.com/download/en/details.aspx?id=3387 (http://www.microsoft.com/download/en/details.aspx?id=3387)

Microsoft Visual C++ 2008 SP1 Redistributable
http://www.microsoft.com/download/en/details.aspx?id=5582 (http://www.microsoft.com/download/en/details.aspx?id=5582)

Microsoft Visual C++ 2010 SP1 Redistributable
http://www.microsoft.com/download/en/details.aspx?id=8328 (http://www.microsoft.com/download/en/details.aspx?id=8328)

You should also make sure you have all the latest Windows Updates installed.
http://update.microsoft.com/ (http://update.microsoft.com/)

---

If you do re-install Windows I bet that will fix your problem. I'm quite certain your problem is a unique configuration issue and not a problem inherent in the Universe Sandbox code.
Title: Re: Error code KKAJN (Inexplicably resolved)
Post by: DOOMJESUS on July 10, 2011, 10:46:37 PM
I am really sorry that it's not working for you. If I knew know how to fix your problem I would tell you. What motivation would I have for knowing the solution and not telling you?

While the error is specific and I see where in the code it is failing, it's not clear why it would fail there for you and not everyone else. It is calling on an external library, which has dependencies of its own and it's here that I think the problem lies.

This is also why I suggested creating a new user, which is a very safe, non-damaging thing to do in Windows and can correct configuration issues present in the current user profile you're using unsuccessfully.

---

I'm also sorry for the bad advice in uninstalling the VC Redistributable libraries. I should have at least suggested writing down what you were uninstalling (so you could re-install them). I suggested this because someone else with this error reported that as the solution. So I thought it was worth trying.

Someone else emailed me just a few days ago with this error, but restarting the computer fixed it for them.

---

Here are the links to re-install the three common VC Redistributables:

Microsoft Visual C++ 2005 Redistributable
http://www.microsoft.com/download/en/details.aspx?id=3387 (http://www.microsoft.com/download/en/details.aspx?id=3387)

Microsoft Visual C++ 2008 SP1 Redistributable
http://www.microsoft.com/download/en/details.aspx?id=5582 (http://www.microsoft.com/download/en/details.aspx?id=5582)

Microsoft Visual C++ 2010 SP1 Redistributable
http://www.microsoft.com/download/en/details.aspx?id=8328 (http://www.microsoft.com/download/en/details.aspx?id=8328)

You should also make sure you have all the latest Windows Updates installed.
http://update.microsoft.com/ (http://update.microsoft.com/)

---

If you do re-install Windows I bet that will fix your problem. I'm quite certain your problem is a unique configuration issue and not a problem inherent in the Universe Sandbox code.


i did not follow this advice but i did reinstall the game again, for the third time in as many months.

and now, yes, inexplicably, it works.

thanks anyhow...