Search found 245 matches

by Ats
Thu Jul 18, 2019 10:40 pm
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 13
Views: 285

Re: Google Play New problem : 64bits

So I had to add Path C:\Android\android-ndk-r18b\toolchains\aarch64-linux-android-4.9\prebuilt\windows-x86_64\bin in m.bat (the one to make ZGE) Here's the new error log: ZClasses.pas(585,5) Warning: Constructor should be public ZMath.pas(652,1) Warning: Function result variable does not seem to be ...
by Ats
Thu Jul 18, 2019 4:19 pm
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 13
Views: 285

Re: Google Play New problem : 64bits

I'm back and I managed to find why I couldn't find ppcrossarm.exe, it's because it's named ppcrossa64.exe Here's the new error: C:\zgameeditor-master\Build\android>C:\FPC\a64\bin\i386-win32\ppcrossa64 -B -MDelphi -Sghi -O3 -Tandroid -Parm -XXis -vw -Filib\arm-linux -FlC:\Android\android-ndk-r18b\pla...
by Ats
Wed Jul 03, 2019 7:42 am
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 13
Views: 285

Re: Google Play New problem : 64bits

It seems the previous step didn't produce the needed ppcrossarm.exe
It is present in the trunk(32)\bin\i386-win32 but not in the trunk64\bin\i386-win32 folder.
by Ats
Wed Jul 03, 2019 12:51 am
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 13
Views: 285

Re: Google Play New problem : 64bits

Ok, it worked. Now, to ZGE :) What should I change in those 3 lines? if not exist "java\libs\armeabi\" mkdir java\libs\armeabi if not exist "lib\arm-linux\" mkdir lib\arm-linux C:\FPC\trunk\bin\i386-win32\ppcrossarm -B -MDelphi -Sghi -O3 -Tandroid -Parm -XXis -vw -Filib\arm-linux -FlC:\Android\andro...
by Ats
Mon Jul 01, 2019 11:46 pm
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 13
Views: 285

Re: Google Play New problem : 64bits

All right. And what should I replace argument -CpARMv6 with? (because it breaks everything) C:/FPC/fpc/compiler/ppcrossa64.exe -Ur -Tandroid -Paarch64 -XPaarch64-linux-android- -Xr -Ur -Xs -O2 -n -Fi../inc -Fi../aarch64 -Fi../unix -Fiaarch64 -Fi../linux -Fi../linux/aarch64 -FE. -FUC:/FPC/fpc/rtl/uni...
by Ats
Mon Jul 01, 2019 1:08 pm
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 13
Views: 285

Re: Google Play New problem : 64bits

Noob question before I break everything: Since I have to build Free Pascal trunk first, and then build Free Pascal cross Android Trunk, and since it take quite a lot of time to do that, can I just build android 64 over the previous two, or should I make a new output folder and build fp and fp androi...
by Ats
Mon Jul 01, 2019 11:17 am
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 13
Views: 285

Re: Google Play New problem : 64bits

So today I'm feeling a bit motivated to attack that. How should I setup Freepascal to output Android 64 bits ?
I supposed it should be here?

Code: Select all

make clean crossall crossinstall OS_TARGET=android CPU_TARGET=arm CROSSOPT="-dANDROID -CpARMv6 -CfVFPv2"
from my Android setup environment tutorial
by Ats
Mon Jun 17, 2019 12:51 pm
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 13
Views: 285

Google Play New problem : 64bits

Hi everyone, I just received a new email from Google Play asking my apk to have a 64bits version by August. Or else... - Or else? - Exactly Details here: https://android-developers.googleblog.com/2019/01/get-your-apps-ready-for-64-bit.html In order to compile a 64bits apk from ZGE, do I have somethi...
by Ats
Thu May 16, 2019 5:24 pm
Forum: General discussion
Topic: Cardboard VR
Replies: 17
Views: 1065

Re: Cardboard VR

Awesome Kjell!
With that projection Matrix, everything's work, and I don't even have to initialize the screen on Android with an empty AppState :wink:
by Ats
Tue May 14, 2019 9:46 am
Forum: Bug reports
Topic: Function keys F10 & F12
Replies: 2
Views: 234

Re: Function keys F10 & F12

Thanks for the explanations Kjell, that's good to know, and should be written down in the ZGE wiki :D
I'm going to move my debug keys from the function keys to the number keys then.
by Ats
Tue May 14, 2019 9:43 am
Forum: General discussion
Topic: Cardboard VR
Replies: 17
Views: 1065

Re: Cardboard VR

Hahaha :lol: I have another problem regarding the mouse position when the App.CustomViewportRatio is changed... What I'm trying to do is to get the X mouse coordinates from -1 to 1 on the left screen, and same on the right screen using: float MouseX = (VR ? (App.MousePosition.X * 2 + (App.MousePosit...
by Ats
Mon May 13, 2019 9:01 am
Forum: Bug reports
Topic: Function keys F10 & F12
Replies: 2
Views: 234

Function keys F10 & F12

I'm using the function keys F1 to F12 in order to debug Omeganaut, but I've stumble on two problems with that: F10 key (code 121) seems to do nothing F12 key (code 123) is equal to a left mouse click Is that something related to CharCode or ZGE is using those numbers for internal things? There no in...
by Ats
Fri May 10, 2019 9:01 am
Forum: General discussion
Topic: Cardboard VR
Replies: 17
Views: 1065

Re: Cardboard VR

both ScreenWidth and ScreenHeight are integers, so the result is a integer as well ( you want a floating point value ). Thanks :D (I should've thought about that...) And for the switchVR(0), I keep switching from one language to another this days... Now everything regarding VR is working in Omegana...
by Ats
Tue May 07, 2019 6:09 pm
Forum: General discussion
Topic: Cardboard VR
Replies: 17
Views: 1065

Re: Cardboard VR

Hi Kjell, I had some free time today to go back to VR and I'm having trouble with your example when I try to switch from one to two cameras. Here's the modified example to show the problem. This is working perfectly in the preview mode, but not with build and run... Just press space several times, y...
by Ats
Thu May 02, 2019 9:53 am
Forum: Your projects
Topic: OMEGANAUT
Replies: 76
Views: 20673

Re: OMEGANAUT

With all those animated screenshots and covers I made for the game, I finally decided to create an itch.io webpage :D
https://txori.itch.io/omeganaut