Jump to content

Program Exiting Before Main Loop [Solved]


Shard
 Share

Recommended Posts

Hey everyone. Got another question for ya'll.

 

I've had a couple problems loading levels. I've noticed that every time I load a level with vegetation in it, the game exits without even going into the main loop and I get the below error, even though all the files are included directly from the engine folder "Private".

 

What are some common reasons that the game exists before the main loop?

 

Loading shader "zip::/source code control/appiled project/current version/shaders/shaders.pak//terrain/terrain_flat.vert", "zip::/source code control/appiled project/current version/shaders/shaders.pak//terrain/terrain.frag"...
Loading model "d:/source code control/appiled project/current version/private/vegetation_tree_spruce_2.gmf"...
Loading mesh "d:/source code control/appiled project/current version/private/vegetation_tree_spruce_2.gmf"...
Loading material "d:/source code control/appiled project/current version/private/tree_spruce_leaf_df.mat"...
Warning: Failed to load texture "d:/source code control/appiled project/current version/private/tree_spruce_leaf_DF.dds": Path not found.
Loading texture "zip::/source code control/appiled project/current version/private/spruce.pak//tree_spruce_leaf_df.dds"...

 

 

P.S. I apologize for asking so many questions at once. It seems like in order to get one thing working I need to fix another and another just keeps adding to the stack :P

simpleSigPNG.png

 

Programmer/Engineer/Student

www.reikumar.com

 

2.6 GHz Intel Core Duo - nVidia GeForce 8600 GT - Windows 7 64-bit - 4 Gigs RAM

C++ - Visual Studio Express - Dark GDK - Leadwerks SDK

Link to comment
Share on other sites

The spruce tree is only for use in the editor. Try one of the free trees

AMD Bulldozer FX-4 Quad Core 4100 Black Edition

2 x 4GB DDR3 1333Mhz Memory

Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5

Windows 7 Home 64 bit

 

BlitzMax 1.50 • Lua 5.1 MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro

3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET

 

LE 2.5/3.4 • Skyline UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0

 

Marleys Ghost's YouTube Channel Marleys Ghost's Blog

 

"I used to be alive like you .... then I took an arrow to the head"

Link to comment
Share on other sites

The spruce tree is only for use in the editor. Try one of the free trees

 

Is that why the app crashes?

simpleSigPNG.png

 

Programmer/Engineer/Student

www.reikumar.com

 

2.6 GHz Intel Core Duo - nVidia GeForce 8600 GT - Windows 7 64-bit - 4 Gigs RAM

C++ - Visual Studio Express - Dark GDK - Leadwerks SDK

Link to comment
Share on other sites

yes. If you want to use those models in your program's game, go buy them. They are only being used to show the possibilities of what you can do.

 

Ah, excellent. Thank You!

simpleSigPNG.png

 

Programmer/Engineer/Student

www.reikumar.com

 

2.6 GHz Intel Core Duo - nVidia GeForce 8600 GT - Windows 7 64-bit - 4 Gigs RAM

C++ - Visual Studio Express - Dark GDK - Leadwerks SDK

Link to comment
Share on other sites

How does he limit it to be used from the editor only?

 

 

The .pak file is protected...

AMD Bulldozer FX-4 Quad Core 4100 Black Edition

2 x 4GB DDR3 1333Mhz Memory

Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5

Windows 7 Home 64 bit

 

BlitzMax 1.50 • Lua 5.1 MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro

3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET

 

LE 2.5/3.4 • Skyline UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0

 

Marleys Ghost's YouTube Channel Marleys Ghost's Blog

 

"I used to be alive like you .... then I took an arrow to the head"

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...