Compatibility problems with tutorial :(

Victorliu17

04-12-2006 14:23:51

Hi I just finished a small application based on tutorial 101, the simplist tutorial in NxOgre. My program works fine on my computer, but crashes on other PCs.

My computer has DirectX9 sdk, Ogre sdk, NxOgre 0.4 RC2 sdk & Ageia Physx sdk installed, all of them are the latest version.

The target test computers have DirectX9.0c runtime installed.

I've tried to copy some Ogre(just Ogre) sample demos from my computer to other ones and they work just fine. Files copied include .exe, all .dlls, the media folder and some other configuration files.

However when I tried to copy similar files in NxOgre tutorials to other PCs, they just crashed :cry:

Everytime the crash happens when the window is displaying "LOADING". Apart from that I noticed the "ogre.graphics.log" generated had been finished, but the other one, "NxOgre.physics.log" does not include a single word. Does that mean my application crashes even before NxOgre engine is initiated? Then why did Ogre demos work fine?

I really need my work to be compatible. Any suggestion is appreciated!

betajaen

04-12-2006 14:33:13

Alright, if the physics.log hasn't been created then it seems it's a PhysX start up problem.

Did you install the SystemSoftware?

Victorliu17

04-12-2006 15:55:44

Thx! It seems I encountered exact the same problem as this:

http://www.ogre3d.org/phpBB2addons/view ... torder=asc



Unfortunately, I need to run my program on university's computer on which i don't have the system privilege to install SystemSoftware:(

I'll try to figure it out.

betajaen

04-12-2006 16:46:03

Ahh, ouch.

Unfortunately, PhysX requires SystemSoftware to run, and that is why it's crashing.

Perhaps you can sneak it on, some how ;)

OvermindDL1

04-12-2006 18:24:55

Are you saying that you cannot run a game that uses PhysX on a computer running on a non-privileged account only? Or is that just for the SDK?

betajaen

04-12-2006 18:40:05

I have no idea, all I know is that it requires installing SystemSoftware, which windows is windows, needs a privileged account to install.

OvermindDL1

04-12-2006 19:41:58

Hmm, I was planning to use PhysX (with this) in my current project, now I am not so sure, will need to do research first...

betajaen

04-12-2006 20:02:41

Thing is, installing the SystemSoftware isn't much of a big deal.

For a few reasons:

- Most games, install extra libraries anyway; OpenAL, DirectX Runtime, .Net, network libraries and so on, and even PhysX. GRAW and CellFactor for example does this.

- You can bundle the SystemSoftware in your installer executable anyway and do a silent install of it. So your users don't have to install it beforehand.

OvermindDL1

04-12-2006 23:51:42

Well, thus far all of my things have not required installation of other things, can literally just zip it up and give it. I use OpenGL for video through Ogre, .NET I would be utterly horrified by giving it with any installer of mine (does far too much to the system), nothing at all of mine requires installation of other things, and I like to keep it that way, best compatibility.

For note, cannot stand GRAW and CellFactor play styles, haven't had anything like them in years. .NET is still rather broken on my dev PC for reasons as yet unknown so I stay away from anything that even touches anything .NET related else it just pops up a Managed runtime exception report upon startup, never having useful information (believe me, I've searched...), and if I have issues with it, then it is not worth my time.

I just make up an Inno or similar installer when done, just for the purpose of making icons and all such automated with an uninstaller. I like things to work multi-platform with no hassle, that means no invasive installations, and I would never dare hide installing something.

Too many things out there that just randomly install things like GameGuard (something that randomly crashes every PC I've cleaned it off of), or what-not other things, I will not be a party to such things unless it is absolutely proven in my eyes (.NET has a big black mark on it, and since I've never heard of SystemSoftware, it has no pros or cons on it, so it could be used eventually, assuming it works back to Win98SE). I do not understand why a physics layer would require a separate installer though, just weird...

betajaen

05-12-2006 09:31:42

I do not understand why a physics layer would require a separate installer though, just weird...

As I understand it, it contains the PPU driver, the firmware, and possibly the PhysX library (PhysXCore.dll) for each version.

However when the next breed of PhysX powered games come out, the SystemSoftware will be pretty much on any computer anyway.

But I agree it should not be needed for software simulations, but there nothing we can do about it.