Giter VIP home page Giter VIP logo

ksp-exporter's Introduction

#KSP exporter to Sketchfab#

This exporter allows you to publish your craft from Kerbal Space Program to Sketchfab.

Execute in command line

The exporter can be launched in command line through kspmanager.py.

###Parameters### -g set your game directory if different of "C:\Kerbal Space Program"

-l list all the existing crafts from the game

-u upload the craft that has the index INDEX in the list

Sketchfab parameters

--token set the sketchfab api token of the sketchfab account to upload the craft to. Your Sketchfab API token can be found in your Sketchfab profile : Settings -> Password & API

--name the name to give to the sketchfab model

--description provide a description of the model

--tags add tags to the model

List craft files that are available in the game

python kspmanager.py [-g GAME_DIRECTORY] -l

Upload a craft

python kspmanager.py -u 2 --token 1234567890ABCDEFGHIJKLMNOPQRSTUV
    --name "Super lander"
    --description "This is my first craft"
    --tags "Lander kerbalspaceprogram"

ksp-exporter's People

Contributors

aurl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ksp-exporter's Issues

Please upload the project

This project always get crashed when upload.
Please upload this project, I love KSP, I love sketchfab.
) :

models not fully displaying

Getting some parts exported fine but others from certain mods refuse to show up. Log output for the Windows .exe build would be extremely useful. I see a log file from another report - was that generated using the python command line? I can't find a log file anywhere

Doesn't seem to work with module manager

I'm testing this on my install which I admit has a lot of mods. One of the craft I'd like to upload contains B9 parts which I though was causing an issue so I tested with a completely stock craft but I get this following output on every craft I try :

A substitution mu file 'model.mu' was found.
Warning: Part 'EngineerChip' was skipped (model was not found)
A substitution mu file 'model_bicoupler_s.mu' was found.
A substitution mu file 'model.mu' was found.
A substitution mu file 'Model.mu' was found.
A substitution mu file 'model.mu' was found.
A substitution mu file 'model.mu' was found.
Warning: Part 'dockingwasher_freeScaleable' was skipped (model was not found)
Warning: Part 'IndicatorPanelRPM' was skipped (model was not found)
Warning: Part 'JSIStockSquareBlinkenlichten' was skipped (model was not found)
Warning: Part 'JSISASPrograde' was skipped (model was not found)
Warning: Part 'JSIAA_Throttle' was skipped (model was not found)
Warning: Part 'JSIActionGroupLabelButton01' was skipped (model was not found)
Warning: Part 'JSITrimKnobPitch' was skipped (model was not found)
Warning: Part 'JSIStockSquareButtonLight' was skipped (model was not found)
Warning: Part 'JSIStockAltimeter' was skipped (model was not found)
Warning: Part 'JSIPrimitiveExternalCamera' was skipped (model was not found)
Warning: Part 'RasterPropMonitorBasicHUD' was skipped (model was not found)
Warning: Part 'RasterPropMonitorBasicMFD' was skipped (model was not found)
Warning: Part 'KP0110internalRPM' was skipped (model was not found)
Warning: Part 'orbitalOrbInternalsRPM' was skipped (model was not found)
Warning: Part 'mk1CockpitInternalRPM' was skipped (model was not found)
Warning: Part 'landerCabinSmallInternalRPM' was skipped (model was not found)
Warning: Part 'landerCabinInternalsRPM' was skipped (model was not found)
Warning: Part 'SH_mk2CockpitInternalRPM' was skipped (model was not found)
Warning: Part 'MK1_Inline_Int_RPM' was skipped (model was not found)
Warning: Part 'PodCockpitRPM' was skipped (model was not found)
Warning: Part 'cupolaInternalRPM' was skipped (model was not found)
Warning: Part 'mk2CockpitStandardInternalsRPM' was skipped (model was not found)
Warning: Part 'mk1PodCockpitRPM' was skipped (model was not found)
A substitution mu file 'TacContainer.mu' was found.
A substitution mu file 'TacContainer.mu' was found.
A substitution mu file 'TacContainer.mu' was found.
'NoneType' object has no attribute 'endswith'

All these Parts relate to cfg files used by module manager to extend the original part's base cfg eg EngineerChip because I have that enabled on all command modules.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.