Who's Online
83 user(s) are online (
72 user(s) are browsing
Forums )
Members: 0
Guests: 83
more...
Topic options
View mode
Newest First
MacOS PPC CroMag Rally game port
Posted on:
2022/9/27 13:23
#1
Not too shy to talk
Joined: 2007/1/6 5:59Last Login
: 10/26 20:25
Group:
Registered Users
https://github.com/jorio/CroMagRally Should be playable even with modest PPC hardware.
Any one could check if this is doable?
There are very few car games fof OS4.
Re: MacOS PPC CroMag Rally game port
Posted on:
2022/9/27 14:44
#2
Home away from home
Joined: 2007/9/11 12:31Last Login
: 11/19 7:43
From Russia
Group:
Registered Users
I give it a go : it use SDL2 + OpenGL (so GL4ES). Also it use some external library called Pomme:
https://github.com/jorio/Pomme/ which is "A cross-platform implementation of the Macintosh Toolbox C API".
I were able to build that Pomme with no changes, and whole croMagRally too, but in game itself i had to ifndef one function to get locales (seems not implemented in our SDL2), and, it have Win32 specific functions like GetPreferencesFolder() and SysBeep(). Second one of course harmless, and for first one i just return the correct path.
So at this stage game compiles for new clib2, links fine (sdl2 + gl4es) , and when i run it it cry about patches/preferences/etc. So , fixed it in Files.cpp by return progdir: , and then, next run show up the window, then immediately close it, and in the shell i have "Uncaught exception: No ADF magic".
Checking the source code i find it there:
static void ADFJumpToResourceFork ( std :: istream & stream )
{
auto f = Pomme :: BigEndianIStream ( stream );
if ( 0x0005160700020000ULL != f . Read < UInt64 >())
{
throw std :: runtime_error ( "No ADF magic" );
}
f . Skip ( 16 );
auto numOfEntries = f . Read < UInt16 >();
for ( int i = 0 ; i < numOfEntries ; i ++)
{
auto entryID = f . Read < UInt32 >();
auto offset = f . Read < UInt32 >();
f . Skip ( 4 ); // length
if ( entryID == 2 )
{
// Found entry ID 2 (resource fork)
f .Goto( offset );
return;
}
}
throw std :: runtime_error ( "Didn't find entry ID=2 in ADF" );
}
Not sure what did it mean, but it can be endian issues again ..
Re: MacOS PPC CroMag Rally game port
Posted on:
2022/9/27 15:16
#3
Just popping in
Joined: 2020/2/14 21:12Last Login
: Today 12:41
From FRANCE
Group:
Registered Users
Re: MacOS PPC CroMag Rally game port
Posted on:
2022/9/27 15:24
#4
Home away from home
Joined: 2007/9/11 12:31Last Login
: 11/19 7:43
From Russia
Group:
Registered Users
@beworld Nope !:) Rebuils with this define enabled, and it pass this error, window created, but then "can create GL context" or something, i need to check this one later.
Re: MacOS PPC CroMag Rally game port
Posted on:
2022/9/27 15:25
#5
Not too shy to talk
Joined: 2012/7/16 18:57Last Login
: 11/5 22:17
From Istanbul
Group:
Registered Users
@kas1e Can you share your makefile and changes to compile.. I think it is a good example of SDL2 OpenGL OpenGLX project.
Sinan - AmigaOS4 Beta-Tester - AmigaOne X5000 - AmigaOne A1222 - Sam460ex
Re: MacOS PPC CroMag Rally game port
Posted on:
2022/9/27 15:31
#6
Home away from home
Joined: 2007/9/11 12:31Last Login
: 11/19 7:43
From Russia
Group:
Registered Users
@Sinan
cd < game repo >
cmake - S . - B build \
- DCMAKE_SYSTEM_NAME = Generic \
- DCMAKE_SYSTEM_VERSION = 1 \
- DCMAKE_BUILD_TYPE = RelWithDebInfo \
- DCMAKE_C_FLAGS = "-mcrt=clib2 -DTARGET_RT_BIGENDIAN" \
- DCMAKE_CXX_FLAGS = "-mcrt=clib2 -DTARGET_RT_BIGENDIAN" \
- DCMAKE_C_COMPILER = "/usr/local/amiga/bin/ppc-amigaos-gcc" \
- DCMAKE_CXX_COMPILER = "/usr/local/amiga/bin/ppc-amigaos-g++" \
- DCMAKE_LINKER = "/usr/local/amiga/bin/ppc-amigaos-ld" \
- DCMAKE_AR = "/usr/local/amiga/bin/ppc-amigaos-ar" \
- DCMAKE_RANLIB = "/usr/local/amiga/bin/ppc-amigaos-ranlib" \
- DCMAKE_FIND_ROOT_PATH = "/usr/local/amiga/ppc-amigaos/" \
- DSDL2_LIBRARIES = "/usr/local/amiga/ppc-amigaos/SDK/Local/clib2/lib/libSDL2_gl4es.a" \
- DSDL2_INCLUDE_DIRS = "/usr/local/amiga/ppc-amigaos/SDK/Local/common/include/SDL2" \
- DOPENGL_INCLUDE_DIR = "/usr/local/amiga/ppc-amigaos/SDK/Local/common/include/GL" \
- DOPENGL_gl_LIBRARY = "/usr/local/amiga/ppc-amigaos/SDK/Local/clib2/lib/libgl4es.a" \
cmake -- build build - j4
And on linking in links.txt add -athread=native and all that stuff.
Also in files.cpp:
#ifdef _WIN32
path = Pomme :: Platform :: Windows :: GetPreferencesFolder ();
#elif defined(__amigaos4__)
const char * home = "PROGDIR:" ;
path = fs :: path ( home );
#elif defined(__APPLE__)
const char * home = getenv ( "HOME" );
if (! home ) {
return fnfErr ;
}
path = fs :: path ( home ) / "Library" / "Preferences" ;
#else
const char * home = getenv ( "XDG_CONFIG_HOME" );
if ( home )
{
path = fs :: path ( home );
}
else
{
home = getenv ( "HOME" );
if (! home )
{
return fnfErr ;
}
path = fs :: path ( home ) / ".config" ;
}
#endif
Also headers/platform/Windows/PommeWindow.cpp will be like this:
#undef NOUSER
#include "Platform/Windows/PommeWindows.h"
//#include <shlobj.h>
std :: filesystem :: path Pomme :: Platform :: Windows :: GetPreferencesFolder ()
{
#ifndef __amigaos4__
wchar_t * wpath = nullptr ;
SHGetKnownFolderPath ( FOLDERID_RoamingAppData , 0 , nullptr , & wpath );
auto path = std :: filesystem :: path ( wpath );
CoTaskMemFree ( static_cast < void *>( wpath ));
return path ;
#endif
return "PROGDIR:" ;
}
void Pomme :: Platform :: Windows :: SysBeep ()
{
#ifndef __amigaos4__
MessageBeep ( 0 );
#endif
}
Edited by kas1e on 2022/9/27 19:11:34
Re: MacOS PPC CroMag Rally game port
Posted on:
2022/9/27 15:57
#7
Just can't stay away
Joined: 2007/2/6 13:57Last Login
: 11/16 10:39
From Donostia (SPAIN)
Group:
Registered Users
@kas1e Hi, can you "printf()" f.Read<UInt64> and see if it matches "0x0005160700020000ULL" ... 0x0005160700020000ULL != f.Read<UInt64> ...
Re: MacOS PPC CroMag Rally game port
Posted on:
2022/9/27 18:49
#8
Home away from home
Joined: 2007/9/11 12:31Last Login
: 11/19 7:43
From Russia
Group:
Registered Users
@Javier Sorry you too late :) See answer #4 to beworld : this flag deal with. Now i have issues with GL context creation by some reassons, need to understand wtf. @beworld On MorphOS GL-Context creates fine ?
Edited by kas1e on 2022/9/27 19:19:02
Re: MacOS PPC CroMag Rally game port
Posted on:
2022/9/27 19:29
#9
Just popping in
Joined: 2020/2/14 21:12Last Login
: Today 12:41
From FRANCE
Group:
Registered Users
@kas1e i just test it
and i can say no problem with context !! i see game... but i have message when i start game : "Skeleton file has wrong version"
I continue to check why
Check maybe here for you :
https://github.com/jorio/CroMagRally/b ... 82f2/Source/Main.cpp#L160
Re: MacOS PPC CroMag Rally game port
Posted on:
2022/9/27 19:37
#10
Not too shy to talk
Joined: 2007/1/6 5:59Last Login
: 10/26 20:25
Group:
Registered Users
Any change for MiniGL? /
Re: MacOS PPC CroMag Rally game port
Posted on:
2022/9/27 21:49
#11
Home away from home
Joined: 2007/9/11 12:31Last Login
: 11/19 7:43
From Russia
Group:
Registered Users
@beworld Something strange happens: i create test case based on game's initialisation (see SDL2 thread), and for minigl no error thrown when do check on GAME_ASSERT(glGetError() == GL_NO_ERROR); , but for gl4es are. So seems or my SDL2 hacks for gl4es , or gl4es itself to blame there.. dunno, need to debug @ultrt007 At least i tried to build it with minigl, and it builds, binary runs, and show just pink screen with noise in background, so not sure how far minigl version can go, but at least it compiles for sure, so chances for minigl version are high too
Re: MacOS PPC CroMag Rally game port
Posted on:
2022/9/28 5:57
#12
Just popping in
Joined: 2020/2/14 21:12Last Login
: Today 12:41
From FRANCE
Group:
Registered Users
Re: MacOS PPC CroMag Rally game port
Posted on:
2022/9/28 9:52
#13
Home away from home
Joined: 2007/9/11 12:31Last Login
: 11/19 7:43
From Russia
Group:
Registered Users
@Capehill
That the full output from glSnoop when i run test case from SDL2 thread:
[ 0 ] Patching task Shell Process 'test' OGLES2IFace 0x61a24ae8
Shell Process 'test' : OGLES2_aglCreateContext2 : errcode pointer 0x616f1b80 , tags 0x616f1b48 ([ OGLES2_CCT_WINDOW : 0x61AC5DC8 ][ OGLES2_CCT_DEPTH : 16 ][ OGLES2_CCT_STENCIL : 0 ][ OGLES2_CCT_VSYNC : 0 ][ OGLES2_CCT_SINGLE_GET_ERROR_MODE : 1 ][ OGLES2_CCT_RESIZE_VIEWPORT : 1 ])
Shell Process 'test' : my_W3DN_CreateContext : tags 0x616f19c8 ([ W3DNTag_GPU : 0x61942958 ])
[ 0 ] Patching task Shell Process 'test' NOVA context 0x618ae000
Shell Process 'test' : W3DN_Query : query 0 ( W3DN_Q_MAXTEXUNITS )
Shell Process 'test' : W3DN_Query : <- Result 32
Shell Process 'test' : W3DN_Query : query 14 ( W3DN_Q_MAXVERTEXATTRIBS )
Shell Process 'test' : W3DN_Query : <- Result 16
Shell Process 'test' : W3DN_CreateRenderStateObject : errCode 0x0
Shell Process 'test' : W3DN_SetViewport : renderState 0x6160f698 , x 0.000000 , y 0.000000 , width 0.000000 , height 0.000000 , zNear 0.000000 , zFar 1.000000
Shell Process 'test' : W3DN_SetViewport : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_CreateRenderStateObject : <- errCode 0 ( ignored ( NULL pointer )). Render state object address 0x6160f698
Shell Process 'test' : W3DN_CreateFrameBuffer : errCode 0x0
Shell Process 'test' : W3DN_CreateFrameBuffer : <- errCode 0 ( ignored ( NULL pointer )). Frame buffer address 0x618af078
Shell Process 'test' : W3DN_SetRenderTarget : renderState 0x6160f698 , frameBuffer 0x618af078
Shell Process 'test' : W3DN_SetRenderTarget : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_Query : query 0 ( W3DN_Q_MAXTEXUNITS )
Shell Process 'test' : W3DN_Query : <- Result 32
Shell Process 'test' : W3DN_Query : query 1 ( W3DN_Q_MAXTEXWIDTH )
Shell Process 'test' : W3DN_Query : <- Result 16384
Shell Process 'test' : W3DN_Query : query 2 ( W3DN_Q_MAXTEXHEIGHT )
Shell Process 'test' : W3DN_Query : <- Result 16384
Shell Process 'test' : W3DN_Query : query 3 ( W3DN_Q_ANISOTROPICFILTER )
Shell Process 'test' : W3DN_Query : <- Result 1
Shell Process 'test' : W3DN_Query : query 4 ( W3DN_Q_MAXANISOTROPY )
Shell Process 'test' : W3DN_Query : <- Result 16
Shell Process 'test' : W3DN_Query : query 5 ( W3DN_Q_RENDERTOTEXTURE )
Shell Process 'test' : W3DN_Query : <- Result 1
Shell Process 'test' : W3DN_Query : query 6 ( W3DN_Q_BITMAPASTEXTURE )
Shell Process 'test' : W3DN_Query : <- Result 1
Shell Process 'test' : W3DN_Query : query 7 ( W3DN_Q_DEPTHTEXTURE )
Shell Process 'test' : W3DN_Query : <- Result 1
Shell Process 'test' : W3DN_Query : query 8 ( W3DN_Q_TEXTURE_1D )
Shell Process 'test' : W3DN_Query : <- Result 0
Shell Process 'test' : W3DN_Query : query 9 ( W3DN_Q_TEXTURE_3D )
Shell Process 'test' : W3DN_Query : <- Result 0
Shell Process 'test' : W3DN_Query : query 10 ( W3DN_Q_TEXTURE_CUBEMAP )
Shell Process 'test' : W3DN_Query : <- Result 0
Shell Process 'test' : W3DN_Query : query 11 ( W3DN_Q_MAXCOLOURBUFFERS )
Shell Process 'test' : W3DN_Query : <- Result 1
Shell Process 'test' : W3DN_Query : query 12 ( W3DN_Q_MAXRENDERWIDTH )
Shell Process 'test' : W3DN_Query : <- Result 16384
Shell Process 'test' : W3DN_Query : query 13 ( W3DN_Q_MAXRENDERHEIGHT )
Shell Process 'test' : W3DN_Query : <- Result 16384
Shell Process 'test' : W3DN_Query : query 14 ( W3DN_Q_MAXVERTEXATTRIBS )
Shell Process 'test' : W3DN_Query : <- Result 16
Shell Process 'test' : W3DN_Query : query 15 ( W3DN_Q_MIPMAPPING )
Shell Process 'test' : W3DN_Query : <- Result 1
Shell Process 'test' : W3DN_Query : query 16 ( W3DN_Q_MIPMAPGENERATION )
Shell Process 'test' : W3DN_Query : <- Result 1
Shell Process 'test' : W3DN_Query : query 17 ( W3DN_Q_MAXTEXDEPTH )
Shell Process 'test' : W3DN_Query : <- Result 1
Shell Process 'test' : W3DN_Query : query 18 ( W3DN_Q_NPOT_MIPMAPPING )
Shell Process 'test' : W3DN_Query : <- Result 1
Shell Process 'test' : W3DN_Query : query 19 ( W3DN_Q_STENCIL )
Shell Process 'test' : W3DN_Query : <- Result 1
Shell Process 'test' : W3DN_Query : query 20 ( W3DN_Q_VERTEX_TEXTUREFETCH )
Shell Process 'test' : W3DN_Query : <- Result 0
Shell Process 'test' : W3DN_Query : query 21 ( W3DN_Q_MAXVARYINGVECTORS )
Shell Process 'test' : W3DN_Query : <- Result 32
Shell Process 'test' : W3DN_Query : query 22 ( W3DN_Q_MAXTEXCUBEMAPSIZE )
Shell Process 'test' : W3DN_Query : <- Result 0
Shell Process 'test' : W3DN_Query : query 23 ( W3DN_Q_MAXLINEWIDTH )
Shell Process 'test' : W3DN_Query : <- Result 128
Shell Process 'test' : W3DN_Query : query 24 ( W3DN_Q_MAXPOINTSIZE )
Shell Process 'test' : W3DN_Query : <- Result 8192
Shell Process 'test' : W3DN_Query : query 25 ( W3DN_Q_POLYGONOFFSET )
Shell Process 'test' : W3DN_Query : <- Result 1
Shell Process 'test' : W3DN_Query : query 26 ( W3DN_Q_POLYGONMODE )
Shell Process 'test' : W3DN_Query : <- Result 1
Shell Process 'test' : W3DN_Query : query 27 ( W3DN_Q_FLATSHADE )
Shell Process 'test' : W3DN_Query : <- Result 1
Shell Process 'test' : W3DN_Query : query 28 ( W3DN_Q_TEXTUREEXTSHARE )
Shell Process 'test' : W3DN_Query : <- Result 1
Shell Process 'test' : W3DN_Query : query 29 ( W3DN_Q_TEXTURE_1D_ARRAY )
Shell Process 'test' : W3DN_Query : <- Result 0
Shell Process 'test' : W3DN_Query : query 30 ( W3DN_Q_TEXTURE_2D_ARRAY )
Shell Process 'test' : W3DN_Query : <- Result 0
Shell Process 'test' : W3DN_Query : query 31 ( W3DN_Q_TEXTURE_CUBEMAP_ARRAY )
Shell Process 'test' : W3DN_Query : <- Result 0
Shell Process 'test' : W3DN_Query : query 32 ( W3DN_Q_GPUENDIANNESS )
Shell Process 'test' : W3DN_Query : <- Result 2
Shell Process 'test' : W3DN_Query : query 33 ( W3DN_Q_TEXTURE_RENDER_BGRA )
Shell Process 'test' : W3DN_Query : <- Result 1
Shell Process 'test' : W3DN_WaitIdle : timeout 0
Shell Process 'test' : W3DN_Submit : errCode 0x0
Shell Process 'test' : W3DN_Submit : <- errCode 15 ( W3DNEC_QUEUEEMPTY ). Submit ID 0
Shell Process 'test' : W3DN_WaitIdle : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_FBBindBuffer : frameBuffer 0x618af078 , attachmentPt 65536 , tags 0x616f1908 ([ W3DNTag_BitMap : 0x61F8C538 ])
Shell Process 'test' : W3DN_FBBindBuffer : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_FBBindBuffer : frameBuffer 0x618af078 , attachmentPt 0 , tags 0x616f1908 ([ W3DNTag_AllocDepthStencil : 0 ])
Shell Process 'test' : W3DN_FBBindBuffer : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_SetViewport : renderState 0x6160f698 , x 0.000000 , y 480.000000 , width 640.000000 , height - 480.000000 , zNear 0.000000 , zFar 1.000000
Shell Process 'test' : W3DN_SetViewport : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_SetScissor : renderState 0x6160f698 , x 0 , y 0 , width 640 , height 480
Shell Process 'test' : W3DN_SetScissor : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_SetState : renderState 0x6160f698 , stateFlag 4 ( W3DN_CULLBACK ), value 0 ( W3DN_DISABLE )
Shell Process 'test' : W3DN_SetState : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_SetState : renderState 0x6160f698 , stateFlag 3 ( W3DN_CULLFRONT ), value 0 ( W3DN_DISABLE )
Shell Process 'test' : W3DN_SetState : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_SetBlendColour : renderState 0x6160f698 , red 0.000000 , green 0.000000 , blue 0.000000 , alpha 0.000000
Shell Process 'test' : W3DN_SetBlendColour : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_SetBlendEquation : renderState 0x6160f698 , buffIdx 0 , equation 0 ( W3DN_FUNC_ADD )
Shell Process 'test' : W3DN_SetBlendEquationSeparate : renderState 0x6160f698 , buffIdx 0 , colEquation 0 ( W3DN_FUNC_ADD ), alphaEquation 0 ( W3DN_FUNC_ADD )
Shell Process 'test' : W3DN_SetBlendEquationSeparate : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_SetBlendEquation : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_SetBlendEquationSeparate : renderState 0x6160f698 , buffIdx 0 , colEquation 0 ( W3DN_FUNC_ADD ), alphaEquation 0 ( W3DN_FUNC_ADD )
Shell Process 'test' : W3DN_SetBlendEquationSeparate : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_SetBlendMode : renderState 0x6160f698 , buffIdx 0 , src 1 ( W3DN_ONE ), dst 0 ( W3DN_ZERO )
Shell Process 'test' : W3DN_SetBlendModeSeparate : renderState 0x6160f698 , buffIdx 0 , colSrc 1 ( W3DN_ONE ), colDst 0 ( W3DN_ZERO ), alphaSrc 1 ( W3DN_ONE ), alphaDst 0 ( W3DN_ZERO )
Shell Process 'test' : W3DN_SetBlendModeSeparate : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_SetBlendMode : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_SetBlendModeSeparate : renderState 0x6160f698 , buffIdx 0 , colSrc 1 ( W3DN_ONE ), colDst 0 ( W3DN_ZERO ), alphaSrc 1 ( W3DN_ONE ), alphaDst 0 ( W3DN_ZERO )
Shell Process 'test' : W3DN_SetBlendModeSeparate : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_SetState : renderState 0x6160f698 , stateFlag 4 ( W3DN_CULLBACK ), value 0 ( W3DN_DISABLE )
Shell Process 'test' : W3DN_SetState : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_SetState : renderState 0x6160f698 , stateFlag 3 ( W3DN_CULLFRONT ), value 0 ( W3DN_DISABLE )
Shell Process 'test' : W3DN_SetState : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_SetDepthCompareFunc : renderState 0x6160f698 , func 2 ( W3DN_LESS )
Shell Process 'test' : W3DN_SetDepthCompareFunc : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_SetState : renderState 0x6160f698 , stateFlag 1 ( W3DN_DEPTHWRITE ), value 1 ( W3DN_ENABLE )
Shell Process 'test' : W3DN_SetState : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_SetState : renderState 0x6160f698 , stateFlag 5 ( W3DN_BLEND ), value 0 ( W3DN_DISABLE )
Shell Process 'test' : W3DN_SetState : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_SetState : renderState 0x6160f698 , stateFlag 4 ( W3DN_CULLBACK ), value 0 ( W3DN_DISABLE )
Shell Process 'test' : W3DN_SetState : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_SetState : renderState 0x6160f698 , stateFlag 3 ( W3DN_CULLFRONT ), value 0 ( W3DN_DISABLE )
Shell Process 'test' : W3DN_SetState : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_SetState : renderState 0x6160f698 , stateFlag 0 ( W3DN_DEPTHTEST ), value 0 ( W3DN_DISABLE )
Shell Process 'test' : W3DN_SetState : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_SetScissor : renderState 0x6160f698 , x 0 , y 0 , width 640 , height 480
Shell Process 'test' : W3DN_SetScissor : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_SetState : renderState 0x6160f698 , stateFlag 2 ( W3DN_STENCILTEST ), value 0 ( W3DN_DISABLE )
Shell Process 'test' : W3DN_SetState : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_SetPolygonOffset : renderState 0x6160f698 , factor 0.000000 , units 0.000000 , clamp 0.000000
Shell Process 'test' : W3DN_SetPolygonOffset : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_SetFrontFace : renderState 0x6160f698 , face 0 ( W3DN_FACE_CCW )
Shell Process 'test' : W3DN_SetFrontFace : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : OGLES2_glStencilFunc : func 0x207 ( GL_ALWAYS ), ref 0 , mask 4294967295
Shell Process 'test' : W3DN_SetStencilFunc : renderState 0x6160f698 , func 8 ( W3DN_ALWAYS ), ref 0 , mask 0xffffffff
Shell Process 'test' : W3DN_SetStencilFuncSeparate : renderState 0x6160f698 , face 2 ( W3DN_FRONT_AND_BACK ), func 8 ( W3DN_ALWAYS ), ref 0 , mask 0xffffffff
Shell Process 'test' : W3DN_SetStencilFuncSeparate : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_SetStencilFunc : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : OGLES2_glStencilMask : mask 4294967295
Shell Process 'test' : W3DN_SetStencilWriteMask : renderState 0x6160f698 , mask 0xffffffff
Shell Process 'test' : W3DN_SetStencilWriteMaskSeparate : renderState 0x6160f698 , face 2 ( W3DN_FRONT_AND_BACK ), mask 0xffffffff
Shell Process 'test' : W3DN_SetStencilWriteMaskSeparate : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_SetStencilWriteMask : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : OGLES2_glStencilOp : fail 0x1E00 ( GL_KEEP ), zfail 0x1E00 ( GL_KEEP ), zpass 0x1E00 ( GL_KEEP )
Shell Process 'test' : W3DN_SetStencilOp : renderState 0x6160f698 , sFail 1 ( W3DN_ST_KEEP ), dpFail 1 ( W3DN_ST_KEEP ), dpPass 1 ( W3DN_ST_KEEP )
Shell Process 'test' : W3DN_SetStencilOpSeparate : renderState 0x6160f698 , face 2 ( W3DN_FRONT_AND_BACK ), sFail 1 ( W3DN_ST_KEEP ), dpFail 1 ( W3DN_ST_KEEP ), dpPass 1 ( W3DN_ST_KEEP )
Shell Process 'test' : W3DN_SetStencilOpSeparate : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_SetStencilOp : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : OGLES2_glPolygonOffset : factor 0.000000 , units 0.000000
Shell Process 'test' : W3DN_SetPolygonOffset : renderState 0x6160f698 , factor 0.000000 , units 0.000000 , clamp 0.000000
Shell Process 'test' : W3DN_SetPolygonOffset : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : OGLES2_glLineWidth : width 1.000000
Shell Process 'test' : W3DN_SetLineWidth : renderState 0x6160f698 , width 1.000000
Shell Process 'test' : W3DN_SetLineWidth : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_SetViewport : renderState 0x6160f698 , x 0.000000 , y 480.000000 , width 640.000000 , height - 480.000000 , zNear 0.000000 , zFar 1.000000
Shell Process 'test' : W3DN_SetViewport : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_SetScissor : renderState 0x6160f698 , x 0 , y 0 , width 640 , height 480
Shell Process 'test' : W3DN_SetScissor : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_CreateTexSampler : errCode 0x0
Shell Process 'test' : W3DN_CreateTexSampler : <- errCode 0 ( ignored ( NULL pointer )). Texture sampler address 0x618af168
Shell Process 'test' : W3DN_TSSetParameters : texSampler 0x618af168 , tags 0x616f1918 ([ W3DN_TEXTURE_MIN_FILTER : 4 ][ W3DN_TEXTURE_MAG_FILTER : 1 ])
Shell Process 'test' : W3DN_TSSetParameters : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : OGLES2_aglCreateContext2 : <- errcode 0. Context address 0x615fa2b8
Shell Process 'test' : OGLES2_aglMakeCurrent : context 0x615fa2b8
Shell Process 'test' : OGLES2_glGetIntegerv : pname 0xBA2 ( GL_VIEWPORT ), data 0x616cb7d4
Shell Process 'test' : OGLES2_glGetIntegerv : <- data 0
Shell Process 'test' : OGLES2_glGetIntegerv : pname 0xC10 ( GL_SCISSOR_BOX ), data 0x616cb7e4
Shell Process 'test' : OGLES2_glGetIntegerv : <- data 0
Shell Process 'test' : OGLES2_glGetIntegerv : pname 0x8B9B ( GL_IMPLEMENTATION_COLOR_READ_FORMAT ), data 0x616cc6b8
Shell Process 'test' : OGLES2_glGetIntegerv : <- data 6408
Shell Process 'test' : OGLES2_glGetIntegerv : pname 0x8B9A ( GL_IMPLEMENTATION_COLOR_READ_TYPE ), data 0x616cc6bc
Shell Process 'test' : OGLES2_glGetIntegerv : <- data 5121
Shell Process 'test' : OGLES2_glGetString : name 0x1F03 ( GL_EXTENSIONS )
Shell Process 'test' : OGLES2_glGetString : <- string 'GL_ARB_arrays_of_arrays GL_ARB_provoking_vertex GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_EXT_blend_minmax GL_EXT_frag_depth GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_lod_bias GL_EXT_texture_rectangle GL_OES_draw_elements_base_vertex GL_OES_element_index_uint GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_npot GL_OES_packed_depth_stencil GL_SGIS_texture_lod GL_AOS4_texture_format_RGB332 GL_AOS4_texture_format_RGB332REV GL_AOS4_texture_format_RGBA1555REV GL_AOS4_texture_format_RGBA8888 GL_AOS4_texture_format_RGBA8888REV GL_OES_vertex_type_10_10_10_2 GL_EXT_texture_type_2_10_10_10_REV'
Shell Process 'test' : OGLES2_glGetShaderPrecisionFormat : shadertype 0x8B30 ( GL_FRAGMENT_SHADER ), precisiontype 0x8DF2 ( GL_HIGH_FLOAT ), range 0x616f1ad8 , precision 0x616f1ae4
Shell Process 'test' : OGLES2_glGetShaderPrecisionFormat : <- range [ 127 , 127 ], precision 23
Shell Process 'test' : OGLES2_glGetIntegerv : pname 0x8869 ( Unknown enum ), data 0x618c2220
Shell Process 'test' : OGLES2_glGetIntegerv : <- data 16
Shell Process 'test' : OGLES2_glGetIntegerv : pname 0xD33 ( GL_MAX_TEXTURE_SIZE ), data 0x618c2190
Shell Process 'test' : OGLES2_glGetIntegerv : <- data 16384
Shell Process 'test' : OGLES2_glGetIntegerv : pname 0x8872 ( Unknown enum ), data 0x618c2188
Shell Process 'test' : OGLES2_glGetIntegerv : <- data 32
Shell Process 'test' : OGLES2_glGetIntegerv : pname 0x8872 ( Unknown enum ), data 0x618c2224
Shell Process 'test' : OGLES2_glGetIntegerv : <- data 32
Shell Process 'test' : OGLES2_glGetIntegerv : pname 0x8DFC ( Unknown enum ), data 0x618c2228
Shell Process 'test' : OGLES2_glGetIntegerv : <- data 32
Shell Process 'test' : OGLES2_glGetIntegerv : pname 0x84FF ( GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT ), data 0x618c220c
Shell Process 'test' : OGLES2_glGetIntegerv : <- data 16
Shell Process 'test' : OGLES2_glGetError : <- error 0x0 ( GL_NO_ERROR )
Shell Process 'test' : OGLES2_glGetString : name 0x1F00 ( GL_VENDOR )
Shell Process 'test' : OGLES2_glGetString : <- string 'A-EON Technology Ltd. Written by Daniel ' Daytona675x ' M▒▒ener @ GoldenCode.eu'
Shell Process 'test' : OGLES2_glCreateShader : type 0x8B31 ( GL_VERTEX_SHADER )
Shell Process 'test' : OGLES2_glCreateShader : <- shader 384
Shell Process 'test' : OGLES2_glShaderSource : shader 384 , count 4 , string 0x616f1a98 length 0x0
Line 0 : '#version 120'
Line 1 : '
layout(location = 0) in vec4 vecPos;
'
Line 2 : 'layout(location = 0) uniform mat4 matMVP;
'
Line 3 : 'void main() {
gl_Position = matMVP * vecPos;
}
'
Shell Process 'test' : OGLES2_glCompileShader : shader 384
Shell Process 'test' : GL error 1282 ( GL_INVALID_OPERATION ) detected after CompileShader
Shell Process 'test' : OGLES2_glGetShaderiv : shader 384 , pname 0x8B81 ( GL_COMPILE_STATUS ), params 0x616f1aa8
Shell Process 'test' : OGLES2_glGetShaderiv : <- params 0
Shell Process 'test' : OGLES2_glDeleteShader : shader 384
Shell Process 'test' : OGLES2_glCreateShader : type 0x8B31 ( GL_VERTEX_SHADER )
Shell Process 'test' : OGLES2_glCreateShader : <- shader 384
Shell Process 'test' : OGLES2_glShaderSource : shader 384 , count 4 , string 0x616f1a98 length 0x0
Line 0 : '#version 300 es'
Line 1 : '
layout(location = 0) in vec4 vecPos;
'
Line 2 : 'uniform mat4 matMVP;
'
Line 3 : 'void main() {
gl_Position = matMVP * vecPos;
}
'
Shell Process 'test' : OGLES2_glCompileShader : shader 384
Shell Process 'test' : W3DN_CompileShader : errCode 0x616f19c4 , tags 0x616f1998 ([ W3DNTag_DataBuffer : 0x61154060 ][ W3DNTag_DataSize : 612 ][ W3DNTag_Log : 0x616F19C0 ][ W3DNTag_LogLevel : 0 ])
Shell Process 'test' : W3DN_CompileShader : <- errCode 0 ( W3DNEC_SUCCESS ). Shader address 0x61dc58e8
Shell Process 'test' : W3DN_ShaderGetCount : errCode 0x0 , shader 0x61dc58e8 , objectType 0 ( W3DNSOT_INPUT )
Shell Process 'test' : W3DN_ShaderGetCount : <- errCode 0 ( ignored ( NULL pointer )). Shader count 1
Shell Process 'test' : W3DN_ShaderGetObjectInfo : shader 0x61dc58e8 , objectType 0 ( W3DNSOT_INPUT ), index 0 , tags 0x616f1740
Shell Process 'test' : W3DN_ShaderGetObjectInfo : <- tags ([ W3DNTag_NumSubFields : 0x616F1688 ]). Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_ShaderGetCount : errCode 0x0 , shader 0x61dc58e8 , objectType 0 ( W3DNSOT_INPUT )
Shell Process 'test' : W3DN_ShaderGetCount : <- errCode 0 ( ignored ( NULL pointer )). Shader count 1
Shell Process 'test' : W3DN_ShaderGetObjectInfo : shader 0x61dc58e8 , objectType 0 ( W3DNSOT_INPUT ), index 0 , tags 0x616f1740
Shell Process 'test' : W3DN_ShaderGetObjectInfo : <- tags ([ W3DNTag_Location : 0x615FC0B8 ][ W3DNTag_Offset : 0x615FC0C0 ][ W3DNTag_SizeBytes : 0x615FC0C4 ][ W3DNTag_Name : 0x615FC0C8 ][ W3DNTag_Type : 0x615FC0D0 ][ W3DNTag_ElementType : 0x615FC0D4 ][ W3DNTag_NumSubFields : 0x615FC0D8 ][ W3DNTag_ArrayDims : 0x615FC0DC ][ W3DNTag_MatrixStride : 0x615FC0E4 ][ W3DNTag_IsRowMajor : 0x615FC0E8 ]). Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_ShaderGetCount : errCode 0x0 , shader 0x61dc58e8 , objectType 3 ( W3DNSOT_UNIFORM )
Shell Process 'test' : W3DN_ShaderGetCount : <- errCode 0 ( ignored ( NULL pointer )). Shader count 1
Shell Process 'test' : W3DN_ShaderGetObjectInfo : shader 0x61dc58e8 , objectType 3 ( W3DNSOT_UNIFORM ), index 0 , tags 0x616f1740
Shell Process 'test' : W3DN_ShaderGetObjectInfo : <- tags ([ W3DNTag_NumSubFields : 0x616F1688 ]). Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_ShaderGetCount : errCode 0x0 , shader 0x61dc58e8 , objectType 3 ( W3DNSOT_UNIFORM )
Shell Process 'test' : W3DN_ShaderGetCount : <- errCode 0 ( ignored ( NULL pointer )). Shader count 1
Shell Process 'test' : W3DN_ShaderGetObjectInfo : shader 0x61dc58e8 , objectType 3 ( W3DNSOT_UNIFORM ), index 0 , tags 0x616f1740
Shell Process 'test' : W3DN_ShaderGetObjectInfo : <- tags ([ W3DNTag_Location : 0x615FC0B8 ][ W3DNTag_Offset : 0x615FC0C0 ][ W3DNTag_SizeBytes : 0x615FC0C4 ][ W3DNTag_Name : 0x615FC0C8 ][ W3DNTag_Type : 0x615FC0D0 ][ W3DNTag_ElementType : 0x615FC0D4 ][ W3DNTag_NumSubFields : 0x615FC0D8 ][ W3DNTag_ArrayDims : 0x615FC0DC ][ W3DNTag_MatrixStride : 0x615FC0E4 ][ W3DNTag_IsRowMajor : 0x615FC0E8 ]). Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_ShaderGetCount : errCode 0x0 , shader 0x61dc58e8 , objectType 2 ( W3DNSOT_IMAGE )
Shell Process 'test' : W3DN_ShaderGetCount : <- errCode 0 ( ignored ( NULL pointer )). Shader count 0
Shell Process 'test' : OGLES2_glGetShaderiv : shader 384 , pname 0x8B81 ( GL_COMPILE_STATUS ), params 0x616f1aa8
Shell Process 'test' : OGLES2_glGetShaderiv : <- params 1
Shell Process 'test' : OGLES2_glDeleteShader : shader 384
Shell Process 'test' : W3DN_DestroyShader : shader 0x61dc58e8
Shell Process 'test' : OGLES2_glCreateShader : type 0x8B31 ( GL_VERTEX_SHADER )
Shell Process 'test' : OGLES2_glCreateShader : <- shader 384
Shell Process 'test' : OGLES2_glShaderSource : shader 384 , count 4 , string 0x616f1a98 length 0x0
Line 0 : '#version 310 es'
Line 1 : '
layout(location = 0) in vec4 vecPos;
'
Line 2 : 'layout(location = 0) uniform mat4 matMVP;
'
Line 3 : 'void main() {
gl_Position = matMVP * vecPos;
}
'
Shell Process 'test' : OGLES2_glCompileShader : shader 384
Shell Process 'test' : W3DN_CompileShader : errCode 0x616f19c4 , tags 0x616f1998 ([ W3DNTag_DataBuffer : 0x61154060 ][ W3DNTag_DataSize : 800 ][ W3DNTag_Log : 0x616F19C0 ][ W3DNTag_LogLevel : 0 ])
Shell Process 'test' : W3DN_CompileShader : <- errCode 0 ( W3DNEC_SUCCESS ). Shader address 0x61dc58e8
Shell Process 'test' : W3DN_ShaderGetCount : errCode 0x0 , shader 0x61dc58e8 , objectType 0 ( W3DNSOT_INPUT )
Shell Process 'test' : W3DN_ShaderGetCount : <- errCode 0 ( ignored ( NULL pointer )). Shader count 1
Shell Process 'test' : W3DN_ShaderGetObjectInfo : shader 0x61dc58e8 , objectType 0 ( W3DNSOT_INPUT ), index 0 , tags 0x616f1740
Shell Process 'test' : W3DN_ShaderGetObjectInfo : <- tags ([ W3DNTag_NumSubFields : 0x616F1688 ]). Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_ShaderGetCount : errCode 0x0 , shader 0x61dc58e8 , objectType 0 ( W3DNSOT_INPUT )
Shell Process 'test' : W3DN_ShaderGetCount : <- errCode 0 ( ignored ( NULL pointer )). Shader count 1
Shell Process 'test' : W3DN_ShaderGetObjectInfo : shader 0x61dc58e8 , objectType 0 ( W3DNSOT_INPUT ), index 0 , tags 0x616f1740
Shell Process 'test' : W3DN_ShaderGetObjectInfo : <- tags ([ W3DNTag_Location : 0x615FD6F0 ][ W3DNTag_Offset : 0x615FD6F8 ][ W3DNTag_SizeBytes : 0x615FD6FC ][ W3DNTag_Name : 0x615FD700 ][ W3DNTag_Type : 0x615FD708 ][ W3DNTag_ElementType : 0x615FD70C ][ W3DNTag_NumSubFields : 0x615FD710 ][ W3DNTag_ArrayDims : 0x615FD714 ][ W3DNTag_MatrixStride : 0x615FD71C ][ W3DNTag_IsRowMajor : 0x615FD720 ]). Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_ShaderGetCount : errCode 0x0 , shader 0x61dc58e8 , objectType 3 ( W3DNSOT_UNIFORM )
Shell Process 'test' : W3DN_ShaderGetCount : <- errCode 0 ( ignored ( NULL pointer )). Shader count 1
Shell Process 'test' : W3DN_ShaderGetObjectInfo : shader 0x61dc58e8 , objectType 3 ( W3DNSOT_UNIFORM ), index 0 , tags 0x616f1740
Shell Process 'test' : W3DN_ShaderGetObjectInfo : <- tags ([ W3DNTag_NumSubFields : 0x616F1688 ]). Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_ShaderGetCount : errCode 0x0 , shader 0x61dc58e8 , objectType 3 ( W3DNSOT_UNIFORM )
Shell Process 'test' : W3DN_ShaderGetCount : <- errCode 0 ( ignored ( NULL pointer )). Shader count 1
Shell Process 'test' : W3DN_ShaderGetObjectInfo : shader 0x61dc58e8 , objectType 3 ( W3DNSOT_UNIFORM ), index 0 , tags 0x616f1740
Shell Process 'test' : W3DN_ShaderGetObjectInfo : <- tags ([ W3DNTag_Location : 0x615FD6F0 ][ W3DNTag_Offset : 0x615FD6F8 ][ W3DNTag_SizeBytes : 0x615FD6FC ][ W3DNTag_Name : 0x615FD700 ][ W3DNTag_Type : 0x615FD708 ][ W3DNTag_ElementType : 0x615FD70C ][ W3DNTag_NumSubFields : 0x615FD710 ][ W3DNTag_ArrayDims : 0x615FD714 ][ W3DNTag_MatrixStride : 0x615FD71C ][ W3DNTag_IsRowMajor : 0x615FD720 ]). Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_ShaderGetCount : errCode 0x0 , shader 0x61dc58e8 , objectType 2 ( W3DNSOT_IMAGE )
Shell Process 'test' : W3DN_ShaderGetCount : <- errCode 0 ( ignored ( NULL pointer )). Shader count 0
Shell Process 'test' : OGLES2_glGetShaderiv : shader 384 , pname 0x8B81 ( GL_COMPILE_STATUS ), params 0x616f1aa8
Shell Process 'test' : OGLES2_glGetShaderiv : <- params 1
Shell Process 'test' : OGLES2_glDeleteShader : shader 384
Shell Process 'test' : W3DN_DestroyShader : shader 0x61dc58e8
Shell Process 'test' : OGLES2_glClear : mask 0x4100 [ COLOR ][ DEPTH ]
Shell Process 'test' : W3DN_Clear : renderState 0x6160f698 , colour 0x615fa39c ( 0.000000 , 0.000000 , 0.000000 , 0.000000 ), depth 0x615fa390 ( 1.000000 ), stencil 0x0 ( 0 )
Shell Process 'test' : W3DN_Clear : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_Submit : errCode 0x0
Shell Process 'test' : W3DN_Submit : <- errCode 0 ( W3DNEC_SUCCESS ). Submit ID 24097
Shell Process 'test' : OGLES2_glGetError : <- error 0x502 ( GL_INVALID_OPERATION )
Shell Process 'test' : OGLES2_aglDestroyContext : context 0x615fa2b8
Shell Process 'test' : W3DN_WaitIdle : timeout 0
Shell Process 'test' : W3DN_Submit : errCode 0x0
Shell Process 'test' : W3DN_Submit : <- errCode 15 ( W3DNEC_QUEUEEMPTY ). Submit ID 24097
Shell Process 'test' : W3DN_WaitIdle : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_BindTexture : renderState 0x6160f698 , texUnit 0 , texture 0x0 , texSampler 0x0
Shell Process 'test' : W3DN_BindTexture : <- result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_WaitIdle : timeout 0
Shell Process 'test' : W3DN_Submit : errCode 0x0
Shell Process 'test' : W3DN_Submit : <- errCode 15 ( W3DNEC_QUEUEEMPTY ). Submit ID 24097
Shell Process 'test' : W3DN_WaitIdle : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_SetRenderTarget : renderState 0x6160f698 , frameBuffer 0x0
Shell Process 'test' : W3DN_SetRenderTarget : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_DestroyFrameBuffer : frameBuffer 0x618af078
Shell Process 'test' : W3DN_DestroyRenderStateObject : renderState 0x6160f698
Shell Process 'test' : W3DN_DestroyTexSampler : texSampler 0x618af168
Shell Process 'test' : W3DN_Destroy
Shell Process 'test' : W3DN_WaitIdle : timeout 0
Shell Process 'test' : W3DN_Submit : errCode 0x0
Shell Process 'test' : W3DN_Submit : <- errCode 15 ( W3DNEC_QUEUEEMPTY ). Submit ID 24097
Shell Process 'test' : W3DN_WaitIdle : <- Result 0 ( W3DNEC_SUCCESS )
Shell Process 'test' : W3DN_DestroyFrameBuffer : frameBuffer 0x67f3ae78
Shell Process 'test' : W3DN_DestroyRenderStateObject : renderState 0x6160d018
Warp3D Nova profiling results for Shell Process 'test' :
Function calls used 210.278256 ms , 0.30 % of context life - time 70056.099609 ms
Draw calls / s 0.0
function | call count | errors | duration ( ms ) | avg . call dur . ( us ) | % of 210.278256 ms | % of CPU time
WaitIdle | 4 | 0 | 46.204712 | 11551.178 | 21.97 | 0.07
Destroy | 1 | 0 | 36.547850 | 36547.850 | 17.38 | 0.05
SetBlendMode | 1 | 0 | 23.073644 | 23073.644 | 10.97 | 0.03
SetStencilOp | 1 | 0 | 22.213414 | 22213.414 | 10.56 | 0.03
SetBlendEquation | 1 | 0 | 20.354927 | 20354.927 | 9.68 | 0.03
SetStencilFunc | 1 | 0 | 20.087940 | 20087.940 | 9.55 | 0.03
CreateRenderStateObject | 1 | 0 | 19.212952 | 19212.952 | 9.14 | 0.03
SetStencilWriteMask | 1 | 0 | 18.458105 | 18458.105 | 8.78 | 0.03
CompileShader | 2 | 0 | 3.856762 | 1928.381 | 1.83 | 0.01
DestroyFrameBuffer | 2 | 0 | 0.084571 | 42.286 | 0.04 | 0.00
Clear | 1 | 0 | 0.057303 | 57.303 | 0.03 | 0.00
DestroyShader | 2 | 0 | 0.044872 | 22.436 | 0.02 | 0.00
FBBindBuffer | 2 | 0 | 0.011910 | 5.955 | 0.01 | 0.00
DestroyRenderStateObject | 2 | 0 | 0.011749 | 5.875 | 0.01 | 0.00
ShaderGetObjectInfo | 8 | 0 | 0.011589 | 1.449 | 0.01 | 0.00
Submit | 5 | 0 | 0.010025 | 2.005 | 0.00 | 0.00
CreateFrameBuffer | 1 | 0 | 0.007699 | 7.699 | 0.00 | 0.00
BindTexture | 64 | 0 | 0.005734 | 0.090 | 0.00 | 0.00
DestroyTexSampler | 1 | 0 | 0.004211 | 4.211 | 0.00 | 0.00
CreateTexSampler | 1 | 0 | 0.003368 | 3.368 | 0.00 | 0.00
Query | 36 | 0 | 0.002847 | 0.079 | 0.00 | 0.00
ShaderGetCount | 10 | 0 | 0.002687 | 0.269 | 0.00 | 0.00
SetState | 10 | 0 | 0.001283 | 0.128 | 0.00 | 0.00
TSSetParameters | 1 | 0 | 0.001123 | 1.123 | 0.00 | 0.00
SetViewport | 3 | 0 | 0.000962 | 0.321 | 0.00 | 0.00
SetPolygonOffset | 2 | 0 | 0.000922 | 0.461 | 0.00 | 0.00
SetBlendModeSeparate | 2 | 0 | 0.000722 | 0.361 | 0.00 | 0.00
SetRenderTarget | 2 | 0 | 0.000602 | 0.301 | 0.00 | 0.00
SetScissor | 3 | 0 | 0.000602 | 0.201 | 0.00 | 0.00
SetStencilOpSeparate | 1 | 0 | 0.000602 | 0.602 | 0.00 | 0.00
SetBlendEquationSeparate | 2 | 0 | 0.000561 | 0.281 | 0.00 | 0.00
SetStencilWriteMaskSeparate | 1 | 0 | 0.000401 | 0.401 | 0.00 | 0.00
SetStencilFuncSeparate | 1 | 0 | 0.000401 | 0.401 | 0.00 | 0.00
SetDepthCompareFunc | 1 | 0 | 0.000401 | 0.401 | 0.00 | 0.00
SetBlendColour | 1 | 0 | 0.000401 | 0.401 | 0.00 | 0.00
SetLineWidth | 1 | 0 | 0.000201 | 0.201 | 0.00 | 0.00
SetFrontFace | 1 | 0 | 0.000201 | 0.201 | 0.00 | 0.00
Primitive statistics :
Nothing was drawn , vertex count 0
Shell Process 'test' : freeing patched Nova context 0x618ae000
OpenGL ES 2.0 profiling results for Shell Process 'test' :
Function calls used 3526.729383 ms , 4.79 % of context life - time 73666.268632 ms
Frames / s 0.0
function | call count | errors | duration ( ms ) | avg . call dur . ( us ) | % of 3526.729383 ms | % of CPU time
DestroyContext | 1 | 0 | 1621.368782 | 1621368.782 | 45.97 | 2.20
CreateContext2 | 1 | 0 | 1128.053855 | 1128053.855 | 31.99 | 1.53
CompileShader | 3 | 1 | 596.114366 | 198704.789 | 16.90 | 0.81
StencilOp | 1 | 0 | 40.351880 | 40351.880 | 1.14 | 0.05
StencilFunc | 1 | 0 | 36.205674 | 36205.674 | 1.03 | 0.05
StencilMask | 1 | 0 | 32.894957 | 32894.957 | 0.93 | 0.04
Clear | 1 | 0 | 31.051388 | 31051.388 | 0.88 | 0.04
PolygonOffset | 1 | 0 | 16.709414 | 16709.414 | 0.47 | 0.02
LineWidth | 1 | 0 | 13.349213 | 13349.213 | 0.38 | 0.02
DeleteShader | 3 | 0 | 10.594727 | 3531.576 | 0.30 | 0.01
ShaderSource | 3 | 0 | 0.017764 | 5.921 | 0.00 | 0.00
CreateShader | 3 | 0 | 0.006697 | 2.232 | 0.00 | 0.00
GetIntegerv | 10 | 0 | 0.005774 | 0.577 | 0.00 | 0.00
GetShaderiv | 3 | 0 | 0.002486 | 0.829 | 0.00 | 0.00
GetString | 2 | 0 | 0.001805 | 0.902 | 0.00 | 0.00
GetShaderPrecisionFormat | 1 | 0 | 0.000401 | 0.401 | 0.00 | 0.00
MakeCurrent | 1 | 0 | 0.000201 | 0.201 | 0.00 | 0.00
GetError | 2 | 0 | 0.000000 | 0.000 | 0.00 | 0.00
*) Please note that the above time measurements include time spent inside Warp3D Nova functions
Primitive statistics :
Nothing was drawn , vertex count 0
Wait 1 s before quit ...
... waiting over
warp3dnova_free
ogles2_free
glSnoop exiting
I see there :
Shell Process 'test': W3DN_Submit: errCode 0x0
Shell Process 'test': W3DN_Submit: <- errCode 0 (W3DNEC_SUCCESS). Submit ID 24097
Shell Process 'test': OGLES2_glGetError: <- error 0x502 (GL_INVALID_OPERATION)
Shell Process 'test': OGLES2_aglDestroyContext: context 0x615fa2b8
But dunno wtf ..
Re: MacOS PPC CroMag Rally game port
Posted on:
2022/9/28 10:16
#14
Home away from home
Joined: 2007/9/11 12:31Last Login
: 11/19 7:43
From Russia
Group:
Registered Users
@Beworld
Strange stuff : if i download from github this game as zip arhive from web, then in file OGL_Support.c i do not have any _vita_ changes. But if i download it from shell via "git clone", then i do have that function. It's like from the web older (or newer?) version of code downloads and it different between web-download and "git clone" one. Strange!
But anyway, if i download via "git clone", then when i compiling i do have that error:
[ 28 %] Building C object CMakeFiles / CroMagRally . dir / Source / Screens / UIEffects . c . obj
In file included from / amiga / CroMagRally / Source / Headers / game . h : 8 ,
from / amiga / CroMagRally / Source / Screens / UIEffects . c : 6 :
/ amiga / CroMagRally / Source / Headers / objects . h : 117 : 9 : error : static assertion failed : "Special data struct too large!"
117 | _Static_assert ( sizeof ( structType ) <= MAX_SPECIAL_DATA_BYTES , "Special data struct too large!" )
| ^~~~~~~~~~~~~~
/ amiga / CroMagRally / Source / Screens / UIEffects . c : 21 : 1 : note : in expansion of macro ‘CheckSpecialDataStruct’
21 | CheckSpecialDataStruct ( TwitchDriverData );
| ^~~~~~~~~~~~~~~~~~~~~~
make [ 2 ]: *** [ CMakeFiles / CroMagRally . dir / build . make : 510 : CMakeFiles / CroMagRally . dir / Source / Screens / UIEffects . c . obj ] Error 1
make [ 1 ]: *** [ CMakeFiles / Makefile2 : 100 : CMakeFiles / CroMagRally . dir / all ] Error 2
make : *** [ Makefile : 91 : all ] Error 2
So maybe that why you have errors about skeleton anims ? Do you have same warning/error on your side ?
Currently i fixed it by define the same as for _vita_ :
#define MAX_SPECIAL_DATA_BYTES (8 * 8) // Code is not 32bit compatible
but not sure if that correct for us or not
Re: MacOS PPC CroMag Rally game port
Posted on:
2022/9/28 10:41
#15
Home away from home
Joined: 2007/9/11 12:31Last Login
: 11/19 7:43
From Russia
Group:
Registered Users
@beworld
I just commented out error gl checking, and game starts for me too:
It did show me menu, i can operate in, but when i choose the level to start, i do have the same as you : fat warning about wrong skeleton version #, and then exit.
ps. i also have some sound noice by default, but that was easy fixed by change in extern/Pomme/src/SoundMixer/cmixer.cpp :
#ifdef __amigaos4__
fmt . format = AUDIO_S16MSB ;
#else
fmt . format = AUDIO_S16 ;
#endif
ps2. Btw, if i didn't do anything, just waiting in menu, then it try probabaly to show some intro/et, and says "ParseBG3DFile: FSRead failed" and also exit. So i assume another Endian issue there.
ps3. Once deal with that game, he do have 3 other good games of the same SDl2/OGl + his Pomme lib use, will be cool to port them all and commit back to the author all aos4/mos changes.
Edited by kas1e on 2022/9/28 10:56:27
Re: MacOS PPC CroMag Rally game port
Posted on:
2022/9/28 11:42
#16
Just popping in
Joined: 2020/2/14 21:12Last Login
: Today 12:41
From FRANCE
Group:
Registered Users
@kas1e yes, i see the sound problem here, i put AUDIO_S16SYS but same
, music is ok but sound not really....
Re: MacOS PPC CroMag Rally game port
Posted on:
2022/9/28 12:06
#17
Home away from home
Joined: 2007/9/11 12:31Last Login
: 11/19 7:43
From Russia
Group:
Registered Users
@beworld
Just in case created bug-report on his tickets:
https://github.com/jorio/CroMagRally/issues/10 Maybe will be of any help as well
Re: MacOS PPC CroMag Rally game port
Posted on:
2022/9/28 12:10
#18
Just can't stay away
Joined: 2007/7/14 21:30Last Login
: 11/3 18:55
From Lothric
Group:
Registered Users
@kas1e
Quote:
Shell Process 'test': OGLES2_glShaderSource: shader 384, count 4, string 0x616f1a98 length 0x0 Line 0: '#version 120' Line 1: ' layout(location = 0) in vec4 vecPos; ' Line 2: 'layout(location = 0) uniform mat4 matMVP; ' Line 3: 'void main() { gl_Position = matMVP * vecPos; } ' Shell Process 'test': OGLES2_glCompileShader: shader 384 Shell Process 'test': GL error 1282 (GL_INVALID_OPERATION) detected after CompileShaderMy guess is that #version should be "310 es" rather due to uniform location.
Re: MacOS PPC CroMag Rally game port
Posted on:
2022/9/28 12:23
#19
Home away from home
Joined: 2007/9/11 12:31Last Login
: 11/19 7:43
From Russia
Group:
Registered Users
@Capehill
Quote:
My guess is that #version should be "310 es" rather due to uniform location.Right, tried to build this shader as it , and glsnalvalidator fail. Once i replace 120 on 310 es, then it works. I do checked gl4es sources, and found where this shader creates:
https://github.com/ptitSeb/gl4es/blob/master/src/glx/hardext.c#L29 its inside of testGLSL(), which among others things do that:
if( hardext . esversion > 1 ) {
if( testGLSL ( "#version 120" , 1 ))
hardext . glsl120 = 1 ;
if( testGLSL ( "#version 300 es" , 0 ))
hardext . glsl300es = 1 ;
if( testGLSL ( "#version 310 es" , 1 ))
hardext . glsl310es = 1 ;
}
So code do that : create 3 test shaders, and check if they works, and depends on what happens return what is supported. But when on of them fail, we do have GL_ERROR and so it looks like opengl ERROR for app..
Just not sure it's issue with gl4es or ogles2 ?
In meantime created ticket on gl4es page:
https://github.com/ptitSeb/gl4es/issues/394 Maybe we should after all those shaders check somehow made GL_ERROR be empty or something ? Or this shader for 120 should be rewritten to works on 120 as seems just shader wrong ?
EDIT:
Fixed in gl4es by this commit :
https://github.com/ptitSeb/gl4es/commi ... 8ab18410932ccd2f96b198f3b PtitSeb says that shader for 120 looks like this because there is 1 unofficial PowerVR extension that seems to allow that, but he haven't really used it, while the test is in place, so he add reseting of GL_ERROR to gl4es itself , and now all ok for both untouched game's code and test case.
Edited by kas1e on 2022/9/28 12:39:21 Edited by kas1e on 2022/9/28 13:05:28
Re: MacOS PPC CroMag Rally game port
Posted on:
2022/9/28 20:57
#20
Home away from home
Joined: 2007/9/11 12:31Last Login
: 11/19 7:43
From Russia
Group:
Registered Users
@beworld Jorio answer on my ticket, and not only answer, but seems to make lot of big-endian changes already. So time to test how far it going now :)
Currently Active Users Viewing This Thread:
1
(
0 members
and 1 Anonymous Users
)