AtomicTorch Studio Forums

VoidExpanse => Modding info => Topic started by: frizzank on August 25, 2015, 01:57:36 PM

Title: VE Physics Adjuster
Post by: frizzank on August 25, 2015, 01:57:36 PM
I found this on the wiki but have no idea how it works or even where to install it to work correctly?

VE Physics Adjuster
http://atomictorch.com/Files/PhysicsAdjuster.zip
Title: Re: VE Physics Adjuster
Post by: Lurler on August 25, 2015, 09:42:07 PM
You don't need to install it.
Just unpack it and run. Then to open a model simply naviage to the folder where the model is stored. Then you can load a texture to that model.
And then you can add shapes to create physics for the model.
When you are done you can copy the physics definitions into your xml for the ship.
Title: Re: VE Physics Adjuster
Post by: frizzank on August 25, 2015, 10:57:56 PM
clicking on open model does nothing...

This is from the output log
DllNotFoundException: C:/Users/Frizzank/Documents/AtomicTorchStudio/VoidExpanse/Tools/VoidExpansePhysicsAdjuster_Data/Plugins/NativeOpenfileProject.dll
  at (wrapper managed-to-native) GUILoader:OpenFileDialog ()

  at GUILoader.OnGUI () [0x00000] in <filename unknown>:0

(Filename:  Line: -1)
Title: Re: VE Physics Adjuster
Post by: Lurler on August 25, 2015, 11:00:00 PM
Can you make a screenshot how that looks?
Title: Re: VE Physics Adjuster
Post by: frizzank on August 25, 2015, 11:02:16 PM
Clicking the button just depresses it and nothing happens.

error log

DllNotFoundException: C:/Users/Frizzank/Documents/AtomicTorchStudio/VoidExpanse/Tools/VoidExpansePhysicsAdjuster_Data/Plugins/NativeOpenfileProject.dll
  at (wrapper managed-to-native) GUILoader:OpenFileDialog ()

  at GUILoader.OnGUI () [0x00000] in <filename unknown>:0

(Filename:  Line: -1)

I tried re-downloading it and same thing.
Title: Re: VE Physics Adjuster
Post by: Lurler on August 25, 2015, 11:38:41 PM
Ah, now I see.
You are missing a dll.
Are you sure you extracted everything? And your antivirus have not removed the file?
This one "NativeOpenfileProject.dll" - it should be in the path specified in your comment.
Title: Re: VE Physics Adjuster
Post by: frizzank on August 26, 2015, 01:13:08 AM
Yes the file is there, i don't have anti-virus software.
Title: Re: VE Physics Adjuster
Post by: Lurler on August 26, 2015, 01:19:07 AM
Well... if it's there, but the program still gives error about it not being there...
To be honest I don't even have any ideas what could be the reason :(
Possibly something related to OS compatibility, maybe if you are using win10 it is not compatible with it or something like that.
Title: Re: VE Physics Adjuster
Post by: p0ki on August 26, 2015, 04:43:02 AM
Maybe something like this?
regsvr32 C:\%PATH_TO_FILE%\NativeOpenfileProject.dll
Title: Re: VE Physics Adjuster
Post by: frizzank on August 26, 2015, 03:59:45 PM
I loaded it on two separate machines, one windows 7 another xp.  Same results, output log says the same thing.

Does it have to be placed in a specific directory?
Title: Re: VE Physics Adjuster
Post by: Lurler on August 26, 2015, 10:41:17 PM
Quote from: frizzank on August 26, 2015, 03:59:45 PM
Does it have to be placed in a specific directory?
No... You really don't need to do anything. Just unpack and run...
I will send the link to this topic to our lead dev, maybe he can figure something out.

Edit: Okay, it seems we have figured out the reason! And I just added a page to our wiki that explains it a bit more.
This should solve the problem: http://wiki.atomictorch.com/VoidExpanse/physics_adjuster
Title: Re: VE Physics Adjuster
Post by: frizzank on August 27, 2015, 05:37:42 PM
I already have the C++ redistribution, but just to be safe I re-installed it. Still doesn't work.

Can someone else try downloading this and running it on their machine just to make sure it's not me.
http://atomictorch.com/Files/PhysicsAdjuster.zip
Title: Re: VE Physics Adjuster
Post by: ai_enabled on August 30, 2015, 07:46:28 PM
Usually DllNotFound exception thrown when the dynamic library not found or cannot be loaded because of the dependencies not resolved.
There are a very short list of dependencies of NativeOpenfileProject.dll (https://sc-cdn.scaleengine.net/i/245645a8b0abf754d4b4f3f20f4e02f02.png)
Usually msvcr110d.dll installed with C++ redistributable 2012. But it seems it doesn't works properly for you.
Could you try placing msvcr110d.dll near the VoidExpansePhysicsAdjuster_Data/Plugins/NativeOpenfileProject.dll and run the application please? You could download msvcr110d.dll from my Google Drive https://drive.google.com/file/d/0B4-tSq-u4CreOWZPVDE5V2Z3Mkk/view?usp=sharing
Regards!
Title: Re: VE Physics Adjuster
Post by: frizzank on September 02, 2015, 11:32:30 AM
Nope, still spitting out this error when I click the open model button
DllNotFoundException: C:/Users/Frizzank/Documents/AtomicTorchStudio/VoidExpanse/Tools/VoidExpansePhysicsAdjuster/VoidExpansePhysicsAdjuster_Data/Plugins/NativeOpenfileProject.dll
  at (wrapper managed-to-native) GUILoader:OpenFileDialog ()

  at GUILoader.OnGUI () [0x00000] in <filename unknown>:0

(Filename:  Line: -1)


I also tried putting the rest of the dll's you listed in with the NativeOpenfileProject.dll, still nothing.
I also double checked and made sure the dll files did exist in Windows/System32, and they do.
Title: Re: VE Physics Adjuster
Post by: p0ki on September 03, 2015, 12:03:33 AM
Have you registered your DLL's? I once had a similar problem and registering the needed DLL helped.
If you want to try that out start your cmd and enter this:
regsvr32 C:\%PATH_TO_FILE%\NativeOpenfileProject.dll
Title: Re: VE Physics Adjuster
Post by: frizzank on September 03, 2015, 11:50:51 AM
Also doesn't matter where I put it, same thing.

(http://i.imgur.com/K7Mv7wz.jpg)
Title: Re: VE Physics Adjuster
Post by: Lurler on September 03, 2015, 09:03:37 PM
Wait, what? Are you using windows 98 or 2000? O_O
Title: Re: VE Physics Adjuster
Post by: frizzank on September 03, 2015, 10:15:42 PM
windows 7 with classic toolbar look
Title: Re: VE Physics Adjuster
Post by: ai_enabled on September 03, 2015, 11:05:31 PM
Nice theme, I'm love it :-).

Ok. We've replaced Windows Open File dialog with the custom one from Mono.
It doesn't require NativeOpenfileProject.dll now. DirectX 2012 Redist also is not required anymore.
Download from the same URL http://atomictorch.com/Files/PhysicsAdjuster.zip
Title: Re: VE Physics Adjuster
Post by: Lurler on September 03, 2015, 11:06:33 PM
I see :)

Also - good news! We rewrote that part, so it is now completely independent of external libraries, so please try downloading the new version and try now!

Edit: Ninjaed by ai_enabled :)
Title: Re: VE Physics Adjuster
Post by: frizzank on September 06, 2015, 05:21:01 PM
ok will try
Title: Re: VE Physics Adjuster
Post by: frizzank on September 06, 2015, 05:28:34 PM
Yea It works now! Most of it is self explanatory but is there a help page that says what everything does?