ZenoArrows / The-Simpsons-Hit-and-Run

Switch port of The Simpsons: Hit & Run original source code from 2003
243 stars 5 forks source link

Is It Possible For A Steamdeck/Linux Port #51

Open Tmedina923 opened 4 months ago

Tmedina923 commented 4 months ago

I saw that this was ported to PS Vita and Nintendo Switch, maybe Steamdeck could also be considered if possible since that's also a portable device as well and getting the PC version to work on it can be cumbersome sometimes 🤷

ZenoArrows commented 4 months ago

Possible yeah, but you'd lose the modding support so it doesn't seem desirable.

OmniBlade commented 1 month ago

I'd also be interested in seeing native 64bit Linux (and maybe even Windows?) builds for the engine. I'm not familiar with this games modding scene, but I assume current mods for the game are achieved by using some kind of code injection into the original binary to add new functionality, otherwise I would expect data only mods to work with a rebuilt version of the game regardless? With that in mind, couldn't this version of the engine include its own implementations of whatever engine extensions the community had developed?

OmniBlade commented 1 month ago

So I tried compiling on linux for the heck of it and it compiles correctly it seems. With data from retail I can get it to show the copyright screen or even the language select with the PAL options built in. However it segfaults in radMoviePlayer::Load trying to play a video? Could be it doesn't like the version of ffmpeg on Ubuntu I guess?

OmniBlade commented 1 month ago

After reading the issue that "corrupt" videos designed to make the original skip them cause crashes in the video player I replaced them in my data and managed to get to loading the first mission. segfaults in CGuiScreenPauseSettings::CGuiScreenPauseSettings.

OmniBlade commented 1 month ago

Also, it seems debug builds don't work for me, they trigger asserts, have you experienced that @ZenoArrows

ZenoArrows commented 1 week ago

@OmniBlade You need to use the art assets from either the Switch or Vita releases, due to changes to support consoles the game is no longer compatible with the UI assets from the PC release.

OmniBlade commented 1 week ago

Yeah, that has got me in game now. I managed to complete first mission and got a segfault during the second. Will test further when I have more time.