Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them. If you have any questions please e-mail me through the Platinum Arts website.

How to create an .exe build of project?

Talk about anything related to Platinum Arts Sandbox here!
Emma
Member
Member
Posts: 9
Joined: August 28th, 2011, 11:05 pm

How to create an .exe build of project?

Post 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.
User avatar
kddekadenz
Member
Member
Posts: 423
Joined: July 17th, 2011, 11:02 am
Name: kdd
Contact:

Re: How to create an .exe build of project?

Post 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.
Kelgar is an advanced RPG beeing developed in Sandbox
Emma
Member
Member
Posts: 9
Joined: August 28th, 2011, 11:05 pm

Re: How to create an .exe build of project?

Post by Emma »

Ok. How do I do this?
chocolatepie33
Support Team
Support Team
Posts: 2458
Joined: April 27th, 2010, 5:31 pm
IRC Username: CP

Re: How to create an .exe build of project?

Post 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.
Julius wrote:Contribute to http://www.opengameart.org NOW!
Save the wiki!
Emma
Member
Member
Posts: 9
Joined: August 28th, 2011, 11:05 pm

Re: How to create an .exe build of project?

Post by Emma »

*BANME BANME BANME*. You guys are not helping... -_-
User avatar
kddekadenz
Member
Member
Posts: 423
Joined: July 17th, 2011, 11:02 am
Name: kdd
Contact:

Re: How to create an .exe build of project?

Post by kddekadenz »

Emma wrote:*BANME BANME BANME*. You guys are not helping... -_-
We told you how to do this. Why are you unsatisfied?
Kelgar is an advanced RPG beeing developed in Sandbox
Emma
Member
Member
Posts: 9
Joined: August 28th, 2011, 11:05 pm

Re: How to create an .exe build of project?

Post 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...
chocolatepie33
Support Team
Support Team
Posts: 2458
Joined: April 27th, 2010, 5:31 pm
IRC Username: CP

Re: How to create an .exe build of project?

Post 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
Julius wrote:Contribute to http://www.opengameart.org NOW!
Save the wiki!
Emma
Member
Member
Posts: 9
Joined: August 28th, 2011, 11:05 pm

Re: How to create an .exe build of project?

Post 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)
northstar
Member
Member
Posts: 208
Joined: March 1st, 2012, 1:17 pm
Name: steven

Re: How to create an .exe build of project?

Post 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?
Locked