Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
47 user(s) are online (30 user(s) are browsing Forums)

Members: 1
Guests: 46

billyfish, more...

Headlines

Forum Index


Board index » All Posts (SinanSam460)




Re: GL4ES / SDL+GL4ES / CLIB2 / Outdated NEWLIB libs and OnWards
Not too shy to talk
Not too shy to talk


@kas1e

Both SDL2 and SDL1 versions runs at 34 - 38 fps here. Yes I press "a" to select.

I will also try compiling myself to see if it makes any changes.

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


Re: GL4ES / SDL+GL4ES / CLIB2 / Outdated NEWLIB libs and OnWards
Not too shy to talk
Not too shy to talk


@kas1e

Thanks for the compiled libraries.

I also get 34 fps on my Sam460+RX-550 (Power Prefs - Set To High) with SDL2 version...

Here is output

LIBGLInitialising gl4es
LIBGL
v1.1.5 built on Sep  6 2022 18:31:35
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
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:/RAM Disk/bin/AmigaOS4
Please select the driver you want 
for this example:
 (
aOpenGL 1.5
 
(bDirect3D 9.0c
 
(cDirect3D 8.1
 
(dBurning's Software Renderer
 (e) Software Renderer
 (f) NullDevice
 (otherKey) exit

a
Irrlicht Engine version 1.8.4
SDL Version 2.24.0
LIBGL: Hardware test on current Context...
LIBGL: Hardware Full NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax  detected and used
LIBGL: FBO are in core, and so used
LIBGL: PointSprite are in core, and so used
LIBGL: CubeMap are in core, and so used
LIBGL: BlendColor is in core, and so used
LIBGL: Blend Subtract is in core, and so used
LIBGL: Blend Function and Equation Separation is in core, and so used
LIBGL: Texture Mirrored Repeat is in core, and so used
LIBGL: Extension GL_OES_mapbuffer  detected
LIBGL: Extension GL_OES_element_index_uint  detected and used
LIBGL: Extension GL_OES_packed_depth_stencil  detected and used
LIBGL: Extension GL_EXT_texture_format_BGRA8888  detected and used
LIBGL: Extension GL_OES_texture_float  detected and used
LIBGL: Extension GL_AOS4_texture_format_RGB332 detected
LIBGL: Extension GL_AOS4_texture_format_RGB332REV detected
LIBGL: Extension GL_AOS4_texture_format_RGBA1555REV detected and used
LIBGL: Extension GL_AOS4_texture_format_RGBA8888 detected and used
LIBGL: Extension GL_AOS4_texture_format_RGBA8888REV detected and used
LIBGL: high precision float in fragment shader available and used
LIBGL: Extension GL_EXT_frag_depth  detected and used
LIBGL: Max vertex attrib: 16
LIBGL: Max texture size: 16384
LIBGL: Max Varying Vector: 32
LIBGL: Texture Units: 16/16 (hardware: 32), Max lights: 8, Max planes: 6
LIBGL: Extension GL_EXT_texture_filter_anisotropic  detected and used
LIBGL: Max Anisotropic filtering: 16
LIBGL: Max Color Attachments: 1 / Draw buffers: 1
LIBGL: Hardware vendor is A-EON Technology Ltd. Written by Daniel '
Daytona675x' Müßener @ GoldenCode.eu
LIBGL: GLSL 300 es supported
LIBGL: GLSL 310 es supported and used
Using renderer: OpenGL 2.1
GL4ES wrapper: ptitSeb
OpenGL driver version is 1.2 or better.
GLSL version: 1.2
Vertex shader compilation failed at position 585:
Invalid token
Pixel shader compilation failed at position 580:
Invalid value (implicit param?)
Vertex shader compilation failed at position 605:
Invalid token
Pixel shader compilation failed at position 586:
Invalid value (implicit param?)
Loaded texture: e7walldesign01b.jpg
Loaded texture: e7steptop2.jpg
Loaded texture: e7dimfloor.jpg
Loaded texture: e7brickfloor01.jpg
Loaded texture: e7bmtrim.jpg
Loaded texture: e7sbrickfloor.jpg
Loaded texture: e7brnmetal.jpg
Loaded texture: e7beam02_red.jpg
Loaded texture: e7swindow.jpg
Loaded texture: e7bigwall.jpg
Loaded texture: e7panelwood.jpg
Loaded texture: e7beam01.jpg
Loaded texture: xstepborder5.jpg
Loaded texture: lavahell.jpg
Loaded texture: e7steptop.jpg
Loaded texture: metalblackwave01.jpg
Loaded texture: pjrock1.jpg
Loaded texture: timlamp.tga
Loaded texture: gratetorch2.jpg
Loaded texture: gratetorch2b.tga
Loaded mesh: 20kdm2.bsp
Needed 47ms to create Octree SceneNode.(92 nodes, 10640 polys)
Quit SDL
LIBGL: Shuting down
LIBGL: Saved a PSA with 2 Precompiled Programs

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


Re: GL4ES / SDL+GL4ES / CLIB2 / Outdated NEWLIB libs and OnWards
Not too shy to talk
Not too shy to talk


@kas1e

Both versions are working however with SDL1 version it is not possible to quit the test program with ESC key

SDL2 version you can quit whenever you wish.

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


Re: GL4ES / SDL+GL4ES / CLIB2 / Outdated NEWLIB libs and OnWards
Not too shy to talk
Not too shy to talk


@kas1e

Can you upload clib2 version of libSDL_gl4es libSDL2_gl4es ?

I was able to compile clib2 libgl4es, but not libSDL clib2 versions

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


Re: Open Source cross-platform game engine
Not too shy to talk
Not too shy to talk


@kas1e

As you said, it doesn't compile with SDL2.

Newlib / SDL1 compile is ok

Clib2 / SDL1 compile, I get this error

CIrrDeviceSDL.cppIn constructor ‘irr::CIrrDeviceSDL::CIrrDeviceSDL(const irr::SIrrlichtCreationParameters&):
CIrrDeviceSDL.cpp:89:9error‘putenv’ was not declared in this scopedid you mean ‘setenv’?
   
89 |         SDL_putenv("SDL_VIDEODRIVER=OS4");
      |         ^~~~~~~~~~


I managed to compile with commenting SDL_putenv.

I hope this is the correct way...
Can you share your irrlicht clib2 so that I can compare ?

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


Re: Open Source cross-platform game engine
Not too shy to talk
Not too shy to talk


@kas1e

Thanks for reminding this..

I can compile newlib version now.

How do I make the library for SDL2 ?

e.g. make -f Makefile.amigaos4 SDL2=1 ?


For Clib2 version, do I add -mcrt=clib2 in the makefile.amigaos4 ?

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


Re: Open Source cross-platform game engine
Not too shy to talk
Not too shy to talk


@kas1e

Do you have the clib2 version of libIrrlicht.a ?

By the way, I tried compiling Irrlicht for newlib and clib2, but it fails here: (this is from newlib)

COpenGLExtensionHandler.h
COpenGLExtensionHandler.cpp

/usr/local/amiga/ppc-amigaos/SDK/local/newlib/include/SDL/SDL_opengl.h:46,
                 
from COpenGLExtensionHandler.h:51,
                 
from COpenGLExtensionHandler.cpp:9:
/
usr/local/amiga/ppc-amigaos/SDK/local/common/include/GL/gl.h:796:23noteprevious declaration of ‘void glLogicOp(GLenum)
  796 
GLAPI void GLAPIENTRY glLogicOpGLenum opcode );
      |                       ^~~~~~~~~
In file included from /usr/local/amiga/ppc-amigaos/SDK/local/common/include/mgl/gl.h:363,
                 
from /usr/local/amiga/ppc-amigaos/SDK/local/newlib/include/SDL/SDL_opengl.h:55,
                 
from COpenGLExtensionHandler.h:51,
                 
from COpenGLExtensionHandler.cpp:9:
/
usr/local/amiga/ppc-amigaos/SDK/local/common/include/mgl/minigl.h:2106:13error‘void glCopyPixels(GLintGLintGLsizeiGLsizeiGLenum)’ was declared ‘extern’ and later ‘static’ [-fpermissive]
 
2106 MGLAPI void glCopyPixels(GLint xGLint yGLsizei widthGLsizei heightGLenum type)

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


Re: Is QT 4 or 5 still alive somehow?
Not too shy to talk
Not too shy to talk


I am trying to build alfkill QT6 project on cross-compiler, but I haven't been able to build it completely.

Here are some of his reaction to my questions:

https://github.com/alfkil/amiga-qt6/issues/1

Maybe a more experienced developer/user can take a look at it..

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


Re: Porting Augustus (Caesar 3) to AmigaOS4
Not too shy to talk
Not too shy to talk


@kas1e

Do you think clib2 version will improve the performance ?

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


Re: Porting Augustus (Caesar 3) to AmigaOS4
Not too shy to talk
Not too shy to talk


@kas1e

I used newlib this time..

For Clib2, I think I am missing tinyfiledialogs and expat libraries.

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


Re: Porting Augustus (Caesar 3) to AmigaOS4
Not too shy to talk
Not too shy to talk


@walkero

Thanks for nice words.

I have disabled SDL_Log during gameplay, so these messages won't be displayed.

New V1.01 archive is at OS4Depot Upload section:

http://www.os4depot.net/index.php?function=uploads

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


Re: Porting Augustus (Caesar 3) to AmigaOS4
Not too shy to talk
Not too shy to talk


@all

Augustus is now available on OS4Depot.net

http://www.os4depot.net/?function=sho ... ame/strategy/augustus.lha

Here is a short video of Augustus on Sam460:




Installation and Running Instructions:
---------------------------------------------
1) Purchase Ceaser III from GOG or Steam
https://www.gog.com/game/caesar_3
and install the game on Windows

2) Copy the Caesar III directory to AmigaOS 4.

3)Please download and unpack open sources assets archive:
https://augustus.josecadete.net/download/latest/release/windows

4) Please copy the "assets", "maps", "manual" folders (from the archive you just have downloaded) to Caeser III folder on AmigaOS 4

5) Please copy augustus and augustus.ini to file to same directory on AmigaOS 4.

6) Run the game

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


Re: Porting Augustus (Caeser 3) to AmigaOS4
Not too shy to talk
Not too shy to talk


@salass00

Thanks it worked..

I got it working based on BeWorld's MorphOS port.. I'll test it and will post a video soon.

If all goes well, I will upload it to OS4Depot.

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


Porting Augustus (Caesar 3) to AmigaOS4
Not too shy to talk
Not too shy to talk


@all

After Vanilla Conquer (C&C), I am now working on Augustus (open source new version of Ceaser 3 strategy game)

https://github.com/Keriew/augustus

I am able to compile the executable with latest SDL 2.24 and SDL2 Mixer.

I am able to compile AmigaOS executable with newlib (I don't have the all libraries compiled for clib2 yet)

Now I have compiled Augustus port for OS4 and I have Ceaser3 data files (GOG version).

However when I run the game, Snoopy (SnoopDOS) shows that Amiga executable is adding "./" to in front of data files.

E.g. "./c3.eng" instead "c3.eng).

Any ideas how to solve it ? What am I doing wrong ?

The file related sources are in this directory

https://github.com/Keriew/augustus/tree/master/src/core


Edited by SinanSam460 on 2022/8/30 9:26:05
Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top


Re: OpenAL 1.20 Clib2
Not too shy to talk
Not too shy to talk


@jabirulo

There is no SDL2 backend for 1.18 but, yes no problem with 1.18 while launching and running the game. (1.18 can't cleanup ahi device after exiting the game)

However 1.20 has problems while launching the game..

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


OpenAL 1.20 Clib2
Not too shy to talk
Not too shy to talk


@all

I am trying to solve that OpenAL1.18 crash after quitting the VanillaConquer.

I have succesfully compiled openal 1.20 for clib2 (salas00 port - https://github.com/salass00/openal_lib) with SDL2, AHI, Wave and null as backends.

I can also link the library with my VanillaConquer port.

However when I try the Vanilla Conquer exe., VanillaConquer crashes when opening alcdevice ?

AL lib: (II) Initializing library v1.20.1-unknown UNKNOWN
AL lib: (II) Supported backends: sdl2, ahi, null, wave
AL lib: (II) Loading config /etc/openal/alsoft.conf...

Is there somemuch difference between OpenAL 1.18 and 1.20 AmigaOS4 ports ?

Is there a OpenAL 1.22 port that I can compile for clib2 ?

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


Re: Project : Compiling Vanilla-Conquer (C&C) for AmigaOS4 - Help needed
Not too shy to talk
Not too shy to talk


@Cageman

Thanks, but it is better to donate original AmigaOS3 developer Artur

https://www.patreon.com/ArtiGamesAmiSoft

And Beworld for his MorphOS port

https://www.paypal.com/paypalme/BeWorldMOS

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


Re: Project : Compiling Vanilla-Conquer (C&C) for AmigaOS4 - Help needed
Not too shy to talk
Not too shy to talk


@all

There is a detailed wiki about installing data files.

https://github.com/TheAssemblyArmada/V ... wiki/Installing-VanillaTD

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


Re: Project : Compiling Vanilla-Conquer (C&C) for AmigaOS4 - Help needed
Not too shy to talk
Not too shy to talk


@kas1e

I used the BeWorld's MorphOS port as base.

There is also endianness.h in the common/ directory..

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


Re: Project : Compiling Vanilla-Conquer (C&C) for AmigaOS4 - Help needed
Not too shy to talk
Not too shy to talk


@kas1e

Does decreasing the scrolling speed from the game menu make any difference ?

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



TopTop
« 1 ... 5 6 7 (8) 9 10 11 ... 22 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project