Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
164 user(s) are online (41 user(s) are browsing Forums)

Members: 0
Guests: 164

more...

Support us!

Headlines

 
  Register To Post  

« 1 (2)
Re: Porting astromenace to AmigaOS4
Just can't stay away
Just can't stay away


See User information
@smarkusg

AFAIK there is a setting in Wazp3D prefs to "display fps"

http://thellier.free.fr/Wazp3D.htm

Go to top
Re: Porting astromenace to AmigaOS4
Just can't stay away
Just can't stay away


See User information
@jabirulo

I just tried it with the Wazp3d Prefs settings "Display FPS" left menu page so this option doesn't seem to work.

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne A1222plus AmigaOs4.1 FE
Go to top
Re: Porting astromenace to AmigaOS4
Not too shy to talk
Not too shy to talk


See User information
@jabirulo
You have to believe me there is a terrible slide show and image of some kind... but it works ;-D

https://streamable.com/xcmpxa

For consolation on SDL2 there is an even bigger ... slide show ;)

https://streamable.com/vzrwfy

Go to top
Re: Porting astromenace to AmigaOS4
Just can't stay away
Just can't stay away


See User information
@smarkusg

We need 3D acceleration It's definitely less than 5 FPS, but it runs

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne A1222plus AmigaOs4.1 FE
Go to top
Re: Porting astromenace to AmigaOS4
Not too shy to talk
Not too shy to talk


See User information
@smarkusg

Now I have compiled Astromenace with GL4ES and it is 2x-3x (13 to 15 fps on Sam460) times faster with GL4ES


However game crashes after sometime.

astromenace:fpe_glDrawElements()+0x1d8 (section 1 0x16673C)
    
astromenace:glDrawElementsCommon()+0x25c (section 1 0x156448)
    
astromenace:_Z15vw_SendVerticesiiiPviPjjS0_S0_S0_()+0x100 (section 1 0x15FD8)
    
astromenace:_Z14StarSystemDrawi()+0x338 (section 1 0x32520)
    
astromenace:_Z8DrawMenuv()+0xa8 (section 1 0x413E0)
    
astromenace:_Z9Loop_Procv()+0x1e4 (section 1 0x5660)
    
astromenace:main()+0xe70 (section 1 0x6F3C)


There are some defines in /Core/RenderedInterface/GLext.h
Should I change something here (because game works with MiniGL)

If anyone wants to take a look here is the archive:

https://drive.google.com/file/d/1dBfLY ... U_wwX7iY/view?usp=sharing

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: Porting astromenace to AmigaOS4
Just popping in
Just popping in


See User information
i success build version SDL2 (1.3.3)
i put all sources into my git here: https://github.com/BeWorld2018/astromenace/tree/morphos-1.3.2

i push morphos version into storage (you need to have new version fo gamedata.vfs file)

Now you can try to adapt and build it on AmigaOS4 to see if more faster with SDL2

Go to top
Re: Porting astromenace to AmigaOS4
Not too shy to talk
Not too shy to talk


See User information
@beworld

I compiled 3 different version of Astromance 1.3.3 linked against:

- minigl
- GL4ES (Kas1e)
- EGLSDL2 (HunoPPC)

MiniGL version crashes here:
(0x5BFD0F80module LIBS:Warp3DNova/W3DN_GCN.library at 0x7EC999C8 (section 0 0xA9A4)
(
0x5BFD1010module LIBS:Warp3DNova/W3DN_GCN.library at 0x7EC9A62C (section 0 0xB608)
(
0x5BFD1040module LIBS:Warp3D/HWdrivers/W3D_NovaBridge.library at 0x7F0993C8 (section 0 0x323A4)
(
0x5BFD1060module LIBS:Warp3D/HWdrivers/W3D_NovaBridge.library at 0x7F09969C (section 0 0x32678)
(
0x5BFD1080module LIBS:Warp3D/HWdrivers/W3D_NovaBridge.library at 0x7F069D20 (section 0 0x2CFC)
(
0x5BFD10A0LIBS:Warp3D.library:_Warp3D_W3D_SetBlendMode()+0xbc (section 1 0x361C)
(
0x5BFD10B0module LIBS:minigl.library at 0x7F1E022C (section 0 0x28208)
(
0x5BFD10D0astromenace-minigl:glBlendFunc()+0x44 (section 1 0x1D87E4)
(
0x5BFD10F0) [AstroMenaceSource/Core/RendererInterface/OGL_Draw2D.cpp:175astromenace-minigl:_Z7vw_DrawiiP4RECTP8eTexturebfi()+0x2cc (section 1 0x156C8)
(
0x5BFD11E0) [AstroMenaceSource/Loading.cpp:958astromenace-minigl:_Z11DrawLoadingiiPfP8eTexture()+0x260 (section 1 0x2508)
(
0x5BFD1290) [AstroMenaceSource/Loading.cpp:1547astromenace-minigl:_Z12LoadGameDatai()+0x350 (section 1 0x2A8C)
(
0x5BFD1320) [AstroMenaceSource/Loop_proc.cpp:280astromenace-minigl:_Z9Loop_Procv()+0xc4c (section 1 0x61E8)


GL4ES version crashes at:
0x5BF47B40astromenace-gl4es:fpe_glDrawElements()+0x1d8 (section 1 0x282BC0)
(
0x5BF47BB0astromenace-gl4es:glDrawElementsCommon()+0x25c (section 1 0x2728CC)
(
0x5BF47C00) [AstroMenaceSource/Core/RendererInterface/OGL_Draw3D.cpp:377astromenace-gl4es:_Z15vw_SendVerticesiiiPviPjjS0_S0_S0_()+0x1c8 (section 1 0x2B444)
(
0x5BF47C40) [AstroMenaceSource/Core/RendererInterface/OGL_Draw2D.cpp:263astromenace-gl4es:_Z18vw_DrawTransparentP4RECTS0_P8eTexturebffifff()+0x884 (section 1 0x2A54C)
(
0x5BF47D90) [AstroMenaceSource/Loading.cpp:944astromenace-gl4es:_Z11DrawLoadingiiPfP8eTexture()+0x140 (section 1 0x2504)
(
0x5BF47E40) [AstroMenaceSource/Loading.cpp:1547astromenace-gl4es:_Z12LoadGameDatai()+0x1f90 (section 1 0x49A8)
(
0x5BF47EC0) [AstroMenaceSource/Loop_proc.cpp:280astromenace-gl4es:_Z9Loop_Procv()+0xa04 (section 1 0x77B0)
(
0x5BF484D0) [AstroMenaceSource/Main.cpp:1637astromenace-gl4es:main()+0x24b0 (section 1 0xA94C)


EGLSDL2 version crashes at
0x5AF8C970module LIBS:ogles2.library at 0x7EB08374 (section 0 0x8350)
(
0x5AF8C9E0module LIBS:ogles2.library at 0x7EB0A67C (section 0 0xA658)
(
0x5AF8CA10astromenace-eglsdl2:fpe_glDrawElements()+0x1d8 (section 1 0x1E5330)
(
0x5AF8CA80astromenace-eglsdl2:glDrawElementsCommon()+0x878 (section 1 0x1B2940)
(
0x5AF8CAE0astromenace-eglsdl2:gl4es_glDrawElements()+0x654 (section 1 0x1B5430)
(
0x5AF8CB30) [AstroMenaceSource/Core/RendererInterface/OGL_Draw3D.cpp:377astromenace-eglsdl2:_Z15vw_SendVerticesiiiPviPjjS0_S0_S0_()+0x1c8 (section 1 0x2B444)
(
0x5AF8CB70) [AstroMenaceSource/GraphicFX/StarSystem.cpp:308astromenace-eglsdl2:_Z14StarSystemDrawi()+0xe54 (section 1 0x5C8B0)
(
0x5AF8CD50) [AstroMenaceSource/Menu/Menu.cpp:498astromenace-eglsdl2:_Z8DrawMenuv()+0x4b0 (section 1 0x78B20)
(
0x5AF8CEC0) [AstroMenaceSource/Loop_proc.cpp:143astromenace-eglsdl2:_Z9Loop_Procv()+0x1f0 (section 1 0x6F9C)
(
0x5AF8D4D0) [AstroMenaceSource/Main.cpp:1637astromenace-eglsdl2:main()+0x24b0 (section 1 0xA94C)


OGL_Draw3D.cpp line 377 is:

case RI_TRIANGLE_STRIP:
            
glDrawElements(GL_TRIANGLE_STRIP,NumVertices,GL_UNSIGNED_INT,VertexIndexPointer);
            
tmpPrimCountGL += NumVertices-2;
            break;


OGL_Draw2D.cpp line 175 is:
delete [] tmp;
    
vw_SetTextureBlend(false00);
    
vw_BindTexture(00);


Any ideas about how to solve it ?

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: Porting astromenace to AmigaOS4
Home away from home
Home away from home


See User information
@Sinan
Looks like or something with the game's code itself, or, warp3dnova related (as it crashes even without gl4es or ogles2 involved, but still with warp3dnova library involved in case of minigl via novabridge).

Did you have a chance to test it with RadeonHD and old Warp3D_SI (so to test if it crashes without warp3dnova involved or not). If not, then it's wap3dnova to report about, if yes, then game itself.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Porting astromenace to AmigaOS4
Home away from home
Home away from home


See User information
@Sinan
Tested the version from os4depot on my x5000 with RadeonRx560:

gl4es version, in menu 70FPS, in game from 30 to 90 FPS depend on amount of enemyes, so most of time 30.

MiniGL version too slow (20fps in menu and unplayable in the game).

But it seems a little bit buggy in terms of FPS, enough to change screenmode on the fly, and FPS in the same menu will show different values. So not sure if that is correct .


Btw, do you use gl4es from my SDK, or the latest from ptitseb's github ? (in the last one there were some regression in terms of speed).

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Porting astromenace to AmigaOS4
Not too shy to talk
Not too shy to talk


See User information
@SinanSam460

Thank you for the port!

1989-> A500, A600, A3000, A4000, A1200, CD32, µA1, PegII, A1XE, CDTV, Amy/416D79, A1X5000, Vampire 500 V2+, Vampire 600 V2, Amy-ITX, Denise ITX <-2024
Go to top
Re: Porting astromenace to AmigaOS4
Not too shy to talk
Not too shy to talk


See User information
@kas1e

I used your version of GL4ES.

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: Porting astromenace to AmigaOS4
Not too shy to talk
Not too shy to talk


See User information
Thank you for this and your hard work @SinanSam460 and of course, @beworld

Go to top

  Register To Post
« 1 (2)

 




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




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project