Remember me

Lost Password?

Register now!


Who's Online
50 user(s) are online (4 user(s) are browsing News)

Members: 0
Guests: 50



Recent Replied Topics
Software News : GL4ES round 4.5: Star Wars
Posted by kas1e on 2022/8/25 19:45:58 (594 reads) News by the same author
Software News

... First words ...

Hello, everyone ! There are small indermiddle releases while another big round of GL4ES ports is in progress.

But before we go further, I need to make a few notes about:

Resized Image

 NOTE1: Radeon RX users-BE SURE that you set Prefs: PowerManagment to HIGH! Automatic PowerManagment in Radeon RX drivers does not raise resources to maximum when needed,
and as a result, you will have low FPS in most games if your powermanagment is set on optimal, or low, or so values. So you should set it to HIGH, save, reboot,
and check that it is set to HIGH before trying to run games. Failure to do so will result in a significant drop in FPS!!!

NOTE2: Minimum requerements for everything as always latest 2D/3D drivers and libraries:

-- Warp3DNova.library >= 54.16
-- ogles2.library >= v3.3
-- RadeonHD >= 3.7 or RadeonRX >= 2.11 (with Prefs:PowerManagment set to HIGH)

Everything is part of Enhancer 2.2. If you are on anything less, you will have all sorts of issues, bugs, crashes, and rendering glitches of all sorts. You are warned!

NOTE3: If you have an x5000, make sure you have not one, but two RAM modules!Or your memory read/write will be twice as slow, and you will lose FPS! See the dedicated thread here:
x5000 benchmarks / speed up

... Intro ...

Resized Image

In 2002 and 2003, Raven Software made 2 more games in the Star Wars saga series : Star Wars Jedi Knight II: Jedi Outcast and Star Wars Jedi Knight: Jedi Academy.

Resized Image

Following Disney's decision to close LucasArts on April 3, 2013, the developers at Raven Software released the source code of those games based on which the OpenJK project was born.

In 2014, there were two ports for AmigaOS4 done by BSzili: https://github.com/BSzili/OpenJK/

They were MiniGL-based, which suffers from low framerates, bugs, and visual issues, as we all know.

Taking BSZili's code as base, I just removed the MiniGL init and deinit parts from it and replaced them with OpenGLES2 with a little adaptation, and so I created those 2 ports.

You can download them both from os4depot:


1). Star Wars Jedi Knight II: Jedi Outcast

Resized Image

Jedi Outcast was released in 2002 and it is a classic FPS and was based on the same "id Tech 3" engine as Quake3. The original MiniGL port wasn't on the same level by speed as the MiniGL port of Quake3,
but that was expected due to modification, heavier textures, details, and the ability to play with settings a little bit more than with the original Quake3 Arena. The speed increase when we switch from
MiniGL to GL4ES is very noticable (in some places, the MiniGL version on heavy details drops to just 15 FPS, while with GL4ES we do have 120 FPS in some places).

Resized Image Resized Image

Of course, it is still not 200-300-1000 FPS, but gameplay can be adequate now.

See how it's all in action at the beginning of the video:

Resized Image Youtube video of Jedi Outcast gameplay in action on AmigaOS4, 1920x1080 full HD

2). Star Wars Jedi Knight: Jedi Academy

Resized Image

The Jedi Academy was released in 2003 as a sequel to 2002's Jedi Outcast and is the fourth and final installment in the Star Wars: Jedi Knight series.
Jedi Academy uses the same game engine as Jedi Outcast, id Tech 3, but features several technical improvements. Thus, it is more hungry for the resources as well.
With MiniGL in 1920x1080x32, all details maxed out with very high details, and everything enabled, we only get 12-13 FPS.While with the GL4ES port,
we do have a stable 30 FPS across the same places, which can be increased up to 60-70 FPS in less heavily loaded places of the maps.

Resized Image Resized Image

Furthermore, with the latest versions of MiniGL (which is now 2.23), some changes were introduced that caused Jedi Academy to crash at the first levels, making it impossible to skip,
so with GL4ES we not only gain a bit of speed in the game, but we also make it crash free.

See how it all works (second part of video):

Resized Image Youtube video of Jedi Academy gameplay in action on AmigaOS4, 1920x1080 full HD

To summorize, that the differences between old MiniGL builds and new GL4ES ones:

    -- GCC 11.2 with -O3 optimization was used.
    -- faster FPS (doubled the frame rate in comparison to MiniGL)
    -- faster loading of texture (up to 50-70% speed up)
    -- no crashes as with minigl rendering (there were few, especially visibly with the latest minigl builds)
    -- RadeonRX users can play in it too (while there is no NovaBridge released)

So, enjoy!

... Outro ...

And as usual, want to give a thank you:

to BSZili for the initial MiniGL ports: https://github.com/BSzili/OpenJK
to ptitSeb for gl4es and all his help with everything: https://github.com/ptitSeb/gl4es/
to Daniel for OpenGL ES2 and all his help with everything: http://www.goldencode.de/
to Hans for Warp3DNova and all his help with everything: https://keasigmadelta.com/
to Capehill for never-ending work on SDL1/2, glSnoop, and all his help with everything: https://github.com/AmigaPorts/SDL https://github.com/capehill/glsnoop
to AEON/AmigaKit because of which we have OpenGL ES2 and Warp3DNova: https://www.facebook.com/AEonTechnologyLtd/
to others for all the help and tests

And remember: May the AmigaNG be with you!

Resized Image

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
Published: 2022/8/25 20:45  Updated: 2022/8/25 20:45
Home away from home
Joined: 12/02/2006
From: Italy, Perugia
Comments: 3611
Latest MiniGL is 2.24 and things start to be broken in game from this release, old 2.23 was ok for Jedi if i remember correctly Good job kas1e ;-)
Published: 2022/8/26 5:38  Updated: 2022/8/26 5:38
Not too shy to talk
Joined: 10/18/2008
From: Auckland, New Zealand
Comments: 251
 According to Wikipedia...
... Disney didn't actually close LucasArts, they just reduced it to a in-name-only entity, but last year they renamed it Lucasfilm Games and brought it back as a new brand for their games.
Published: 2022/8/26 6:15  Updated: 2022/8/26 6:16
Home away from home
Joined: 09/11/2007
From: Russia
Comments: 8474
 raven software
Yeah , indeed, it's 2.24 bring those crashes in Acedemy..

At least that action was the reasson why Raven open the sources. If i remember right there were also some issue with: they open source, but then delete them, but by luck some ppls were able to fork it, and on that OpenJK project born.
Published: 2022/8/26 17:18  Updated: 2022/8/26 17:18
Home away from home
Joined: 07/07/2009
From: Man Cave, Canada
Comments: 2846
 Re: GL4ES round 4.5: Star Wars
@ kas1e

thanks for updates this is awesome stuff
Published: 2022/8/27 4:44  Updated: 2022/8/27 4:44
Just popping in
Joined: 05/27/2009
From: NC, USA
Comments: 13
 Re: GL4ES round 4.5: Star Wars
Great job!! Any idea how it runs on a A1222?
Published: 2022/8/27 7:09  Updated: 2022/8/27 7:09
Home away from home
Joined: 09/11/2007
From: Russia
Comments: 8474
I didn't test on Tabor, but it surely will slow. And because of speed of CPU and because of unfinished OS adaptation.
Published: 2022/8/28 4:38  Updated: 2022/8/28 4:38
Just popping in
Joined: 05/27/2009
From: NC, USA
Comments: 13
 Re: A1222
That’s to bad. I guess in the grand scheme it really doesn’t matter because you can’t get one anyway. Lol.

Thank you for the reply. Again . . . Outstanding job!!!
Published: 2022/8/28 9:32  Updated: 2022/8/28 9:32
Home away from home
Joined: 11/26/2006
From: a dying planet
Comments: 5023
 Thank you
@kas1e Thank you so much for all the work you did on GLES, porting, MiniGL and others. I'm not a FPS fan, but will wait and see what else will come along
Published: 2022/8/28 10:43  Updated: 2022/8/28 10:43
Home away from home
Joined: 09/11/2007
From: Russia
Comments: 8474
The more of us the better :)

If anyone want some tasty icons for those games, DjBase doing so, and you can grab them from os4welt there:

Published: 2022/8/28 11:46  Updated: 2022/8/28 11:46
Quite a regular
Joined: 12/04/2006
From: www.amigakit.com
Comments: 685
Good work Roman, thanks
Published: 2022/8/28 17:57  Updated: 2022/8/28 17:57
Quite a regular
Joined: 11/29/2006
From: Croatia
Comments: 507
 Re: GL4ES round 4.5: Star Wars
Thank you. I will try to test it tonight.
Published: 2022/8/31 4:34  Updated: 2022/8/31 4:36
Not too shy to talk
Joined: 01/10/2007
From: Stockholm Sweden
Comments: 293
 Thank you!
@BSzili @kas1e Thank you both for the old and the new port! Just gonna put a reminder to my self here for future re-installs: @khayoz OpenJK / Envy 24HT - AHI settings - Unit 0:Hifi 16 bit stero++
Site sponsors
Advertise Here

Site statistics
Registered members
Logged in last:
  24 hours, 52
  7 days, 127
  30 days, 175

Top Posters
1 kas1e
kas1e 8474
2 Raziel
Raziel 5023
3 samo79
samo79 3611
4 ChrisH
ChrisH 3581
5 LiveForIt
LiveForIt 3536
6 Chris
Chris 3329
7 orgin
orgin 3249
8 328gts
328gts 2846
9 Antique
Antique 2567
10 Hans
Hans 2411

New Members
Floppie209 01/26/2023
amigaguy 01/13/2023
kajsaGauza 01/12/2023
graff-temp 01/12/2023
Mendamigo 12/30/2022
levty 12/29/2022
Tuvok 12/21/2022
xe1huku 12/17/2022
YagiUda 12/16/2022
Tom-Cat 12/14/2022

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project