ZenoArrows / The-Simpsons-Hit-and-Run

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

Add an Android port #31

Open dezmen3 opened 7 months ago

dezmen3 commented 7 months ago

Tried on Yuzu, EggNs and Skyline, it shows splash screen and then just crashes to emulator menu. Is it working on android emulator or some special installation steps needs to be made?

ZenoArrows commented 7 months ago

I assume your goal is to run the game on an Android phone? I should probably just release an Android port at some point if people really want something like that.

dezmen3 commented 7 months ago

I assume your goal is to run the game on an Android phone? I should probably just release an Android port at some point if people really want something like that.

If you can, that would be more than awesome! In the era of android handhelds we need this for sure

DTK21 commented 7 months ago

It definitely works on Yuzu Android, as long as you set you're own NSP forwarder up, use a clean install of the game, and put all files needed inside the Yuzu Android Emu's SDMC\Switch Folder. The forwarder NSP should be where you usually put other switch games

dezmen3 commented 7 months ago

It definitely works on Yuzu Android, as long as you set you're own NSP forwarder up, use a clean install of the game, and put all files needed inside the Yuzu Android Emu's SDMC\Switch Folder. The forwarder NSP should be where you usually put other switch games

That's how I did basically.

Unpacked Switch folder to yuzu app / files / sdmc / And placed The Simpsons_ Hit & Run (port) [018fcc923d8d0000].nsp where my all nsp located. Crash on start

ivan89el commented 6 months ago

Emulators are crutches. I would like a native port (I have a 4:3 640x480 device)

DTK21 commented 6 months ago

It definitely works on Yuzu Android, as long as you set you're own NSP forwarder up, use a clean install of the game, and put all files needed inside the Yuzu Android Emu's SDMC\Switch Folder. The forwarder NSP should be where you usually put other switch games

That's how I did basically.

Unpacked Switch folder to yuzu app / files / sdmc / And placed The Simpsons_ Hit & Run (port) [018fcc923d8d0000].nsp where my all nsp located. Crash on start

Did you make the forwarder yourself, with the correct .nro name and folder pathing and name? If so then what did you put down for your nro forwarder homebrew path?

dezmen3 commented 6 months ago

It definitely works on Yuzu Android, as long as you set you're own NSP forwarder up, use a clean install of the game, and put all files needed inside the Yuzu Android Emu's SDMC\Switch Folder. The forwarder NSP should be where you usually put other switch games

That's how I did basically. Unpacked Switch folder to yuzu app / files / sdmc / And placed The Simpsons_ Hit & Run (port) [018fcc923d8d0000].nsp where my all nsp located. Crash on start

Did you make the forwarder yourself, with the correct .nro name and folder pathing and name? If so then what did you put down for your nro forwarder homebrew path?

Have you launched Hit&Run on yuzu android?

DTK21 commented 6 months ago

Yes, the only time I got it to work was when I made the NSP forwarder myself using a tool I used the one here https://nsp-forwarder.n8.io/ I'd advice you to use the advanced mode just to make sure to have a random title ID, accurate version numbering, and the other options

dezmen3 commented 6 months ago

Yes, the only time I got it to work was when I made the NSP forwarder myself using a tool I used the one here https://nsp-forwarder.n8.io/ I'd advice you to use the advanced mode just to make sure to have a random title ID, accurate version numbering, and the other options

That sounds over-complicated for end-user

ZenoArrows commented 6 months ago

I've pushed the source code now, if anyone is interested in helping out with an Android port they're welcome to contribute.

dezmen3 commented 6 months ago

I've pushed the source code now, if anyone is interested in helping out with an Android port they're welcome to contribute.

the GOAT! :)

DTK21 commented 6 months ago

Yes, the only time I got it to work was when I made the NSP forwarder myself using a tool I used the one here https://nsp-forwarder.n8.io/ I'd advice you to use the advanced mode just to make sure to have a random title ID, accurate version numbering, and the other options

That sounds over-complicated for end-user

I can assure you it's as simple as dragging the .nro file into the tool, setting the correct folder name the files are in and bam you have your own NSP forwarder instead of relying on someone else's that may have a different folder name. Also me suggesting the use of Advanced mode in the tool wasn't mandatory in any way, just a recommendation just to be clear

iscle commented 3 months ago

I've pushed the source code now, if anyone is interested in helping out with an Android port they're welcome to contribute.

I'm working on it! I had to fix some issues with SDL's android implementation and also fix the file loader in order to load from the assets folder, and now it's stuck in some audio-related thing. For now, ffmpeg has been skipped so videos won't play and it will probably not go ingame when it stops crashing.

ZenoArrows commented 3 months ago

@iscle Add me on discord if you need some help, I can probably offer some helpful knowledge about the codebase. My username is zenoselea.

iscle commented 3 months ago

@iscle Add me on discord if you need some help, I can probably offer some helpful knowledge about the codebase. My username is zenoselea.

Added! My username is iscle911 :)