Turret orientation suggestion

Started by Hammish, August 03, 2014, 10:54:01 AM

FlessenGreendart

Hey, tried your physics adjuster, but I can't seem to open any models.

looking at the log, i'm getting the following:

DllNotFoundException: C:/Users/Flessen/Desktop/PhysicsAdjuster/Tool_Data/Plugins/NativeOpenfileProject.dll
  at (wrapper managed-to-native) GUILoader:OpenFileDialog ()

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

(Filename:  Line: -1)

Checked the directory, and the dll was in fact there.
Tried running as admin, tried disabling AV..

any ideas?

ai_enabled

FlessenGreendart, hello! It should work without any problems. Please can you try to launch it not from desktop? And what OS do you use?
Uploading the full log will also help us determine problem. Thanks!

FlessenGreendart

#17
Sorry for the late reply, I've used it in various folders, but no luck.

I've made do without it for now, shifting little boxes around in Blender to get the co-ords xD

I'm using windows 8 Pro, and the full log is here:
https://www.dropbox.com/s/3xjbydpdbi5u91e/output_log.txt

Thanks

santiagax99

Using "dependencywalker" programm on faulty DLL in PhysicsAdjuster, i've noticed that the dll requires msvcr110d.dll.
"The d.dll suffix means debug version of C++ runtime DLL. This means your exe is debug build, which requires MSVCR110d.dll."


FlessenGreendart

So I assume without Visual Studio, or some other such software, I won't be able to use this properly?

santiagax99

You can download this lib and put near .exe of tool.

ai_enabled

Hello! Sorry for late answer. Yes, you need to install Visual C++ Redistributive - http://www.microsoft.com/en-us/download/details.aspx?id=30679 - because this application uses C++ plugin for file opening (Unity doesn't provide this feature out of the box).
Regards!

FlessenGreendart

Thanks for getting back to me on this.

I've installed the Redist. (although I think I already had it) and unfortunately, it still hasn't done anything..

Still can't open anything with it   :-\

It's odd that this seems to be just the open operation that is causing any problems

FlessenGreendart

Ok, installing Visual Studio Express 2012 did indeed do the job

Ferro70

Sorry to Necro this post but I have a problem with the physics adjuster, it loads up fine as I have Visual Studio Express 2012 installed however when I click the 'open model' button nothing happens

windows 7 ultimate edition 64-bit

here is the log file from Physics Adjuster:

QuoteInitialize engine version: 4.5.2p1 (2d660ec05104)
GfxDevice: creating device client; threaded=1
Direct3D:
    Version:  Direct3D 9.0c [nvd3dum.dll 9.18.13.4475]
    Renderer: NVIDIA GeForce GTX 650
    Vendor:   NVIDIA
    VRAM:     1990 MB (via DXGI)
    Caps:     Shader=30 DepthRT=1 NativeDepth=1 NativeShadow=1 DF16=0 INTZ=1 RAWZ=0 NULL=1 RESZ=0 SlowINTZ=0
Begin MonoManager ReloadAssembly
Platform assembly: D:\physics tool\PhysicsAdjuster\Tool_Data\Managed\UnityEngine.dll (this message is harmless)
Loading D:\physics tool\PhysicsAdjuster\Tool_Data\Managed\UnityEngine.dll into Unity Child Domain
Platform assembly: D:\physics tool\PhysicsAdjuster\Tool_Data\Managed\I18N.dll (this message is harmless)
Platform assembly: D:\physics tool\PhysicsAdjuster\Tool_Data\Managed\I18N.West.dll (this message is harmless)
Platform assembly: D:\physics tool\PhysicsAdjuster\Tool_Data\Managed\Assembly-CSharp.dll (this message is harmless)
Loading D:\physics tool\PhysicsAdjuster\Tool_Data\Managed\Assembly-CSharp.dll into Unity Child Domain
Platform assembly: D:\physics tool\PhysicsAdjuster\Tool_Data\Managed\Box2DX.dll (this message is harmless)
Loading D:\physics tool\PhysicsAdjuster\Tool_Data\Managed\Box2DX.dll into Unity Child Domain
Platform assembly: D:\physics tool\PhysicsAdjuster\Tool_Data\Managed\I18N.dll (this message is harmless)
Loading D:\physics tool\PhysicsAdjuster\Tool_Data\Managed\I18N.dll into Unity Child Domain
Platform assembly: D:\physics tool\PhysicsAdjuster\Tool_Data\Managed\I18N.Other.dll (this message is harmless)
Loading D:\physics tool\PhysicsAdjuster\Tool_Data\Managed\I18N.Other.dll into Unity Child Domain
Platform assembly: D:\physics tool\PhysicsAdjuster\Tool_Data\Managed\I18N.Rare.dll (this message is harmless)
Loading D:\physics tool\PhysicsAdjuster\Tool_Data\Managed\I18N.Rare.dll into Unity Child Domain
Platform assembly: D:\physics tool\PhysicsAdjuster\Tool_Data\Managed\I18N.West.dll (this message is harmless)
Loading D:\physics tool\PhysicsAdjuster\Tool_Data\Managed\I18N.West.dll into Unity Child Domain
Platform assembly: D:\physics tool\PhysicsAdjuster\Tool_Data\Managed\Ionic.Zip.Reduced.dll (this message is harmless)
Loading D:\physics tool\PhysicsAdjuster\Tool_Data\Managed\Ionic.Zip.Reduced.dll into Unity Child Domain
- Completed reload, in  0.171 seconds
<RI> Initializing input.

<RI> Input initialized.

desktop: 1680x1050 59Hz; virtual: 5040x1818 at -1680,-768
Platform assembly: D:\physics tool\PhysicsAdjuster\Tool_Data\Managed\System.Core.dll (this message is harmless)
Platform assembly: D:\physics tool\PhysicsAdjuster\Tool_Data\Managed\System.Xml.Linq.dll (this message is harmless)
Platform assembly: D:\physics tool\PhysicsAdjuster\Tool_Data\Managed\System.Xml.dll (this message is harmless)
Undefined Queue: 'Transparent + 100'

(Filename:  Line: 263)

Undefined Queue: 'Transparent + 100'

(Filename:  Line: 215)

Undefined Queue: 'Transparent + 10'

(Filename:  Line: 263)

Undefined Queue: 'Transparent + 10'

(Filename:  Line: 215)

Fallback handler could not load library D:/physics tool/PhysicsAdjuster/Tool_Data/Mono/.\D:/physics tool/PhysicsAdjuster/Tool_Data/Plugins/NativeOpenfileProject.dll
Fallback handler could not load library D:/physics tool/PhysicsAdjuster/Tool_Data/Mono/.\D:/physics tool/PhysicsAdjuster/Tool_Data/Plugins/NativeOpenfileProject
Fallback handler could not load library D:/physics tool/PhysicsAdjuster/Tool_Data/Mono/libD:/physics tool/PhysicsAdjuster/Tool_Data/Plugins/NativeOpenfileProject.dll
Fallback handler could not load library D:/physics tool/PhysicsAdjuster/Tool_Data/Mono/.\libD:/physics tool/PhysicsAdjuster/Tool_Data/Plugins/NativeOpenfileProject.dll
Fallback handler could not load library D:/physics tool/PhysicsAdjuster/Tool_Data/Mono/libD:/physics tool/PhysicsAdjuster/Tool_Data/Plugins/NativeOpenfileProject.dll

overlord_cthulhu

Quote from: ai_enabled on September 14, 2014, 07:46:30 PM
Hello! Sorry for late answer. Yes, you need to install Visual C++ Redistributive - http://www.microsoft.com/en-us/download/details.aspx?id=30679 - because this application uses C++ plugin for file opening (Unity doesn't provide this feature out of the box).
Regards!

still nothing happens when i klick "Open model"...
* Visual Studio Express 2012 installed
* Visual Studio Express 2013 installed
* Visual C++ Redistributive 2012.4 installed
* Visual C++ 2013 Redistributable (x64) 12.0.30501 installed

Undefined Queue: 'Transparent + 100'

(Filename:  Line: 263)

Undefined Queue: 'Transparent + 100'

(Filename:  Line: 215)

Undefined Queue: 'Transparent + 10'

(Filename:  Line: 263)

Undefined Queue: 'Transparent + 10'

(Filename:  Line: 215)

Fallback handler could not load library S:/Users/Userxy/Documents/Downloads/PhysicsAdjuster/Tool_Data/Mono/.\S:/Users/Userxy/Documents/Downloads/PhysicsAdjuster/Tool_Data/Plugins/NativeOpenfileProject.dll
Fallback handler could not load library S:/Users/Userxy/Documents/Downloads/PhysicsAdjuster/Tool_Data/Mono/.\S:/Users/Userxy/Documents/Downloads/PhysicsAdjuster/Tool_Data/Plugins/NativeOpenfileProject
Fallback handler could not load library S:/Users/Userxy/Documents/Downloads/PhysicsAdjuster/Tool_Data/Mono/libS:/Users/Userxy/Documents/Downloads/PhysicsAdjuster/Tool_Data/Plugins/NativeOpenfileProject.dll
Fallback handler could not load library S:/Users/Userxy/Documents/Downloads/PhysicsAdjuster/Tool_Data/Mono/.\libS:/Users/Userxy/Documents/Downloads/PhysicsAdjuster/Tool_Data/Plugins/NativeOpenfileProject.dll
Fallback handler could not load library S:/Users/Userxy/Documents/Downloads/PhysicsAdjuster/Tool_Data/Mono/libS:/Users/Userxy/Documents/Downloads/PhysicsAdjuster/Tool_Data/Plugins/NativeOpenfileProject.dll


if the dependencies are unknown for the "C++ plugin for file opening" stuff. It is maybe not a big deal to look for a file path in the first parameter so we can start the tool like this: tool.exe foo.obj ?

ai_enabled

#26
overload_cthulhu, we've modified and reuploaded the tool so it will use launch parameter (path to obj-file) if you provide it (download link (http://atomictorch.com/Files/PhysicsAdjuster.zip)).