#XMoto

192 messages · Page 1 of 1 (latest)

small drift
#

https://drive.google.com/file/d/1roV-7Hq_P0zaN5PD_CxTVBHf_1wHDlNv/view?usp=share_link

# Notes

## Menu system
The menu system is designed for 800x600 and larger screens. It will not look perfect on 640x480 screens. However, most menu functions are accessible and this does not affect the game itself, which runs well in 640x480.

## Levels
The port includes all 3,200 online levels that were available when it was built. This leads to a short delay on startup as the levels are added to the game's database.

# Controls
Press `Start + D-pad left` to enter the name `Portmaster` when creating a profile. Or, press `Start + D-pad down` to enter your name interactively:

| Button        | Action            |
| :-----------  | :---------------- |
| D-pad up/down | Choose character  |
| D-pad right   | Confirm character |
| D-pad left    | Delete character  |
| Start         | Confirm and exit  |
| Select        | Cancel text entry |

To navigate the menus, use the D-pad to select a button and `X` to confirm.  
Or, use the left analog stick to move the mouse cursor, `R1` to click and `R2` to slow the mouse.

In the game:

| Button       | Action                          |
| :----------- | :------------------------------ |
| D-pad        | Accelerate/brake/lean           |
| A            | Accelerate                      |
| B            | Brake                           |
| L1           | Flip bike                       |
| X            | Enter / confirm / restart level |
| Y            | Space / Reset to checkpoint     |
| Left analog  | Mouse                           |
| R1           | Mouse button                    |
| Start        | Pause                           |
| Select       | Escape / Go back                |
| L2           | Previous level                  |
| R2           | Next level                      |
sacred cloak
#

btw @small drift as a port engineer you'Re allowed to call the <@&1216123318122577972> = )

small drift
#

<@&1216123318122577972>

warm turtle
#

Oh, played Xmoto a lot on Ubuntu machines 10 years ago lol

#

Is it running in SDL2 or X11 through westonpack?

small drift
mighty shard
#

Cool, did you have to edit the source?

small drift
#

the only trick was to turn off some GL extensions which stopped it working, but that is a command line option (which i discovered by chance)

mighty shard
#

Gotta love when that happens😄

#

Ill check this out in a bit

#

Ill grab my r36 for ark

mighty shard
#

Perfect on R36s/ArkOS✅

#

I would maybe map the leftclick to something else but apart from that its great

mighty shard
#

Sure

#

or l1, thats doubled with the back button for esc

small drift
#

thanks for testing!

warm turtle
#

Regardless, I'll try it later in my device.

lofty coyote
#

480x320 may be a no go

small drift
# lofty coyote 480x320 may be a no go

i suspected that might be the case. the devs consider 800x600 the smallest possible. 640x480 is actually fine. and i was hoping it might work on smaller

#

thanks for testing

lofty coyote
#

actually after fuzzing through those screens

#

Not ideal though

small drift
#

it's weird that the game is fine on small screens and they didn't make the menus also work on them

lofty coyote
#

yup so selection is really hard on this resolution.... may exclude it

#

Otherwise running on AmberElec

cobalt minnow
#

@small drift do you just click quick start?

#

doesnt make a difference if you create a player name?

#

no way to type in a name and quick start still bring up ente rplayer name menu

#

how the heck yall start this?

small drift
cobalt minnow
#

nvm i just usd my BT keyboard

#

WOW

#

not sure if i should say yes or no?

#

THASS ALOTTA LEVELS!!!

#

lets see what happens 🙂

small drift
#

i know... i've only downloaded 20 at a time. good luck.......................

cobalt minnow
#

prolly be downloading for 5 hours

#

good thing i got a 1TB sd card in my device

small drift
#

if so, i can check hi-res off the testing list

woeful goblet
#

✅ x55 Rocknix

cobalt minnow
#

yeah

cobalt minnow
#

this is gonna take a very long time

#

is there a way to download them to the pc and then install to the port?

#

ill go ahead and download them all and if youd like, upload the port folder for you to re zip up for people so they have all the levels

cobalt minnow
#

k i downloaded all the levels

#

if you want the zip let me know

small drift
warm turtle
#

Levels are probably in a .xmoto hidden folder.

cobalt minnow
cobalt minnow
#

This just froze on me while playing, start+select did not exit the game. Timer in top left stopped counting and was forced to press reset. May I suggest changing gas to R1 and brake to L1. That way you can tidy up the mouse controls. Feels like sometimes you have to press start to click mouse left. Itd be better suited as A. You could I guess leave X & Y for Gas & Brake too.

small drift
small drift
cobalt minnow
#

It was at the beginning but I had played the level like 10 times already when it happened

warm turtle
#

Just tried it in my RG351p with ArkOS wummle. Worked fine, except for the Xmoto menus not designed to accomodate any resolutions smaller than 640x480.

#

But since I remember its UI, managed to make it work just fine. Was playing a few tutorial levels just now.

small drift
cobalt minnow
#

Damn okay

small drift
#

I have updated the .zip file -- see google drive link at the top of this thread. Changes:

  • Auto-enter profile name "Portmaster" so users don't have to mess with interactive input (unless they want to)
  • Added all 3,200 online levels
  • Improved control mapping
  • Disabled online ghost display by default because this led to long delays when starting levels. (It can be turned back on in options)

I think this is ready for PR but would be happy to have any additional tests / comments

#
Custom Firmwares:
[X] AmberELEC
[X] ArkOS
[X] ROCKNIX
[X] MuOS
[X] Knulli**
[] Crossmix**

Drivers: 
[X] Mali
[X] Panfrost

Resolutions: 
[!] 480x320**
[X] 640x480
[] 720x720**
[X] Higher resolutions**```
small drift
#

@cobalt minnow can you confirm that the downloaded levels work, and the start of level delay is gone in the new version?

cobalt minnow
#

Sure. I haven't dow loaded it yet. But I can do that for you, no problem, brotha. I'll report back soon.

#

Feels like everyone's either really busy, or the server just ain't as active as it used to be. Dunno if you feel it too.

winged sentinel
#

It comes in ebbs and flows.

small drift
#

I imagine people are just real-lifeing

undone brook
#

is it posible to play XMoto in a R36S handheld?

small drift
undone brook
#

i tried installing the game just like other ports and is not working.

this is the log.txt file

Setting dpad_mouse_step and deadzone_scale to 4
/roms/ports/Xmoto.sh: line 64: pm_platform_helper: command not found
/roms/ports/xmoto/xmoto: error while loading shared libraries: liblua5.3.so.0: cannot open shared object file: No such file or directory
/roms/ports/Xmoto.sh: line 70: pm_finish: command not found

small drift
undone brook
#

love u! i will check it this evening (in spain) and if so i will try and tell you again!

small drift
winged sentinel
#

👀

small drift
#

under some circumstances, that dir gets pulled in automatically. but not under these i guess

winged sentinel
#

Uhhhh

#

That’s the libgl thing tho?

small drift
#

(the website is 100% clear that i should include it explicity. I'm not sure why i thought not)

small drift
undone brook
#

i will try!

#

i will tell you when tried

undone brook
small drift
undone brook
#

👍

small drift
# undone brook 👍

I am looking at this now and it seems that your problem is that DISPLAY_WIDTH and DISPLAY_HEIGHT are set to 0. Can you clarify exactly what variant of ArkOS you are using? Also, can you try updating your portmaster installation?

mighty shard
#

fatal exception : SDL_CreateWindow: EGL not initialized

#

Is this emuelec or something

sacred cloak
#

We need pm version and akros version

#

How is the log uploader doing? 😄

undone brook
#

In portmaster options "Enable experimental ports" is OFF

undone brook
small drift
#

to Xmoto.sh, before the $GAMEDIR/$BINARY --noexts \ line

small drift
undone brook
#

done. i will reinstall and try

sacred cloak
undone brook
#

i try to do my best guys

#

...not working xD

sacred cloak
small drift
#

(I want to know if the 0x0 thing matters). But you do also need to update portmaster

undone brook
sacred cloak
#

not arkos

#

if you don't have an up to date portmaster you can't run ports

#

many won't work

small drift
#

harbourmaster is a year old, if i understand right

sacred cloak
#

yeah

#

no support until you updated lol

undone brook
undone brook
sacred cloak
#

have you ever run portmaster?

undone brook
sacred cloak
#

yeah

#

don't do that

#

or use the autoinstall folder

#

but you have to update pm

undone brook
undone brook
sacred cloak
undone brook
#

i always copy-paste and usually works

sacred cloak
#

drop the .zip files there and run portmaster to install them

undone brook
#

ok!

sacred cloak
#

but first pm update

undone brook
#

i will put this on date after dinner, promise

undone brook
#

updating PM from the handheld will change any config?

undone brook
#

updating!

undone brook
undone brook
small drift
undone brook
small drift
undone brook
#

seems being running!!! loading levels!

small drift
#

i totally don't understand how your database file got broken, but perhaps we shouldn't worry

undone brook
small drift
#

I would like to be sure that it works without those lines

undone brook
#

i replaced xmoto.sh as you said... did not edit de file

small drift
undone brook
#

sure

#

it works!

small drift
#

Thanks for checking! Enjoy crashing your motorbike!

undone brook
#

all the problem was the PM version?

small drift
undone brook
cobalt minnow
#

@small drift isn't launching with new script for me

small drift
cobalt minnow
#

Working now

#

Pressing X instantly resets level. Very nice

small drift
cobalt minnow
#

Ye

#

It's a huge folder. Like over 400mb

#

Better be 3200 lvls lol

small drift
#

and the delay is gone, right?

cobalt minnow
#

Yes sir

sacred cloak
#

@small drift

#

nope

#

tar the data stuff and extract on first run 😄

#

last time i did this

ARCHIVE_FILE="data.tar.gz"

# Check if the archive file exists
if [[ -f "$ARCHIVE_FILE" ]]; then
   # Remove the old data directory if it exists
   if [[ -d 'data/' ]]; then
     pm_message "Removing old game data"
     $ESUDO rm -fR 'data/'
   fi
   pm_message "Extracting game data, this can take a few minutes..."
   
   # Extract the archive and check if the extraction was successful
   if [ "$CFW_NAME" = "muOS" ]; then
       if gunzip -c "$ARCHIVE_FILE" | tar xf -; then
           pm_message "Extraction successful."
           $ESUDO rm -f "$ARCHIVE_FILE"
       else
           pm_message "Error: Extraction failed."
           sleep 5
           exit 1
       fi
   else
       if tar -xzf "$ARCHIVE_FILE"; then
           pm_message "Extraction successful."
           $ESUDO rm -f "$ARCHIVE_FILE"
       else
           pm_message "Error: Extraction failed."
           sleep 5
           exit 1
       fi
   fi
elif [ ! -d 'data/' ]; then
   pm_message "Error: No data directory present and Archive file $ARCHIVE_FILE not found."
   sleep 5
   exit 1  # Exit the script if no data directory and no archive file
fi```
small drift
#

ok, good idea, will do this

winged sentinel
#

Yeah

#

also

#

rebase

#

😄

sacred cloak
#

oh yeah

#

330 commits behind

small drift
sacred cloak
#

😄

winged sentinel
small drift
#

i don't have to include everything in it but it's likely to be >90MB

winged sentinel
#

Use the file splitter

#

😄

small drift
#

yep, first time for everything

winged sentinel
#

it'll split it into 50mb chunks

#

when the port is packaged, it will re-assemble it so the end users device doesn't have to.

small drift
#

sweet