New port games/serioussam-alpha

2024-01-24 Thread Alexander Pavlov
Hello.
I recently made a package for Serious Sam Alpha Remake.
https://github.com/jasperla/openbsd-wip/pull/173
Serious Sam Alpha is the period where Serious Sam was supposed to be a much
bigger game than it turned out to be. Generally, this period is between the
development of In the Flesh (1996) and Test 1 (2000).

After egipet the player would travel into 6 different planets: the Water
Planet, Lava Planet, Green Planet, Ice Planet, Tropic Planet, and Rock
Planet. After completing all the planets, the player would be in a level
called Space Crusader,

The "early build" of the game was made in early 1998. In the summer of 2013,
people from SeriousSite.ru sent an email to Croteam asking for a pre-release
version of "Serious Sam". Luckily, Roman Ribaric agreed to the request
and shared the old version with the consent of the other members of the
Croteam team.

More details here: https://github.com/tx00100xt/SeriousSamAlphaRemake/wiki

https://github.com/tx00100xt/SeriousSamAlphaRemake

Tested on OpenBSD 7.4. Works just as well as on Linux.
If something needs to be corrected please write.

Best regards.

Alexander Pavlov.


serioussam-alpha.tar.gz
Description: application/gzip


update games/serioussam

2024-01-20 Thread Alexander Pavlov
Hello.
Here's an update for openbsd-wip.
https://github.com/jasperla/openbsd-wip/pull/172
The update includes fixes for broken texture effects, as well as patches
for launching modifications from the game menu.
I recently made a package for Serious Sam Alpha Remake.
https://github.com/tx00100xt/SeriousSamAlphaRemake
https://github.com/tx00100xt/SeriousSamAlphaRemake/wiki
And I wanted to add the seriossam-alpha package after fixing the serioussam
package.
If something needs to be corrected in a pull request, please write.

Best regards.
Alexander Pavlov.


serioussam-alpha.tar.gz
Description: application/gzip


serioussam.tar.gz
Description: application/gzip


[no subject]

2024-01-20 Thread Alexander Pavlov


serioussam-alpha.tar.gz
Description: GNU Zip compressed data


serioussam.tar.gz
Description: GNU Zip compressed data


Re: New: games/serioussam-vk

2023-12-23 Thread Alexander Pavlov
Hello. Today I installed OpenBSD on a computer with a KAVERI APU (A10-7800)
with an integrated  R7 graphics core supporting Vulkan. I had to take a
bite out of Gentoo and install OpenBSD in the free space. Unfortunately,
only the Radeon driver worked for me on this APU. It works well, with all
the accelerations, but without Vulkan support, unlike Gentoo, where the
AMDGPU driver with Vulkan support works. Therefore, I can’t check the
functionality of the game on Vulkan. I think one available "serioussam"
port on OpenBSD is enough.

Happy Christmas and New Year everyone!
Best Regards. Alexander.

пт, 15 дек. 2023 г. в 09:49, Alexander Pavlov :

> Hello.
> I closed the pull request. When I have the opportunity, I'll test it on
> real hardware.
>
> Best Regards.
> Alexander.
>
> чт, 14 дек. 2023 г. в 10:07, Alexander Pavlov :
>
>> Yes, I noticed this now. My mistake. The sam_iGfxAPI variable is
>> responsible for this. By default it is equal to one and the vulkan starts.
>> If the vulkan is not detected when the game starts, then it switches to
>> OpenGL. This variable can be set to zero in the configuration files, then
>> the OpenGL render will be the default. This variable can be set to zero in
>> the configuration file
>> (~/.local/share/Serious-Engine/serioussam/Scripts/PersistentSymbols.ini)
>> then the OpenGL render will be the default. This file is generated on first
>> launch. You need to change the sam_iGfxAPI value to zero or write the line:
>> persistent extern INDEX sam_iGfxAPI=(INDEX)0;
>>
>> чт, 14 дек. 2023 г. в 02:56, Thomas Frohwein :
>>
>>> On Wed, Dec 13, 2023 at 10:34:01AM +0300, Alexander Pavlov wrote:
>>> > Hello
>>> > You can attach the game log.
>>> > ~.local/share/Serious-Engine/serioussam/SeriousSam.log
>>> >
>>> > It looks like I was in a hurry to add this port to OpenBSD without
>>> testing
>>> > it on real hardware with Vulkan support. Or Serious Sam has no luck
>>> with
>>> > integrated Intel graphics. This is already the second case. The first
>>> one
>>> > had graphic artifacts on the OpenGL renderer.
>>>
>>> How do you run with opengl? I can't find anything about this in the man
>>> page or the README.
>>>
>>> > I have a video card with Vulkan support on one computer. When I have
>>> the
>>> > opportunity, I’ll try to test it on it, but for now it’s probably
>>> better
>>> > for me to close the pull request, because without testing on real
>>> hardware
>>> > it’s difficult to understand the problem.
>>> >
>>> > ср, 13 дек. 2023 г. в 00:35, Kirill Bychkov :
>>> >
>>> > > On Tue, December 12, 2023 22:36, Thomas Frohwein wrote:
>>> > > > On Mon, Dec 11, 2023 at 10:52:58PM +0300, Alexander Pavlov wrote:
>>> > > >> Hello!
>>> > > >> Thanks @Kirill for approved the pull request.
>>> > > >>
>>> > > >> This is my other ever port for OpenBSD. It's the open source
>>> Serious Sam
>>> > > >> Classic engine with vulkan support. The port has two renders
>>> OpenGL and
>>> > > >> Vulkan. Render switches to the game menu.
>>> > > >>
>>> > > >> Tested using the OpenGL renderer, since I do not have the
>>> opportunity to
>>> > > >> test the Vulkan renderer on OpenBSD. On the computer where
>>> OpenBSD is
>>> > > >> installed, the Radeon HD3000 does not support Vulkan.
>>> > > >>
>>> > > >> I wish to get this added to the official ports tree, so please
>>> leave
>>> > > >> any feedback or suggestions on what can be improved. Thank you!
>>> > > >>
>>> > > >> Source on Github:
>>> > > >> https://github.com/tx00100xt/SeriousSamClassic-VK
>>> > > >
>>> > > > Thanks for submitting this:
>>> > > >
>>> > > >> @conflict serioussam-*
>>> > > >
>>> > > > Is this needed? We don't have any other serioussam ports as far as
>>> I
>>> > > > know.
>>> > >
>>> > > Yep, if we import both ports - serioussam and serioussam-vk
>>> > >
>>> > > >
>>> > > > DESCR should be formatted, typically with fmt -w 80...
>>> > > > README also should be formatted similar

Re: New: games/serioussam-vk

2023-12-14 Thread Alexander Pavlov
Hello.
I closed the pull request. When I have the opportunity, I'll test it on
real hardware.

Best Regards.
Alexander.

чт, 14 дек. 2023 г. в 10:07, Alexander Pavlov :

> Yes, I noticed this now. My mistake. The sam_iGfxAPI variable is
> responsible for this. By default it is equal to one and the vulkan starts.
> If the vulkan is not detected when the game starts, then it switches to
> OpenGL. This variable can be set to zero in the configuration files, then
> the OpenGL render will be the default. This variable can be set to zero in
> the configuration file
> (~/.local/share/Serious-Engine/serioussam/Scripts/PersistentSymbols.ini)
> then the OpenGL render will be the default. This file is generated on first
> launch. You need to change the sam_iGfxAPI value to zero or write the line:
> persistent extern INDEX sam_iGfxAPI=(INDEX)0;
>
> чт, 14 дек. 2023 г. в 02:56, Thomas Frohwein :
>
>> On Wed, Dec 13, 2023 at 10:34:01AM +0300, Alexander Pavlov wrote:
>> > Hello
>> > You can attach the game log.
>> > ~.local/share/Serious-Engine/serioussam/SeriousSam.log
>> >
>> > It looks like I was in a hurry to add this port to OpenBSD without
>> testing
>> > it on real hardware with Vulkan support. Or Serious Sam has no luck with
>> > integrated Intel graphics. This is already the second case. The first
>> one
>> > had graphic artifacts on the OpenGL renderer.
>>
>> How do you run with opengl? I can't find anything about this in the man
>> page or the README.
>>
>> > I have a video card with Vulkan support on one computer. When I have the
>> > opportunity, I’ll try to test it on it, but for now it’s probably better
>> > for me to close the pull request, because without testing on real
>> hardware
>> > it’s difficult to understand the problem.
>> >
>> > ср, 13 дек. 2023 г. в 00:35, Kirill Bychkov :
>> >
>> > > On Tue, December 12, 2023 22:36, Thomas Frohwein wrote:
>> > > > On Mon, Dec 11, 2023 at 10:52:58PM +0300, Alexander Pavlov wrote:
>> > > >> Hello!
>> > > >> Thanks @Kirill for approved the pull request.
>> > > >>
>> > > >> This is my other ever port for OpenBSD. It's the open source
>> Serious Sam
>> > > >> Classic engine with vulkan support. The port has two renders
>> OpenGL and
>> > > >> Vulkan. Render switches to the game menu.
>> > > >>
>> > > >> Tested using the OpenGL renderer, since I do not have the
>> opportunity to
>> > > >> test the Vulkan renderer on OpenBSD. On the computer where OpenBSD
>> is
>> > > >> installed, the Radeon HD3000 does not support Vulkan.
>> > > >>
>> > > >> I wish to get this added to the official ports tree, so please
>> leave
>> > > >> any feedback or suggestions on what can be improved. Thank you!
>> > > >>
>> > > >> Source on Github:
>> > > >> https://github.com/tx00100xt/SeriousSamClassic-VK
>> > > >
>> > > > Thanks for submitting this:
>> > > >
>> > > >> @conflict serioussam-*
>> > > >
>> > > > Is this needed? We don't have any other serioussam ports as far as I
>> > > > know.
>> > >
>> > > Yep, if we import both ports - serioussam and serioussam-vk
>> > >
>> > > >
>> > > > DESCR should be formatted, typically with fmt -w 80...
>> > > > README also should be formatted similarly. This means that the line
>> > > > with "directories:" should be pulled up, even if you're going with
>> > > > fmt -w 72 only.
>> > > >
>> > > > Looks like SamTFE/Sources/CMakeLists.txt and
>> > > > SamTSE/Sources/CMakeLists.txt add their own -O2 and -pipe which is
>> > > > better left to our ports build system.
>> > > >
>> > > > I'm getting a segfault in vulkan when trying to launch:
>> > > >
>> > > > $ serioussam
>> > > > STUBBED: load window icon in
>> > > >
>> > >
>> /usr/ports/pobj/serioussam-vk-1.10.6c/SeriousSamClassic-VK-1.10.6c/SamTFE/Sources/SeriousSam/MainWindow.cpp,
>> > > > line 176.
>> > > > STUBBED: Need SDL invisible window or something in
>> > > >
>> > >
>> /usr/ports/pobj/serioussam-vk-1.10.6c/SeriousSamClassic-VK-1.10.6c/SamTFE/Sources/Seri

Re: New: games/serioussam-vk

2023-12-13 Thread Alexander Pavlov
Yes, I noticed this now. My mistake. The sam_iGfxAPI variable is
responsible for this. By default it is equal to one and the vulkan starts.
If the vulkan is not detected when the game starts, then it switches to
OpenGL. This variable can be set to zero in the configuration files, then
the OpenGL render will be the default. This variable can be set to zero in
the configuration file
(~/.local/share/Serious-Engine/serioussam/Scripts/PersistentSymbols.ini)
then the OpenGL render will be the default. This file is generated on first
launch. You need to change the sam_iGfxAPI value to zero or write the line:
persistent extern INDEX sam_iGfxAPI=(INDEX)0;

чт, 14 дек. 2023 г. в 02:56, Thomas Frohwein :

> On Wed, Dec 13, 2023 at 10:34:01AM +0300, Alexander Pavlov wrote:
> > Hello
> > You can attach the game log.
> > ~.local/share/Serious-Engine/serioussam/SeriousSam.log
> >
> > It looks like I was in a hurry to add this port to OpenBSD without
> testing
> > it on real hardware with Vulkan support. Or Serious Sam has no luck with
> > integrated Intel graphics. This is already the second case. The first one
> > had graphic artifacts on the OpenGL renderer.
>
> How do you run with opengl? I can't find anything about this in the man
> page or the README.
>
> > I have a video card with Vulkan support on one computer. When I have the
> > opportunity, I’ll try to test it on it, but for now it’s probably better
> > for me to close the pull request, because without testing on real
> hardware
> > it’s difficult to understand the problem.
> >
> > ср, 13 дек. 2023 г. в 00:35, Kirill Bychkov :
> >
> > > On Tue, December 12, 2023 22:36, Thomas Frohwein wrote:
> > > > On Mon, Dec 11, 2023 at 10:52:58PM +0300, Alexander Pavlov wrote:
> > > >> Hello!
> > > >> Thanks @Kirill for approved the pull request.
> > > >>
> > > >> This is my other ever port for OpenBSD. It's the open source
> Serious Sam
> > > >> Classic engine with vulkan support. The port has two renders OpenGL
> and
> > > >> Vulkan. Render switches to the game menu.
> > > >>
> > > >> Tested using the OpenGL renderer, since I do not have the
> opportunity to
> > > >> test the Vulkan renderer on OpenBSD. On the computer where OpenBSD
> is
> > > >> installed, the Radeon HD3000 does not support Vulkan.
> > > >>
> > > >> I wish to get this added to the official ports tree, so please leave
> > > >> any feedback or suggestions on what can be improved. Thank you!
> > > >>
> > > >> Source on Github:
> > > >> https://github.com/tx00100xt/SeriousSamClassic-VK
> > > >
> > > > Thanks for submitting this:
> > > >
> > > >> @conflict serioussam-*
> > > >
> > > > Is this needed? We don't have any other serioussam ports as far as I
> > > > know.
> > >
> > > Yep, if we import both ports - serioussam and serioussam-vk
> > >
> > > >
> > > > DESCR should be formatted, typically with fmt -w 80...
> > > > README also should be formatted similarly. This means that the line
> > > > with "directories:" should be pulled up, even if you're going with
> > > > fmt -w 72 only.
> > > >
> > > > Looks like SamTFE/Sources/CMakeLists.txt and
> > > > SamTSE/Sources/CMakeLists.txt add their own -O2 and -pipe which is
> > > > better left to our ports build system.
> > > >
> > > > I'm getting a segfault in vulkan when trying to launch:
> > > >
> > > > $ serioussam
> > > > STUBBED: load window icon in
> > > >
> > >
> /usr/ports/pobj/serioussam-vk-1.10.6c/SeriousSamClassic-VK-1.10.6c/SamTFE/Sources/SeriousSam/MainWindow.cpp,
> > > > line 176.
> > > > STUBBED: Need SDL invisible window or something in
> > > >
> > >
> /usr/ports/pobj/serioussam-vk-1.10.6c/SeriousSamClassic-VK-1.10.6c/SamTFE/Sources/SeriousSam/MainWindow.cpp,
> > > > line 357.
> > > > STUBBED: !!! FIXME: get the code back in from Ryan's original port.
> in
> > > >
> > >
> /usr/ports/pobj/serioussam-vk-1.10.6c/SeriousSamClassic-VK-1.10.6c/SamTFE/Sources/Engine/Base/Stream.cpp,
> > > > line 995.
> > > > STUBBED: Report actual SDL device name? in
> > > >
> > >
> /usr/ports/pobj/serioussam-vk-1.10.6c/SeriousSamClassic-VK-1.10.6c/SamTFE/Sources/Engine/Sound/SoundLibrary.cpp,
> > > > line 270.
> > > > Segmentation fault (core dumped)
> > > >
> > > > With this here as part of the backtrace:
> > > >
> > > > #0  0x04de18ccda2f in ?? () from
> /usr/X11R6/lib/libvulkan_intel.so
> > > > No symbol table info available.
> > > > #1  0x04de18e3dc49 in ?? () from
> /usr/X11R6/lib/libvulkan_intel.so
> > > > No symbol table info available.
> > > > #2  0x04de3b846d14 in SvkMain::InitTexture32Bit(unsigned int&,
> > > VkFormat,
> > > > void*, VkExtent2D*, unsigned int, bool) () from
> > > > /usr/local/lib/libEngine.so.0.0
> > > >
> > > > That's on an Intel Tigerlake integrated GPU.
> > > >
> > > >
> > >
> > >
> > >
>


Re: New: games/serioussam-vk

2023-12-12 Thread Alexander Pavlov
Hello
You can attach the game log.
~.local/share/Serious-Engine/serioussam/SeriousSam.log

It looks like I was in a hurry to add this port to OpenBSD without testing
it on real hardware with Vulkan support. Or Serious Sam has no luck with
integrated Intel graphics. This is already the second case. The first one
had graphic artifacts on the OpenGL renderer.

I have a video card with Vulkan support on one computer. When I have the
opportunity, I’ll try to test it on it, but for now it’s probably better
for me to close the pull request, because without testing on real hardware
it’s difficult to understand the problem.

ср, 13 дек. 2023 г. в 00:35, Kirill Bychkov :

> On Tue, December 12, 2023 22:36, Thomas Frohwein wrote:
> > On Mon, Dec 11, 2023 at 10:52:58PM +0300, Alexander Pavlov wrote:
> >> Hello!
> >> Thanks @Kirill for approved the pull request.
> >>
> >> This is my other ever port for OpenBSD. It's the open source Serious Sam
> >> Classic engine with vulkan support. The port has two renders OpenGL and
> >> Vulkan. Render switches to the game menu.
> >>
> >> Tested using the OpenGL renderer, since I do not have the opportunity to
> >> test the Vulkan renderer on OpenBSD. On the computer where OpenBSD is
> >> installed, the Radeon HD3000 does not support Vulkan.
> >>
> >> I wish to get this added to the official ports tree, so please leave
> >> any feedback or suggestions on what can be improved. Thank you!
> >>
> >> Source on Github:
> >> https://github.com/tx00100xt/SeriousSamClassic-VK
> >
> > Thanks for submitting this:
> >
> >> @conflict serioussam-*
> >
> > Is this needed? We don't have any other serioussam ports as far as I
> > know.
>
> Yep, if we import both ports - serioussam and serioussam-vk
>
> >
> > DESCR should be formatted, typically with fmt -w 80...
> > README also should be formatted similarly. This means that the line
> > with "directories:" should be pulled up, even if you're going with
> > fmt -w 72 only.
> >
> > Looks like SamTFE/Sources/CMakeLists.txt and
> > SamTSE/Sources/CMakeLists.txt add their own -O2 and -pipe which is
> > better left to our ports build system.
> >
> > I'm getting a segfault in vulkan when trying to launch:
> >
> > $ serioussam
> > STUBBED: load window icon in
> >
> /usr/ports/pobj/serioussam-vk-1.10.6c/SeriousSamClassic-VK-1.10.6c/SamTFE/Sources/SeriousSam/MainWindow.cpp,
> > line 176.
> > STUBBED: Need SDL invisible window or something in
> >
> /usr/ports/pobj/serioussam-vk-1.10.6c/SeriousSamClassic-VK-1.10.6c/SamTFE/Sources/SeriousSam/MainWindow.cpp,
> > line 357.
> > STUBBED: !!! FIXME: get the code back in from Ryan's original port. in
> >
> /usr/ports/pobj/serioussam-vk-1.10.6c/SeriousSamClassic-VK-1.10.6c/SamTFE/Sources/Engine/Base/Stream.cpp,
> > line 995.
> > STUBBED: Report actual SDL device name? in
> >
> /usr/ports/pobj/serioussam-vk-1.10.6c/SeriousSamClassic-VK-1.10.6c/SamTFE/Sources/Engine/Sound/SoundLibrary.cpp,
> > line 270.
> > Segmentation fault (core dumped)
> >
> > With this here as part of the backtrace:
> >
> > #0  0x04de18ccda2f in ?? () from /usr/X11R6/lib/libvulkan_intel.so
> > No symbol table info available.
> > #1  0x04de18e3dc49 in ?? () from /usr/X11R6/lib/libvulkan_intel.so
> > No symbol table info available.
> > #2  0x04de3b846d14 in SvkMain::InitTexture32Bit(unsigned int&,
> VkFormat,
> > void*, VkExtent2D*, unsigned int, bool) () from
> > /usr/local/lib/libEngine.so.0.0
> >
> > That's on an Intel Tigerlake integrated GPU.
> >
> >
>
>
>


New: games/serioussam-vk

2023-12-11 Thread Alexander Pavlov
Hello!
Thanks @Kirill for approved the pull request.

This is my other ever port for OpenBSD. It's the open source Serious Sam
Classic engine with vulkan support. The port has two renders OpenGL and
Vulkan. Render switches to the game menu.

Tested using the OpenGL renderer, since I do not have the opportunity to
test the Vulkan renderer on OpenBSD. On the computer where OpenBSD is
installed, the Radeon HD3000 does not support Vulkan.

I wish to get this added to the official ports tree, so please leave
any feedback or suggestions on what can be improved. Thank you!

Source on Github:
https://github.com/tx00100xt/SeriousSamClassic-VK


serioussam-vk.tar.gz
Description: application/gzip