Search found 613 matches

by Ats
Thu Apr 22, 2021 6:52 pm
Forum: General discussion
Topic: Keycode finder
Replies: 4
Views: 2536

Re: Keycode finder

And it's crashing on linux too:
An unhandled exception occurred at $0000000000416ECB:
EAccessViolation: Access violation
$0000000000416ECB

It's coming from KeyPress component.
by Ats
Thu Apr 22, 2021 6:49 pm
Forum: General discussion
Topic: Keycode finder
Replies: 4
Views: 2536

Keycode finder

I made a quick tool to test the keys and display the code, so I can retrieve what are the arrow keycodes on linux. Funny thing, on Windows, the arrow keys gives two numbers per key: left key: 37 60 right key: 39 62 up key: 38 94 down key: 40 95 <?xml version="1.0" encoding="iso-8859-1...
by Ats
Thu Apr 22, 2021 5:36 pm
Forum: Extensions
Topic: SunVox for ZGE
Replies: 87
Views: 208442

Re: SunVox for ZGE

Sorry, but sunvox isn't working anymore on Windows... :? I'm on a Win10 x86_64 computer, and I don't know when it broke with the last updates as I was focused on Linux... Just in case, I tried with both versions of the dll: sunvox.dll 64 -> error dialog box with "sunvox" sunvox.dll 32 -> e...
by Ats
Thu Apr 22, 2021 4:11 pm
Forum: General discussion
Topic: linux 64bit binary?
Replies: 59
Views: 47510

Re: linux 64bit binary?

And now I'm running tests to see if everything is working on Linux 64. :arrow: For starters, simple RenderText doesn't show on linux. I think I saw that written somewhere for Android, but I didn't manage to find it. [SOLVED] :arrow: Jasper is crashing: Loading rom... done Loading game... done An unh...
by Ats
Thu Apr 22, 2021 3:06 pm
Forum: Extensions
Topic: 3D Physics with ZgeBullet
Replies: 104
Views: 274914

Re: 3D Physics with ZgeBullet

As ZgeBullet is my last problem before being able to run Omeganaut on linux (maybe), I'm back at experimenting. And after a lot of tries, I finally managed to get something: I had to link the compiled "so" files from bullet3, not the "o" files. gcc -Wall -fPIC -I ~/bullet3-3.09/s...
by Ats
Thu Apr 22, 2021 10:33 am
Forum: Feature requests
Topic: [FIXED] Add LINUX as a BuiltinConstants
Replies: 9
Views: 12245

Re: Add LINUX as a BuiltinConstants

Oh, I missed quite a few lines to change...

It works perfectly. Thanks.
Now we can compile the same project for Windows, Android and Linux without having to manually set the external library path for each builds :D
by Ats
Thu Apr 22, 2021 9:12 am
Forum: General discussion
Topic: Exporting images from ZGE
Replies: 17
Views: 29607

Re: Exporting images from ZGE

Since I have Delphi installed, I compiled that pascal TGA2PNG converter: https://github.com/shusaura85/tga2png It's working nicely just by dropping the tga on the exe. The reason why i went with TGA is because it's a very simple file format. You could write a exporter for BMP or PNG as well, but esp...
by Ats
Thu Apr 22, 2021 8:12 am
Forum: Feature requests
Topic: [FIXED] Add LINUX as a BuiltinConstants
Replies: 9
Views: 12245

Re: Add LINUX as a BuiltinConstants

Then my example should display CPUX64, not DETECT OS, right?

The simple line "if (LINUX) myText.Text = "LINUX";" is not working on linux.
by Ats
Wed Apr 21, 2021 5:37 pm
Forum: Feature requests
Topic: [FIXED] Add LINUX as a BuiltinConstants
Replies: 9
Views: 12245

Re: Add LINUX as a BuiltinConstants

So I tested again by compiling ZDesigner.exe AND Player_linux.bin (x86_64). Earlier I didn't see that Zzdc is using Zc_Ops.pas But the result is the same, it doesn't change my text... What am I missing? Here's my ZGE project, just in case I am doing something wrong: <?xml version="1.0" enc...
by Ats
Wed Apr 21, 2021 2:12 pm
Forum: General discussion
Topic: Compiling ZGE for linux ARM / aarch64
Replies: 23
Views: 8463

Re: Compiling ZGE for linux ARM / aarch64

Just putting "libGL" isn't working. I replaced that by the full "/usr/lib/aarch64-linux-gnu/libGL.so" which works, but it's not practical. And I ended up with the simple "libGL.so" which works perfectly, whatever the linux target 8) By the way, did you see my tests for ...
by Ats
Wed Apr 21, 2021 12:47 pm
Forum: General discussion
Topic: Compiling ZGE for linux ARM / aarch64
Replies: 23
Views: 8463

Re: Compiling ZGE for linux ARM / aarch64

Meanwhile, here's ZGE running fine on Raspberry pi 3:

PXL_20210421_123926152~2.jpg
PXL_20210421_123926152~2.jpg (2.13 MiB) Viewed 3493 times

I just have one question for building more examples, what would External library ModuleName for opengl32 be on linux ?
by Ats
Wed Apr 21, 2021 12:01 pm
Forum: Extensions
Topic: SunVox for ZGE
Replies: 87
Views: 208442

Re: SunVox for ZGE

Now Raspberry is working too: (2660) checking args: CBBB Desired audio buffer size: 2048 frames ALSA: pulse ALSA HW Default rate: 44100 ALSA HW Rate: 44100 frames ALSA HW Buffer size: 4096 frames ALSA HW Period size: 227 ALSA HW Periods: 0 ALSA SW Avail min: 227 ALSA SW Start threshold: 1 ALSA SW St...
by Ats
Wed Apr 21, 2021 11:32 am
Forum: Extensions
Topic: SunVox for ZGE
Replies: 87
Views: 208442

Re: SunVox for ZGE

Unfortunately, it doesn't work on raspberry aarch64. Again, everything is compiled from scratch. Desired audio buffer size: 2048 frames ALSA: pulse ALSA HW Default rate: 44100 ALSA HW Rate: 44100 frames ALSA HW Buffer size: 4096 frames ALSA HW Period size: 227 ALSA HW Periods: 0 ALSA SW Avail min: 2...
by Ats
Wed Apr 21, 2021 11:05 am
Forum: Extensions
Topic: SunVox for ZGE
Replies: 87
Views: 208442

Re: SunVox for ZGE

I really feel up to it, and I'm deleting the old folders each time I update source code. And... WELL DONE! Music is working on x86_64 ! And there's no more error on line 575 during compilation. checking args: CBBB checking args: CBBB checking args: CBBB checking args: CBBB Desired audio buffer size:...
by Ats
Wed Apr 21, 2021 9:25 am
Forum: Extensions
Topic: SunVox for ZGE
Replies: 87
Views: 208442

Re: SunVox for ZGE

So I do it again, step by step :lol: Download zge sourcecode Modify ZExpression.pas: Comment out line 575 that still prevents the build on linux Add your two debug lines Compile Player_linux.bin (x86_64) Build ZEditor.exe from source Build SunVox example But the result is the same... Edit: And I'm a...