Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump libogg and libvorbis, add SDL2 and debugnet #37

Merged
merged 3 commits into from
Jun 12, 2020

Conversation

sergiou87
Copy link

Just what the title says 😄 While porting https://github.com/sergiou87/open-supaplex to PS3 I had a few issues with sound and graphics, so I started updating/porting things until I got everything working 😂

  • First the music was a bit choppy. I tried updating libogg and libvorbis and didn't fix it, but didn't break anything either, so I thought it'd be good to have them updated.
  • Since that didn't help (and updating SDL_mixer didn't help either), I decided to try with SDL2_mixer, which I added in this other PR: Add SDL2_mixer zeldin/SDL_PSL1GHT_Libs#3
    However, in order to use SDL2_mixer, first I need an SDL2 port, right?
  • That's ok because having SDL 1.3 was a bit painful for me. OpenSupaplex had implementations for SDL2 and SDL1.2, but 1.3 is a mix between both which is painful to handle, so porting SDL2 to PS3 was the best option. The port is here: https://github.com/sergiou87/SDL2_PSL1GHT
    It's rebased on top of https://github.com/spurious/SDL-mirror 's master branch, so it's completely up-to-date.
    With this, my game now fully works without changing the implementation. Perfect music, sound, graphics, input… everything 😌 🎉
  • Last but not least, while working on that SDL2 port, I needed some help to debug. In PS Vita I used https://github.com/psxdev/debugnet so I ported it to PS3 (https://github.com/sergiou87/ps3debugnet) and added it to the list of libraries.

@miigotu miigotu changed the base branch from master to develop June 12, 2020 21:25
@miigotu miigotu merged commit 5d7e891 into ps3dev:develop Jun 12, 2020
@miigotu
Copy link
Member

miigotu commented Jun 12, 2020

Merged into a develop branch, for now.

@zeldin
Copy link
Member

zeldin commented Jun 28, 2020

This PR broke the build. The make install of debugnet tries to install in /usr/local/ps3dev/psl1ght/portlibs/ppu, but this directory does not exist. The correct path is /usr/local/ps3dev/portlibs/ppu.

@sergiou87
Copy link
Author

@sergiou87
Copy link
Author

sergiou87 commented Jun 28, 2020

FWIW I used these very same scripts to build a Docker image from which I could build my game and it works flawlessly: https://github.com/sergiou87/open-supaplex/blob/master/ci/Dockerfile-ps3

@zeldin
Copy link
Member

zeldin commented Jun 28, 2020

Yes, they are wrong. They install in the wrong place. All ps3libraries scripts install in $PS3DEV/portlibs/ppu except 024-debugnet.sh which installs in $PSL1GHT/portlibs/ppu. I suspect flipacholas/ps3devextra contains some old cruft and that is why your Docker has a directory $PSL1GHT/portlibs/ppu, but that is not where this should go. $PS3DEV/portlibs/ppu has been the correct place since 2011. 😄

@sergiou87
Copy link
Author

Sorry about that! I'll fix it immediately 😓

@zeldin
Copy link
Member

zeldin commented Jun 28, 2020

No worries. It's on the develop branch fortunately. 😄

@sergiou87
Copy link
Author

Should be fixed now with this: sergiou87/ps3debugnet@47c3644

@zeldin
Copy link
Member

zeldin commented Jun 28, 2020

Yup, now 024-debugnet.sh completes successfully for me. Thanks.

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.

3 participants