Search found 2366 matches

by VilleK
Mon Feb 10, 2025 10:13 am
Forum: Your projects
Topic: Choko Loco 2 on steam
Replies: 4
Views: 1442

Re: Choko Loco 2 on steam

Almost a two hour video, I didn't realize this game had so much content :). Looks like some interesting level design and cool bosses. I'm impressed you had the perseverance to finish this project.
by VilleK
Mon Dec 09, 2024 2:24 pm
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 260
Views: 80024

Re: Google Play New problem : 64bits

You can try delaying the InitApp call in ZgeAndroid to NativeDrawFrame. This should help get rid of the messages about no current GL context.
by VilleK
Mon Dec 09, 2024 8:23 am
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 260
Views: 80024

Re: Google Play New problem : 64bits

About Zge.Java: I think the logic is that it copies it to the app directory only if it is newer than the destination. To avoid overwriting any app-specific changes. It seems the built in Android OpenGL logging have no effect because I can see no such lines in the log. I guess they have removed this ...
by VilleK
Fri Dec 06, 2024 4:02 pm
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 260
Views: 80024

Re: Google Play New problem : 64bits

These messages are interesting: "call to OpenGL ES API with no current context (logged once per thread)" I see that GLSurfaceView has options to log OpenGL calls. Try adding this line: setDebugFlags(DEBUG_CHECK_GL_ERROR | DEBUG_LOG_GL_CALLS); At line 91 in Zge.java, just before the line &q...
by VilleK
Tue Dec 03, 2024 2:42 pm
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 260
Views: 80024

Re: Google Play New problem : 64bits

Today, I discovered that Android Studio handles the logcat very efficiently when a real phone is connected to the computer. I noticed some warnings appearing quite frequently: 2024-12-03 14:00:26.318 680-593 gralloc4 and...graphics.allocator-V1-service W Unable to set buffer name VRI[ZgeActivity]#0...
by VilleK
Thu Nov 21, 2024 8:19 am
Forum: Your projects
Topic: Choko Loco 2 on steam
Replies: 4
Views: 1442

Re: Choko Loco 2 on steam

Cool :). This is to my knowledge the first ZGE game on Steam.
by VilleK
Wed Nov 13, 2024 9:17 am
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 260
Views: 80024

Re: Google Play New problem : 64bits

Can you please DM me the latest version of your Omeganaut zgeproj file so I can look at it and see if I notice anything out of the ordinary? Especially around the sound generation since you mentioned that.
by VilleK
Tue Nov 12, 2024 2:38 pm
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 260
Views: 80024

Re: Google Play New problem : 64bits

You can also check the ifdef android code in other places. Try insert a "exit;" as first line in ZBitmap GLESPixelsFromTexture. And also insert "exit;" as first line in ZOpenGL functions: fakePushAttrib and fakePopAttrib. That will make the visuals look terrible but would be good...
by VilleK
Tue Nov 12, 2024 8:34 am
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 260
Views: 80024

Re: Google Play New problem : 64bits

Those logs doesn't look helpful to me.

Do you have threads enabled again now? Or does setting Tasks.Enabled=False help?
by VilleK
Mon Nov 11, 2024 3:46 pm
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 260
Views: 80024

Re: Google Play New problem : 64bits

There really shouldn't be any memory leaks in ZGE. I always enable memory leak reporting when debugging and when I notice leaks I fix them right away. If some leak exist then it would be in some "ifdef android" block because I haven't tested that as much. Although it still wouldn't make se...
by VilleK
Thu Nov 07, 2024 10:30 am
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 260
Views: 80024

Re: Google Play New problem : 64bits

So I’m wondering if the issue could be with ZFile.pas. How could I stress-test the File/FileAction on Android 64 to investigate this? If you have the file in assets subfolder then the ReadAssetFile routine in ZPlatform_Android will be used. This routine also needs the same changes as the audio code...
by VilleK
Thu Oct 31, 2024 7:59 am
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 260
Views: 80024

Re: Google Play New problem : 64bits

Ats wrote: Wed Oct 30, 2024 10:35 am Is it possible that setting Pixel.R (G or B) can crash if it's under 0 or over 1?
No, the ConvertToByte procecure in ZBitmap.pas forces the values to be in between 0 and 1 range.
by VilleK
Tue Oct 29, 2024 8:30 am
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 260
Views: 80024

Re: Google Play New problem : 64bits

What if you instead comment out the SetExceptionMask calls. That should flush forward any remaining division by zero errors. If there are any in ZGE then they should be fixed. I think the only reason the BitmapExpression problem existed was because in the beginning ZGE did not support 1 width textur...
by VilleK
Mon Oct 28, 2024 4:04 pm
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 260
Views: 80024

Re: Google Play New problem : 64bits

Ats wrote: Mon Oct 28, 2024 1:04 pm My take would be to prevent division per zero instead on relying on mask exZeroDivide :?
I agree and we should do that where possible, but there could be a division with zero in your ZExpressions or in ZGEBullet that only triggers after some time of gameplay.
by VilleK
Mon Oct 28, 2024 12:51 pm
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 260
Views: 80024

Re: Google Play New problem : 64bits

I guess we need to set the exception flags per thread. Try this change in zclasses.pas: procedure TTasks.TWorkerThread.Execute; begin Math.SetExceptionMask([exZeroDivide,exOverflow,exUnderflow,exPrecision,exDenormalized,exInvalidOp]); // <<-- add this line while not Terminated do begin Platform_Wait...