#Mr. Rescue

134 messages · Page 1 of 1 (latest)

loud pecan
#

Game Information
Title: Mr. Rescue
Url : https://github.com/SimonLarsen/mrrescue/releases/tag/1.02e (version 1.02e)

Controls

Button Action
DPAD Move
B Jump
A Shoot
X Grab/Throw
R2 Pause

CFW Tests
[X] AmberELEC
[X] ArkOS
[X] JELOS

Resolution Tests
Test all major resolutions:
[ ] 480x320
[X] 640x480
[X] 720x720 (RGB30)
[ ] Higher resolutions (e.g., 1280x720)

Extract mrrescue1.02e.love to game directory

Thank you @solid sky for the documentation to build Love2D 0.10.2

GitHub

Fixed game crashing when changing fullscreen option with joypad

solid sky
#

<@&1216123318122577972>

#

I think i tried this game in the past but something was wrong with it

loud pecan
#

With liblove-11.4 i have just black screen not possible to go in game
With liblove.so.0 from hawkthrone I can see the menu but black screen when entering the game
So i build a chroot arm64 (Ubuntu Focal 20.4) and compile love2d 0.10.2 and copy lib missing from my chroot on libs directory of this port

crude geyser
#

i recall the game would crash randomly after about 30-60 seconds of gameplay
were you able to play longer than that?

loud pecan
#

yes

crude geyser
solid sky
loud pecan
#

Now I have also a chroot correctly configured so I could try more things 🙂

loud pecan
solid sky
solid sky
loud pecan
#

thank you !

deep bay
crude geyser
#

played a little while, and it didn't seem to crash
however, the game isn't scaled down to my 640x480 screen, so the image is cropped
rg351v amberelec

#

but this is fixable in the options menu

loud pecan
#

🙂

crude geyser
#

(scale: 2, fullscreen: fill)

loud pecan
deep bay
#

it also means that we can easily modify the code to fix the scaling issue out of the box that tabreturn mentioned

loud pecan
#

Ok I will send a mail.
I didn't check also where the config file or highscore file are stored. Maybe we can used it on the final package to scale and fill the screen.

deep bay
#

if you change config.lua to fullscreen = 2, that should be keeping aspect ratio, and fill the screen it seems (only just checked on my pc for now)

default_config = {
...
    fullscreen = 2,
...
#

speaking of config files, for love2d games you should set
XDG_DATA_HOME to something inside the port directory

#

then you will also know where the config will be

loud pecan
#

RK3566:~/.local/share/love/mrrescue # ls
highscores settings stats

#

maybe i could put on ports/mrrescue/savedatas directory but I checked other Love2d games also stored settings in .local/share/love/name_port

south marsh
#

Not sure if I'm missing something or if I just have the worst possible combination to run this (RG351P/ArkOS)

loud pecan
#

where did you put the files ?

#

after extracting mrrescue1.02e.love, you need to copy all files on game directory

south marsh
loud pecan
autumn shale
#

You can also run .exe or .love files directly

south marsh
autumn shale
#

Or are you patching the game, then extracting makes sense

loud pecan
autumn shale
#

Its easier to just run the love file if youre not modifying anythinh

#

./love ./gamedata/$GAMEFILE

#

Theres a couple ports that use it, you can do either 🙂

south marsh
#

For a quick update, after extracting the contents, the game runs on RG351/ArkOS just fine. Only problem I had was it didn't fit on my display, but the fix provided by @deep bay editing the config.lua in the game folder and setting fullscreen = 2 did the trick.

#

Well, I spoke too soon. Starting a game causes it to crash.

#

The log doesn't tell me anything useful about the crash, either.

loud pecan
#

on my side I put fullscreen=1 and scale=2

#

I didn't try fullscreen=2

south marsh
#

I'll try that rq and see what it does.

loud pecan
#

where did it crash ?

south marsh
#

It still gives me a perfectly acceptable display, but still crashes.

#

It sits at the menu for as long as it wants, but as soon as I hit "Start Game" it drops me back to ES within a few seconds.

#

I can start to choose the difficulty, but it'll crash while selecting a difficulty. If I just hit 'A' again real quick, the gamescreen begins to draw, but it dies before the play screen is fully drawn.

loud pecan
#

ok ...

south marsh
#

Right now the game happens to be running, but conveniently when I decided to SSH into it and run htop to watch resource usage...

loud pecan
#

on my side

#

Ceibon and Tabreturn saying it crashed also like you said during some tests ... so not so stable depending the love libs or the os ...

south marsh
south marsh
autumn shale
#

Ill try to replicate it on my r36 tomorrow

#

Same chip + arkos

loud pecan
south marsh
south marsh
#

I would've said a swapfile, but it's not exactly RAM hungry and I already am using a swapfile from something else I was doing.

autumn shale
#

Love2d is also just very unstable for whatever reason

#

It loves to crash :p

south marsh
autumn shale
#

Ive dug into some love2d games and its great fun because its all open source

#

But man is it frustrating

south marsh
#

Yeah, sometimes it's just like that. Doesn't completely take away from the joy of attempt.

autumn shale
#

Well it was mostly annoying because i had to rewrite the shadersystems for both games and they finally booted up, just to crash after 20 seconds :p

deep bay
#

I mean, if the games weren't originally built for GLES, but plain OpenGL, that's not really a fault of love2d or the game that you want to run it on something that it wasn't meant for 🙂

autumn shale
#

Truedoggokek

deep bay
#

idk, for me, that's like the fun part, making it do things it wasn't meant for

autumn shale
#

Well i you like the challenge, blue revolver and gravity circuit were the games i had some succes on

#

And you definitely know about 10x more about programming 🙂

autumn shale
south marsh
#

Speaking of gmloader, there was a game that madshmupper had me look into and I failed because even though the game launched, there was no sound and it seems the game only had touchscreen control support. Nevertheless, gmloader still had the game running.

autumn shale
south marsh
loud pecan
#

around 80 to 90% cpu

south marsh
#

Well, I suppose it's consistent at least 🫤

crude geyser
#

played a bit more on my rg351v (amberelec) and it is crashing 🥲
seemed to crash more on my rgb30 (jelos) -- hard to say, though, as the crashes seem quite random (yet inevitable)

solid sky
#

Back to square one lol

loud pecan
crude geyser
deep bay
#

I'm gonna have a look at this crashing now

deep bay
#

ok, went a bit overboard:
started from main git version
used love2d 11.5
removed extraneous libraries
implemented dpad controls
changed to fullscreen = 3 for scaled, maintaining aspect ratio
changed default controls
blanked out gptk, all native gamepad input
updated .sh a bit (XDG_DATA_HOME, DEVICE_ARCH)

changes to the game published here:
https://github.com/mhoogcarspel/mrrescue

tested on RGB30/JELOS // RG353M/ArkOS
haven't observed any crashes after playing a few levels and letting it sit until gameover a few times
did observe one crash with old gptk when there was double input with escape from gptk and also gamepad

#

(ready to run now)

loud pecan
#

Thank you for this great update !

loud pecan
loud pecan
#

Working also great for Demonizer

deep bay
#

lol, great to hear, but what about Mr. Rescue? is that working ok?
I'm mostly interested in the default controls and fullscreen behaviour on other devices (remove the saves folder to have a fresh save)

loud pecan
#

If it is ok for you I will let you make the PR if no issue found or crash by someone else

crude geyser
#

(i used the libogg.so.0 from the original post, which works fine)

deep bay
crude geyser
deep bay
#

any OSes without libvorbis while we're here? 🙄

#

(did I mention sometimes I don't like these embedded systems, lol)

deep bay
#

updated with improved default option for fullscreen with aspect ratio, ASPCT in the options menu
also added libs needed for some OSes as reported by @crude geyser

@wraith fern would you be able to test if that works ok on 320x480 please, I don't have a device to test,
change in the menu to ASPCT and/or do a fresh install and it should be the default

#

will need to update the .sh I see (done)

wraith fern
#

Did the fresh install. Once I switchted away from ASPCT to see the difference, the option was gone.

deep bay
#

I did fix it, but I broke it again, lol

#

(was editing on device because I got tired of copying files around, and then copied in an old version when I was done >_<)

wraith fern
#

Okay! Now it works and it's the same as "FILL"

deep bay
#

*almost the same :), might be only a few pixels out on your aspect ratio but on RGB30:

#

cover?

#

without the key art on the left, seems like a lot of black space

#

could try and get a screenshot with more fire, lol

loud pecan
mellow blade
deep bay
loud pecan
#

Thank you !

urban blaze
#

I took a shot at updating this to the new love runtime which adds x86_64 support, controls took a little to get working on muos which looks like may not have been relevant when first made. I hope the gptk should work with all CFWs though

drowsy carbon
#

Must confess. I've always really liked playing this game. It's so fun 🙂

urban blaze
#

for sanity check, controls still good and working for you? and what device/firmware?

drowsy carbon
#

But always worked on MuOS rg40xxh

urban blaze
#

yes, i can't get muos on rg35xxh working on the live version, but this zip fixed it for me with gptk

#

i'm not sure why i'm special, i'm not the only report of it, but seems to work for most people

drowsy carbon
#

And this new zip DOES work?

#

Or that it does launch using original just couldn't get controls to work?