Zed_Master Posted June 10, 2016 Posted June 10, 2016 Hi ! I have a issue while i publish my game ( stand alone ) My .exe start and close immediately What i have to do ? Thanks Quote
Josh Posted June 10, 2016 Posted June 10, 2016 Your game probably doesn't have a map named "start.map"? Is this happening on your own computer or someone else's? Quote Let's build cool stuff and have fun.
Zed_Master Posted June 10, 2016 Author Posted June 10, 2016 I change the start.map by arena.map i don't know if it work for someone else ( i just want to have a beta test game ) Quote
Josh Posted June 10, 2016 Posted June 10, 2016 Does it work now? You can create a bat file in the same folder as your game executable (it's just a text file), open it in Notepad, and add this text: MyGame.exe (or whatever your game is called) pause Save it, double-click the bat file, and it will display the printed output of the game executable. Quote Let's build cool stuff and have fun.
Zed_Master Posted June 10, 2016 Author Posted June 10, 2016 I got this : C:\Users\Scott\Desktop\HardcoreArena>HardcoreArena.exe Initializing Lua... Warning: Lua sandboxing disabled. Executing file "C:/Users/Scott/Desktop/HardcoreArena/Scripts/Error.lua" Executing file "C:/Users/Scott/Desktop/HardcoreArena/Scripts/Main.lua" Initializing OpenGL4 graphics driver... OpenGL version 450 GLSL version 450 Device: GeForce GTX 760M/PCIe/SSE2 Loading map "C:/Users/Scott/Desktop/HardcoreArena/arena.map"... Error: Failed to read file "C:/Users/Scott/Desktop/HardcoreArena/arena.map". C:\Users\Scott\Desktop\HardcoreArena>pause But in leadwerks the arena.map work correctly Quote
Josh Posted June 10, 2016 Posted June 10, 2016 Your default command argument omits the folder. Change it to "Maps/arena.map". Quote Let's build cool stuff and have fun.
Zed_Master Posted June 10, 2016 Author Posted June 10, 2016 Oh nice ! thanks it's work now ^^ 1 Quote
Recommended Posts
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.