Monkey programs doesn't run on this system

Monkey Targets Forums/Desktop/Monkey programs doesn't run on this system

lom(Posted 2015) [#1]
I have a game written in monkey (compiled with 81b) and it doesn't work on system below:

processor: Intel Core i5-4670 3.4 GHz
graphics: Sapphire AMD Radeon R9 290 Tri-X (driver Catalyst 15.7)
memory: 16 GB RAM
OS: Windows 8.1 Pro 64 Bit

bouncyaliens example also doesn't work. And there's no error messages. Is there any way to make it work?


ziggy(Posted 2015) [#2]
Are you talking about Desktop builds? Did you install OpenAL?


bitJericho(Posted 2015) [#3]
Is there any entry for your app in the event viewer perhaps under "Windows Logs" under "Application?"


lom(Posted 2015) [#4]
Unfortunately I don't own this system, that's a request from the user. He told that he has OpenAl installed. But I suppose that Windows 8 64 Bit requires some kind of manual installation of OpenAl dll.


bitJericho(Posted 2015) [#5]
No I've used monkey on windows 8 and now on windows 10 64 bit. The standard openal installer that ships with monkey is all you need to install openal: http://www.openal.org/creative-installers/oalinst.zip


SLotman(Posted 2015) [#6]
Are you copying over the /data folder? Does the game window show up and then closes? Or it doesn't show at all?
Are you using GLFW2 or GLFW3? (Does other OpenGL games run fine on his system?)
How are you handling resolutions? Are you compiling with MINGW or Visual Studio (Visual Studio needs some extra libs, but I guess it would show a dialog or something if they weren't available on the system)?

I ran into a couple of problems last year on a specific machine - but the main problem seemed to be a very bad GPU: http://www.monkey-x.com/Community/posts.php?topic=5972
(This doesn't seem to be the case, AMD cards are always good enough to run OpenGL)


lom(Posted 2015) [#7]
SLotman,
I have a program compiled with Monkey (version 81b, GLFW3 target) using Visual Studio. It runs perfect for me but the user with that system (in post #1) can't run it. First I thought that's an issue with my program, but then I sent him a bouncyaliens program (an official Monkey example) and it didn't work either.
The user is saying that when he tries to run the programs, nothing happens, even the game window doesn't show up. He has OpenGL version 4.3
My program runs by default in windowed mode 640x480.
I really have no idea how to solve this problem.


MikeHart(Posted 2015) [#8]
Stupid question, but are you shipping the app with the data folder? You need to.


SLotman(Posted 2015) [#9]
If the game windows doesn't show up, it's not a missing data folder. Wouldn't be a .Net redistributable problem, because that would show at least a message box.

Could be an OpenAL problem (make sure you put the openal32.dll together with your exe!), just like the one I found before.

Is his sound card appearing under control panel as "generic hardware"? If so, that could be the problem, bad drivers for his sound card/chip.

So... I would try the following: send program + openal32.dll to the user. If Window shows up, but nothing gets drawn inside, it's a driver problem.
If not, try compiling with MINGW and GLFW2 instead of GLFW3 (Or Visual Studio and GLFW2) and see if that helps.

Also try to generate a initialization log (dump to file) so you'll know where the initialization is failing (or if it actually is failing before even reaching the "OnCreate" method)

Also... does he have permissions to install and run the game, right....?


skid(Posted 2015) [#10]
I would advise switching to MinGW build and test on users system without modifying anything else.


lom(Posted 2015) [#11]
MikeHart,
Sure, the game contains data folder

SLotman, skid,
Thanks for the tips! I'll try them and see if it help.