tangobattle / tango

Play Mega Man Battle Network online with rollback netcode!
https://tango.n1gp.net
GNU Affero General Public License v3.0
91 stars 15 forks source link

build for linux ARM to play on retro handhelds #182

Open slrgt opened 3 months ago

slrgt commented 3 months ago

Hi I love tango, would it be possible to create a build for ARM so linux devices like the trimui smart pro and rg35xxSP can play megaman battlenetwork online?

ubergeek77 commented 3 months ago

I tried to build this for you on ARM, but unfortunately I get this compile error:

error[E0425]: cannot find function `is_target_installer` in this scope
   --> tango/src/updater.rs:350:66
    |
350 | ...                   info.assets.into_iter().find(|asset| is_target_installer(&asset.name))
    |                                                            ^^^^^^^^^^^^^^^^^^^ not found in this scope

I know next to nothing about Rust, so I can't go any further. I also do not have any graphical ARM machines, so I wouldn't be able to test it for you.

Finally, that device has a very low resolution, and Tango is a multi window application that pretty much requires you to have a mouse. I'm not sure how you would navigate Tango on such a small screen.

Very sorry I couldn't build this for you! Hopefully someone else can come along and help.

slrgt commented 3 months ago

Ah darn, hopefully someone can help. For using a mouse i can connect my phone using bluetooth and an app that controls the mouse

On Thu, Jul 4, 2024 at 5:41 PM, ubergeek77 @.***(mailto:On Thu, Jul 4, 2024 at 5:41 PM, ubergeek77 < wrote:

I tried to build this for you on ARM, but unfortunately I get this compile error:

error

[

E0425

]

:

cannot find function is_target_installer

in

this scope --> tango/src/updater

.

rs

:

350

:

66

|

350

| ..

.

info

.

assets

.

into_iter

(

)

.

find

(

|asset|

is_target_installer

(

&

asset

.

name

)

)

| ^^^^^^^^^^^^^^^^^^^ not found

in

this scope

I know next to nothing about Rust, so I can't go any further. I also do not have any graphical ARM machines, so I wouldn't be able to test it for you.

Finally, that device has a very low resolution, and Tango is a multi window application that pretty much requires you to have a mouse. I'm not sure how you would navigate Tango on such a small screen.

Very sorry I couldn't build this for you! Hopefully someone else can come along and help.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

HikariCalyx commented 1 month ago

I managed to build ARM64 version which worked on a homebrew-enabled Nintendo Switch. Never tried to build ARMHF though. tangoNX