About Monkey 2 › Forums › Monkey 2 Development › Windows XP support
This topic contains 4 replies, has 2 voices, and was last updated by
Phil
2 years, 3 months ago.
-
AuthorPosts
-
January 12, 2017 at 8:46 am #6435
Carrying on from this post: http://monkey2.monkey-x.com/forums/topic/import-png-or-similar-yet/
Mark has said:
“Windows XP is not ‘officially’ supported sorry.
It may or may not be theoretically possible to get monkey2 going on Windows XP (and if you or someone else can get it going, I’m happy to add the fixes to the repos) but I wont be attempting this myself.”
Which I can totally understand, but for casual developers like myself, I need a tool which can still support Windows XP.
I have tested running on the following hardware/OS:
OS: Windows XP SP2 32bit
CPU: Intel Celeron E1200
RAM: 2GB
GPU: Intel GMA3100
DX: 9cRunning Ted2 and MonkeyRoids fails to start with the same error:
The procedure entry point CancelIoEx could not be located in the dynamic link library KERNEL32.dll
If I comment out CancelIoEx from modules\std\process\native\process.cpp and modules\std\process\native\procutil.h, then rebuild the modiles, now when I execute MonkeyRoids I dont receive an error message (YAY!)…. but the game doesnt start (BOO!).
I can see that the process starts in the Task Manager, but it closes nearly straight away…
Any ideas?
Cheers,
Steve
January 12, 2017 at 9:01 am #6436A simple console application works:
Monkey123Function Main:Void()Print "TESTING..."EndWhen I execute the exe via command prompt in Windows XP, I get the output “TESTING…”
January 12, 2017 at 9:17 am #6437I added a bunch of Print statements to the Sdl2test, but I get nothing when executing the exe via the command prompt
Monkey1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586#import "<libc>"#import "<sdl2>"#import "<gles20>"Namespace sdl2testUsing sdl2..Using gles20..Class SdlWindowField sdlWindow:SDL_Window PtrField sdlGLContext:SDL_GLContextMethod New()Print "SdlWindow CTOR"Print "1"SDL_Init( SDL_INIT_VIDEO )Print "2"libc.atexit( SDL_Quit )Print "3"SDL_GL_SetAttribute( SDL_GL_CONTEXT_PROFILE_MASK,SDL_GL_CONTEXT_PROFILE_ES )Print "4"SDL_GL_SetAttribute( SDL_GL_CONTEXT_MAJOR_VERSION,2 )SDL_GL_SetAttribute( SDL_GL_CONTEXT_MINOR_VERSION,0 )Print "5"sdlWindow=SDL_CreateWindow( "SDL2 OpenGL Window",SDL_WINDOWPOS_CENTERED,SDL_WINDOWPOS_CENTERED,640,480,SDL_WINDOW_OPENGL )Print "6"sdlGLContext=SDL_GL_CreateContext( sdlWindow )Print "7"SDL_GL_MakeCurrent( sdlWindow,sdlGLContext )Print "8"EndMethod Run()RepeatLocal event:SDL_EventWhile( SDL_PollEvent( Varptr event ) )Select event.typeCase SDL_WINDOWEVENTLocal wevent:=Cast<SDL_WindowEvent Ptr>( Varptr event )Select wevent->eventCase SDL_WINDOWEVENT_CLOSElibc.exit_(0)EndEndWendPrint "B4"OnRender()Print "A4"SDL_GL_SwapWindow( sdlWindow )ForeverEndMethod OnRender()Print "OnRender"glClearColor( 1,1,0,1 )glClear( GL_COLOR_BUFFER_BIT )EndEndFunction Main()Print "MAIN"Local window:=New SdlWindowwindow.Run()EndJanuary 15, 2017 at 3:38 am #6521I’ve had responses from the major casual game portals, there is still around 10% of their market which still uses Windows XP.
Which I think is still large enough to try to support… so I’ll keep investigating MX2 XP support when I have time.
January 15, 2017 at 10:30 am #6526To have XP support would really be nice. I am working on an educational game in monkey1 and there are a lot of XP computers in schools here in Germany. They often get older computers from companies for free.
I think optional XP support could also be like a label marketing-wise to show, that you just don’t have to worry if your game runs on your customer’s pc. For me it definitely was a reason for buying monkeyX in the beginning.
-
AuthorPosts
You must be logged in to reply to this topic.