Jump to content

Having Trouble Opening A New Project


MadCat
 Share

Recommended Posts

Hi All

 

I have 1 project I am working on, but are wanting to start on another

 

When I open Leadwerks my current project opens

 

If I go to: File>Project Manager>New (create and project)>Ok what it says in the Capture1 happens

 

If I go to: File>New the Capture2 happens

 

When I click OK on ether Leadwerks closes

 

And I can not make a new project

 

Any idea?

post-16263-0-57764400-1486457936_thumb.png

post-16263-0-06734100-1486457949_thumb.png

Link to comment
Share on other sites

Open the file Documents\Leadwerks\Leadwerks.cfg

 

Find this line:

openlastfile=1

 

Change it to this:

openlastfile=0

 

Open Leadwerks and your map will not be automatically loaded when it starts.

  • Upvote 1

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Just for a debug here is what is in the Leadwerks.cfg file

 

 

 

 

autorefreshassets=1

ShowWelcomeScreen=1

autobackenabled=1

TextureLock=1

FileSortMode=1

workshopsortmode=0

waterquality=1

ShowToolbar=1

autosavepath="Autosave/"

mappath="Maps/"

assetpath=""

autobkstate=0

autobackup=5

projectauthor="MadCat"

projectcopyright="Aust."

defaultprojecttype="Lua"

openfilename="C:\Users\MadCat\Documents\Leadwerks\Projects\Apocalyptic\Maps\Apocalyptic.map"

openlastfile=0

sessionnumber=23

ignoreoutdatedproject=0

screenshotmemorywarninggiven=0

playanimation=1

texturequality=0

lastactionid=0

mainsplitterposition=395

subsplitterposition=120

workshopviewfiletype=17

explorersplitterposition=200

sendstats=1

explorersplitterorientation=3

terrainquality=1

hdrmode=0

EnableLegacyFeatures=0

projects=""

projects31="C:/Users/MadCat/Documents/Leadwerks/Projects/Apocalyptic\Apocalyptic.werk|C:/Users/MadCat/Documents/Leadwerks/Projects/FPS\FPS.werk|C:/Users/MadCat/Documents/Leadwerks/Projects/TutorialSamples\Tutorial Samples.werk"

hollowthickness=0.319999993

workshopquerytype=1

currentproject="MyGame.werk"

onlypublishusedfiles=1

currentproject31="Apocalyptic"

showmodelhierarchy=0

showviewportsliders=1

showmodelvertices=0

warninggiven_entityocclusionculling=0

ViewportPerspectivePanSpeed=1.00000000

ViewportPerspectiveMoveSpeed=0.200000003

ViewportPanSpeed=0.500000000

multisamplemode=2

camerasmoothing=0.500000000

lightquality=1

sandboxmode=1

showinvisiblematerials=1

showcm=1

rendermultisamplemode=4

showconsole=1

tessellationquality=2

modeleditorshowphysics=1

autocollect=0

resetviewportspeed=0

steamusername=""

steambuildpath=""

SuppressUppercaseConversion=0

screenshotfile="C:\Users\MadCat\Documents\Leadwerks\Screenshots\screenshot1.jpg"

screenshotresolution=3

screenshotwidth=1024

screenshotheight=768

showbrushwidgets=1

UnlockBetaFeatures=0

anisotropicfilter=8.00000000

trilinearfiltermode=1

screenshottitle="My Game"

screenshotdescription="I made this with Leadwerks Game Engine!"

videotitle="My Game"

importimagepath="C:\Users\MadCat\Documents\"

videodescription="I made this with Leadwerks Game Engine!"

viewportliveupdate=1

fov=70.0000000

IDEFontName="Consolas"

IDEFontSize=10

undolevels=100

gutterbackgroundcolor="0.929411769","0.929411769","0.929411769"

gutterforegroundcolor="0.501960814","0.501960814","0.501960814"

ShowLineNumbers=1

CodeFolding=1

perspectiveBackgroundColor="0.184313729","0.313725501","0.450980395"

selectioncolor="1.00000000","0.000000000","0.000000000"

selectiontabcolor="1.00000000","1.00000000","1.00000000"

drawobjectcolor="1.00000000","1.00000000","0.000000000"

boundingboxcolor="1.00000000","1.00000000","1.00000000"

entityguidecolor="0.000000000","1.00000000","1.00000000"

debugmodewarninggiven=0

codeforegroundcolor="0.000000000","0.000000000","0.000000000"

codebackgroundcolor="1.00000000","1.00000000","1.00000000"

stringcolor="0.501960814","0.000000000","0.000000000"

commentcolor="0.000000000","0.501960814","0.000000000"

keywordcolor="0.000000000","0.000000000","1.00000000"

macrocolor="0.000000000","0.000000000","1.00000000"

majorgridlinescolor="0.400000006","0.400000006","0.400000006"

minorgridlinescolor="0.301960796","0.301960796","0.301960796"

origincolor="1.00000000","1.00000000","1.00000000"

codefoldingcolor="0.501960814","0.501960814","0.501960814"

MinModelColor="0.501960814","0.250980407","0.000000000"

MaxModelColor="1.00000000","0.749019623","0.000000000"

MinBrushColor="0.000000000","0.250980407","0.250980407","0.000000000"

splashscreenduration=1

MaxBrushColor="0.000000000","0.749019623","0.749019623","0.000000000"

projectspath="C:/Users/MadCat/Documents/Leadwerks/Projects"

LastAppliedMaterialPath="./door (1).mat"

lastappliedmaterialfileid=0

SelectionIgnoreHierarchy=0

BackgroundColor="0.250980407","0.250980407","0.250980407","1.00000000"

SceneBrowserSplitterOrientation=0

SceneBrowserSplitterPosition=400

vsync=1

vpanely=0

CameraLookSpeed=1.00000000

assetbrowserrecursiveview=0

MaterialEditorModel=0

ViewportGridMajorLines=8

CodeCompletionTesting=0

ShowObjectBar=1

InstantCreate=1

GridSnap=0

View0=0

View1=1

View2=3

View3=2

scriptpath="Scripts/"

prefabpath="Prefabs/"

DrawPhysics=0

DrawNavigation=1

useglobalcoords=1

installedtemplates=""

RecentFiles="C:/Users/MadCat/Documents/Leadwerks/Projects/Apocalyptic/Maps/Apocalyptic.map","C:/Users/MadCat/Documents/Leadwerks/Projects/FPS/Maps/start.map","D:/Steam/steamapps/common/Leadwerks/Templates/First-Person Shooter/Maps/02-FPS Controller.map","D:/Steam/steamapps/common/Leadwerks/Templates/Tutorial Samples/Maps/Prefabs.map","","","","","",""

RecentScriptFiles="C:/Users/MadCat/Documents/Leadwerks/Projects/Apocalyptic/Shaders/Model/diffuse+normal.shader","C:/Users/MadCat/Documents/Leadwerks/Projects/Apocalyptic/Scripts/Main.lua","C:/Users/MadCat/Documents/Leadwerks/Projects/Apocalyptic/Scripts/Objects/Player/ThirdPersonPlayer.lua","C:/Users/MadCat/Documents/Leadwerks/Projects/Apocalyptic/Scripts/Objects/AI/dog.lua","C:/Users/MadCat/Documents/Leadwerks/Projects/Apocalyptic/Scripts/Objects/Player/FPSPlayer.lua","C:/Users/MadCat/Documents/Leadwerks/Projects/Apocalyptic/scripts/objects/player/fpsplayer.lua","C:/Users/MadCat/Documents/Leadwerks/Projects/FPS/Scripts/Main.lua","","",""

DrawEntityColor="0.000000000","1.00000000","1.00000000","1.00000000"

AutoUpdateProperties=1

invertmousezoom=0

leftpanelstate=0

rightpanelstate=1

centerpanelstate=0

leftpanelposition=280

rightpanelposition=327

centerpanelposition=180

rightpaneldockableelements=""

centerpaneldockableelements=""

leftpaneldockableelements=""

undockeddockableelements=""

undockeddockableelementsshape=""

RealtimeRender=0

ShowStats=1

MinBlockSize=0.00999999978

DisplayBlockSize=1

EditLockAngle=5.00000000

EditTabSize=8

BrushGuideColor="1.00000000","1.00000000","0.000000000","1.00000000"

MainWindowShape="768","336","1024","768","1"

MainWindowSplitterPosition=330

MainWindowSplitterOrientation=1

ViewportLayout="35","-5"

MainWindowMode=0

AssetBrowserSplitterPosition=300

AssetBrowserSplitterOrientation=2

AssetBrowserThumbnailSize=6

MaterialEditorSplitterPosition=280

MaterialEditorSplitterOrientation=1

MaterialEditorShape="1475","763","1150","782"

ModelEditorSplitterPosition=443

ModelEditorSplitterOrientation=3

ModelEditorShape="1251","645","1456","955"

TextureEditorSplitterPosition=280

TextureEditorSplitterOrientation=1

TextureEditorShape="1204","733","1127","844"

ShaderEditorSplitterPosition=280

ShaderEditorSplitterOrientation=1

ShaderEditorShape="0","0","0","0"

ScriptEditorSplitterPosition=0

ScriptEditorSplitterOrientation=1

ScriptEditorShape="768","336","1024","768"

FontEditorShape="0","0","750","450"

Link to comment
Share on other sites

Open the file Documents\Leadwerks\Leadwerks.cfg

 

Find this line:

openlastfile=1

 

Change it to this:

openlastfile=0

 

Open Leadwerks and your map will not be automatically loaded when it starts.

 

 

Ok

Did a test

 

Find this line: openlastfile=1 and change it to this: openlastfile=0

 

I tried putting it back to: openlastfile=1

 

Seems to have done the job

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...