Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
167 user(s) are online (150 user(s) are browsing Forums)

Members: 0
Guests: 167

more...

Support us!

Headlines

 
  Register To Post  

« 1 2 (3) 4 5 6 ... 8 »
Re: have you seen this?
Not too shy to talk
Not too shy to talk


See User information
@kas1e

Yes this is the GL4ES build.

No errors in console and .psa file in the directory.

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: have you seen this?
Just can't stay away
Just can't stay away


See User information
I have read that this WipeOut port also supports software SDL rendering, I would like to test it under Qemu Peg2 AmigaOs4.1.

Would someone be willing to provide me with this port?

Unfortunately my programming skills are very modest, so I could do it myself

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne x5000/40 AmigaOs4.1 FE
Go to top
Re: have you seen this?
Not too shy to talk
Not too shy to talk


See User information
@Maijestro

See post #37
there is a binary version - you must have a "data file"
wip-dev->wipeout-rewrite ->winepgame
game run on qemu with Wazp3D.
See post #21
Need to play with Wazp3D settings to make it run faster. It is not based on GL4ES.

edit:
In general, it's strange - high-level libraries and you have to use magic to make it work after AOS4


Edited by smarkusg on 2023/9/9 23:34:20
Edited by smarkusg on 2023/9/9 23:36:34
Go to top
Re: have you seen this?
Home away from home
Home away from home


See User information
@Sinan
Are you sure gl4es used ? Can you post output from condole when you run it ? smarkusg says it works over WaZp3D, while with GL4ES build it can't work with WaZp3D, only minigl builds can.


Edited by kas1e on 2023/9/10 6:01:10
Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: have you seen this?
Just can't stay away
Just can't stay away


See User information
@SinanSam460

Can you test the version attached smarkusg in #37 (https://www.amigans.net/modules/newbb/ ... id=142720#forumpost142720)?

Tested here and fails with alignment on my sam460.

Go to top
Re: have you seen this?
Just can't stay away
Just can't stay away


See User information
@smarkusg

and using sam460 (AMCC PPC460EX) in QEMU does it work too?

Go to top
Re: have you seen this?
Not too shy to talk
Not too shy to talk


See User information
@kas1e

LIBGL: Initialising gl4es
LIBGL: v1.1.5 built on Apr 17 2021 23:02:30
LIBGL: Using GLES 2.0 backend
LIBGL: Using Warp3DNova.library v54 revision 16
LIBGL: Using OGLES2.library v3 revision 3
LIBGL: OGLES2 Library and Interface open successfuly
LIBGL: Targeting OpenGL 2.1
LIBGL: NPOT texture handled in hardware
LIBGL: Not trying to batch small subsequent glDrawXXXX
LIBGL: try to use VBO
LIBGL: Force texture for Attachment color0 on FBO
LIBGL: Hack to trigger a SwapBuffers when a Full Framebuffer Blit on default FBO is done
LIBGL: Current folder is:Sam460-2:Wipeout-rewrite
Failed to load gamecontrollerdb.txt
created texture ( 2 x 2) size 0kb
load save data success
load cmp wipeout/textures/drfonts.cmp
created texture (212 x 64) size 13kb
created texture (208 x 36) size 7kb
created texture (216 x 16) size 3kb
created texture ( 24 x 16) size 0kb
created texture ( 8 x 8) size 0kb
created texture ( 20 x 16) size 0kb
created texture ( 20 x 16) size 0kb
created texture ( 24 x 16) size 0kb
created texture ( 24 x 16) size 0kb
created texture ( 12 x 12) size 0kb
load: wipeout/textures/speedo.tim
created texture (128 x 32) size 4kb
load: wipeout/textures/target2.tim
created texture ( 16 x 16) size 0kb
load cmp wipeout/common/wicons.cmp
created texture ( 32 x 32) size 1kb
created texture ( 32 x 32) size 1kb
created texture ( 32 x 32) size 1kb
created texture ( 32 x 32) size 1kb
created texture ( 32 x 32) size 1kb
created texture ( 32 x 32) size 1kb
created texture ( 32 x 32) size 1kb
created texture ( 32 x 32) size 1kb
created texture ( 32 x 32) size 1kb
load cmp wipeout/common/allsh.cmp
created texture ( 96 x 64) size 6kb
created texture ( 96 x 64) size 6kb
created texture ( 96 x 64) size 6kb
created texture ( 64 x 64) size 4kb
created texture ( 48 x 48) size 2kb
created texture ( 96 x 64) size 6kb
created texture ( 96 x 64) size 6kb
created texture ( 72 x 64) size 4kb
created texture ( 32 x 64) size 2kb
created texture ( 64 x 64) size 4kb
created texture ( 48 x 48) size 2kb
created texture ( 48 x 48) size 2kb
created texture ( 96 x 64) size 6kb
created texture ( 96 x 64) size 6kb
created texture ( 64 x 64) size 4kb
created texture ( 96 x 64) size 6kb
created texture ( 72 x 64) size 4kb
created texture ( 48 x 48) size 2kb
created texture ( 64 x 64) size 4kb
created texture ( 48 x 48) size 2kb
created texture ( 96 x 64) size 6kb
created texture ( 96 x 64) size 6kb
created texture ( 96 x 64) size 6kb
created texture ( 72 x 64) size 4kb
created texture ( 96 x 64) size 6kb
created texture ( 96 x 64) size 6kb
created texture ( 96 x 64) size 6kb
created texture ( 72 x 64) size 4kb
created texture ( 64 x 64) size 4kb
created texture ( 48 x 48) size 2kb
created texture ( 96 x 64) size 6kb
created texture ( 64 x 64) size 4kb
created texture ( 96 x 64) size 6kb
created texture ( 72 x 64) size 4kb
created texture ( 48 x 48) size 2kb
created texture ( 96 x 64) size 6kb
created texture ( 64 x 64) size 4kb
created texture ( 96 x 64) size 6kb
created texture ( 96 x 64) size 6kb
created texture ( 48 x 48) size 2kb
created texture ( 72 x 64) size 4kb
created texture ( 96 x 64) size 6kb
created texture ( 64 x 64) size 4kb
created texture ( 96 x 64) size 6kb
created texture ( 96 x 64) size 6kb
created texture ( 48 x 48) size 2kb
created texture ( 72 x 64) size 4kb
created texture ( 96 x 64) size 6kb
created texture ( 96 x 64) size 6kb
created texture ( 72 x 64) size 4kb
created texture ( 48 x 48) size 2kb
load: wipeout/common/allsh.prm
load cmp wipeout/common/alcol.cmp
created texture ( 96 x 64) size 6kb
created texture ( 96 x 64) size 6kb
created texture ( 96 x 64) size 6kb
created texture ( 96 x 64) size 6kb
created texture ( 96 x 64) size 6kb
created texture ( 96 x 64) size 6kb
created texture ( 96 x 64) size 6kb
load: wipeout/common/alcol.prm
load: wipeout/textures/shad1.tim
created texture (128 x 256) size 32kb
load: wipeout/textures/shad2.tim
created texture (128 x 256) size 32kb
load: wipeout/textures/shad3.tim
created texture (128 x 256) size 32kb
load: wipeout/textures/shad4.tim
created texture (128 x 256) size 32kb
load cmp wipeout/common/rescu.cmp
created texture ( 64 x 64) size 4kb
created texture ( 48 x 144) size 6kb
created texture ( 64 x 64) size 4kb
created texture ( 64 x 64) size 4kb
created texture ( 96 x 96) size 9kb
created texture ( 64 x 64) size 4kb
created texture ( 96 x 48) size 4kb
load: wipeout/common/rescu.prm
load cmp wipeout/common/effects.cmp
created texture ( 32 x 32) size 1kb
created texture ( 32 x 32) size 1kb
created texture ( 32 x 32) size 1kb
created texture ( 32 x 32) size 1kb
created texture ( 32 x 32) size 1kb
created texture ( 32 x 32) size 1kb
load: wipeout/textures/target2.tim
created texture ( 16 x 16) size 0kb
load cmp wipeout/common/mine.cmp
created texture ( 64 x 64) size 4kb
created texture ( 32 x 32) size 1kb
load: wipeout/common/rock.prm
load: wipeout/common/mine.prm
load: wipeout/common/miss.prm
load: wipeout/common/shld.prm
load: wipeout/common/shld.prm
load: wipeout/common/ebolt.prm
open music track 7
render_textures_reset: resetting to 100 of 100
created texture (320 x 192) size 60kb
render_textures_reset: resetting to 100 of 101
load: wipeout/textures/wiptitle.tim
created texture (320 x 240) size 75kb
render_textures_reset: resetting to 100 of 101
load: wipeout/textures/wipeout1.tim
created texture (320 x 240) size 75kb
load cmp wipeout/textures/track.cmp
created texture (128 x 74) size 9kb
created texture (128 x 74) size 9kb
created texture (128 x 74) size 9kb
created texture (128 x 74) size 9kb
created texture (128 x 74) size 9kb
created texture (128 x 74) size 9kb
created texture (128 x 74) size 9kb
load cmp wipeout/common/leeg.cmp
created texture ( 64 x 64) size 4kb
load: wipeout/common/leeg.prm
load: wipeout/common/teams.prm
load cmp wipeout/common/pilot.cmp
created texture ( 96 x 85) size 7kb
created texture ( 64 x 76) size 4kb
created texture ( 64 x 82) size 5kb
created texture (128 x 128) size 16kb
created texture ( 72 x 68) size 4kb
created texture ( 72 x 72) size 5kb
created texture (192 x 64) size 12kb
created texture ( 96 x 56) size 5kb
created texture ( 96 x 56) size 5kb
load: wipeout/common/pilot.prm
load cmp wipeout/common/alopt.cmp
created texture ( 64 x 64) size 4kb
created texture ( 96 x 96) size 9kb
created texture ( 64 x 64) size 4kb
created texture ( 12 x 38) size 0kb
created texture (128 x 24) size 3kb
created texture (118 x 169) size 19kb
created texture (128 x 171) size 21kb
created texture (128 x 128) size 16kb
load: wipeout/common/alopt.prm
load cmp wipeout/common/rescu.cmp
created texture ( 64 x 64) size 4kb
created texture ( 48 x 144) size 6kb
created texture ( 64 x 64) size 4kb
created texture ( 64 x 64) size 4kb
created texture ( 96 x 96) size 9kb
created texture ( 64 x 64) size 4kb
created texture ( 96 x 48) size 4kb
load: wipeout/common/rescu.prm
load cmp wipeout/common/pad1.cmp
created texture ( 8 x 8) size 0kb
created texture ( 64 x 64) size 4kb
created texture ( 32 x 32) size 1kb
created texture ( 32 x 32) size 1kb
created texture ( 64 x 64) size 4kb
created texture ( 64 x 64) size 4kb
created texture (128 x 72) size 9kb
created texture ( 32 x 32) size 1kb
created texture ( 32 x 32) size 1kb
created texture ( 32 x 32) size 1kb
created texture ( 32 x 32) size 1kb
load: wipeout/common/pad1.prm
load cmp wipeout/common/msdos.cmp
created texture ( 64 x 64) size 4kb
load: wipeout/common/msdos.prm
render_textures_reset: resetting to 100 of 145
load cmp wipeout/textures/dekka.cmp
created texture (128 x 140) size 17kb
created texture (128 x 140) size 17kb
load cmp wipeout/track02/library.cmp
created texture (128 x 128) size 16kb
created texture (128 x 128) size 16kb
created texture (128 x 128) size 16kb
created texture (128 x 128) size 16kb
created texture (128 x 128) size 16kb
created texture (128 x 128) size 16kb
created texture (128 x 128) size 16kb
created texture (128 x 128) size 16kb
created texture (128 x 128) size 16kb
created texture (128 x 128) size 16kb
created texture (128 x 128) size 16kb
created texture (128 x 128) size 16kb
created texture (128 x 128) size 16kb
created texture (128 x 128) size 16kb
created texture (128 x 128) size 16kb
created texture (128 x 128) size 16kb
created texture (128 x 128) size 16kb
created texture (128 x 128) size 16kb
created texture (128 x 128) size 16kb
created texture (128 x 128) size 16kb
created texture (128 x 128) size 16kb
created texture (128 x 128) size 16kb
load cmp wipeout/track02/scene.cmp
created texture ( 96 x 96) size 9kb
created texture ( 96 x 48) size 4kb
created texture ( 32 x 96) size 3kb
created texture ( 64 x 64) size 4kb
created texture ( 64 x 64) size 4kb
created texture ( 64 x 122) size 7kb
created texture ( 64 x 64) size 4kb
created texture ( 96 x 40) size 3kb
created texture ( 16 x 160) size 2kb
created texture ( 64 x 64) size 4kb
created texture ( 64 x 96) size 6kb
created texture ( 64 x 64) size 4kb
created texture (128 x 96) size 12kb
created texture (128 x 96) size 12kb
created texture ( 64 x 128) size 8kb
created texture ( 64 x 133) size 8kb
created texture (164 x 82) size 13kb
created texture ( 64 x 64) size 4kb
created texture ( 64 x 45) size 2kb
created texture ( 64 x 256) size 16kb
created texture (128 x 128) size 16kb
created texture ( 64 x 64) size 4kb
created texture ( 64 x 64) size 4kb
created texture ( 64 x 64) size 4kb
created texture ( 64 x 64) size 4kb
created texture (128 x 96) size 12kb
created texture (128 x 77) size 9kb
created texture (128 x 64) size 8kb
created texture (128 x 64) size 8kb
created texture (128 x 64) size 8kb
created texture (128 x 96) size 12kb
created texture ( 96 x 64) size 6kb
created texture (128 x 96) size 12kb
created texture ( 96 x 64) size 6kb
created texture (128 x 72) size 9kb
created texture ( 64 x 64) size 4kb
created texture ( 64 x 64) size 4kb
created texture ( 64 x 64) size 4kb
created texture ( 64 x 64) size 4kb
created texture ( 64 x 64) size 4kb
created texture ( 64 x 64) size 4kb
created texture ( 64 x 64) size 4kb
created texture ( 64 x 64) size 4kb
created texture ( 64 x 64) size 4kb
created texture (136 x 68) size 9kb
created texture ( 64 x 64) size 4kb
load: wipeout/track02/scene.prm
load cmp wipeout/track02/sky.cmp
created texture (128 x 218) size 27kb
load: wipeout/track02/sky.prm
LIBGL: Shuting down

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: have you seen this?
Not too shy to talk
Not too shy to talk


See User information
@jabirulo

>and using sam460 (AMCC PPC460EX) in QEMU does it work too?

Yes, it works with Wazp3D.

https://ibb.co/51zxy3H


Edited by smarkusg on 2023/9/10 10:20:31
Go to top
Re: have you seen this?
Not too shy to talk
Not too shy to talk


See User information
@jabirulo

Yes same error..

I also tried build BeWorld's version and smarkusg's version,
both of them fails with objects_load() function.

I used mrneo240's fork and added fixes from BeWorld's fork..

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: have you seen this?
Just can't stay away
Just can't stay away


See User information
@smarkusgQuote:
smarkusg wrote:@Maijestro

See post #37
there is a binary version - you must have a "data file"
wip-dev->wipeout-rewrite ->winepgame
game run on qemu with Wazp3D.
See post #21
Need to play with Wazp3D settings to make it run faster. It is not based on GL4ES.


Ok thanks, it works fine with Wazp3D under Qemu Peg 2.

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne x5000/40 AmigaOs4.1 FE
Go to top
Re: have you seen this?
Not too shy to talk
Not too shy to talk


See User information
@jabirulo

I have 3 versions at the moment.

To get rid of alignment error:

I had to change line 366 as follows (in platform_sdl.c)

sdl_path_userdata = SDL_GetPrefPath("", "wipeout");

I can compile smarkusg's version without any other changes.

Game runs but

-No Texture on ships
-No transparency on trees.
-No sky texture
-No fonts

Second:
For BeWorld's version, I had to change __MORPHOS__ to __AMIGAOS4__ in and make similar changes..Same problems.

Third:
Based on mrneo240 and applying BeWorld changes one by one.


In all 3 version result is same.

-No Texture on ships
-No transparency on trees.
-No sky texture
-No fonts

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: have you seen this?
Not too shy to talk
Not too shy to talk


See User information
@all

in render_gl_legacy.c

I currently compile with this:

//Amigaos
#elif defined(__amigaos4__)
#include "SDL2/SDL.h"
#include "SDL2/SDL_opengl.h"

Is this correct for if the game is using OGLES2 ?

Probably I am mixing things but;

If I change it like follows:

//Amigaos
#elif defined(__amigaos4__)
#include "SDL2/SDL.h"
#include "SDL2/SDL_opengles2.h"

I get following error:
src/render_gl_legacy.c:262:16: error: ‘GL_MODELVIEW’ undeclared (first use in this function)
262 | glMatrixMode(GL_MODELVIEW);
| ^~~~~~~~~~~~
src/render_gl_legacy.c: In function ‘render_set_view_2d’:
src/render_gl_legacy.c:274:16: error: ‘GL_PROJECTION’ undeclared (first use in this function)
274 | glMatrixMode(GL_PROJECTION);
| ^~~~~~~~~~~~~
src/render_gl_legacy.c:276:16: error: ‘GL_MODELVIEW’ undeclared (first use in this function)
276 | glMatrixMode(GL_MODELVIEW);
| ^~~~~~~~~~~~

I guess I am missing some basic knowledge :(

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: have you seen this?
Home away from home
Home away from home


See User information
@Sinan
Quote:

In all 3 version result is same.

-No Texture on ships
-No transparency on trees.
-No sky texture
-No fonts


Just to be sure, you have:

ogles2.library : >= 3.1
Warp3DNova.library : >= 1.85
RadeonHD : >= 3.7 or RadeonRX : >= 2.4

right ?

Also, you didn't have any hardcore "LIBGL_*" settings set anywhere in the environment ? (maybe some leftovers from older Huno's EGL wrapper when it was not correctly done and were fixed later) ?

I can check it all after will back home (3-4 days more), so can see wtf.

Quote:

Is this correct for if the game is using OGLES2 ?


Nope, SDL_opengl.h is for pure GL, for OpenGLES2 usage it's SDL2/SDL_opengles2.h.

It should work with gl4es as it, there just seems some issue somewhere. Like some missing settings somewhere, or some shaders didn't compile by some reasons. Or gl4es you use are old/new/whatever.. It's all just need proper building.

If i were you , i firstly try to build with newlib, and with gl4es SDK from OS4depot, just to be 100% sure you use ones proved to be working. Then step by step checking logs, etc.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: have you seen this?
Not too shy to talk
Not too shy to talk


See User information
@kas1e

Hello,
It’s not my wrapper, my egl_wrap use a headers EGLSDL/ and EGLSDL2/ and define automatically GL.

Best regards

AmigaOS 4.1 Rulez
Resized Image
Go to top
Re: have you seen this?
Home away from home
Home away from home


See User information
@SinanSam460

Quote:

Second:
For BeWorld's version, I had to change __MORPHOS__ to __AMIGAOS4__ in and make similar changes..Same problems.


better to change

#ifdef __MORPHOS__

to

#if defined(__MORPHOS__) || defined(__AMIGAOS4__)

that why chages can be pushed back to master,
not that I think it will happen.

As MorphOS uses TinyGL some of changes might not be relevant.

Should be taken as grain of salt.

Perhaps it should be changed from __MORPHOS__ to __TINYGL__ ?

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: have you seen this?
Not too shy to talk
Not too shy to talk


See User information
@kas1e

Everything is up-to-date at the moment.
I am compiling with newlib. Compiling with clib2 makes no changes.

I am using walkero's docker image (amigagccondocker).

I will zip sources of 3 different version and share you the link, so you can check where I am doing wrong...

Thank you.

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: have you seen this?
Home away from home
Home away from home


See User information
@Huno
Quote:

Hello,
It’s not my wrapper, my egl_wrap use a headers EGLSDL/ and EGLSDL2/ and define automatically GL.


I mean first version of the RCTW Reboorn compiled for GL4ES, where EGL_Wrapper (or it was just gl4es changes), create in system's environments global LIBGL_ settings, which left then pemantently and broke all other gl4es prods which also read those values. Then once i report it you fix it, but, there always a chance that some ppls keep them saved after testing first versions.

@Sinan
Currently, there are no needs for sources: i will just try to build from scratch to avoid any issues new issues.

@all
Do you use https://phoboslab.org/files/wipeout-data-v01.zip for tests ?


Edited by kas1e on 2023/9/11 10:46:54
Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: have you seen this?
Not too shy to talk
Not too shy to talk


See User information
@kas1e

Yes I am using data files:

https://phoboslab.org/files/wipeout-data-v01.zip

I think I tried resetting EGL_Wrapper, but I will try again..

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: have you seen this?
Not too shy to talk
Not too shy to talk


See User information
@kas1e
ah! ok I understand better, indeed it goes back, my sdk has changed a lot since then. I think it also has an old environment. I have just tested a compilation there is indeed an alignment problem in object.c function object_load, on Sam440 and X5000 this problem appears but not on the x1000 where the game works.

HunoPPC

AmigaOS 4.1 Rulez
Resized Image
Go to top
Re: have you seen this?
Not too shy to talk
Not too shy to talk


See User information
@HunoPPC

From my experience when you change following line, it will work on X5000 and Sam460.

line 366 as follows (in platform_sdl.c)

sdl_path_userdata = SDL_GetPrefPath("", "wipeout");

Btw:
How does it work on X1000 when it doesn't work on Sam460/X5000 ?
Altivec ?

And does it work with correct colors and all textures ?

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top

  Register To Post
« 1 2 (3) 4 5 6 ... 8 »

 




Currently Active Users Viewing This Thread: 2 ( 0 members and 2 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project