Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
209 user(s) are online (13 user(s) are browsing News)

Members: 0
Guests: 209

more...

Headlines


Recent Replied Topics
Software News : GL4ES round 4.5: Star Wars
Posted by kas1e on 2022/8/25 19:45:58 (1029 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:

http://os4depot.net/share/game/fps/openjk_outcast.lha
http://os4depot.net/share/game/fps/openjk_academy.lha

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
samo79
Published: 2022/8/25 20:45  Updated: 2022/8/25 20:45
Home away from home
Joined: 12/02/2006
From: Italy, Perugia
Comments: 3761
 Jedi
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 ;-)
daveyw
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: 309
 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.
kas1e
Published: 2022/8/26 6:15  Updated: 2022/8/26 6:16
Home away from home
Joined: 09/11/2007
From: Russia
Comments: 8962
 raven software
@samo79
Yeah , indeed, it's 2.24 bring those crashes in Acedemy..

@daveyw
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.
328gts
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: 3025
 Re: GL4ES round 4.5: Star Wars
@ kas1e

thanks for updates this is awesome stuff
AmigaSource
Published: 2022/8/27 4:44  Updated: 2022/8/27 4:44
Just popping in
Joined: 05/27/2009
From: NC, USA
Comments: 16
 Re: GL4ES round 4.5: Star Wars
Great job!! Any idea how it runs on a A1222?
kas1e
Published: 2022/8/27 7:09  Updated: 2022/8/27 7:09
Home away from home
Joined: 09/11/2007
From: Russia
Comments: 8962
 A1222
@AmigaSource
I didn't test on Tabor, but it surely will slow. And because of speed of CPU and because of unfinished OS adaptation.
AmigaSource
Published: 2022/8/28 4:38  Updated: 2022/8/28 4:38
Just popping in
Joined: 05/27/2009
From: NC, USA
Comments: 16
 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!!!
Raziel
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: 5416
 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
kas1e
Published: 2022/8/28 10:43  Updated: 2022/8/28 10:43
Home away from home
Joined: 09/11/2007
From: Russia
Comments: 8962
 icons
@Raziel
The more of us the better :)

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

https://os4welt.de/viewtopic.php?p=45147#p45147
amigakit
Published: 2022/8/28 11:46  Updated: 2022/8/28 11:46
Quite a regular
Joined: 12/04/2006
From: www.amigakit.com
Comments: 718
 Thanks
Good work Roman, thanks
VooDoo
Published: 2022/8/28 17:57  Updated: 2022/8/28 17:57
Quite a regular
Joined: 11/29/2006
From: Croatia
Comments: 588
 Re: GL4ES round 4.5: Star Wars
Thank you. I will try to test it tonight.
khayoz
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: 401
 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++
General
Site sponsors
Advertise Here

Site statistics
Registered members
  1675
Logged in last:
  24 hours, 68
  7 days, 131
  30 days, 176

Top Posters
1 kas1e
kas1e 8962
2 Raziel
Raziel 5416
3 LiveForIt
LiveForIt 3777
4 samo79
samo79 3761
5 ChrisH
ChrisH 3582
6 Chris
Chris 3361
7 orgin
orgin 3266
8 328gts
328gts 3025
9 Hans
Hans 2678
10 Antique
Antique 2618

New Members
MisterJBAM
MisterJBAM 04/25/2024
amienslaver
amienslaver 04/20/2024
Djk83
Djk83 04/19/2024
akutra
akutra 04/08/2024
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


Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project