r/AndroidNativePorts • πŸ’Ž Legendary Member • 4d ago

πŸ’¬ [DISCUSSION] Why TRUE TOUCHSCREEN is hard for unofficial Android port

Post image

Have y'all ever noticed that most of the port you play have touchscreen controls that are basically just a virtual controller?

Instead of mobile touch UI?

there's actually a reason for that

I'll try explain simply why real touchscreen support is really hard in unofficial ports and why most end up using some sort of controller overlay like emulation

To put it simply. it's really hard because the port doesn't have a clean "way/path" to pull off true touchscreen

Let's say in a mobile game or an official port like GTA San Andreas, you walk up to a door or a car

The button to enter won't show up unless you're near it right?

That means the game detects you're near the car and only then gives you the button for it

In an unofficial port, doing that is REALLY HARD or basically impossible.

Most unofficial ports don't have the game original source code, they're basically highly optimized native "wrapper" or translation layers working from the outside of a closed game file

Without source code, the porter can't just open the script and tell the game "show a touch button when the player stands near a door"

Trying to force that by constantly scanning memory every frame will just crushed the performance or crash the game if you don't do it right

+ console and PC games are only built to listen for controller or keyboard inputs and plenty of them don't even have mouse/pointer support for menu. Putting a virtual controller overlay on the screen is way safer and lighter because it just translates screen taps into fake controller input

The game still thinks a normal gamepad is plugged in, so the dev doesn't have to rewrite the entire HUD from scratch

There's also no universal tool where a porter can click one button and get native touch controls across different game engines (maybe idk)

At the end of the day, official port are made by paid studios hired specifically to rebuild the UI for phones, while unofficial port are made for free by solo dev in their spare time and most of them play on handhelds like AYN or with a physical controller anyway

So if an unofficial port only gives you an onscreen controller overlay (or require a gamepad)

it's not because the dev is lazy. Building true mobile touch controls without source code is a whole separate project on its own

492 Upvotes

80 comments sorted by

165

u/Sad_Beginning_3128 4d ago • Bravo

Don't post a long post like this bro, this sub can't read.

They'll read 2 sentences and think you're hating on port devs even though you're defending them here.

45

u/Emergency_Writer7174 πŸ’Ž Legendary Member 4d ago

Well, I'm doing this for the people who care enough to read lmao

I actually did notice people downvoted this post down to 1 when it was at 10 earlier lmao

but I don't really care about karma or whatever

I just care about the ones who actually read and get something out of my post.

22

u/NazatrixLol 4d ago • Bravo

Don't worry I read it all

7

u/Emergency_Writer7174 πŸ’Ž Legendary Member 4d ago

Thanks mate

9

u/QF_Dan 4d ago • Bravo

I also read it too

7

u/Emergency_Writer7174 πŸ’Ž Legendary Member 3d ago

W

0

u/marcopolo4529 3d ago • Heartwarming

I read it too and now I understand something new about unofficial ports, can I get a w speed too pls

2

u/Emergency_Writer7174 πŸ’Ž Legendary Member 3d ago

Sure

1

u/Civil_Whereas1918 1d ago

I read it too can i get a cookie :)

9

u/QuemaraCuh 4d ago

Claude, summarize this post, no mistakes

41

u/Linked713 4d ago

Unrelated but I like to think these buttons move away whenever Spiderman overlap them

14

u/Emergency_Writer7174 πŸ’Ž Legendary Member 4d ago

THIS GAME IS REAL?

35

u/Linked713 4d ago

Of course. It's Spider-Man : Miles boutons

17

u/Emergency_Writer7174 πŸ’Ž Legendary Member 4d ago

12

u/JureIsStupid123_2 4d ago

I mean I vibecoded a NFSU2 mobile mod for specifficaly this - it hid any buttons that had no use in a given situation.

For example, if the player was playing using the automatic transmission, the port's gear shift buttons would dissapear until the player either entered a drag race or enabled manual transmission.

The NOS button was also hidden unless the player actually had the upgrade on their car.

Every button was hidden during the game's boot up and loading screens as well, etc.

7

u/Emergency_Writer7174 πŸ’Ž Legendary Member 3d ago

That's why I say it's hard but it's still possible (sometimes)

1

u/Ancient_Lemon_Party 3d ago

why is everyone in port communities so obsessed with need for speed. genuinely asking.

1

u/JureIsStupid123_2 3d ago

It's a cool game from my childhood, so I wanted to check it out again

1

u/Tidemkeit 15h ago

I'd assume race games are pretty convenient on the go. Get on a train, play a 3 min race, get out

6

u/fagarester 4d ago

https://youtu.be/f-XmtODHOyE?is=uK5n0cgKuvpruQ9C I'm sharing my developments in on-screen control.Β 

6

u/Emergency_Writer7174 πŸ’Ž Legendary Member 3d ago

FACTORIO?

7

u/fagarester 3d ago

Yes, this is my port.But I wanted to show the controls I made, we need an advanced editor for everyone

3

u/dragonknightrohan 3d ago

You are the goat for doing this! Thank you!

6

u/AntonSonet88 3d ago

The only thing I care is that theres food on the table. I'm gonna eat it regardless if it just runs 25-30 fps.

1

u/Emergency_Writer7174 πŸ’Ž Legendary Member 3d ago

How is this relevant to my post

2

u/AntonSonet88 3d ago

It is about just as relevant as trying to explain why buttons don't translate

1

u/Emergency_Writer7174 πŸ’Ž Legendary Member 3d ago

Fair I guess

11

u/Farah_SweetDreams annoing user? (u can report) 4d ago

I'll water it down for you since im kinda one of those who is too bored to read very long stuff:

NO source code = no screen controls

No screen controls = weird Buttons that controls the Game

12

u/Emergency_Writer7174 πŸ’Ž Legendary Member 4d ago

VERY WRONG TLDR BRO 😭

NO source code = REALLY HARD. EVEN WITH source code = STILL HARD. dev = make it virtual controller because it's easier and doesn't cause bugs.

11

u/QF_Dan 4d ago

It doesn't help that most of the ports are vibecoded and that's why making touch controls with the buttons wouldn't always work as intended

6

u/Emergency_Writer7174 πŸ’Ž Legendary Member 3d ago

Even if it's not vibecoded is still hard for solo dev to do it alone

2

u/Wade_2545 3d ago

Even now I'm still amazed and Gamehub controller layout, because the community try to make the UI looks like an actual game port

1

u/Emergency_Writer7174 πŸ’Ž Legendary Member 3d ago

I think PC game is easier to make the control feels like true mobile game because PC use mouse

Sts and balatro unofficial port control feels exactly like official mobile version

1

u/OtakuBhai07 3d ago

I think I saw this typa post beforeπŸ€”

1

u/Emergency_Writer7174 πŸ’Ž Legendary Member 3d ago

The image?

1

u/OtakuBhai07 3d ago

Yeah🫠

1

u/Particular_Pirate797 3d ago

I don't really mind even if they didn't change the ui but i jst want them to change the icon a little bit

1

u/Emergency_Writer7174 πŸ’Ž Legendary Member 3d ago

Me too, though it feels weird sometimes when they force it

like when OK and attack share the same button. What's it even supposed to show on the custom UI then?

1

u/Particular_Pirate797 3d ago

They should put the original icon name in the corner of the virtual button without making it wierd and difficult to understand like that custom button from the GOW collection port

1

u/Billylily01 3d ago

Was this vibe coded?

1

u/Emergency_Writer7174 πŸ’Ž Legendary Member 3d ago

Spiderman?

1

u/Casulknight_v2 3d ago

I gotta say if your are planning to play any of these ports and don't have a controller, wtf are you doing ? You're like adding 50% more pain and removing 75% of the fun. Requiring developpers to add touch controls support when a controller costs 10 bucks and makes both your lives easier.

1

u/Emergency_Writer7174 πŸ’Ž Legendary Member 3d ago

I get your point but why do you think everyone can afford ten bucks? Why American always this ignorant bro istg

1

u/Casulknight_v2 3d ago

I'm not american big guy what a sh*t assumption. I'm saying 10 bucks or the equivalent of 1 or 2 dollars in your country can get you a good controller, don't tell me it's expensive.

1

u/Emergency_Writer7174 πŸ’Ž Legendary Member 3d ago

My bad for assuming you're American then, you just doubled down on being out of touch anyway πŸ’€

First off $10 doesn't magically turn into $1 or $2 in other countries electronics still follow global pricing (did you fail economics class?), so $10 is actually harder to afford on lower wages country. Second 1 or 2 dollars worth of local currency ain't getting anything close to a "good controller"

3

u/Whole_Wafer7251 3d ago

I love these Kinda posts always makes me learn a few things here and there, don't ever stop making theseπŸ”₯

1

u/Admirable_Ad3863 4d ago

Isn't the whole selling point of a "recomp" is to get that source code from reverse engeneering the game? Its like, if code is right there, then maybe its not simply laziness is an issue but a lack of experience in porting. We already have seen some people here that started porting games without any coding knowledge at all, and all because they just care about their title they like the most!

For example, RanggaCasper with NFS games, he included touch controls into the games interface and such, but still game doesn't have proper car observation in menu or even in gameplay, and mods still limited in texture and cars level. And yet he did already big work optimizing the game and making it playable on anything!
So time heals, only stays a surprise when a certain developer decides its enough and quits working on theirs stuff

10

u/Emergency_Writer7174 πŸ’Ž Legendary Member 4d ago

No, you're mixing up recomp with decomp

A recomp doesn't give you readable source code

it just translates the game's "instructions" so it can run natively on another system. You still don't get clean access to the game UI you just get a way to run the game

And I'm pretty sure the touch UI in RanggaCasper NFS ports is still just reskinned controller/keyboard shortcuts. He definitely put way more effort into custom icons and optimization than most devs, which is awesome, but it's still not the true native touchscreen if you know what I mean

1

u/Admirable_Ad3863 4d ago

Well, maybe it is, I'm not too deep into it, just proud people making stuff possible to run on anything

1

u/OverDeparture8799 3d ago

Yep, it still reads gamepad input for gameplay. Rebinding the controls would just make the icons and actual input not match. Black port is more true port

2

u/StoreTraditional77 3d ago

Thats DECOMP

1

u/Admirable_Ad3863 3d ago

Yeah, I got corrected alredy

1

u/Future_IssueLite 3d ago

Yeah the touch control is a lot😭 I mean even Rise official port controls is just not it, though I couldn't even play it since my phone is bad. But honestly, atleast I could play

1

u/DaLoverBoii 3d ago

The guy behind Black & MW android ports Rangga did the best integration of controls.

1

u/Necessary-Worker930 3d ago

Yes, needless to say, those controls can be customized to some extent to make them more comfortable, as they've done with the BOTW port.

Native touchscreen controls, like those in an Android game, are another thing entirely.

1

u/Naxren 3d ago

Because they don't mean to play with touch screen in the first place unlike mobile game who adapted to it like Gameloft game

1

u/PrestigiousBrush8158 2d ago

Why not use a.i? People doing crazy sht with a.i lately. Cracking denovo games, porting pc games to mobile constantly, ps games to pc etc etc with reverse engineering. Idk how they do that but you guys can do it too. Someday it'll be possible for a port to be so easy to handle control like any other mobile game touch support. Someone made a terraria tml launcher and it's very much stable in mobile now. It does support both touch and button such as the Mobile version of terraria. The calamity mod works and other mods work smoothly as well and it constantly get 55-60 fps. This thing was impossible ages ago because of complex coading which no one wanted to do but with a.i it's possible now and it's truly revolutionary! Ik for a fact that you guys will fix this problems in the future no matter how complex or hard it is

1

u/I-UseLinux 1d ago

Im still in shock the the NFS: MW 2005 and GT4 port have both the options of interacting. Crazy shit!

1

u/hleyyyyi 9h ago

Tbh im more used to the console based button

-1

u/siriElectricboogaloo 4d ago

O wow, it's almost like this is just glorified emulation and this glaze to lazy vibe coders is unjustified.

Yall can't even add a decent touch screen yet boast about those "ports" (ports where you don't have the code because daddy ai did the hard work)

3

u/Emergency_Writer7174 πŸ’Ž Legendary Member 4d ago

Wow, you clearly don't know what you're talking about! Congratulations!!!

I'm not gonna debate what a "native" port is because it's exhausting

But I'm kinda triggered by your dumb take on "port"

Even ports made entirely by humans without AI like the Voices61 ports, still use that same controller style layout instead of true touchscreen BECAUSE ITS EASIER AND MAKING TRUE TOUCHSCREEN IS HARD

Are you gonna talk shit and call that AI too?

Making unofficial ports is hard. If you don't know anything about it, stop acting smart dumbas πŸ€“

3

u/Emergency_Writer7174 πŸ’Ž Legendary Member 4d ago

Oh yeah, I just remembered the official Final Fantasy VII port still uses ABXY too. Are you still gonna call that "glorified emulation" and discredit the devs who worked on it? There are actually bunch of of non ai port (official/unofficial) that just reskin ABXY buttons and not "true touchscreen"

But I won't bring those up or you might get mad, you're just biased and have to bring AI into everything

If you want to talk sht about AI, at least bring up good points like how it steals other people work as training data and not that "AI can't add decent touch controls to a port" even tho humans often can't either. It's just embarrassing to readπŸ₯Ή

-2

u/Windroid-emu 4d ago

Toda hora a mesma postagemΒ 

-5

u/cimocw 4d ago

I'm building a port and I'm not including on screen controls AT ALL

1

u/Emergency_Writer7174 πŸ’Ž Legendary Member 4d ago

Idk why, but I deadass read this reply in lowtiergod voice 😭

-5

u/alanna1990 4d ago

imagine devs trying to contextualize the touch controls depending on what the game needs, it would be a massive pain in the ass, good thing controllers exist, and honestly, anyone playing ports and with a decent device should already have a controller, I can't understand people thinking they can play stuff with a touch screen

3

u/Emergency_Writer7174 πŸ’Ž Legendary Member 3d ago

God forbid people have a preference and limited money to spend, but I get what you're saying

-6

u/the_axemurmurer 4d ago

Touch controls = ew anyway, they hurt my bones. Using a controller or an android gaming handheld is so much better.

2

u/OrneryLengthiness641 3d ago

Look at this rich mf thinking we all have handhelds with Snapdragon😭

0

u/the_axemurmurer 3d ago edited 3d ago

A decent controller is like $30 if you don't already have one you can use, so wtf are you even talking about? Also, if you dont have an android device that can play games then I honestly have no idea what are you even doing here.

Can't believe I got downvoted for saying controllers are better than touch controls. It's true and you're all wrong. πŸ’…

1

u/OrneryLengthiness641 3d ago

You think $30 is cheap in the Philippines?

-1

u/the_axemurmurer 3d ago

Even if it costs double the buying power for you (seems to be the case from a quick glance), that's still less than what I paid for a DualSense, relatively speaking.

Also, not everyone lives in the Philippines and it's not everyone else's fault that your country doesn't make or import controllers at reasonable prices for you. A $30 controller is still very doable compared to a smartphone that can play games wherever you live, so again idk what you're even talking about.

1

u/OrneryLengthiness641 3d ago

I'm a kid you think I can afford it? I don't even have a job

1

u/TowelWitty3535 1d ago

Only if there was a way to hook into the game and highjack execution. Maybe who knows, in 5-10 years we would have tools for this