General Question I develop MIG-21 and i have problem

AndriiKOSMONAVT

New member
Joined
Dec 31, 2021
Messages
12
Reaction score
1
Points
3
Location
Prague
Hello, i make my first addon i make mig 21 and i have problem i have in orbiter.log this:
*** Orbiter.log
Build Aug 30 2010 [v.100830]
Timer precision: 1e-007 sec
Found 0 joystick(s)
Devices enumerated: 6
Devices accepted: 5
==> RGB Emulation
==> Direct3D HAL
==> Direct3D T&L HAL
==> Direct3D HAL (AMD Radeon HD 7000 series)
==> Direct3D T&L HAL (AMD Radeon HD 7000 series)
Module AtlantisConfig.dll .... [Build 100830, API 100830]
Module AtmConfig.dll ......... [Build 100830, API 100830]
Module DGConfigurator.dll .... [Build 100830, API 100830]
Module EnergyConfigurator.dll [Build ******, API 060425]
Module ScnEditor.dll ......... [Build 100830, API 100830]
Module AbsoluteKillrot.dll ... [Build ******, API 060425]
Module Framerate.dll ......... [Build 100830, API 100830]
Module OrbiterSound.dll ...... [Build ******, API 060425]
---------------------------------------------------------------
>> WARNING: Obsolete API function used: oapiRegisterMFDMode
At least one active module is accessing an obsolete interface function.
Addons which rely on obsolete functions may not be compatible with
future versions of Orbiter.
---------------------------------------------------------------
Module transx.dll ............ [Build 100824, API 100823]
Module InterMFD55.dll ........ [Build 100826, API 100704]
Module AeroBrakeMFD.dll ...... [Build ******, API 100830]
Module AttitudeMFD.dll ....... [Build ******, API 060425]
Module LaunchMFD.dll ......... [Build 110815, API 100830]
Module videnie.dll ........... [Build 110912, API 100830]
Module LunarTransferMFD.dll .. [Build 100621, API 100603]
Module ScriptMFD.dll ......... [Build 100830, API 100830]
Module LuaConsole.dll ........ [Build 100830, API 100830]
Module BGPCMFD.dll ........... [Build 120101, API 100830]
Module GPCMFD.dll ............ [Build 111222, API 100830]
Module PursuitMFD_2010.dll ... [Build 170619, API 100830]
Module RendezvousMFD.dll ..... [Build ******, API 050206]

**** Creating simulation session
DirectDraw interface OK
Direct3D interface OK
Graphics: Viewport: Window 1914 x 1051 x 32
Graphics: Hardware T&L capability: Yes
Graphics: Z-buffer depth: 32 bit
Graphics: Active lights supported: 8
Loading 15382 records from star database
Module Sun.dll ............... [Build 100830, API 100830]
VSOP87(E) Sun: Precision 1e-006, Terms 554/6634
Module Mercury.dll ........... [Build 100830, API 100830]
VSOP87(B) Mercury: Precision 1e-005, Terms 167/7123
Module Venus.dll ............. [Build 100830, API 100830]
Module VenusAtm2006.dll ...... [Build 100830, API 100830]
VSOP87(B) Venus: Precision 1e-005, Terms 79/1710
Module Earth.dll ............. [Build 100830, API 100830]
Module EarthAtmJ71G.dll ...... [Build 100830, API 100830]
VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564
---------------------------------------------------------------
>> ERROR: Missing texture: Krayniy/FONAR.dds
>> [TextureManager::AcquireTexture | .\Texture.cpp | 750]
---------------------------------------------------------------
---------------------------------------------------------------
>> ERROR: Missing texture: 00000000.dds
>> [TextureManager::AcquireTexture | .\Texture.cpp | 750]
---------------------------------------------------------------
---------------------------------------------------------------
>> ERROR: Missing texture: 00000000.dds
>> [TextureManager::AcquireTexture | .\Texture.cpp | 750]
---------------------------------------------------------------
---------------------------------------------------------------
>> ERROR: Missing texture: 00000000.dds
>> [TextureManager::AcquireTexture | .\Texture.cpp | 750]
---------------------------------------------------------------
---------------------------------------------------------------
>> ERROR: Missing texture: 00000000.dds
>> [TextureManager::AcquireTexture | .\Texture.cpp | 750]
---------------------------------------------------------------
---------------------------------------------------------------
>> ERROR: Missing texture: 00000000.dds
>> [TextureManager::AcquireTexture | .\Texture.cpp | 750]
---------------------------------------------------------------
---------------------------------------------------------------
>> ERROR: Missing texture: 00000000.dds
>> [TextureManager::AcquireTexture | .\Texture.cpp | 750]
---------------------------------------------------------------
---------------------------------------------------------------
>> ERROR: Missing texture: 00000000.dds
>> [TextureManager::AcquireTexture | .\Texture.cpp | 750]
---------------------------------------------------------------
---------------------------------------------------------------
>> ERROR: Missing texture: 00000000.dds
>> [TextureManager::AcquireTexture | .\Texture.cpp | 750]
---------------------------------------------------------------
---------------------------------------------------------------
>> ERROR: Missing texture: 00000000.dds
>> [TextureManager::AcquireTexture | .\Texture.cpp | 750]
---------------------------------------------------------------
---------------------------------------------------------------
>> ERROR: Missing texture: 00000000.dds
>> [TextureManager::AcquireTexture | .\Texture.cpp | 750]
---------------------------------------------------------------
---------------------------------------------------------------
>> ERROR: Missing texture: 00000000.dds
>> [TextureManager::AcquireTexture | .\Texture.cpp | 750]
---------------------------------------------------------------
---------------------------------------------------------------
>> ERROR: Missing texture: Krayniy/FONAR.dds
>> [TextureManager::AcquireTexture | .\Texture.cpp | 750]
---------------------------------------------------------------
Module Moon.dll .............. [Build 100830, API 100830]
ELP82: Precision 1e-005, Terms 116/829
Module Mars.dll .............. [Build 100830, API 100830]
Module MarsAtm2006.dll ....... [Build 100830, API 100830]
VSOP87(B) Mars: Precision 1e-005, Terms 405/6400
Module Phobos.dll ............ [Build ******, API 060425]
Module Deimos.dll ............ [Build ******, API 060425]
Module Galsat.dll ............ [Build 100217, API 100215]
Module Jupiter.dll ........... [Build 100830, API 100830]
VSOP87(B) Jupiter: Precision 1e-006, Terms 1624/3625
Module Io.dll ................ [Build 100217, API 100215]
Module Europa.dll ............ [Build 100217, API 100215]
Module Ganymede.dll .......... [Build 100217, API 100215]
Module Callisto.dll .......... [Build 100217, API 100215]
Module Satsat.dll ............ [Build 100215, API 100212]
Module Saturn.dll ............ [Build 100830, API 100830]
VSOP87(B) Saturn: Precision 1e-008, Terms 6365/6365
Module Mimas.dll ............. [Build 100215, API 100212]
SATSAT Mimas: Terms 113
Module Enceladus.dll ......... [Build 100215, API 100212]
SATSAT Enceladus: Terms 33
Module Tethys.dll ............ [Build 100215, API 100212]
SATSAT Tethys: Terms 101
Module Dione.dll ............. [Build 100215, API 100212]
SATSAT Dione: Terms 59
Module Rhea.dll .............. [Build 100215, API 100212]
SATSAT Rhea: Terms 68
Module Titan.dll ............. [Build 100215, API 100212]
SATSAT Titan: Terms 100
Module Iapetus.dll ........... [Build 100215, API 100212]
SATSAT Iapetus: Terms 605
Module Janus.dll ............. [Build ******, API 060425]
Module Epimetheus.dll ........ [Build ******, API 060425]
Module Helene.dll ............ [Build ******, API 060425]
Module Telesto.dll ........... [Build ******, API 060425]
Module Calypso.dll ........... [Build ******, API 060425]
Module Polydeuces.dll ........ [Build ******, API 060425]
Module Uranus.dll ............ [Build 100830, API 100830]
VSOP87(B) Uranus: Precision 1e-006, Terms 1827/5269
Module Miranda.dll ........... [Build ******, API 060425]
Module Ariel.dll ............. [Build ******, API 060425]
Module Umbriel.dll ........... [Build ******, API 060425]
Module Titania.dll ........... [Build ******, API 060425]
Module Oberon.dll ............ [Build ******, API 060425]
Module Neptune.dll ........... [Build 100830, API 100830]
VSOP87(B) Neptune: Precision 1e-006, Terms 391/2024
Finished initialising world
>> ERROR: No vessel class configuration file found for:
---------------------------------------------------------------
>>> ERROR: Textura\Textura
>> [Vessel::OpenConfigFile | .\Vessel.cpp | 252]
---------------------------------------------------------------
>> TERMINATING <<<
 

JMW

Aspiring Addon Developer
Joined
Aug 5, 2008
Messages
580
Reaction score
40
Points
43
Location
Happy Wherever
> ERROR: No vessel class configuration file found for:
---------------------------------------------------------------
>>> ERROR: Textura\Textura

>> [Vessel::OpenConfigFile | .\Vessel.cpp | 252]
---------------------------------------------------------------
>> TERMINATING <<<
Hi AndriiKOSMONAVT
------------------------------------^^^ That's your problem.
Looks like either you haven't made a .cfg file or it's in the wrong folder.
You need a .cfg file called the exact name of your module,
and it should be in the Vessels folder, in the Config folder in the root directory of your Orbiter installation.
Example: Orbiter2010\Config\Vessels\mig-21.cfg
 

AndriiKOSMONAVT

New member
Joined
Dec 31, 2021
Messages
12
Reaction score
1
Points
3
Location
Prague
i have it now in Orbiter2010\Config\Vessels\Textura it's random name for my mig 21 it launches but i have problem with the model and textures
1661753988770.png
 

Urwumpe

Not funny anymore
Addon Developer
Donator
Joined
Feb 6, 2008
Messages
36,990
Reaction score
1,673
Points
203
Location
Langendernbach
i have it now in Orbiter2010\Config\Vessels\Textura it's random name for my mig 21 it launches but i have problem with the model and textures

So, its time to check your assets again.

  1. Is the mesh where it should be relative to the meshes folder, as you specified in your configuration file or where you expect it in C++?
  2. Are the textures that you use in the meshes all in the correct relative paths to the Textures folder?
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
7,532
Reaction score
1,678
Points
203
Location
Dallas, TX
Can you post the orbiter.log file. It might tells us what is missing.
 

AndriiKOSMONAVT

New member
Joined
Dec 31, 2021
Messages
12
Reaction score
1
Points
3
Location
Prague
So, its time to check your assets again.

  1. Is the mesh where it should be relative to the meshes folder, as you specified in your configuration file or where you expect it in C++?
  2. Are the textures that you use in the meshes all in the correct relative paths to the Textures folder?
i dont understand
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
7,532
Reaction score
1,678
Points
203
Location
Dallas, TX
So it is good?
I thought you said you had issues with the mesh also? If not seen look in the orbiter.log It might say missing mesh and what folder it should be in
 

JMW

Aspiring Addon Developer
Joined
Aug 5, 2008
Messages
580
Reaction score
40
Points
43
Location
Happy Wherever
i have it now in Orbiter2010\Config\Vessels\Textura it's random name for my mig 21 it launches but i have problem with the model and textures
View attachment 30233
Urwumpe is asking if your items are in the right places.
Is your Textura.msh file in the Meshes folder in your Orbiter installation ?

With the scenario running, when you press the f9 key does it show the word "Textura" with a small box ?
If so, is your "Textura" module that you created with the VS compiler in the Modules folder in your Orbiter installation?
And is the path to it correct in the Scenario file?
Example:
Begin_Ships
Textura : Your Folder?\Textura
 
Top