Search found 845 matches
- Tue May 13, 2025 5:08 pm
- Forum: Bug reports
- Topic: Problem with external file location on Android
- Replies: 19
- Views: 5995
Re: Problem with external file location on Android
So I think it is set in zgameeditor-master\Build\android\ZgeAndroid.pas: procedure Java_org_zgameeditor_Zge_NativeInit( env : PJNIEnv; thiz : jobject; ExtPath : jstring; DataPath : jstring; LibraryPath : jstring);cdecl; var P : PAnsiChar; begin P := env^.GetStringUTFChars(Env,ExtPath,nil); GetMem(An...
- Tue May 13, 2025 4:44 pm
- Forum: Bug reports
- Topic: [FIXED] Little problem with Application title for Android
- Replies: 10
- Views: 2189
Re: [FIXED] Little problem with Application title for Android
There's still one little problem, as building the APK (debug) from ZGameEditor also creates run.bat, but with the $title$ name on the first line, instead of the $filename$: "C:\Android\android-sdk-windows\platform-tools\adb" install -r "C:\Dropbox\System\ZGameEditor\Projects\FileDemo\...
- Tue May 13, 2025 4:25 pm
- Forum: Bug reports
- Topic: Problem with external file location on Android
- Replies: 19
- Views: 5995
Problem with external file location on Android
It's one problem after another :lol: So, in order to confirm that my code change regarding ReadAssetFile for Android 64 is working , I'm trying to run the FileDemo on Android. And surprise, it's looking for TestFile.txt in a folder that requires root access: /data/user/0/com.mydomain.filedemo/files/...
- Tue May 13, 2025 10:02 am
- Forum: Bug reports
- Topic: [FIXED] Little problem with Application title for Android
- Replies: 10
- Views: 2189
Re: Little problem with Application title for Android
Perfect. Thanks!
Now I can continue with the fileDemo on Android
Now I can continue with the fileDemo on Android

- Tue May 13, 2025 8:59 am
- Forum: Bug reports
- Topic: [FIXED] Little problem with Application title for Android
- Replies: 10
- Views: 2189
Re: Little problem with Application title for Android
Almost. Now it exports the project name + the file extension: <project name="FileDemo.zgeproj" default="help"> So I think it should be: Lookups.Add('$filename$', ChangeFileExt(ExtractFileName(CurrentFileName), '') ); I hope it will suppress the whole .zproj extension, and not lea...
- Mon May 12, 2025 7:59 pm
- Forum: Bug reports
- Topic: [FIXED] Little problem with Application title for Android
- Replies: 10
- Views: 2189
Re: Little problem with Application title for Android
You wrote this in frmEditor.pas: Section := 'Project: ' + ExtractFileName(CurrentFileName); so I guess CurrentFileName is the complete path and it should be Lookups.Add('$filename$', ExtractFileName(CurrentFileName) ); instead of Lookups.Add('$filename$', CurrentFileName ); ?? I tried to reinstall e...
- Mon May 12, 2025 4:54 pm
- Forum: Bug reports
- Topic: [FIXED] Little problem with Application title for Android
- Replies: 10
- Views: 2189
Re: Little problem with Application title for Android
It wasn't Application.exename
Now I get
<project name="C:\Users\Ats\Desktop\ZGameEditor\ZGameEditor.exe" default="help">
Might be CurrentFileName, then?

Now I get
<project name="C:\Users\Ats\Desktop\ZGameEditor\ZGameEditor.exe" default="help">
Might be CurrentFileName, then?
- Mon May 12, 2025 4:12 pm
- Forum: Bug reports
- Topic: [FIXED] Little problem with Application title for Android
- Replies: 10
- Views: 2189
Re: Little problem with Application title for Android
I've made the pull request.
It's just frmEditor.pas:
Lookups.Add('$filename$', Application.exename );
and build.xml:
<project name="$filename$" default="help">
can you build a new ZGameEditor.zip?
It's just frmEditor.pas:
Lookups.Add('$filename$', Application.exename );
and build.xml:
<project name="$filename$" default="help">
can you build a new ZGameEditor.zip?
- Mon May 12, 2025 8:20 am
- Forum: Bug reports
- Topic: [FIXED] Little problem with Application title for Android
- Replies: 10
- Views: 2189
[FIXED] Little problem with Application title for Android
I was trying to build the FileDemo for Android but got this error: BUILD FAILED C:\Android\android-sdk-windows\tools\ant\build.xml:1135: The following error occurred while executing this line: C:\Android\android-sdk-windows\tools\ant\build.xml:1147: Value for 'output' is not valid. It must resolve t...
- Tue Apr 22, 2025 10:24 pm
- Forum: General discussion
- Topic: How to use SampleImport ogg?
- Replies: 1
- Views: 1603
How to use SampleImport ogg?
I've been trying to test ZPlatform_Android.pas ReadAssetFile on Android, but I'm stuck. ReadAssetFile is specific to Android and is called by Platform_ReadFile. Which is used by ZClasses.pas TZInputStream.CreateFromFile So in the end, I was trying to read an ogg file. And I'm a bit stuck. Is that ho...
- Tue Apr 22, 2025 9:22 pm
- Forum: Bug reports
- Topic: WebOpen OnResult not working on Android
- Replies: 1
- Views: 452
WebOpen OnResult not working on Android
I was trying out my modification of ZPlatform_Android.pas Platform_NetOpen , but I wave no way of telling if it's working, because WebOpen's OnResult doesn't seem to trigger. I tested YakYak Reader with both CallVoidMethodV and CallVoidMethodA on 32 and 64 bits sytems, but it's not able to retrieve ...
- Tue Apr 22, 2025 9:29 am
- Forum: General discussion
- Topic: Google Play New problem : 64bits
- Replies: 291
- Views: 107078
Re: Google Play New problem : 64bits
With the TRTLCriticalSection fix, the game can now run for several minutes. Sometimes it still crashes, not as frequently as before, but the crashes remain random. I’m not using Platform_NetOpen, but I assume reading an embedded 3DS file uses ReadAssetFile. Since we’ve already replaced all the other...
- Mon Apr 21, 2025 7:51 pm
- Forum: General discussion
- Topic: Google Play New problem : 64bits
- Replies: 291
- Views: 107078
Re: Google Play New problem : 64bits
So I've been trying to fix the warnings: "Converting pointers to signed integers may result in wrong comparison results and range errors, use an unsigned type instead." Starting with the file that has the less: Renderer.pas 32 and 64 have the exact same warnings: Renderer.pas(805,17) Warni...
- Mon Apr 21, 2025 11:06 am
- Forum: General discussion
- Topic: Google Play New problem : 64bits
- Replies: 291
- Views: 107078
Re: Google Play New problem : 64bits
Cool. I've made the commit :wink: I checked if that error could have been found with the compilation warning log, but unfortunately, there were no signs of it. Then I run the comparison of compilation warnings for 32 and 64 bits in Gemini: While there's no direct hit, the logs *do* contain warnings ...
- Sun Apr 20, 2025 9:27 am
- Forum: General discussion
- Topic: Google Play New problem : 64bits
- Replies: 291
- Views: 107078
Re: Google Play New problem : 64bits
Let’s start with “1 - Platform_CreateMutex Memory Allocation.” And... That was a quick fix: this doesn’t crash the compilation, and the result works SIGNIFICANTLY BETTER :shock: It no longer crashes randomly within a few seconds to a few minutes on pure 64 bit system. It’s playable for a very long t...