Page 1 of 2
How to create an .exe build of project?
Posted: April 1st, 2012, 10:05 pm
by Emma
This is just for my own personal use. How do I create an .exe of my map (PAS 2.5.0)? When you click on the exe, I want it to launch the map I've created.
Re: How to create an .exe build of project?
Posted: April 2nd, 2012, 10:57 am
by kddekadenz
Why you are still using 2.5?
I would suggest you not to use an exe, instead a bat:
create a bat which includes:
Code: Select all
bin\sandbox_fps.exe -r -lmapname -qmy_stuff %*
This should work, if it's an FPS map. Be sure to change mapname to the name of the map.
Note: I'm using Linux, so I cannot test this.
Re: How to create an .exe build of project?
Posted: April 2nd, 2012, 4:47 pm
by Emma
Ok. How do I do this?
Re: How to create an .exe build of project?
Posted: April 2nd, 2012, 6:26 pm
by chocolatepie33
1. as previously asked, why are you using 2.5? 2.7.1 is much better.
2. if you want to create a .bat, you can edit it with notepad, I think... not sure. Notepad++ works very well, however.
3. Once you create the .bat, then you can convert it to an .exe which works like the bat. Last I checked, anyways, you could do that. There are such things as .bat to .exe converters.
Re: How to create an .exe build of project?
Posted: April 2nd, 2012, 8:37 pm
by Emma
*BANME BANME BANME*. You guys are not helping... -_-
Re: How to create an .exe build of project?
Posted: April 3rd, 2012, 7:40 am
by kddekadenz
Emma wrote:*BANME BANME BANME*. You guys are not helping... -_-
We told you how to do this. Why are you unsatisfied?
Re: How to create an .exe build of project?
Posted: April 4th, 2012, 6:53 pm
by Emma
What are the EXACT steps? (I don't know programming or how to create a .BAT)
And it doesn't matter if I'm using 2.5 so don't bring that up...
Re: How to create an .exe build of project?
Posted: April 4th, 2012, 8:23 pm
by chocolatepie33
Jesus... have a little patience, for crying out loud... ever heard of Google?
Hmph. Okay, here goes, don't chew me out for this -
1. Open up Notepad.
2. Go to File -> Open -> Select "All Files" -> Locate your Sandbox folder.
3. Find the .bat file that corresponds to the mode you used to make your game in (likely fps.bat). Open it.
4. Edit the .bat, following what you find here:
http://www.sandboxgamemaker.com/wiki/in ... _arguments
5. Once your satisfied with the .bat, find a .bat to .exe converter (
http://lmgtfy.com/?q=.bat+to+.exe+converter) and use that to convert the program. You can also look here:
viewtopic.php?f=24&t=316&p=26379&hilit=converter#p26379
Re: How to create an .exe build of project?
Posted: April 5th, 2012, 12:49 am
by Emma
Okay. I didn't type my question correctly...
What I meant was, is there a way to put everything (the textures, sounds, mapmodels, maps, etc.) into that EXE so that everything is in that single EXE and when you launch it, it will be like you're launching the Launcher or BAT? This is a test to see if I can put it onto another computer without the folders and stuff (hidden, anyways)
Re: How to create an .exe build of project?
Posted: April 5th, 2012, 1:25 pm
by northstar
in otherwords you want to package it up as a standalone program... yes?... let me know when you find out... it will be a month or two before i get there, but it seems to me you have to run it past PAS first so they can make sure everything is right with it... let me know if you are going to set it up for download... i'd love to see it...
you could start by putting everything into one folder i guess... cube 2 (saurbraten) has an exe system i think, but i dont know what you might loose in the process... right now i think everything i need to know is in the first 100ft of my map... so its slow going... blender and truespace for now... did you use the .obj for models?