Sonic Mania PS3

_47iscool

Noticer
Member
Joined
Nov 18, 2013
Messages
673
Trophies
1
XP
1,129
Country
United States
Hopefully they can fix that and other other bugs.

I wonder what the minimum specs are for porting. A PS2 version would be neat, but its difficult to say if 32MB of RAM is enough. The special stages would probably be almost unplayable.
 

godreborn

Welcome to the Machine
OP
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
it's only a matter of time, if it's even possible. I wish I could share my sm64 builds. all work, including the dreamcast one, which does have sound problems.
 

Marc_LFD

Well-Known Member
Member
Joined
Nov 3, 2021
Messages
5,591
Trophies
1
Age
34
XP
9,016
Country
United States
When this works flawlessly it'll be great because PS3 has loads of good Sonic games and another one for the collection? Awesome!

I wish Sega would hire the same team to make a new Mania game because this was so damn enjoyable.
 
  • Like
Reactions: Starry_Night

_47iscool

Noticer
Member
Joined
Nov 18, 2013
Messages
673
Trophies
1
XP
1,129
Country
United States
I installed Debian on a VM just to compile SM64 for PS2 because I wanted 60fps on it.

It worked, but no 60fps because I missed adding some compile argument. Now I would be more interested in 240p but I don't think its supported on that port.

Speaking of builds, I made an .xdelta patch file by using the SM64 z64 ROM and the complied PS2 elf. I know it may sound silly, but its one way of doing things.
 
  • Like
Reactions: godreborn

godreborn

Welcome to the Machine
OP
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
I think there's some sort of mistake in the make file for ps3. The instructions say to place the sdl2 config in iirc the pkg config folder, but the make file says it goes in the portlibs bin folder. It compiles, just doesn't work. It fails at reading one of the data files according to the log. I tried using the sonic mania main repo instead of the ps3 dev's, but there was a toc error when compiling. Just have to wait to see if he answers.
 

godreborn

Welcome to the Machine
OP
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
Hopefully he will.

I reported a few issues as well that I ran into with his build.
yeah, I saw that issue you reported. ironically, the file that it fails at when booting is one of the audio files, when you mentioned no audio with the build on github. not sure if they're related or not.
 

_47iscool

Noticer
Member
Joined
Nov 18, 2013
Messages
673
Trophies
1
XP
1,129
Country
United States
I have some news about your build.

Since I am on Windows 7 on older hardware I can't use the newest rpcs3 builds (OpenGL 3.3 was dropped) but I found one just a bit newer than the one I was using (rpcs3-v0.0.5-6498) and this one worked: rpcs3-v0.0.5-6860

This version has the /host_root/ option for homebrew.

I first tried your build on it. The emulator exits shortly after. Then I tried the other one on GitHub that works. It boots and is playable. Then I tried yours again and sure enough it worked that time.

I got it working in an emulator but not hardware.

Thoughts?

(On an semi-related note I noticed that psx-place is down for the moment.)
 
Last edited by _47iscool,
  • Like
Reactions: godreborn

godreborn

Welcome to the Machine
OP
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
I have some news about your build.

Since I am on Windows 7 on older hardware I can't use the newest rpcs3 builds (OpenGL 3.3 was dropped) but I found one just a bit newer than the one I was using (rpcs3-v0.0.5-6498) and this one worked: rpcs3-v0.0.5-6860

This version has the /host_root/ option for homebrew.

I first tried your build on it. The emulator exits shortly after. Then I tried the other one on GitHub that works. It boots and is playable. Then I tried yours again and sure enough it worked that time.

I got it working in an emulator but not hardware.

Thoughts?

(On an semi-related note I noticed that psx-place is down for the moment.)
that is odd. I have no idea why it doesn't work on original hardware, but it's still a very early build. surely, it should be capable of being on par with the wii version.
 

godreborn

Welcome to the Machine
OP
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
it doesn't look like the dev responsible is going to respond, but it would be nice to know if my first ps3 build even works, like there's not something wrong the sdk or something. it took like an hour to compile, so I hope that time wasn't wasted. there were no errors with it.
 

_47iscool

Noticer
Member
Joined
Nov 18, 2013
Messages
673
Trophies
1
XP
1,129
Country
United States
I tested yours again on my REBUG 4.86.1 LITE PS3. It still boots back to the XMB.

On the rpcs3 that I am using it has OFW 4.86 so maybe there is something different. Then again things can sometimes work in emulators where they would freeze on a real system due to un-aligned code or something similar.
Part of the rpcs3 log (I removed my weak PC specs from the log) with your .SELF file:


RPCS3 v0.0.5-6860-4576a31f4 Alpha | HEAD
S {PPU[0x1000000] Thread (main_thread)} SPU: SPU Recompiler Runtime (ASMJIT) initialized...
S LDR: Boot successful.
U {PPU[0x1000000] Thread (main_thread) [0x0061fe64]} sys_prx TODO: _sys_prx_register_module()
U {PPU[0x1000000] Thread (main_thread) [0x006200bc]} sys_prx TODO: _sys_prx_register_library(library=*0x6226a0)
S {PPU[0x1000000] Thread (main_thread) [0x006209ac]} sys_prx: Loaded module: /dev_flash/sys/external/libsysmodule.sprx
U {PPU[0x1000000] Thread (main_thread) [0x00663d8c]} HLE TODO: Unimplemented syscall sys_ss_access_control_engine -> CELL_OK
S {PPU[0x1000000] Thread (main_thread) [0x006214d0]} sys_prx: Loaded module: /dev_flash/sys/external/libgcm_sys.sprx
S {PPU[0x1000000] Thread (main_thread) [0x006214d0]} sys_prx: Loaded module: /dev_flash/sys/external/libsre.sprx
S {PPU[0x1000000] Thread (main_thread) [0x006214d0]} sys_prx: Loaded module: /dev_flash/sys/external/libfs.sprx
U {PPU[0x1000000] Thread (main_thread) [0x0062061c]} sys_prx TODO: _sys_prx_register_module()
E {PPU[0x1000000] Thread (main_thread) [0x004eb0ec]} sys_mmapper: sys_mmapper_allocate_address(size=0x10000000, flags=0x40f, alignment=0x0, alloc_addr=*0x116d3bc0)
U {PPU[0x1000000] Thread (main_thread) [0x004eba4c]} sys_fs TODO: sys_fs_chmod(path=“/dev_usb000/SonicMania/log.txt”, mode=0644)
E {PPU[0x1000000] Thread (main_thread) [0x004eb9fc]} 'sys_fs_open' failed with 0x80010006 : CELL_ENOENT, “/dev_usb000/SonicMania/Data.rsdk” [1]
U {PPU[0x1000000] Thread (main_thread) [0x004eba4c]} sys_fs TODO: sys_fs_chmod(path=“/dev_usb000/SonicMania/log.txt”, mode=0644) x2
E {PPU[0x1000000] Thread (main_thread) [0x004eb9fc]} 'sys_fs_open' failed with 0x80010006 : CELL_ENOENT, “/dev_usb000/SonicMania/Data/Objects/Static/420701D3A57A564031790EE4228C7BDE.bin” [1]
U {PPU[0x1000000] Thread (main_thread) [0x004eba4c]} sys_fs TODO: sys_fs_chmod(path=“/dev_usb000/SonicMania/log.txt”, mode=0644)
E {PPU[0x1000000] Thread (main_thread) [0x004eb9fc]} 'sys_fs_open' failed with 0x80010006 : CELL_ENOENT, “/dev_usb000/SonicMania/Data/Objects/Static/AD8ECA1EB8CDCB6CEAA5CE2E361EF48E.bin” [1]
U {PPU[0x1000000] Thread (main_thread) [0x004eba4c]} sys_fs TODO: sys_fs_chmod(path=“/dev_usb000/SonicMania/log.txt”, mode=0644)
E {PPU[0x1000000] Thread (main_thread) [0x004eb9fc]} 'sys_fs_open' failed with 0x80010006 : CELL_ENOENT, “/dev_usb000/SonicMania/Data/Objects/Static/38021520621EDBEBB1E1B2FE4423535F.bin” [1]
U {PPU[0x1000000] Thread (main_thread) [0x004eba4c]} sys_fs TODO: sys_fs_chmod(path=“/dev_usb000/SonicMania/log.txt”, mode=0644)
E {PPU[0x1000000] Thread (main_thread) [0x004eb9fc]} 'sys_fs_open' failed with 0x80010006 : CELL_ENOENT, “/dev_usb000/SonicMania/Data/Objects/Static/B5238FBBD2653E8506337C21FACF1A88.bin” [1]
U {PPU[0x1000000] Thread (main_thread) [0x004eba4c]} sys_fs TODO: sys_fs_chmod(path=“/dev_usb000/SonicMania/log.txt”, mode=0644) x70
E {rsx::thread} RSX: OpenGL: initialization of glGetTextureImage failed.
E {rsx::thread} RSX: OpenGL: initialization of glTextureSubImage1D failed.
E {rsx::thread} RSX: OpenGL: initialization of glTextureSubImage2D failed.
E {rsx::thread} RSX: OpenGL: initialization of glTextureSubImage3D failed.
E {rsx::thread} RSX: OpenGL: initialization of glTextureBufferRange failed.
E {rsx::thread} RSX: OpenGL: initialization of glTextureBarrier failed.
U {PPU[0x1000000] Thread (main_thread) [0x005f0830]} cellSysutil TODO: cellVideoOutConfigure(videoOut=0, config=*0x54cbac00, option=*0x0, waitForEvent=1)
U {PPU[0x1000000] Thread (main_thread) [0x005f0830]} cellSysutil TODO: cellVideoOutConfigure(videoOut=0, config=*0x100367a0, option=*0x0, waitForEvent=0)
U {PPU[0x1000000] Thread (main_thread) [0x004eba4c]} sys_fs TODO: sys_fs_chmod(path=“/dev_usb000/SonicMania/log.txt”, mode=0644)
E {rsx::thread} RSX: NV3089_IMAGE_IN_SIZE: Invalid blit dimensions passed
E {PPU[0x1000000] Thread (main_thread) [0x004ebc54]} 'sys_fs_fstat' failed with 0x8001002a : CELL_EBADF [1]
E {PPU[0x1000000] Thread (main_thread) [0x005f0a48]} Failed to bind device Joystick #0 to handler MMJoystick
U {PPU[0x1000000] Thread (main_thread) [0x004eba4c]} sys_fs TODO: sys_fs_chmod(path=“/dev_usb000/SonicMania/log.txt”, mode=0644) x3
E {PPU[0x1000000] Thread (main_thread) [0x004eb9fc]} 'sys_fs_open' failed with 0x80010006 : CELL_ENOENT, “/dev_usb000/SonicMania/Data/Objects/Static/870F0B5491E4D7EE7EA03F7F7A3D93CC.bin” [1]
U {PPU[0x1000000] Thread (main_thread) [0x004eba4c]} sys_fs TODO: sys_fs_chmod(path=“/dev_usb000/SonicMania/log.txt”, mode=0644)
E {PPU[0x1000000] Thread (main_thread) [0x004eb9fc]} 'sys_fs_open' failed with 0x80010006 : CELL_ENOENT, “/dev_usb000/SonicMania/Data/Objects/Static/C626F7AC50103D2F03D73ADC4EA5EC0B.bin” [1]
U {PPU[0x1000000] Thread (main_thread) [0x004eba4c]} sys_fs TODO: sys_fs_chmod(path=“/dev_usb000/SonicMania/log.txt”, mode=0644) x6
 
Last edited by _47iscool,
  • Like
Reactions: godreborn

godreborn

Welcome to the Machine
OP
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
I tested yours again on my REBUG 4.86.1 LITE PS3. It still boots back to the XMB.

On the rpcs3 that I am using it has OFW 4.86 so maybe there is something different. Then again things can sometimes work in emulators where they would freeze on a real system due to un-aligned code or something similar.
Part of the rpcs3 log (I removed my weak PC specs from the log) with your .SELF file:


RPCS3 v0.0.5-6860-4576a31f4 Alpha | HEAD
S {PPU[0x1000000] Thread (main_thread)} SPU: SPU Recompiler Runtime (ASMJIT) initialized...
S LDR: Boot successful.
U {PPU[0x1000000] Thread (main_thread) [0x0061fe64]} sys_prx TODO: _sys_prx_register_module()
U {PPU[0x1000000] Thread (main_thread) [0x006200bc]} sys_prx TODO: _sys_prx_register_library(library=*0x6226a0)
S {PPU[0x1000000] Thread (main_thread) [0x006209ac]} sys_prx: Loaded module: /dev_flash/sys/external/libsysmodule.sprx
U {PPU[0x1000000] Thread (main_thread) [0x00663d8c]} HLE TODO: Unimplemented syscall sys_ss_access_control_engine -> CELL_OK
S {PPU[0x1000000] Thread (main_thread) [0x006214d0]} sys_prx: Loaded module: /dev_flash/sys/external/libgcm_sys.sprx
S {PPU[0x1000000] Thread (main_thread) [0x006214d0]} sys_prx: Loaded module: /dev_flash/sys/external/libsre.sprx
S {PPU[0x1000000] Thread (main_thread) [0x006214d0]} sys_prx: Loaded module: /dev_flash/sys/external/libfs.sprx
U {PPU[0x1000000] Thread (main_thread) [0x0062061c]} sys_prx TODO: _sys_prx_register_module()
E {PPU[0x1000000] Thread (main_thread) [0x004eb0ec]} sys_mmapper: sys_mmapper_allocate_address(size=0x10000000, flags=0x40f, alignment=0x0, alloc_addr=*0x116d3bc0)
U {PPU[0x1000000] Thread (main_thread) [0x004eba4c]} sys_fs TODO: sys_fs_chmod(path=“/dev_usb000/SonicMania/log.txt”, mode=0644)
E {PPU[0x1000000] Thread (main_thread) [0x004eb9fc]} 'sys_fs_open' failed with 0x80010006 : CELL_ENOENT, “/dev_usb000/SonicMania/Data.rsdk” [1]
U {PPU[0x1000000] Thread (main_thread) [0x004eba4c]} sys_fs TODO: sys_fs_chmod(path=“/dev_usb000/SonicMania/log.txt”, mode=0644) x2
E {PPU[0x1000000] Thread (main_thread) [0x004eb9fc]} 'sys_fs_open' failed with 0x80010006 : CELL_ENOENT, “/dev_usb000/SonicMania/Data/Objects/Static/420701D3A57A564031790EE4228C7BDE.bin” [1]
U {PPU[0x1000000] Thread (main_thread) [0x004eba4c]} sys_fs TODO: sys_fs_chmod(path=“/dev_usb000/SonicMania/log.txt”, mode=0644)
E {PPU[0x1000000] Thread (main_thread) [0x004eb9fc]} 'sys_fs_open' failed with 0x80010006 : CELL_ENOENT, “/dev_usb000/SonicMania/Data/Objects/Static/AD8ECA1EB8CDCB6CEAA5CE2E361EF48E.bin” [1]
U {PPU[0x1000000] Thread (main_thread) [0x004eba4c]} sys_fs TODO: sys_fs_chmod(path=“/dev_usb000/SonicMania/log.txt”, mode=0644)
E {PPU[0x1000000] Thread (main_thread) [0x004eb9fc]} 'sys_fs_open' failed with 0x80010006 : CELL_ENOENT, “/dev_usb000/SonicMania/Data/Objects/Static/38021520621EDBEBB1E1B2FE4423535F.bin” [1]
U {PPU[0x1000000] Thread (main_thread) [0x004eba4c]} sys_fs TODO: sys_fs_chmod(path=“/dev_usb000/SonicMania/log.txt”, mode=0644)
E {PPU[0x1000000] Thread (main_thread) [0x004eb9fc]} 'sys_fs_open' failed with 0x80010006 : CELL_ENOENT, “/dev_usb000/SonicMania/Data/Objects/Static/B5238FBBD2653E8506337C21FACF1A88.bin” [1]
U {PPU[0x1000000] Thread (main_thread) [0x004eba4c]} sys_fs TODO: sys_fs_chmod(path=“/dev_usb000/SonicMania/log.txt”, mode=0644) x70
E {rsx::thread} RSX: OpenGL: initialization of glGetTextureImage failed.
E {rsx::thread} RSX: OpenGL: initialization of glTextureSubImage1D failed.
E {rsx::thread} RSX: OpenGL: initialization of glTextureSubImage2D failed.
E {rsx::thread} RSX: OpenGL: initialization of glTextureSubImage3D failed.
E {rsx::thread} RSX: OpenGL: initialization of glTextureBufferRange failed.
E {rsx::thread} RSX: OpenGL: initialization of glTextureBarrier failed.
U {PPU[0x1000000] Thread (main_thread) [0x005f0830]} cellSysutil TODO: cellVideoOutConfigure(videoOut=0, config=*0x54cbac00, option=*0x0, waitForEvent=1)
U {PPU[0x1000000] Thread (main_thread) [0x005f0830]} cellSysutil TODO: cellVideoOutConfigure(videoOut=0, config=*0x100367a0, option=*0x0, waitForEvent=0)
U {PPU[0x1000000] Thread (main_thread) [0x004eba4c]} sys_fs TODO: sys_fs_chmod(path=“/dev_usb000/SonicMania/log.txt”, mode=0644)
E {rsx::thread} RSX: NV3089_IMAGE_IN_SIZE: Invalid blit dimensions passed
E {PPU[0x1000000] Thread (main_thread) [0x004ebc54]} 'sys_fs_fstat' failed with 0x8001002a : CELL_EBADF [1]
E {PPU[0x1000000] Thread (main_thread) [0x005f0a48]} Failed to bind device Joystick #0 to handler MMJoystick
U {PPU[0x1000000] Thread (main_thread) [0x004eba4c]} sys_fs TODO: sys_fs_chmod(path=“/dev_usb000/SonicMania/log.txt”, mode=0644) x3
E {PPU[0x1000000] Thread (main_thread) [0x004eb9fc]} 'sys_fs_open' failed with 0x80010006 : CELL_ENOENT, “/dev_usb000/SonicMania/Data/Objects/Static/870F0B5491E4D7EE7EA03F7F7A3D93CC.bin” [1]
U {PPU[0x1000000] Thread (main_thread) [0x004eba4c]} sys_fs TODO: sys_fs_chmod(path=“/dev_usb000/SonicMania/log.txt”, mode=0644)
E {PPU[0x1000000] Thread (main_thread) [0x004eb9fc]} 'sys_fs_open' failed with 0x80010006 : CELL_ENOENT, “/dev_usb000/SonicMania/Data/Objects/Static/C626F7AC50103D2F03D73ADC4EA5EC0B.bin” [1]
U {PPU[0x1000000] Thread (main_thread) [0x004eba4c]} sys_fs TODO: sys_fs_chmod(path=“/dev_usb000/SonicMania/log.txt”, mode=0644) x6
Are you using the rsdk file or did you decompile it?
 

godreborn

Welcome to the Machine
OP
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
Decompiled.

Edit:

I did try the RSDK just now with both .SELF files. Nothing.
Not sure. I don't think it's anything I did, but this is also my first ps3 build. It has some wrong info on building though that bucanero from apollo fame verified. I noticed it in the make file compared with what it says on github.
 

godreborn

Welcome to the Machine
OP
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
Two of the libraries you need, libogg and libtheora, are part of the sdk iirc, unlike say android or windows versions, so it's pretty straightforward.
 
  • Like
Reactions: _47iscool

godreborn

Welcome to the Machine
OP
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
Interesting project. Thanks.
Already have the Wii U version but PS3 controller feels better.
I compiled sm64 for the ps3, so I know the library works. there were no errors. no errors with mania either, so I think something is wrong with the code, especially if it sometimes works. the official build seems to have a lot of problems too, and the dev behind it has disappeared after one release. :-/
 
  • Like
Reactions: depaul

godreborn

Welcome to the Machine
OP
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
I just got a confirmation from bucanero. He said the newer versions of the sdk are broken. He's still using the one from 2020. I compiled the latest, which took like an hour, so that's what I've been using.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    ZeroT21 @ ZeroT21: horny jail is full la