Forum Replies Created
-
AuthorPosts
-
Purchased! Now just need the IAP module to disable the ads! (Hint!)
Oh… I’m surprised its raw code, I thought it might have been unreadable code or something.
My vote would be gles2 as my target market runs lower spec devices.
I’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.
Hey Simon, when I go to https://wasted.itch.io/vpaint, I get a 404 with a frog…
<h2>”We couldn’t find your page”</h2>I 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()EndA 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…”
No, and no I didnt try removing the CancelIOEx call. It was a really quick test, I compiled a test project and copied the output to a USB stick along with MX2 and stuck in the XP machine (which isnt set up on the network and is in another room). Copied the contents to the desktop and tried to execute them.
When I get some time I’ll remove the CancelIOEx and give it a try. Is it just removing it from modules\std\process\native\process.cpp? Do I need to do anything in modules\std\process\native\procutil.h?
It is also referenced in i686-6.2.0-posix-dwarf-rt_v5-rev1\mingw32\i686-w64-mingw32\include\ioapiset.h.
Thanks for the replies Mark, I’ll have a play with #Import “assets/images/@/images” it should be good enough.
I can totally understand why you dont want to support it, I dont want to support it but unfortunately for casual games it looks like a requirement. If you look on Big Fish Games site I could not find a game on their site which does not support it. I’ll send them an email to see if they accept non-Windows XP versions… but their market doesnt like updating their PCs!!
(the “U” game engine still supports Windows XP: https://unity3d.com/unity/system-requirements)
When I looked at it last, you are using the CancelIoEx which is only available in later versions of KERNEL32.dll, unknown if you are using anything else which stops it.
Any news on the #Import “*.png” or similar?
Cheers,
Steve
What OS are you testing on?
This sounds very similar to the issues we were testing on BlitzMax a few years ago:
http://www.blitzmax.com/Community/posts.php?topic=94676
Well their requirements do contradict each other a tiny bit…. Windows XP SP3 would be running DX9.
If you check out the minimum specs of all (well the random ones I looked at) the games at BFG you see they all support Windows XP.
http://www.bigfishgames.com/games/11539/mystery-case-files-broken-hour-ce/?pc
<h4>Game System Requirements:</h4>- OS: Windows XP/Windows Vista/Windows 7/Windows 8/Windows 10
- CPU: 2.0 GHz
- RAM: 1024 MB
- DirectX: 9.0
- Hard Drive: 838 MB
http://www.bigfishgames.com/games/9931/world-saga/?pc
<h4>Game System Requirements:</h4>- OS: Windows XP/Windows Vista/Windows 7/Windows 8/Windows 10
- CPU: 1.0 GHz
- RAM: 1024 MB
- DirectX: 9.0
- Hard Drive: 110 MB
http://www.bigfishgames.com/games/9940/sir-matchalot/?pc
Game System Requirements:
- OS: Windows XP/Windows Vista/Windows 7/Windows 8/Windows 10
- CPU: 1.0 GHz
- RAM: 1024 MB
- DirectX: 9.0
- Hard Drive: 109 MB
So for me I need an engine which supports Windows XP and SDL2 does say it does support it….
Just tested on the old Celeron, 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
- OS: Windows XP SP2 32bit
- CPU: Intel Celeron E1200
- RAM: 2GB
- GPU: Intel GMA3100
- DX: 9c
So at the moment MX2 for Windows has a minimum OS of Vista.
GameHouse (a large casual game portal) has these requirements for games:
<b>Unsupported Engines</b>
The following technologies are currently incompatible with the advertising technology used by GameHouse:
- OpenGL
Minimum / Recommended Systems Specs
Our system specs are based on visitor information at GameHouse.com. We encourage developers to keep these specs in mind while developing their games, as it ensures that the widest audience can play (and buy) your game. Significantly higher system requirements lead to a definite decrease in sales volume.
<b>Minimum Specifications</b>
- Pentium III, 800 MHz processor
- Windows 8 / 7 / Vista / XP
- 256 MB system RAM
- 32 MB video RAM
- DirectX 7+
- Internet Explorer 7.0+ and Mozilla Firefox
- Supports windowed and full screen modes
<b>Recommended Specifications</b>
- Pentium III, 1 GHz processor
- Windows 8 / 7 / Vista / XP
- 512 MB system RAM
- 32 MB video RAM
- DirectX 7+ or better
- Internet Explorer 7.0+, Mozilla Firefox 3.0, and Google Chrome
- SoundBlaster compatible sound card
Quality Assurance Overview
GameHouse handles quality assurance through its internal resources. Your GHP Producer / Portfolio Manager will collaborate with you on managing the pipeline and bug resolution process. For 3rd party games (i.e. – not published through GameHouse) our QA pass is limited to a final build verification / hardware compatibility pass. Published games get in-depth QA resources through their development cycle.
For more information, see the Tips section, below.
Tips: QA Best Practices
While your Producer / Portfolio Manager will work with you during the QA process, it’s imperative for your bottom line that you deliver as bug-free a product as possible. To assist you, here are the 10 most common bugs that cause QA failures for PC games, in no particular order.- Game does not recover properly from sleep/hibernate mode.
- Game does not recover properly from Control/Alt/Delete (locking computer, checking task manager).
- Game does not handle Alt Tab (switch to another application).
- Game does not handle Alt F4 (manually force application to quit).
- Game does not properly restore using windows key.
- Game does not launch under Windows with UAC turned off (User Account Controls settings).
- Game sounds continue to play when game is minimized to task bar.
- Game does not launch to full screen on initial launch.
- Game options do not save on subsequent launches.
- When playing game in window mode, game will cause user native desktop resolution to change.
Final Build Verification & Compatibility Test Cases
All games undergo a test pass prior to release. Here are the cases that we test against; for smoother deployment, please ensure that your game complies with these prior to submission:- Verify the proper splash screen sequence: GameHouse logo, developer logo
- Verify that when game is minimized or focus is lost all game audio ceases; game audio should resume when focus is returned
- Verify with any User, UAC On: Alt-Tab does not cause the game to crash or hang.
- Verify with any User, UAC On: Control Alt Delete does not cause the game to crash or hang.
- Verify with any User, UAC On: Volume settings are not altered by launching the game or adjusting in-game sound levels.
- Verify the game can be shut down through task manager. Use Control/Alt/Delete to bring up task manager and select the shut down option.
- Verify that the game does not fight other applications for focus while playing in fullscreen and/or window mode
- Verify that all clickable options in-game have mouseover highlights and sound effects
- If level-saving feature is present, ensure that user’s progress is saved after exiting and relaunching
- Verify that all controls work as expected, including keyboard, mouse, and all supported peripherals
- Verify that the game pauses and music stops when interrupted by Ctrl/Alt/Del, Alt/Tab
- Verify game has loading screen or progress bar
- Verify the user can recover game from Windows L command
- Verify the user can switch between game and application using Alt/Tab
- Verify the user can recover game from Sleep & Hibernate
- Verify that user can recover game from Control/Atl/Delete
- Verify functionality of game options
- Verify game does not have pre-existing player profiles
- Verify the game runs on Windows 8
- Verify the game run on Windows XP SP3
- Verify there are NO external game links or e-commerce links
- Verify on first launch the game launches into full screen mode
Something to think about…
Attachments:
Can you recreate it in a simple example?
This compile okay using v1.1.01:
Monkey1234567891011121314151617181920212223Namespace myapp#Import "<std>"Using std..Class MyObjectField x:IntEndClass MyTestField test:MyObject = NullMethod New()test = New MyObjecttest.x = 100EndEndFunction Main()Local t := New MyTestPrint t.test.xEndI’ve tested MX2 / Ted2 on the following PCs:
- OS: Windows 7
- CPU: Intel Core i5 650 / 64bit
- RAM: 8GB
- GPU: Intel HD Graphics
- DX: 11
- OS: Windows 8.1
- CPU: Intel Core i7 920 / 64bit
- RAM: 6GB
- GPU: Nvidia Geforce 670GTX
- DX: 11
Need to test it on some old PCs, I’ve got an oldish Celeron running XP SP2 (DX9) which I can test on.
Is there a way to detect if an app is using DX or OpenGL?Looks like you can using renderInfo:C12345SDL_Renderer *renderer = SDL_CreateRenderer(sdlWindow, -1, 0);SDL_RendererInfo rendererInfo;SDL_GetRendererInfo(renderer, &rendererInfo);std::cout << "Renderer: " << rendererInfo.name << std::endl;http://gamedev.stackexchange.com/questions/81917/how-to-detect-graphics-api-at-runtime-with-sdl2
Could that be added to MX2 for easy access?
-
AuthorPosts
