Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
129 user(s) are online (9 user(s) are browsing News)

Members: 0
Guests: 129

more...

Headlines


Recent Replied Topics
Software News : GL4ESxmas for AOS4 coming ! First games using GL4ES !
Posted by kas1e on 2018/12/23 15:06:43 (2428 reads) News by the same author
Software News

There is first games released which builded with usage of GL4ES wrapper which mean to give us OpenGL1.x , 2.x and some of 3.x over ogles2.library and warp3dnova.



Introduction...


For make those games works you need as necessary minimum ogles2.library v1.22 , and warp3dnova.library v1.58. Those requerements are 100% necessary. If you will have anything lower, you will fail, have bugs, crushes and errors. So before making any bugreport later, be sure that you have those versions at minimum.

Of course it is understandable that you also should have modern gfx card, with latest radeonHD drivers.

Everything is compiled via gcc 8.2.0 and latest SDL2. Games released there have good use of modern gcc features like c++11, threading (on our side it is native threading now, not poxis based, thanks to Sebastian) and co.

At this time there is 3 titles, all of them can be downloaded from os4depot. At moment they all in upload query. All the videos and screenshots below takeng from my x5k/aos4fe.

Prototype...

That one is modern remake of R-Type.

Resized Image Resized Image
(press open image in another tab for fullscreen)

Game not very demanding on GPU, and can be ported even over MiniGL with some small changes. Anyone who want to made a port for minigl, or for morphos, can go there for full source code:

https://github.com/ptitSeb/prototype

All amigaos4 and endian changes are there, so it will be easy.

There is youtube video done on my x5000/amigaos4, full HD 1920x1080:

https://www.youtube.com/watch?v=K4Ubgap_nrA


If you want to change fullscreen/window, resolution, etc, you manually change the file .prototype/engine.cfg By default i set fullscreen mode.


Barony: Blessed Addition...

That one are fresh commercical game last release of which happens in 2018, and sources of which was open lately.

http://www.baronygame.com/


Resized Image Resized Image
(press open image in another tab for fullscreen)


Dont' be fooled by "simple" look of it, game is real full-blown of this kind, and many ppls play in it today. Its not some opensource unfinished game, but real big one.

Sadly, that while game itself use OpenGL, it still didn't rely much on GPU, but mostly on CPU. Original requerements for that game is MINIMUM Intel i3 3.0 ghz. So don't expect miracles, and it will be playable only on x1000 or x5000 (there i got 30-40 fps with full details and 1920x1080). You may try it on SAMs with lowering all the settings, but probabaly you still will fail and FPS will be low.

The game come _without_ data files, so you need to got the full game for linux , or for windows (but then for windows version you will have neesd to use windows to extract .exe). And you need exactly data files from Blessed Addition, not Cursed Edition.

If you will run game without data files, all you will have is black window and nothing else.

Once you got data files, and run it, it will take some time to generate model's cache. On x5k it takes ~2 minute for to generate models at first run. Next runs game will use generated cache file and starting will be fast.

By default game runs in window mode 1280x720. You may change resolutions and between window/fullscreen in the settings of game.

There is youtube video done on my x5000/amigaos4, full HD 1920x1080:

https://www.youtube.com/watch?v=mFztSoe1ysw

Full source code with all big-endian and amigaos4 changes are there:

https://github.com/ptitSeb/Barony


Fricking shark...

It is kind of modern remake of Flying Shark.

Resized Image Resized Image
(press open image in another tab for fullscreen)

Game need big resolution, so even 1024x768 can be very minimum and maybe even not enough. 1920x1080 full screen, or something like 1280x1024 in window mode are ok.

That one was the hardest to port as :

1). there by default everything was based on usage of .so with all those dlsym,dlopen,dlclose,dlerror, etc. Changing it all on static usage was reall big work for ptitSeb.
2). there was hard big-endian changes
3). game use real shaders, a lot of gl functions (so good test for gl4es and ogles2/warp3dnova, because of which we found some bugs in warp3dnova, some of which fixed, some of which not at moment).


As said the game can use real shaders , but in our current port they disabled, as firstly need to fix bug in warp3dnova's shaders compiler, and then we can enable them and made update.


Because of no use of real shaders, we use in game only gl4es internal shaders (which compiles not at begining of level, but when gl states changes), what visually mean, that when you first time run a game and start play in you will have some little weird pauses. It will happens only at begining , then all will be fine. So before starting to play normally, you just can run first level, play a mininute "collect" all those pauses in memory, and then exit from level and start it again.

Those pauses at begining will be disappear in 2 cases:

1). When warpd3dnova's shader compiler will be fixed to make those real shaders works (they calculates at begining of level). There alrady BZ about, and Hans aware, so it matter of time.
2). When gl4es will have "precompiled shaders" ability, which will mean, that any software can generate one time internal gl4es shaders, and lately just use them from disk. That in ptitSeb's TODO, but when he will be there, no one can say.

But as there is xmas time, we think that better to release it as it, and later made an update, than holding it for dunno how long.

If you need to change between window/fullscreen and resolutions, you can edit file Resources/Scripts/GameGUI.cfg. By default i set fullscreen mode.

So, there again youtube video done on my aos4/x5k, full HD 1920x1080:

https://www.youtube.com/watch?v=eA9txj_P38I


Full source code with all big-endian and amigaos4 changes are there:

https://github.com/ptitSeb/friking-shark


Final notes...

All hard code workd like adding big-endian support, dealing with amigaos4 related problems, etc done by author of gl4es : ptitseb. I play there little role, with very simply fixes, bugreports, testings, and being around to be sure amigaos4 builds of gl4es supported and works. That inderectly also lead to fixes in ogles2 and warp3dnova fixes (last one still have issues need to be deal with, before other stuff can be released), but without help of ptitSeb who don't have any amiga hardware, and by any reassons do help so much, no gl4es wrapper, not ports of those games if anyone will find them necessary, will not happen. So if any of you think all of this worth of it, can make donation to him to keep his motivation up with all this. You can do it by pressing on donation button for example there:

https://repo.openpandora.org/?page=detail&app=barony_ptitseb

Just be sure to add notes like "amigaos4 support", so he will know from what it from :)

In others , merry gl4esxmas !


Printer friendly page Send this story to a friend
The comments are owned by the author. We aren't responsible for their content.
Author Thread
outrun1978
Published: 2018/12/23 18:39  Updated: 2018/12/23 18:39
Just popping in
Joined: 05/09/2015
From: -
Comments: 69
 GL4ESxmas for AOS4 coming ! First games using GL4ES !
what a nice xmas present :-) Thank you !!
Antique
Published: 2018/12/23 18:49  Updated: 2018/12/23 18:49
Home away from home
Joined: 11/30/2006
From: Norway
Comments: 2613
 GL4ESxmas for AOS4 coming ! First games using GL4ES !
Nice games. :-)
Petrol
Published: 2018/12/23 20:21  Updated: 2018/12/23 20:21
Just popping in
Joined: 05/18/2017
From: Audruicq, France
Comments: 153
 GL4ESxmas for AOS4 coming ! First games using GL4ES !
Thank you all!
K-L
Published: 2018/12/24 8:26  Updated: 2018/12/24 8:26
Just can't stay away
Joined: 11/29/2006
From: Lyon, France
Comments: 1212
 Barony crashes :-(
Thanks ! Unfortunately, Barony crashes badly. I purchased the DRM Free version and unarchived it in the Barony's drawer but I get a GrimReaper when lauching the game (whether I use Windows' archive or Linux's one). You can find the CrashLog here : https://www.amiga-ng.org/resoirces/cra ... e_2018-12-24_09-23-36.txt
kas1e
Published: 2018/12/24 8:43  Updated: 2018/12/24 8:44
Home away from home
Joined: 09/11/2007
From: Russia
Comments: 8940
 Barony
@k-l
Did you have window open at all and did generation of models starts ?

You should have Blessed Addition only, and copy dirs to progdir of barony manually. "Lang" directory should be not replaced. I.e you copy only dirs like models, sounds, etc by hands.

If that not help, check the .barony/logs.txt for more info. It will says on which point it crashes and why (probably because cant find some data files)
K-L
Published: 2018/12/24 8:48  Updated: 2018/12/24 8:48
Just can't stay away
Joined: 11/29/2006
From: Lyon, France
Comments: 1212
 Re: Barony
Thanks for aswreing

It crashes before opening any screen (Prototype and Friking Shark work without any problem).

Ok, I think I know the culprit :

LIBGL: Initialising gl4es
LIBGL: v1.1.1 built on Dec 20 2018 17:02:06
LIBGL: Using GLES 2.0 backend
LIBGL: Using Warp3DNova.library v1 revision 58
LIBGL: Warning, your Warp3DNovaBase.library is too old, minimum is v1.62, please update!
LIBGL: Using OGLES2.library v1 revision 22
LIBGL: OGLES2 Library and Interface open successfuly
LIBGL: ignore MipMap
LIBGL: Targeting OpenGL 2.0
LIBGL: Forcing NPOT support by disabling MIPMAP support for NPOT textures
LIBGL: VBO used (in a few cases)
LIBGL: Current folder is:Jeux:Jeux/FPS/Barony
[09-46-40] Data path is PROGDIR:
[09-46-40] Output path is PROGDIR:.barony

Since I have the latest version, you must be using a beta version of Warp3D NOVA which has not been released yet.
kas1e
Published: 2018/12/24 8:52  Updated: 2018/12/24 8:52
Home away from home
Joined: 09/11/2007
From: Russia
Comments: 8940
 Barony
@K-L
No no, it works over warpdnova 1.58 for sure. That warning harmless for it, it just i put it in gl4es for future.

All looks like datafiles didnt find.. Check plz .barony/log.txt file, and we will know how to deal with.
K-L
Published: 2018/12/24 9:18  Updated: 2018/12/24 9:18
Just can't stay away
Joined: 11/29/2006
From: Lyon, France
Comments: 1212
 Re: Barony
[09-21-34] successfully loaded language file 'lang/en.txt'
[09-21-34] Loading config 'PROGDIR:.barony/default.cfg'...
[09-21-34] warning: config file 'PROGDIR:.barony/default.cfg' does not exist!

I think is the problem. Maybe the game should be launched first under Linux or Windows to create the default.cfg file.

It is not created by the OS4 exe.
kas1e
Published: 2018/12/24 10:24  Updated: 2018/12/24 10:25
Home away from home
Joined: 09/11/2007
From: Russia
Comments: 8940
 barony
@K-L
Nope, i of course tested and restested everything before : those configs and stuff does not exit at begining of course, but they creates after.

For now , i just go to os4depot, download barony.lha , unpacked it to the ram: and run it via dbl-click from icon : it runs, create configs, show me the black window.

Test plz it that way (i mean download to ram, and run it without data files). Will you have config files created in the prgodir:.barony after that , and will you have black window ?

I may think about something being wrong with JXFS , or some other components can be guilty, but let's start from the download/unpack/run from RAM: so we can know what going on.
HunoPPC
Published: 2018/12/24 10:49  Updated: 2018/12/24 10:49
Not too shy to talk
Joined: 12/28/2006
From: Besançon
Comments: 303
 Re: barony
Hello Kas1e,

thank you very much for your hard work with PtitSeb and your porting

On Barony i have a same problem and not create default.cfg (on RAM: and SFS2) and i have added my windows default.cfg on .barony and the same crash.

my debug log
[_OS4_INIT] IExec 0x02973054
Dump of context at 0xDF7ABBA0
Trap type: DSI exception
Machine State (raw): 0x100000000200B030
Machine State (verbose): [Hyper] [ExtInt on] [Super] [FPU on] [IAT on] [DAT on]
Instruction pointer: 0x7C1274C4
Crashed process: Barony.exe (0x5123A4C0)
DSI verbose error description: Access not found in hash or BAT (page fault)
Access was a load operation
0: 7C11EDD4 52C19270 CFBDC5D0 52DD6E70 6FFAAC2C 00000068 52C19678 00000003
8: 00000070 00000000 4F459638 52C196E0 00000154 51440820 60482640 5030F340
16: 7BCB1B20 00000000 5123C9D0 52BF80E8 02B30000 02B30000 00000000 00000007
24: 6FFFE300 00000002 57953999 00000000 02B30000 02B30000 52BF80C8 52C19270
CR: 33953555 XER: A000003D CTR: 0201E334 LR: 7C11EDD4
DSISR: 40000000 DAR: 00000070

FP0 : FFF8000082004000 3FF0000000000000 FFF0EDE9FFEBE7E3 FFEEEAE6FFF0ECE8
FP4 : FFF0EDE9FFEBE7E3 FFEBE7E2FFEEEAE6 FFF1EEECFFEEEAE7 FFEDE9E6FFEAE5DF
FP8 : FFF0EDEAFFE9E3DE FFEDE9E5FFEEEBE7 FFF0EDEAFFE9E3DE 47EFFFFFE0000000
FP12: 47EFFFFFE0000000 4330000000000001 0000000000000000 0000000000000000
FP16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FP20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FP24: 0000000000000000 0000000000000000 0000000000000000 3FF0000000000000
FP28: 4330000080000000 4330000000000000 41E0000000000000 0000000000000000
FPSCR: 82004000
HID0: 0x8000000000000000 HID1: 0x000000005CE993B1
HID4: 0x4400240000080180 HID5: 0x0000006600000080

V0 : 00000000000000000000000000000000 FF010101FF010101FF010101FF010101
V2 : 00000000000000000000000000000000 00000000010101010202020203030303
V4 : 00000000000000000000000000000000 FE010000FE010000FE010000FE010000
V6 : 00000000010101010202020203030303 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
V8 : 001002120414061608180A1A0C1C0E1E FF000000FF000000FF000000FF000000
V10: 01000100010001000100010001000100 00000000000000000000000000000000
V12: FF010100FF010100FF010100FF010100 0C0D0E0F101112131415161718191A1B
V14: FF010101FF010101FF010101FF010101 FF010101FF010101FF010101FF010101
V16: FF010101FF010101FF010101FF010101 FF010101FF010101FF010101FF010101
V18: FF010100FF010100FF010100FF010100 00000000000000000000000000000000
V20: 00000000000000000000000000000000 00000000000000000000000000000000
V22: 00000000000000000000000000000000 00000000000000000000000000000000
V24: 00000000000000000000000000000000 00000000000000000000000000000000
V26: 00000000000000000000000000000000 00000000000000000000000000000000
V28: 00000000000000000000000000000000 00000000000000000000000000000000
V30: 00000000000000000000000000000000 00000000000000000000000000000000
VSCR: 00000000 VRSAVE: 00000000

Disassembly of crash site:
7C1274B4: 3929FD94 subi r9,r9,620
7C1274B8: 913F0008 stw r9,8(r31)
7C1274BC: 3D20580E lis r9,22542
7C1274C0: 8129C2EC lwz r9,-15636(r9)
>7C1274C4: 81290070 lwz r9,112(r9)
7C1274C8: 3D40580E lis r10,22542
7C1274CC: 810AC2EC lwz r8,-15636(r10)
7C1274D0: 38A0FFFE li r5,-2
7C1274D4: 3D4052E6 lis r10,21222
7C1274D8: 388AFDAC subi r4,r10,596

Kernel command line: DEBUGLEVEL=0 SERIAL

Registers pointing to code:
r0 : module Barony.exe at 0x7C11EDD4 (section 5 @ 0x4D4DB0)
r3 : module Barony.exe at 0x52DD6E70 (section 6 @ 0x3CE4C)
r16: module Barony.exe at 0x7BCB1B20 (section 5 @ 0x67AFC)
r20: native kernel module graphics.library.kmod+0x00840680
r21: native kernel module graphics.library.kmod+0x00840680
r28: native kernel module graphics.library.kmod+0x00840680
r29: native kernel module graphics.library.kmod+0x00840680
ip : module Barony.exe at 0x7C1274C4 (section 5 @ 0x4DD4A0)
lr : module Barony.exe at 0x7C11EDD4 (section 5 @ 0x4D4DB0)
ctr: native kernel module kernel+0x0001e334

Stack trace:
(0x52C19270) module Barony.exe at 0x7C1274C4 (section 5 @ 0x4DD4A0)
(0x52C196B0) module Barony.exe at 0x7C11EDD4 (section 5 @ 0x4D4DB0)
(0x52C196E0) module Barony.exe at 0x7C11F220 (section 5 @ 0x4D51FC)
(0x52C19700) module Barony.exe at 0x7BC521A4 (section 5 @ 0x8180)
(0x52C19890) module Barony.exe at 0x7BCB1EF8 (section 5 @ 0x67ED4)
(0x52C19D00) native kernel module newlib.library.kmod+0x000020a4
(0x52C19D70) native kernel module newlib.library.kmod+0x00002d0c
(0x52C19F10) native kernel module newlib.library.kmod+0x00002ee8
(0x52C19F50) Barony.exe:_start()+0x170 (section 1 @ 0x1920)
(0x52C19F90) native kernel module dos.library.kmod+0x000255c8
(0x52C19FC0) native kernel module kernel+0x000420ac
(0x52C19FD0) native kernel module kernel+0x000420f4

Disassembly of crash site:
7C1274B4: 3929FD94 subi r9,r9,620
7C1274B8: 913F0008 stw r9,8(r31)
7C1274BC: 3D20580E lis r9,22542
7C1274C0: 8129C2EC lwz r9,-15636(r9)
>7C1274C4: 81290070 lwz r9,112(r9)
7C1274C8: 3D40580E lis r10,22542
7C1274CC: 810AC2EC lwz r8,-15636(r10)
7C1274D0: 38A0FFFE li r5,-2
7C1274D4: 3D4052E6 lis r10,21222
7C1274D8: 388AFDAC subi r4,r10,596
Stack pointer (0x52C19270) is inside bounds
Redzone is OK (4)

68k register dump
DATA: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ADDR: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Page information:
Page not found


Best regards

HunoPPC
kas1e
Published: 2018/12/24 12:44  Updated: 2018/12/24 13:00
Home away from home
Joined: 09/11/2007
From: Russia
Comments: 8940
 barony
@Huno
Yeah, its not about config files, they automatically generated when not found..

Did you test it from jxfs or from other parition ? Also did you test it on public os4 setup, or on beta one ?
HunoPPC
Published: 2018/12/24 13:10  Updated: 2018/12/24 13:10
Not too shy to talk
Joined: 12/28/2006
From: Besançon
Comments: 303
 Re: barony
@kas1e

Ok for a config file

I have not an jxfs partition and i use a normal system public and not betatest for this guru.
HunoPPC
328gts
Published: 2018/12/24 20:22  Updated: 2018/12/24 20:22
Home away from home
Joined: 07/07/2009
From: Man Cave, Canada
Comments: 3014
 Re: GL4ESxmas for AOS4 coming ! First games using GL4ES !
kas1e, ptitseb, Hans, Daniel (Daytona) & HUNO....you guys ROCK Amiga style baby
jabirulo
Published: 2018/12/25 10:12  Updated: 2018/12/25 10:12
Just can't stay away
Joined: 02/06/2007
From: Donostia (SPAIN)
Comments: 1010
 Re: barony
THX ALOT kas1e and all people (you) involved in such task!!!!

merry xmas
invent
Published: 2018/12/27 0:57  Updated: 2018/12/27 0:57
Just popping in
Joined: 05/23/2014
From: Australia
Comments: 37
 Thanks...
Nice, just been playing Prototype, works well. Look forward to playing those others mentioned.
benny
Published: 2018/12/27 23:42  Updated: 2018/12/27 23:42
Just popping in
Joined: 12/08/2006
From: Netherlands
Comments: 125
 Re: GL4ESxmas for AOS4 coming ! First games using GL4ES !
Thank you for Friking shark, although unplayable on the Sam460e :(
kas1e
Published: 2018/12/28 10:46  Updated: 2018/12/28 10:46
Home away from home
Joined: 09/11/2007
From: Russia
Comments: 8940
 fricking shark
@Benny

As i told in news text, fricking shark have some little "pauses" when you first time play in it (i explain also reassons for). So once you run it first time, play a minute with those pauses, exit from the level, and start again : now all will be smooth. Well, not sure that it will be _that_ smooth on SAM, but for sure no pauses will be.
kas1e
Published: 2018/12/29 18:48  Updated: 2018/12/29 18:48
Home away from home
Joined: 09/11/2007
From: Russia
Comments: 8940
 barony
@all
Reuploaded new version of Barony on os4depot (at moment in upload query), which has fixes to make it works from SFS partitions, as well as deal with some other problems, and some in-depth readme which describe how install everything.

So if anyone have crashes with Barony , that version should deal with them.
amig_os
Published: 2019/2/23 17:53  Updated: 2019/2/23 17:53
Just popping in
Joined: 03/10/2016
From: Poland
Comments: 95
 Re: barony
Barony is my favorite game :)
Can You execute the aos4 game port "Eldritch" ?

Thx

https://www.eldritchgame.com/
https://github.com/MinorKeyGames/Eldritch
General
Site sponsors
Advertise Here

Site statistics
Registered members
  1671
Logged in last:
  24 hours, 62
  7 days, 126
  30 days, 174

Top Posters
1 kas1e
kas1e 8940
2 Raziel
Raziel 5402
3 LiveForIt
LiveForIt 3771
4 samo79
samo79 3750
5 ChrisH
ChrisH 3582
6 Chris
Chris 3361
7 orgin
orgin 3266
8 328gts
328gts 3014
9 Hans
Hans 2659
10 Antique
Antique 2613

New Members
kishigo
kishigo 03/25/2024
amigait
amigait 03/21/2024
fordprefect
fordprefect 03/06/2024
brufnus
brufnus 02/21/2024
Sugo77
Sugo77 02/11/2024
tomkrk78
tomkrk78 02/01/2024
Radar103
Radar103 01/28/2024
alanb
alanb 01/21/2024
Calab
Calab 01/20/2024
nikitas
nikitas 01/15/2024


Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project