vita-nuova / bounties

Repository to start bounties for new Vita projects. (Discord Server: https://discord.gg/PyCaBx9 )
115 stars 3 forks source link

[Android Port] - Adobe Flash Player [$404] #90

Open EliCrystal2001 opened 2 years ago

EliCrystal2001 commented 2 years ago

Seriously. way back in android 4.x there was a build of Adobe Flash 11. which has since been removed from the play store: the APK can be found here: https://www.apkmirror.com/apk/adobe/adobe-flash-player-11-1/adobe-flash-player-11-1-11-1-115-81-release/adobe-flash-player-11-1-11-1-115-81-android-apk-download/

unpacking this contains a armeabi-v7 libflashplayer.so and is essentially a NPAPI build of the flash player but for android and a simple implementation for embedding flash NPAPI exists here: https://www.github.com/idaunis/simple-linux-flash-embed (though, bonus points if you can integrate it into the browser somehow ha ha)

so shouldn't it shouldn't be possible to get the libflashplayer.so to load on the PSVita with this ? similar has already been done for iOS: https://github.com/comex/frash

EDIT 2/19/2023) obviously there should also be some way to control the game; maybe some way to map keyboard to controller buttons- though flash actually supports controllers natively .. but im not sure exactly how many games actually make use of this;

another option; could be to use the PPAPI version included in older versions of Raspbian OS; for the chromium browser; that would allow you to use some newer versions ...

So i'm starting this bounty at 100$ https://app.bountysource.com/issues/107877740-android-port-adobe-flash-player-11 (i dont know how to do the integration. sorry >->)

--- There is a **[$404 open bounty](https://app.bountysource.com/issues/107877740-android-port-adobe-flash-player?utm_campaign=plugin&utm_content=tracker%2F144821204&utm_medium=issues&utm_source=github)** on this issue. Add to the bounty at [Bountysource](https://app.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F144821204&utm_medium=issues&utm_source=github).
BlackSheepBoy69 commented 2 years ago

If my Droidfish port bounty expires, I will add it to this bounty, or if it's solved before then, I'll figure something out. Vita can run windows 95. Through multiple workarounds (kernex), it is possible to get a new enough version of "Opera" web browser working that can use Flash Player 10. You may say that's too old of a version, but a lot of games I've tested do work on Flash Player 10. Unfortunately windows 95 has 2 issues: it takes 2 minutes to boot up and it requires a windows 95 installation disc data. Anyway, since because how well Yoyoplayer worked out where the community came up with keybinds to go from keyboard to vita controls, I'm sure something similar could be worked out here.

EliCrystal2001 commented 2 years ago

If my Droidfish port bounty expires, I will add it to this bounty, or if it's solved before then, I'll figure something out. Vita can run windows 95. Through multiple workarounds (kernex), it is possible to get a new enough version of "Opera" web browser working that can use Flash Player 10. You may say that's too old of a version, but a lot of games I've tested do work on Flash Player 10. Unfortunately windows 95 has 2 issues: it takes 2 minutes to boot up and it requires a windows 95 installation disc data. Anyway, since because how well Yoyoplayer worked out where the community came up with keybinds to go from keyboard to vita controls, I'm sure something similar could be worked out here.

my main concern is how slow that would be . . .

BlackSheepBoy69 commented 2 years ago

If I remember right, windows 95 on vita gets 50mb of ram so it would be pretty laggy if it runs flash. I think you would need around 500mb of ram to use flash player effectively, which happens to be how much vita has. If we get games like Age of War, Mirage War, Don't Touch My Gems, Stick RPG, Papa's _eria, and countless tower defense flash games on the Vita through a proper flash app that uses all the vita's resources, that will be insane. As I said I will contribute $$$ when my bounty is up (it auto-ends after 3 months and I probably wasn't going to renew since no one is interested and I'm porting it myself w/ a few people I know giving me some helps)

EliCrystal2001 commented 2 years ago

I agree, it should be like a dedicated "flash player" app to run .SWF files.

similar to Flash Projector on PC.

BlackSheepBoy69 commented 2 years ago

It's been about 3 months and I'm pretty sure I set the bounty to be cancellable after 3 months, but I hit "log in with github" and it takes me to the "sign up" area instead of "sign in". Very suspicious.... I'll look into it this evening or if someone does beat the bounty I'll do my best to get them some $$$ maybe not through bountysource.

BlackSheepBoy69 commented 2 years ago

Okay I got bountysource working but I have no idea how to redirect the bounty from the chess thing which I'm working on that myself + with small team. Rinnegatamante please update bounty amount again.

Rinnegatamante commented 2 years ago

The amount on GitHub showing is updated automatically by BountySource after some time the bounty is edited (either with retired money or new submissions).

BlackSheepBoy69 commented 1 year ago

(This comment is not directed at anyone, just I'm posting this here to show the hype) https://www.reddit.com/r/vitahacks/comments/xo89o5/adobe_flash_player_11_android_port_for_ps_vita/

Dorr8 commented 1 year ago

Flash player on Vita would kick ass. There are so many good flash games out there, like burrito bison, Bloons TD, Sushi Cat, etc. Just memories all the way.

mswlandi commented 1 year ago

another possibility is this open source flash player implementation: https://github.com/lightspark/lightspark although it has many dependencies, so it would still be a pain in the ass to port

BlackSheepBoy69 commented 1 year ago

@mswlandi I should have mentioned, I already saw Lightspark. As far as I know, Lightspark is more or less equivalent to Flash Player 5 since it can only run Flashes that use ActionScript (old) flash programming. If Adobe Flash doesn't work, Lightspark might be the second best bet unless we can get the PSP version to use all of the Vita's processing power (especially RAM) somehow.

There is another open source Flash Player called Ruffle that embeds into the web browser but it's exactly the same way. If you'd like an idea of how the compatability is, go to Dagobah, their whole site runs on Ruffle. EX: you can play Flash games without ever installing anything.

BlackSheepBoy69 commented 1 year ago

Update: Dagobah's Ruffle installation is messed up, I'd instead recommend archive.org or flasharch.com or crazygames.com or newgrounds.com. If you know a good flash game, you can usually find it by Google-ing "play ((name of game)) online ruffle"

I tested Bloons, Bloons TD 1, Bloons TD 2, Impossible Quiz, Mario Sunshine Flash, Raft Wars, Bash The Computer, Dad'N'Me, The World's Hardest Game 2, Madness: Project Nexus, Scale of the Universe (laggy), Toss The Turtle. Fancy Pants Adventures, Chaos Faction 2. Learn to Fly.

Some games did not work such as Bloons TD 3/4/5, Learn to Fly 2, Epic Battle Fantasy 4, and Road of the Dead. Corruption of Champions uses ActionScript 3 which is not fully supported yet, mostly ActionScript 2.

Ruffle is more or less equivalent to LightSpark so if someone ported it I'd be willing to pay out the bounty. If this would be acceptable to @EliCrystal2001, we should probably change the name. Otherwise I'll start a new bounty. This won't be like Yoyoloader because a lot of Yoyoloader games run on smartphone. This is a PC kind of system so people testing it might need a keyboard connected to their Vita to even be able to test 99% of games during the porting process - at least until if they can figure out keyboard remaps as in Yoyoloader

mswlandi commented 1 year ago

@BlackSheepBoy69 didn't know about that difference regarding Lightspark.

if you're talking about https://github.com/ruffle-rs/ruffle, it's written in Rust. that means you'll either have to use something like https://github.com/vita-rust - I don't know how flexible it is and doesn't seem to be maintained for 4 years even if you manage to compile rust to vita, there are some dependencies that are not available even in normal C, like gtk, xinput and even a java runtime (?) so someone would have to port basically the entire thing

BlackSheepBoy69 commented 1 year ago

Vita doesn't have Java even though many people want it in order to use it for ports. If Vita had Java then my StockFishVita bounty could be solved immediately, but it's an extremly complex language that people HATE coding in so no one is interested.

Does Lightspark need Java? I feel like we're gonna get nowhere with Ruffle because it's meant to be embedded into websites, while Lightspark was more meant as a standalone app as far as I know

EliCrystal2001 commented 1 year ago

Vita doesn't have Java even though many people want it in order to use it for ports. If Vita had Java then my StockFishVita bounty could be solved immediately, but it's an extremly complex language that people HATE coding in so no one is interested.

Does Lightspark need Java? I feel like we're gonna get nowhere with Ruffle because it's meant to be embedded into websites, while Lightspark was more meant as a standalone app as far as I know

IIRC both lightspark and ruffle have standalone desktop versions, similar to the Flash Projector. as well as a browser extension (lightspark actually implements the NPAPI & PPAPI plugins too i think?) im pretty sure lightspark is made in C/C++

anyway, lightspark or ruffle are fine, like any way to run flash at all thats like, above version 5 although keep in mind; neither Ruffle or Lightspark really support ActionScript 3, so your limited to games designed for Flash Player 8 or lower

AS3 was first added to Flash Player 9; so Flash Player 11 is still better; also its is the version shipped with Adobe Flash Professional CS6. so like most apps/games that were made will probably work in it;

OH and; another thought i had is you could use the PPAPI version of flash shipped with old versions of Raspbian (Raspberry Pi OS) that would give you a newer version, though from what i understand PPAPI is significantly harder to implement than NPAPI

BlackSheepBoy69 commented 1 year ago

Oh yeah. So basicly there's a lot of different ways to implement it. Like you said with "...like any way to run flash at all thats like, above version 5..." if they do that probably I'd say they could collect the bounty and I'll make a new bounty for if it seems like there's a better way to implement it. Just as long as it's playable will be good... what we have now: flash in emulated Windows XP/flash in PSP browser both run like poorly

BlackSheepBoy69 commented 1 year ago

@EliCrystal2001 If Lightspark or PPAPI-Flash would be an acceptable alternative to Flash Player 11, you may want to update the title and possible put a little edit in your first comment. People are still looking at this bounty considering the traffic that the reddit post is still getting so just saying Flash Player 11 only might scare them away

EliCrystal2001 commented 1 year ago

@EliCrystal2001 If Lightspark or PPAPI-Flash would be an acceptable alternative to Flash Player 11, you may want to update the title and possible put a little edit in your first comment. People are still looking at this bounty considering the traffic that the reddit post is still getting so just saying Flash Player 11 only might scare them away

people other than me have already contributed money to it; so if i change it now those people who contributed to it, - may not approve of the changes to it; for example maybe someone who gave money explicitly wants an 'android port' style thing of the flash player, and not with something like Ruffle or Lightspark.

sure i may not care how exactly its done; but someone else who gave money to the bounty might; -

so im unsure if changing the title or description to include these; is the best option for this; though i will include information about PPAPI though.

BlackSheepBoy69 commented 1 year ago

I was the only other person who added money so far so it's fine. I'd put something like "Adobe Flash Player or LightSpark" or "Adobe Flash Emulator" or similar if it was the case you wanted to change it. How you changed it just now - "Adobe Flash Player" - is fine also. Hopefully someone takes the bounty, it's been a little while.

donteparis commented 1 year ago

Really hope someone with the skill can get it done!

BlackSheepBoy69 commented 1 year ago

Same, I never figured out VitaSDK or I'd totally be interested to try and get it working myself so I just put a bounty

donteparis commented 1 year ago

Maybe specify you're wanting it in App form and not in a browser or something haha If it wasn't already specified

BlackSheepBoy69 commented 1 year ago

At this point we'd probably take it either way if it can mostly use the Vita's full power. I know for sure a bubble builder could be made to launch something in a browser in a similar way to how Adrenaline Manager works.

donteparis commented 1 year ago

I wish someone at least could come out of the woodwork and say "I genuinely can do this bounty, I just want more" I will gladly contribute more if that's what it takes!

BlackSheepBoy69 commented 1 year ago

Honestly same ^^

Anti-Apple4life commented 5 months ago

It does look like vita-rust is maintained now, so Ruffle might be a possibility

donteparis commented 5 months ago

!!!!!! Someone gotta do it

Donte

On Sun, Apr 14, 2024 at 02:25 Anti-Apple4life @.***> wrote:

It does look like vita-rust is maintained now, so Ruffle might be a possibility

— Reply to this email directly, view it on GitHub https://github.com/vita-nuova/bounties/issues/90#issuecomment-2053980903, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANK6WUELDU3AJOFMQXOHQ7DY5JDQVAVCNFSM5UXRHJUKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBVGM4TQMBZGAZQ . You are receiving this because you commented.Message ID: @.***>

BlackSheepBoy69 commented 5 months ago

The more time passes with Flash Player deprecated on most modern systems, the more I want it on Vita. I would maybe add more if there was some progress. Would be extremely cool to have flash games on RetroFlow/HexFlow Custom

donteparis commented 5 months ago

Agreed. I'd happily contribute more if someone was capable of doing it haha.

On Mon, Apr 15, 2024 at 8:48 PM BlackSheepBoy69 @.***> wrote:

The more time passes with Flash Player deprecated on most modern systems, the more I want it on Vita. I would maybe add more if there was some progress. Would be extremely cool to have flash games on RetroFlow/HexFlow Custom

— Reply to this email directly, view it on GitHub https://github.com/vita-nuova/bounties/issues/90#issuecomment-2058177323, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANK6WUBH5MPXFS5NHHKXAZLY5SNRHAVCNFSM5UXRHJUKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBVHAYTONZTGIZQ . You are receiving this because you commented.Message ID: @.***>

-- Donte Paris Phone : 818-793-9432