Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
9 crawler(s) on-line.
 111 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 bhabbott:  15 mins ago
 Musashi5150:  24 mins ago
 Swisso:  41 mins ago
 DiscreetFX:  42 mins ago
 Hypex:  43 mins ago
 VooDoo:  59 mins ago
 agami:  59 mins ago
 kolla:  2 hrs 31 mins ago
 ed:  3 hrs 15 mins ago
 matthey:  3 hrs 43 mins ago

software OS4   software OS4 : GL4ESxmas for AOS4 coming ! First games using GL4ES !
   posted by kas1e on 23-Dec-2018 13:04:43 (4375 reads)
Introduction...

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.

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.

Read more...


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.




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/



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.



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 !
    

STORYID: 0
Related Links
· More about software OS4
· News by kas1e


Most read story about software OS4
Homebank 4.4 for AmiCygnix released

Last news about software OS4
Quake 2 as digital version for AmigaOS 4
Printer Friendly Page  Send this Story to a Friend

PosterThread
klx300r 
Re: GL4ESxmas for AOS4 coming ! First games using GL4ES !
Posted on 25-Dec-2018 15:59:09
#1 ]
Elite Member
Joined: 4-Mar-2008
Posts: 3837
From: Toronto, Canada

kas1e, ptitseb, Hans, Daniel (Daytona) & HUNO....you guys ROCK Amiga style baby


_________________
____________________________
c64-2sids, A1000, A1200T-060@50(finally working!),A4000-CSMKIII
! My Master Miggies- Amiga 1000 & AmigaOne X1000 !
mancave-ramblings
X1000 I BELIEVE

 Status: Offline
Profile     Report this post  
eliyahu 
Re: GL4ESxmas for AOS4 coming ! First games using GL4ES !
Posted on 25-Dec-2018 16:03:46
#2 ]
Super Member
Joined: 3-Mar-2010
Posts: 1958
From: Waterbury, Connecticut (USA)

@kas1e

a huge thanks for barony. this is a terrifically involved game with a fair community of players, too. this is a great addition to our NG amigas.

-- eliyahu


_________________
"Physical reality is consistent with universal laws. When the laws do not operate, there is no reality. All of this is unreal."

 Status: Offline
Profile     Report this post  
ggw 
Re: GL4ESxmas for AOS4 coming ! First games using GL4ES !
Posted on 25-Dec-2018 16:50:21
#3 ]
Super Member
Joined: 24-May-2003
Posts: 1106
From: Austin, TX

Few make the effort to provide so much description. I made a donation to ptitSeb for that reason by itself.

Thanks


_________________
..effects of civilization upon...nature, the growing gap between what education was supposed to accomplish and what it consisted of, the national debt and...high taxes, the problem of the excess cost of medical care -- Philip Wylie, 1951

 Status: Offline
Profile     Report this post  
pavlor 
Re: GL4ESxmas for AOS4 coming ! First games using GL4ES !
Posted on 25-Dec-2018 20:15:45
#4 ]
Elite Member
Joined: 10-Jul-2005
Posts: 9588
From: Unknown

Well done!

 Status: Offline
Profile     Report this post  
tekmage 
Re: GL4ESxmas for AOS4 coming ! First games using GL4ES !
Posted on 25-Dec-2018 20:35:56
#5 ]
Regular Member
Joined: 23-Mar-2005
Posts: 439
From: San Francisco

Donation made! Thank you for these wonderful Christmas gifts!

Question about Barony, will the game work with the steam datafiles?

Cheers,
Bill "tekmage" Borsari

 Status: Offline
Profile     Report this post  
kas1e 
Re: GL4ESxmas for AOS4 coming ! First games using GL4ES !
Posted on 25-Dec-2018 20:55:07
#6 ]
Elite Member
Joined: 11-Jan-2004
Posts: 3549
From: Russia

@tekmage
Don't know to be honest (to say truth i got my datafiles from torrents), but what i know for sure, is that data files should be from "Blessed Addition", and , probabaly win x32 version (as walkero report that _maybe_ 64bit version datafiles may have differences).

When you will install it, you should keep "lang" directory with files inside from os4depot's archive (its more newer, from their github on which os4 version is based). Then, you only copy those directories, size of which should be :

books: 52.626
images: 2.214.891
items: 715.247
lang: 159.535 (that one we use from os4depot's archive)
maps: 1.377.474
models: 2.089.023
music: 180.341.137
sound: 25.547.097


Also , there is some strange issue at moment, which make it works only on beta-os4 , and (seems so) on public versions of x5k. I still trying to figure out what wrong with other public version to made a fix for.


_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites

 Status: Offline
Profile     Report this post  
softwarefailure 
Re: GL4ESxmas for AOS4 coming ! First games using GL4ES !
Posted on 29-Dec-2018 11:31:22
#7 ]
Member
Joined: 16-Feb-2004
Posts: 88
From: Germany

Very impressive, thumbs up!

 Status: Offline
Profile     Report this post  
kas1e 
Re: GL4ESxmas for AOS4 coming ! First games using GL4ES !
Posted on 29-Dec-2018 18:47:39
#8 ]
Elite Member
Joined: 11-Jan-2004
Posts: 3549
From: Russia

@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.


_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites

 Status: Offline
Profile     Report this post  
tekmage 
Re: GL4ESxmas for AOS4 coming ! First games using GL4ES !
Posted on 3-Jan-2019 16:35:42
#9 ]
Regular Member
Joined: 23-Mar-2005
Posts: 439
From: San Francisco

Update: I was able to get the Amiga version of Barony working with the Steam version of the game. I think I paid less than $3 for the game on Steam before Christmas.

Cheers,
Bill "tekmage" Borsari

 Status: Offline
Profile     Report this post  
[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle