SDK Question Need help making a custom solar system

weepleman

New member
Joined
Aug 9, 2008
Messages
57
Reaction score
0
Points
0
Hello, I am making my own solar system, and I am having some difficulty. I can make my own solar system file, my own planets, my own custom textures, and my own atmospheres. When I was making the solar system, I copied and pasted earth into it for testing. Everything worked fine, and I could see my planet with my texture on it. The problem arose when I was trying to put a ship on the new planet; orbiter CTDed. Also when I tried starting with the ship in orbit, orbiter CTDed. Can anyone help me with this please.
 

Tommy

Well-known member
Joined
Aug 14, 2008
Messages
2,019
Reaction score
86
Points
48
Location
Here and now
Did you also copy the .dll, I think it's Vsop87.dll? The standard Orbiter Sol system has a .dll that contains the ephemeris, trying to use Earth (or one of the other "stock" planets) without this .dll would likely result in a CTD when Orbiter looks for that .dll, and can't find it.

The Orbiter.log file in the root directory will also shed some light on the problem.
 

weepleman

New member
Joined
Aug 9, 2008
Messages
57
Reaction score
0
Points
0
I copied all of the config for Sol, and earth does work with it. The problem is when I try to use a planet other than earth
 

tblaxland

O-F Administrator
Administrator
Addon Developer
Webmaster
Joined
Jan 1, 2008
Messages
7,320
Reaction score
25
Points
113
Location
Sydney, Australia
How have you defined the orbit of your planet? Are you using Earth.dll or have you commented out the "Module = Earth" line in the .cfg? If you commented it out, did put some appropriate orbital elements in the .cfg file?
 

weepleman

New member
Joined
Aug 9, 2008
Messages
57
Reaction score
0
Points
0
I didn't copy earth for the planet, and I am just defining the orbit in the config. Also, the planet itself worked because it showed up in orbit MFD, the problem was when I tried to make my ship orbit the planet in the scenario.
 

Dr Pepper

Soft Drink
Joined
Apr 5, 2008
Messages
72
Reaction score
0
Points
0
Location
3rd Rock from the Sun
Could you post the contents your Orbiter log right after the CTD? It's the text file named "orbiter". Could you also post the contents of the .cfg file for the planet you are having trouble with? That would help a lot. :)
 

weepleman

New member
Joined
Aug 9, 2008
Messages
57
Reaction score
0
Points
0
**** Orbiter.log
Build Sep 29 2006 [v.060929]
Found 0 joystick(s)
Module AtlantisConfig.dll [API v.060425]
Module DGConfig.dll [API v.060425]
Module EnergyConfigurator.dll [API v.060425]
Module WeatherMFD.dll [API v.060425]
Module WarpDriveMFDPhoenix.dll [API v.060425]
Module WarpDriveMFD-Mk2.dll [API v.060425]
Module TrackIR.dll [API v.060425]
TrackIR module not found.
Module ThrustControlMFD.dll [API v.060425]
Module TetrisMFD.dll [API v.060425]
Module SensorMFD.dll [API v.050206]
Module ScnEditor.dll [API v.060425]
Module SailMFD.dll [API v.060425]
Module SafeTimeAccelMFD.dll [API v.050206]
Module REDSHIFT.dll [API v.041022]
Module Rcontrol.dll [API v.050206]
Module PEGAutopilot.dll [API v.060425]
Module OrbiterSound.dll [API v.060425]
Module NeuPilot.dll [API v.060425]
Module MsssMFD4.dll [API v.060425]
Module MeshLand.dll [API v.060425]
Module Meshdebug.dll [API v.060425]
Module LaunchMFD.dll [API v.060425]
Module LandMFD.dll [API v.050206]
Module LagrangeMFD.dll [API v.060425]
Module JumpDriveMFD.dll [API v.060425]
Module ImpulsiveBurn.dll [API v.060425]
Module GPCMFD.dll [API v.060425]
Module Framerate.dll [API v.050206]
Module FlightData.dll [API v.050206]
Module FFSControl.dll [API v.060425]
Module FFMControl.dll [API v.060425]
Module ExtMFD.dll [API v.060425]
Module CustomMFD.dll [API v.060425]
Module CRT.dll [API v.060425]
Module CameraMFD.dll [API v.060425]
Module BurnTimeMFD.dll [API v.060425]
Module buoyancy.dll [API v.050206]
Module BombMFD.dll [API v.060425]
Module BaseLand.dll [API v.060425]
Module AutopilotMFD.dll [API v.050206]
Module AutoHoverMFD.dll [API v.060425]
Module AttitudeMFD.dll [API v.060425]
Module AGMFD.dll [API v.060425]
Module AeroBrakeMFD.dll [API v.060425]

**** Creating simulation session
DirectDraw interface OK
Direct3D interface OK
Zbuffer: 32 bit
Render device: Fullscreen 1280 x 720
Device has no hardware T&L capability
Finished initialising world
Module DeltaGlider.dll [API v.060425]
Finished initialising status
Finished initialising camera
Finished initialising panels
Finished setting up render state

Here's the .cfg
; === Config for NewVenus ===
Name = NewVenus
ErrorLimit = 1e-8
EllipticOrbit = TRUE ; assume unperturbed orbit
HasElements = TRUE ; orbital elements follow

; === Planetary Mean Orbits ===
;***cfgBatchDataCalculator
Epoch = 2005.41409993155
ElReference = Ecliptic
SemiMajorAxis = 122197185200.3956
Eccentricity = 0
Inclination = 0
LongAscNode = 2.95209842121588
LongPerihelion = 5.86865457209081
MeanLongitude = 8.77995287671279

; === Physical Parameters ===
Mass = 5.05e24
Size = 4.975e6
JCoeff = 1082.6269e-6 -2.51e-6 -1.60e-6 -0.15e-6
AlbedoRBG = 0.7 0.85 1.0

; === Rotational Elements ===
SidRotPeriod = 86164.09 ; (assuming sync. orbit)
SidRotOffset = 4.8956
Obliquity = 0.4895 ; inherit from Saturn
LAN = 0 ; inherit from Saturn

; === Visualisation Parameters ===
MaxPatchResolution = 8 ; highest sphere patch level
SpecularRipple = FALSE
 
Top