• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
Sign in to follow this  
Followers 0
johnmarinelli

Game is crashing when running the .exe

8 posts in this topic

Hey guys,

So I'm trying to release my first game that I've built in VS2010 using SDL.  I think I'm supposed to put all the resources (.png, .wav, .dlls, etc) into the same folder as the .exe (the Release folder).  I've also done all the same configuring I did in Debug mode as Release mode.

 

However, when I try to run the .exe, I get the following:

  Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	killStuff.exe
  Application Version:	0.0.0.0
  Application Timestamp:	5136485b
  Fault Module Name:	SDL.dll
  Fault Module Version:	1.2.14.0
  Fault Module Timestamp:	4f130126
  Exception Code:	c0000005
  Exception Offset:	00024499
  OS Version:	6.1.7601.2.1.0.768.3
  Locale ID:	1033
  Additional Information 1:	0a9e
  Additional Information 2:	0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:	0a9e
  Additional Information 4:	0a9e372d3b4ad19135b953a78882e789

now, I know c0000005 is a memory access error - however after trying the method from msdn's website for finding memory leaks (http://msdn.microsoft.com/en-us/library/e5ewb1h3%28v=vs.80%29.aspx), nothing showed up.  Is there something I'm missing?

Edited by johnmarinelli
0

Share this post


Link to post
Share on other sites

When you launch a project from the ide, the default path used is the project directory, so simply copy the .exe in this directory and it should work, instead of the other way around. But since we don't see how you load your files (relative path, full path, ect), i cannot be sure for certain.

2

Share this post


Link to post
Share on other sites

When you launch a project from the ide, the default path used is the project directory, so simply copy the .exe in this directory and it should work, instead of the other way around. But since we don't see how you load your files (relative path, full path, ect), i cannot be sure for certain.

So I copy the .exe from the project directory into the Release folder?
I'm not sure what 'relative path' and 'full path' mean; however I didn't do anything fancy so I'm sure I'm loading my files the "default" way (if there is such a thing).

Edited by johnmarinelli
0

Share this post


Link to post
Share on other sites

I'm not sure what 'relative path' and 'full path' mean;

 

Full path would be somethign like   c:\games\bob\cool\image.png

Relative path would be something like   cool\image.png  or ..\cool\image.png

 

So one question is in your code where you are loading resources which method are you using?

 

I'm assuming relative path so you need to make sure your .exe is in the right place to "find" the resources by following the "path" laid out in the code.

1

Share this post


Link to post
Share on other sites

When you launch a project from the ide, the default path used is the project directory, so simply copy the .exe in this directory and it should work, instead of the other way around. But since we don't see how you load your files (relative path, full path, ect), i cannot be sure for certain.

Well, that's a little REDUNDANT. Look, I'll let you off with a warning this time, but next time please just say "I cannot be sure," instead of the extra "for certain."

-1

Share this post


Link to post
Share on other sites

Well, "grammar police", in case you didn't notice the flag in my avatar, english is not my native language...

 

Did not mean to be rude, but jeez... who care.

 

grammar-police.jpg

 

laugh.png

Edited by Vortez
2

Share this post


Link to post
Share on other sites

interesting - I just copied my whole project folder into the release folder and it worked.  I'm not sure if this is the *best* way to do it, but at least it works.  Now if I wanted to host this on a website for other computers to download, I just upload my release folder?  What if the other computer doesn't have VS2010?

0

Share this post


Link to post
Share on other sites

Nooo! I've recorded an example using vmware and a little project i've made.

Basically, you have to do it the other way around.

 

And if you want the dlls, they're here, but you should check this post instead.

 

You only need to upload the exe + game assets, ex textures, models ect

 

Hope that help.

Edited by Vortez
1

Share this post


Link to post
Share on other sites

Nooo! I've recorded an example using vmware and a little project i've made.

Basically, you have to do it the other way around.

 

And if you want the dlls, they're here, but you should check this post instead.

 

You only need to upload the exe + game assets, ex textures, models ect

 

Hope that help.

 

Awesome!  I'll check this as soon as I get home.  Thanks a lot!

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0