So you wrote the current stuff by hand? OT: Bummer to not see this working properly. I was just getting more interested in trying out this thing.
Alright. On another note: Can I write performance statistics manually or does it have to go through this test or done your way?
I do have a suggestion for this while it's being fixed/updating for powertrain. Since some vehicles have hi-lo transfercases/locking differentials, when testing for the offroad score, by default the script should try to lock the diffs and switch to low range before running the test (if a car doesn't have one, there will be nothing to switch, so nothing will happen).
For those who need the Performance Statistics Autotesting for their car: -Go to your steam folder -> steamapps -> common -> BeamNG.drive -> lua -> ge -> extensions -> util -> saveDynamicData.lua -In the line "local vehicleFolder = nil" change nil to "(name of the folder of your car)" (like "etkss" or "pickup". You need quotation marks.) -Run the game normally, load the autotesting map and then in the console type: "extensions.loadModule('util/saveDynamicData')" If you change vehicleConfig obviously you can select a single config.
Nada for me. It just sits at the main menu and the console says: "013.960|E|GELua.commands.lua|Game does not exist"
Interesting How did you start up the game? I recommend creating a batch file for this, much like this one:
works with batch file here. just copied over what you have in yours and its working fine! tested with the s-series, thanks
Same problem. Spoiler: code Code: 004.329|D|GELua.settings|setState: { GraphicDisplayDriver = "//./DISPLAY1" } 004.330|D|GFXInit::createDevice|Attempting to create GFX device 0: NVIDIA GeForce GT 650M (D3D11) [with output \\.\DISPLAY1] 004.330|D|GFXInit::createDevice|shader model: 5.0 , available video modes: 32 004.330|D|GFXInit::createDevice|Device created, setting adapter and enumerating modes 004.339|D|Win32Window::setVideoMode|AntialiasLevel: 0,BitDepth: 32,FullScreen: 0, RefreshRate: 59, Resolution: 1264x681, wideScreen: 0 004.983|D|GFXD3D11Device::init|Hardware occlusion query detected: Yes 004.984|D|GFXCardProfiler::init|D3D11 - (NVIDIA GeForce GT 650M) [2018 MB] ver 004.984|D|GFXCardProfiler::setCapability|GFXCardProfiler (D3D11) - Setting capability 'maxTextureWidth' to 8192. 004.984|D|GFXCardProfiler::setCapability|GFXCardProfiler (D3D11) - Setting capability 'maxTextureHeight' to 8192. 004.985|D|GFXCardProfiler::setCapability|GFXCardProfiler (D3D11) - Setting capability 'maxTextureSize' to 8192. 004.985|D|GFXCardProfiler::setCapability|GFXCardProfiler (D3D11) - Setting capability 'autoMipMapLevel' to 1. 004.985|D|GFXCardProfiler::setCapability|GFXCardProfiler (D3D11) - Setting capability 'lerpDetailBlend' to 1. 004.985|D|GFXCardProfiler::setCapability|GFXCardProfiler (D3D11) - Setting capability 'fourStageDetailBlend' to 1. 004.988|D|GFXD3D11Device::init|GFXDevice 11 - SM 5.000000 004.988|D|GFXD3D11Device::init|VSync Off 004.989|D|GFXD3D11WindowTarget::init|setting video mode: Width 1248, Height 642, Format 1, Windowed b 005.093|D|SFXSystem::createDevice|SFXSystem::createDevice - created FMOD device 'Speakers (Realtek High Definition Audio)' 005.094|D|TS| Provider: FMOD 005.094|D|TS| Device: Speakers (Realtek High Definition Audio) 005.095|D|TS| Hardware: No 005.095|D|TS| Buffers: 32 005.128|D|TS|Using Basic Lighting 005.217|D|TS|% - PostFX Manager - Executing settings/default.postfxpreset.cs 005.219|D|TS|% - PostFX Manager - Applying from preset 005.219|D|TS|HDR FORMAT: GFXFormatR16G16B16A16F 005.220|D|TS|Using Basic Lighting 005.225|D|TS|% - PostFX Manager - PostFX enabled 005.262|D|TS|Attempting to set resolution to "1248 642 false 32 59 0" 005.263|D|TS|Accepted Mode: 1248 642 false 32 59 0 005.379|I|SFXFMODProject::acquire|SFXFMODProject - FMODProject: Opened project 'art/sound/FMOD/Desktop/Master Bank.bank' 005.518|I|StandardMainLoop::doMainLoop|Started up in 5.52 seconds... 005.558|I|online mode|connected! :) 005.615|D|GELua.settings|setState: { AudioDevice = "Speakers (Realtek High Definition Audio)", AudioEffectsVol = 1, AudioInterfaceVol = 1, AudioMasterVol = 0, AudioMusicVol = 1, AudioProvider = "FMOD", FPSLimiter = 60, GraphicAnisotropic = 0, GraphicAntialias = 0, GraphicAntialiasType = "fxaa", GraphicBorderless = false, GraphicDisableShadows = 0, GraphicDisplayDriver = "//./DISPLAY1", GraphicDynReflectionDetail = 0, GraphicDynReflectionDistance = 10, GraphicDynReflectionEnabled = false, GraphicDynReflectionFacesPerupdate = 1, GraphicDynReflectionTexsize = 0, GraphicFullscreen = false, GraphicGPU = "NVIDIA GeForce GT 650M", GraphicGamma = 1, GraphicGrassDensity = 0, GraphicLightingQuality = 0, GraphicMeshQuality = 0, GraphicOverallQuality = 0, GraphicPostfxQuality = -1, GraphicRefreshRate = 59, GraphicResolutions = "1264 681 59", GraphicShaderQuality = 0, GraphicSyncFullscreen = true, GraphicTextureQuality = 0, MainMenuBackgroundMode = "VideoScaled", PostFXDOFGeneralEnabled = false, PostFXHDRGeneralEnabled = true, PostFXLightRaysEnabled = false, PostFXSSAOGeneralEnabled = false, WindowPlacement = "0 1 -1 -1 -1 -1 146 56 776 1426", autoClutch = true, autoSaveInGarage = false, autoShiftPrevention = true, autoThrottle = true, cameraChaseRollSmoothing = 1, cameraFOVTune = 0, cameraLoadCustomModes = true, cameraOrbitRelaxation = 3, cameraPosTuneX = 0, cameraPosTuneY = 0, cameraPosTuneZ = 0, cameraTransitionTime = 300, communityTranslations = "disable", creatorMode = false, defaultCameraMode = "orbit", defaultGearboxBehavior = "arcade", defaultShifterMode = "arcade", devMode = false, disableDynamicCollision = false, disableSteeringwheel = false, externalUi = false, multiseat = false, onlineFeatures = "enable", outgaugeEnabled = false, outgaugeIP = "127.0.0.1", outgaugePort = 4444, restrictScenarios = true, rpmLedsEnabled = false, showPcs = false, startBrakeThermalsPreHeated = true, startThermalsPreHeated = true, uiUnitConsumptionRate = "imperial", uiUnitDate = "us", uiUnitEnergy = "imperial", uiUnitLength = "imperial", uiUnitPower = "bhp", uiUnitPressure = "psi", uiUnitTemperature = "f", uiUnitTorque = "imperial", uiUnitVolume = "gal", uiUnitWeight = "lb", uiUpscaling = 1080, unfocusedInput = false, userLanguage = "" } 005.616|D|GFXDevice::vsyncChanged|Changed VSync: On 005.616|D|GELua.settings_graphic| >>>> applyOptions_Graphic <<<<< 005.617|D|Win32Window::setVideoMode|AntialiasLevel: 0,BitDepth: 32,FullScreen: 0, RefreshRate: 59, Resolution: 1248x642, wideScreen: 0 005.617|D|GFXD3D11WindowTarget::resetMode|setting video mode: Width 1248, Height 642, Format 1, Windowed b 005.620|D|GELua.settings|Saving options to disk 005.638|D|GFXD3D11WindowTarget::resetMode|setting video mode: Width 1232, Height 603, Format 1, Windowed b 005.641|D|GELua.settings|Saving options to disk 005.651|D|GFXD3D11WindowTarget::resetMode|setting video mode: Width 1232, Height 603, Format 1, Windowed b 005.657|D|GELua.settings|Saving options to disk 005.674|D|Win32Window::setVideoMode|AntialiasLevel: 0,BitDepth: 32,FullScreen: 0, RefreshRate: 59, Resolution: 1264x681, wideScreen: 0 005.678|D|GFXD3D11WindowTarget::resetMode|setting video mode: Width 1264, Height 681, Format 1, Windowed b 005.683|D|GELua.settings|Saving options to disk 005.695|D|GFXD3D11WindowTarget::resetMode|setting video mode: Width 1248, Height 642, Format 1, Windowed b 005.698|D|GELua.settings|Saving options to disk 005.708|D|GFXD3D11WindowTarget::resetMode|setting video mode: Width 1248, Height 642, Format 1, Windowed b 005.711|D|GELua.settings|Saving options to disk 005.726|D|GELua.settings|Saving options to disk 005.771|D|tryloadLanguage|loaded language en-US from file locales/en-US.json: OK 005.775|D|GFXD3D11WindowTarget::resetMode|setting video mode: Width 1264, Height 681, Format 1, Windowed b 005.777|D|GELua.settings|Saving options to disk 005.792|D|GELua.modmanager.initDB|initDB() ... 005.803|D|GELua.modmanager.initDB|mountEntry -- mods/allstarthrash.zip. Mod: { active = true, dateAdded = 1492200000, dirname = "mods/", filename = "allstarthrash.zip", fullpath = "mods/allstarthrash.zip", hash = "wip", modType = "terrain", modname = "allstarthrash", stat = { accesstime = 1492200000, createtime = 1492200000, filesize = 113609000, filetype = "file", modtime = 1488520000, readonly = false } } 005.820|D|GELua.modmanager.initDB|mountEntry -- mods/autotest.zip. Mod: { active = true, dateAdded = 1492700000, dirname = "mods/", filename = "autotest.zip", fullpath = "mods/autotest.zip", hash = "wip", modType = "terrain", modname = "autotest", stat = { accesstime = 1492700000, createtime = 1492700000, filesize = 42496900, filetype = "file", modtime = 1492700000, readonly = false } } 005.836|D|GELua.modmanager.initDB|mountEntry -- mods/bird_rock_quarry.zip. Mod: { active = true, dateAdded = 1492530000, dirname = "mods/", filename = "bird_rock_quarry.zip", fullpath = "mods/bird_rock_quarry.zip", hash = "wip", modType = "terrain", modname = "bird_rock_quarry", stat = { accesstime = 1492530000, createtime = 1492530000, filesize = 117490000, filetype = "file", modtime = 1492530000, readonly = false } } 005.854|D|GELua.modmanager.initDB|mountEntry -- mods/deserttrailsror.zip. Mod: { active = true, dateAdded = 1492200000, dirname = "mods/", filename = "deserttrailsror.zip", fullpath = "mods/deserttrailsror.zip", hash = "wip", modType = "unknown", modname = "deserttrailsror", stat = { accesstime = 1492200000, createtime = 1492200000, filesize = 80577600, filetype = "file", modtime = 1486070000, readonly = false } } 005.871|D|GELua.modmanager.initDB|mountEntry -- mods/engine-soundpack.zip. Mod: { active = true, dateAdded = 1485110000, dirname = "mods/", filename = "engine-soundpack.zip", fullpath = "mods/engine-soundpack.zip", hash = "wip", modType = "unknown", modname = "engine-soundpack", stat = { accesstime = 1484730000, createtime = 1484720000, filesize = 7268450, filetype = "file", modtime = 1484730000, readonly = false } } 005.873|D|CEF|MainGEUI | Uncaught ReferenceError: HookManager is not defined 005.874|D|CEF|MainGEUI | Uncaught ReferenceError: HookManager is not defined 005.874|D|CEF|MainGEUI | Uncaught ReferenceError: HookManager is not defined 005.875|D|CEF|MainGEUI | Uncaught ReferenceError: HookManager is not defined 005.875|D|CEF|MainGEUI | Uncaught ReferenceError: HookManager is not defined 005.876|D|CEF|MainGEUI | Uncaught ReferenceError: HookManager is not defined 005.876|D|CEF|MainGEUI | Uncaught ReferenceError: HookManager is not defined 005.877|D|CEF|MainGEUI | Uncaught ReferenceError: HookManager is not defined 005.877|D|CEF|MainGEUI | Uncaught ReferenceError: HookManager is not defined 005.878|D|CEF|MainGEUI | Uncaught ReferenceError: HookManager is not defined 005.878|D|CEF|MainGEUI | Uncaught ReferenceError: HookManager is not defined 005.878|D|CEF|MainGEUI | Uncaught ReferenceError: HookManager is not defined 005.879|D|CEF|MainGEUI | Uncaught ReferenceError: HookManager is not defined 005.887|D|GELua.modmanager.initDB|mountEntry -- mods/ghostsdesert.zip. Mod: { active = true, dateAdded = 1492460000, dirname = "mods/", filename = "ghostsdesert.zip", fullpath = "mods/ghostsdesert.zip", hash = "wip", modType = "terrain", modname = "ghostsdesert", stat = { accesstime = 1492460000, createtime = 1492460000, filesize = 121386000, filetype = "file", modtime = 1492460000, readonly = false } } 005.904|D|GELua.modmanager.initDB|mountEntry -- mods/ghostsriver.zip. Mod: { active = true, dateAdded = 1492460000, dirname = "mods/", filename = "ghostsriver.zip", fullpath = "mods/ghostsriver.zip", hash = "wip", modType = "terrain", modname = "ghostsriver", stat = { accesstime = 1492460000, createtime = 1492460000, filesize = 160531000, filetype = "file", modtime = 1492460000, readonly = false } } 005.920|D|GELua.modmanager.initDB|mountEntry -- mods/offroadtrials.zip. Mod: { active = true, dateAdded = 1492200000, dirname = "mods/", filename = "offroadtrials.zip", fullpath = "mods/offroadtrials.zip", hash = "wip", modType = "terrain", modname = "offroadtrials", stat = { accesstime = 1492200000, createtime = 1492200000, filesize = 151092000, filetype = "file", modtime = 1485980000, readonly = false } } 006.011|E|BEAMNGCEF::BNGCefClient::OnResourceResponse|MainGEUI | local://local/ui/modules/dialogsystem/dialogsystem.js | response: 404 - ERROR 006.012|E|BEAMNGCEF::BNGCefClient::OnResourceResponse|MainGEUI | local://local/ui/modules/imageviewer/imageviewer.js | response: 404 - ERROR 006.024|D|SimConsoleEvent::process|TS:Executing schedule: 1 - LuaExecuteStringSync 006.025|I|GELua.extensions|unloadModulesExcept called... 006.025|I|GELua.extensions|loadModules called... 006.028|I|GELua.extensions|Loading module: core/quickAccess 006.031|I|GELua.extensions|Loading module: core/camera 006.041|I|GELua.extensions|Loading module: core/groundMarkers 006.044|I|GELua.extensions|Loading module: core/environment 006.046|I|GELua.extensions|Loading module: core/weather 006.048|I|GELua.extensions|Loading module: util/saveDynamicData 006.049|I|GELua.saveDynamicData|module loaded 006.056|I|GELua.saveDynamicData|initialized 006.058|I|GELua.saveDynamicData|Waiting for mod manager to be ready... 006.064|D|GELua.modmanager.initDB|mountEntry -- mods/ouer_salt.zip. Mod: { active = true, dateAdded = 1492460000, dirname = "mods/", filename = "ouer_salt.zip", fullpath = "mods/ouer_salt.zip", hash = "wip", modType = "unknown", modname = "ouer_salt", stat = { accesstime = 1492460000, createtime = 1492460000, filesize = 83637100, filetype = "file", modtime = 1492460000, readonly = false } } 006.081|D|GELua.modmanager.initDB|mountEntry -- mods/rollinghillsrally41.zip. Mod: { active = true, dateAdded = 1492200000, dirname = "mods/", filename = "rollinghillsrally41.zip", fullpath = "mods/rollinghillsrally41.zip", hash = "wip", modType = "terrain", modname = "rollinghillsrally41", stat = { accesstime = 1492200000, createtime = 1492200000, filesize = 212779000, filetype = "file", modtime = 1490840000, readonly = false } } 006.098|D|GELua.modmanager.initDB|mountEntry -- mods/stairway_mountain.zip. Mod: { active = true, dateAdded = 1492200000, dirname = "mods/", filename = "stairway_mountain.zip", fullpath = "mods/stairway_mountain.zip", hash = "wip", modType = "unknown", modname = "stairway_mountain", stat = { accesstime = 1492200000, createtime = 1492200000, filesize = 154964000, filetype = "file", modtime = 1492200000, readonly = false } } 006.114|D|GELua.modmanager.initDB|mountEntry -- mods/trialmountain.zip. Mod: { active = true, dateAdded = 1491680000, dirname = "mods/", filename = "trialmountain.zip", fullpath = "mods/trialmountain.zip", hash = "wip", modType = "unknown", modname = "trialmountain", stat = { accesstime = 1491680000, createtime = 1491680000, filesize = 20680800, filetype = "file", modtime = 1491680000, readonly = false } } 007.488|D|GELua.modmanager.initDB|... finished 007.513|D|CEF.local://local/ui/lib/int/beamng-core.js:4|MainGEUI | Uncaught TypeError: Cannot read property 'length' of undefined 007.514|D|CEF.local://local/ui/lib/int/beamng-core.js:4|MainGEUI | Uncaught TypeError: Cannot read property 'length' of undefined 007.515|D|CEF.local://local/ui/lib/int/beamng-core.js:4|MainGEUI | Uncaught TypeError: Cannot read property 'length' of undefined 007.517|D|CEF.local://local/ui/lib/int/beamng-core.js:4|MainGEUI | Uncaught TypeError: Cannot read property 'length' of undefined 007.518|D|CEF.local://local/ui/lib/int/beamng-core.js:4|MainGEUI | Uncaught TypeError: Cannot read property 'length' of undefined 007.519|D|CEF.local://local/ui/lib/int/beamng-core.js:4|MainGEUI | Uncaught TypeError: Cannot read property 'length' of undefined 007.534|I|GELua.saveDynamicData|Getting config list 008.395|D|GELua.vehiclesData|clear cache 008.729|D|CEF.local://local/ui/entrypoints/main/main.js:1223|MainGEUI | USING NEW LANGUAGE: en-US 008.730|D|CEF.local://local/ui/lib/int/logger.js:70|MainGEUI | [Console] Expected AppLayout but didn't get one :-( 008.733|I|GELua.saveDynamicData|Vehicle filter: pickup 008.734|I|GELua.saveDynamicData|40 configs 008.754|D|CEF.local://local/ui/entrypoints/main/main.js:1223|MainGEUI | USING NEW LANGUAGE: en-US 008.804|D|CEF.local://local/ui/lib/int/beamng-core.js:362|MainGEUI | invalid image data: imageurls = 013.745|I|GELua.saveDynamicData|Spawning vehicle 00001 / 00040 : name: pickup, config: ext_4wd 013.955|W|CodeBlock::exec|scripts/client/beamng.cs (52): Unable to find object: 'Game' attempting to call function 'getCamera' 013.956|E|GameBase::setDataBlockProperty|GameBase::setDatablockProperty - Could not find data block "default_vehicle" 013.958|E|ShapeBase::onAdd|ShapeBase::onAdd - no datablock on shape 1782:BeamNGVehicle ((null)) 013.959|W|CodeBlock::exec|<input> (0): Register object failed for object (null) of class BeamNGVehicle. 013.961|W|CodeBlock::exec|scripts/client/beamng.cs (31): Unable to find object: '-1' attempting to call function 'setName' 013.962|W|CodeBlock::exec|scripts/client/beamng.cs (34): Unable to find object: '-1' attempting to call function 'spawnObject' 013.964|W|CodeBlock::exec|scripts/client/beamng.cs (36): Unable to find object: '-1' attempting to call function 'autoplace' 013.965|W|CodeBlock::exec|scripts/client/beamng.cs (38): Unable to find object: 'MissionGroup' attempting to call function 'add' 013.966|E|GELua.commands.lua|Game does not exist Here is the console readout.
@wrinkle345 drop the batch inside the zip into your steamapps/common/beamng.drive folder. should work 99.9%