Skip to content

About

A helicopter rescue game for FrSky X20RS radios running ETHOS.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

21 Commits

Folders and files

Repository files navigation

Rotor Rescue

Fly a rescue helicopter with the sticks on your FrSky ETHOS radio. Pick up six passengers from three mountain pads and get them safely back to Base. The game runs directly on the radio as an ETHOS System tool.

Download Rotor Rescue 0.7.2 · Norsk veiledning

Video cover for Rotor Rescue on FrSky ETHOS. Click to watch the flight demo.

Watch a full flight on YouTube

What's new in 0.7.2

  • ENTER keeps working. ENTER now acts when the key is pressed. In 0.7.1 it stopped responding after a touch outside the buttons or after one RTN press, until the game was reopened. Retry, Fly Again and closing Top Scores with ENTER now work every time.

What's new in 0.7.1

  • Loads only when you play. ETHOS runs main.lua at startup to list the game under System. It is now a small stub that loads the game from game.lua when you open it and frees it when you leave. Until then the tile holds about 6 KB of Lua memory instead of about 80 KB.
  • Memory in the readout. Tap the title to show frames per second, paint time and free Lua memory, now and AT OPEN. Leave and reopen the game: if AT OPEN stays about the same, leaving the game gave its memory back.

What's new in 0.7.0

Scores compare with earlier versions: the flight model and scoring are unchanged since 0.6.4.

  • Full screen. The game hides the ETHOS title bar and uses the whole 800 × 480 screen. Close it with the ‹ button at the top left or the RTN key.
  • Smoother drawing. Each frame repaints only the part of the screen that changed, usually 2% of it, instead of clearing and repainting the whole window. Paints run about half as many Lua instructions, and frames allocate no memory.
  • New engine sound. Ten rotor speed bands, pitch glides between them, and spool-up and wind-down sounds. The sound is tuned for the radio's small speaker, which barely reproduces the deep thump of the 0.6 sound.
  • Vibration on a crash, on each pickup and when the mission is complete. ETHOS uses the haptic strength set under System.
  • Performance readout. Tap the version line under the title to show frames per second and paint time.

Radio compatibility

Rotor Rescue 0.6.4 passed 800 × 480 display, stick control and engine audio checks on the models below in FrSky's model-specific simulators. Physical radio testing has been completed on the X20RS only. Versions 0.7.0, 0.7.1 and 0.7.2 have been tested on the X20RS. ETHOS 26.1.2 simulators

FrSky radio Simulator Physical radio
X20RS Passed Passed
X20R Passed —
X20 Pro Passed —
X20 Pro AW Passed —
X18R Passed —
X18RS Passed —

The game header shows the radio model reported by ETHOS beside the game version. The X18R and X18RS render slightly larger text.

Install and start

  1. Download the RotorRescue-0.7.2.zip release asset. Leave the ZIP intact.
  2. Connect the radio to FrSky Suite. Open Lua library → Install Lua Scripts, select the ZIP and install it.
  3. Safely disconnect and restart the radio. Open System → Rotor Rescue. Swipe to the next System page if the tile is off screen.

For the smoothest flight, select a dedicated blank model with no heavy Lua dashboards. Disable the internal and external RF modules for that model before playing.

The Rotor Rescue tile in the System menu on the X20RS simulator.

Fly the mission

  • Lower the throttle fully to arm. Raise it gently to around 60% for takeoff. The amber mark at 52% shows approximate hover power with the rotor level.
  • Use aileron to tilt left or right. In Mode 2, throttle is the left stick's vertical axis and aileron is the right stick's horizontal axis. Use short inputs and countersteer to slow down before landing.
  • Visit Ridge → Lookout → Camp. Land with the skids inside the brackets and stay on each pad for 1.6 seconds. The two passengers will wait and wave if you leave early.
  • Climb over Lookout on the way back, then land at Base to complete the mission. After a crash, Retry resumes from the last successful pickup and New Run starts from Base.
  • Tap ‹ at the top left or press RTN to leave the game.

Rotor Rescue helicopter returning to Base with six passengers.

Boarding at Ridge All six delivered
Two passengers wait beside the helicopter during boarding. Mission complete after returning six passengers to Base.

The gameplay screenshots show version 0.7.2 in full screen. They are rendered at 800 × 480 by the project's test bench (python3 tools/headless.py --screenshots docs/images) from a scripted flight, with fonts matched to the X20RS simulator. The System menu screenshot was captured in the X20RS simulator.

Beat the score

Pickups earn 100, 200 and 300 points. Delivering everyone to Base earns another 300. The time bonus starts at 600 points and drops by four points per second and 150 per retry, down to zero. Top Scores keeps your five best completed flights on the radio.

Can you beat 1,310 points in 47.60 seconds with zero retries?

Physical FrSky X20RS showing the local record of 1,310 points in 47.60 seconds with zero retries.

Development

The game lives in scripts/RotorRescue/game.lua, with its engine sounds in scripts/RotorRescue/sounds/. main.lua only registers the System tool and loads game.lua while the game is open.

  • tools/build_release.py builds dist/RotorRescue-<version>.zip for Lua library → Install Lua Scripts. It follows FrSky's Lua package format: the files sit at the ZIP root next to ethos_lua_manifest.json, which lists every one of them. The ZIP also carries the license as LICENSE.txt. packaging/ holds INSTALL.txt and the release notes.

  • tools/make_sounds.py synthesizes the engine sounds. It needs numpy.

  • tools/headless.py is a test bench, not a replacement for the FrSky simulators. It runs the game under Lua 5.4 against a mock of the ETHOS calls it uses, flies a full mission and the menus with scripted sticks, and checks that every partial repaint matches a full one. It also opens and closes the game several times to check that leaving it frees its memory. Add --screenshots DIR to render the README gameplay screenshots instead. It needs lupa and pillow, plus the Open Sans font (fonts-open-sans) for text that looks like ETHOS. Add --frames DIR to save PNG frames.

License

Rotor Rescue is released under the MIT License.

About

A helicopter rescue game for FrSky X20RS radios running ETHOS.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages