- Lizenzbestimmungen
- Creative Commons <by-nc-nd>
- Empfohlene OMSI-Version
- Aktuell v2.3.x
- Vorausgesetzte kommerzielle Erweiterungen
- Keine
- Weitere Versionshinweise
- v.2.00 - Program is now open source!
This program allows you to check the bus file for missing model files or textures.
Program can find:
*Missing textures from mesh files (.o3d and .x)
*Missing lightmap/nightmap/envmap/masks textures
*Missing mesh files
*Missing sounds
*Missing script files
Since version 2.00 this program is open source! Now you can contribute to this project
https://github.com/zheka20012/VehTools
Tool Interface:
Leave your suggestions and program errors in the comments
-
2.00
- 7,51 MB
- 154 Downloads
Complete program rewrite
No need to install .NET Frameworks! -
1.05
- 10,58 kB
- 759 Downloads
Added .x file load support
-
1.04 hotfix
- 11,14 kB
- 210 Downloads
Fixed loading other named "sound" and "model" folders.
Fixed loading mesh file info
-
1.03
- 11,53 kB
- 67 Downloads
Changes in 1.03:
Added Sounds Checking (MIssing/Unused)
-
1.02
- 10,37 kB
- 331 Downloads
Minor fixes
Application Reqires .NET Framework 4! -
1.01
- 9,61 kB
- 135 Downloads
Skinner_11
Are you planning to make the codebase open-source? I have some python scripts for similar functionalities, eg. finding unused variables, sound triggers that i would happily reimplement in this tool.
CHapaeFF
Maybe in the nearly future, when i make the code more readable)
Westu
Hi would it be possible to add an option to copy all used items to a separate folder?
CHapaeFF
Yes, it's possible, but for what?
Westu
This would make it easier to package vehicles without adding unused files to them
CHapaeFF
Planned in next update
Andvari
Great Update but the "Copy to Clipboard" Button at "Sounds" isn't working.
Brandenburger
Very nice tool. But this tool does not work with all Busses based on O530 Citaro and Facelift.
First error is always, that the programm can not find "Vehicles\MB_O530_Facelift\sound". But the sound directory is named "sound-citaro"...
When I create a directory named "sound" it works. But the next error is "Object reference not set to an instance of an object". The log says it is because of the model\O530\indic_rot.x.
It is possible to fix that?
CHapaeFF
Thanks for your reply, i will fix it in the next hotfix.
Brandenburger
thx for replying! You can test it with O530 with Morphi Soundpack or Facelift with Morphisoundpack.:)
Andvari
Sadly the tool isn't working with all vehicles. Sometimes I get an "Index was outside the bounds of the array." message
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at VehTools.Utility.ReadStructArray[T](FileStream stream, Int32 length)
at VehTools.O3DFile.LoadO3D(String path)
at VehTools.Form1.LoadCFG(String path)
at VehTools.Form1.LoadBusFile()
at VehTools.Form1.SelectBusButton_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.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: 4.0.0.0
Win32 Version: 4.8.4150.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
VehTools
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///A:/Users/Downloads/VehTools/VehTools.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4150.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.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.
Andvari
The Bug is still happening with the 1.02 "Object reference not set to an instance of an object". Only appears at the Citaro from Another with the Morphi Patch.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at VehTools.O3DFile.LoadO3D(String path)
at VehTools.Form1.LoadCFG(String path)
at VehTools.Form1.LoadBusFile()
at VehTools.Form1.SelectBusButton_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4150.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
VehTools
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///B:/SteamLibrary/steamapps/common/OMSI%202/VehTools.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4150.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.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.