Skip to content

Conversation

@Wolf3s
Copy link

@Wolf3s Wolf3s commented Nov 26, 2025

This port uses SDL2 instead of SDL1.2

Images of the port running on real hardware:
Polish_20251127_140900065

Wolf3s and others added 8 commits February 22, 2025 06:26
Co-Authored-By: Anders Jenbo <[email protected]>
Co-Authored-By: Anders Jenbo <[email protected]>
This give us 2MB of dedicated audio memory and support for compressed
audio at runtime which is a huge boost to the already limited system
memory

Co-Authored-By: Anders Jenbo <[email protected]>
Co-Authored-By: Anders Jenbo <[email protected]>
@Wolf3s Wolf3s closed this Nov 26, 2025
@Wolf3s Wolf3s reopened this Nov 27, 2025
@Wolf3s Wolf3s marked this pull request as ready for review November 27, 2025 16:50
@Wolf3s Wolf3s marked this pull request as draft November 27, 2025 16:55
@AJenbo
Copy link
Member

AJenbo commented Nov 29, 2025

This port uses SDL2 instead of SDL1.2

The previous attempt was also SDL2, the remaining issues was fully working sound ingame and being able to get to the dungeon on real hardware

@Wolf3s
Copy link
Author

Wolf3s commented Nov 29, 2025

This port uses SDL2 instead of SDL1.2

The previous attempt was also SDL2, the remaining issues was fully working sound ingame and being able to get to the dungeon on real hardware

I found another issue: the mappings of gamepad on ps2 doesn't work properly. The dungeon level doesn't load.

@AJenbo
Copy link
Member

AJenbo commented Nov 29, 2025

The dungeon level doesn't load.

For me the issue was caused by it failing to reading / writing the save file

@Wolf3s
Copy link
Author

Wolf3s commented Nov 29, 2025

The dungeon level doesn't load.

For me the issue was caused by it failing to reading / writing the save file

It's not related since i could load my profile without any issue. I will see if there is a implementation on other platforms to fix that.

@AJenbo
Copy link
Member

AJenbo commented Nov 29, 2025

Your probably running out of memory, try disabling sound support with -DNOSOUND=ON that should save a lot of memory.

Using a custom PS2 audio and unpacked MPQ saves enough memory to run the game.

@Wolf3s
Copy link
Author

Wolf3s commented Nov 29, 2025

Your probably running out of memory, try disabling sound support with -DNOSOUND=ON that should save a lot of memory.

Using a custom PS2 audio and unpacked MPQ saves enough memory to run the game.

I will test the no sound option and if works i will revert the other commit that uses custom audio keeping audiolib working.

@Wolf3s
Copy link
Author

Wolf3s commented Nov 29, 2025

Your probably running out of memory, try disabling sound support with -DNOSOUND=ON that should save a lot of memory.

Using a custom PS2 audio and unpacked MPQ saves enough memory to run the game.

Updates: even with custom PS2 audio, the level doesn´t load also when i deactivate no sound for video it plays without sound due to a dependency of AudioLib. If we want the video audio working properly AudioLib should be enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants