#Super Meat Boy

1282 messages Β· Page 2 of 2 (latest)

eternal perch
#

πŸ˜„

#

now put this file back

golden saffron
#

ok sorry about that jeez i shouldn't have got out of bed this morning :/

eternal perch
#

πŸ˜„

eternal perch
#

@golden saffron ... you have just removed your port from the PR TurtleThink

#

or something

#

you shouldnt pull from upstream until its merged....

#

i dont know whats going on anymore.

golden saffron
#

oh shit

#

uh

#

one sec

#

is it still missing?

eternal perch
#

seems okay

#

lets just not touch it until someone else can check the PR πŸ˜„

golden saffron
#

phew damn

#

thanks for all this

eternal perch
#

its okay πŸ™‚

storm swallow
#

What was the high res test?

golden saffron
#

iirc there was someone else too but i wont be able to dig it up i dont think

storm swallow
#

"didnt someone say" πŸ˜„

golden saffron
#

ganimoth confirmed my poor recollection

storm swallow
#

K

#

I'll do a final check later and review the pr

golden saffron
#

thanks m8 πŸ™‚

eternal perch
#

@golden saffron guess what

#

small problem with the port πŸ˜„

#

its not aarch64, its armhf only

golden saffron
#

oh good

#

ah

eternal perch
#

πŸ™‚

golden saffron
#

is that just a tagging issue rather than compatibility?

storm swallow
#

oh fuck i wanted ot check the sh yesterday πŸ˜„

eternal perch
#

correct

golden saffron
#

i did notice the screenshot i added has trouble getting displayed in some of the places it's used

eternal perch
#

how big is it? TurtleThink

golden saffron
#

i think it's too large

#

yeah idk

eternal perch
#

it should be 640x480 😐

golden saffron
#

one sec

#

its definitely not

eternal perch
#

lol

#

fuck

#

oh well

#

maybe make a pr ❀️

golden saffron
#

kk

storm swallow
#

oh shit it was merged already?

#

πŸ˜„

eternal perch
#

yeah mate

storm swallow
#

ffs πŸ˜„

eternal perch
#

me and tabreturn checked it πŸ‘

storm swallow
#

ok i'll review it now

#

πŸ˜„

eternal perch
#

it doesnt work on muOS TurtleThink

#

oh the unzip doesnt like the extra crap at the start of the archive

storm swallow
#
  • Screenshot needs to show actual gameplay
  • Size has to be 640x480
  • gameinfo.xml has two images either screenshot or cover not both
  • If we add basic metadata we can aswell add description https://portmaster.games/metadata-editor.html
  • port.json needs armhf not aarch64
  • note that RG552 is not supported rn

After that should be good

@golden saffron

#

@raven delta wanna know somehting really funny with this "special" box86 version from kreal? Works everywhere except rg552 πŸ˜„

#

no matter what os

raven delta
#

uhhhhhhhhhhhhhhhhhhhhhh wtf

storm swallow
#

there i get the black screen again which i have on all other box86 version

#

did not have time yet to build the version from around that time

eternal perch
#

@golden saffron I have a fix for muOS TurtleThink

golden saffron
#

muos wan't even on the list to test :(((

eternal perch
#

πŸ˜„

jade tusk
#

Not when you startedπŸ˜…

golden saffron
#

what's the fix and/or problem?

eternal perch
#

give me a moment, just double checking πŸ˜„

#

the busybox unzip doesnt like the zip file

#

hrmmm

#

well i fixed it

#

but it crashes TurtleThink

#

RG35XX PLUS - muOS

DEVICE_INFO_VERSION=0.1.6
CFW_NAME=muOS
CFW_VERSION=2404 SPITFIRE
DEVICE_NAME=RG35XX PLUS
DEVICE_CPU=H700
DEVICE_ARCH=armhf
DEVICE_RAM=1
DISPLAY_WIDTH=640
DISPLAY_HEIGHT=480
ASPECT_X=4
ASPECT_Y=3
DISPLAY_ORIENTATION=0
ANALOG_STICKS=0
raven delta
#

I don't see GL4ES banner

eternal perch
#

is it not using libGL?

#

yeah

#

weird TurtleThink

#

AHA

#

@raven delta:

export LIBGL_ES=2
export LIBGL_GL=21
# export LIBGL_FB=4
#

thats the libgl_muOS.txt

#

4 fucks stuff up, should i change it to 2?

#

like on batofork?

#

or do what you did on EmuELEC?

raven delta
#

if muOS has support for drm/gbm devices, do EmuELEC one

eternal perch
#

same as batofork

storm swallow
#

not at home sorry

eternal perch
#

hrmmm

#

nope it doesnt like 2

#

it gives blank screen

storm swallow
#

I hope kreal did not hardcode stuff in that box86 version πŸ˜„

golden saffron
storm swallow
#

that is the one that is shown on the website

golden saffron
#

ah np

storm swallow
#

or we do if device = 552 echo GET RIPPEd

eternal perch
#

yep

golden saffron
#

just at the bottom, say "Note: Currently not supported on RG552"? or similar?

eternal perch
#

doesnt work here 😦

#

just a blank screen

golden saffron
#

yikes thats what I got the first 1000x i tried to get it running. sound + no video

storm swallow
#

ah i have to dig into the box86

#

and try to compile the version around the time this was built

golden saffron
eternal perch
#

why is that weird?

#

muOS has no languages

#

πŸ˜„

golden saffron
#

the game uses it

eternal perch
#

This is the fix for muOS, it might be useful for other platforms:

# extract Humble version if it's there
if [[ -f "${GAMEDIR}/gamedata/supermeatboy-linux-11112013-bin" ]]; then
  if [ "$CFW_NAME" == "muOS" ]; then
    # Busybox unzip doesnt like it, we use zip to fix it, but zip wants the file to be named .zip
    mv "${GAMEDIR}/gamedata/supermeatboy-linux-11112013-bin" "${GAMEDIR}/gamedata/supermeatboy-linux-11112013-broken.zip"
    zip -FF "${GAMEDIR}/gamedata/supermeatboy-linux-11112013-broken.zip" --out "${GAMEDIR}/gamedata/supermeatboy-linux-11112013-fixed.zip"
    mv "${GAMEDIR}/gamedata/supermeatboy-linux-11112013-fixed.zip" "${GAMEDIR}/gamedata/supermeatboy-linux-11112013-bin"
    rm -f "${GAMEDIR}/gamedata/supermeatboy-linux-11112013-broken.zip"
  fi

  echo "Extracting Humble version..."
  unzip "${GAMEDIR}/gamedata/supermeatboy-linux-11112013-bin" -x 'guis/*' 'meta/*' 'scripts/*' 'data/amd64/*' -d "${GAMEDIR}/gamedata/"
  mv ${GAMEDIR}/gamedata/data/* ${GAMEDIR}/gamedata
  # move the Humble archive to a subfolder so it only gets extracted on the first run
  mkdir -p ${GAMEDIR}/gamedata/humble
  mv "${GAMEDIR}/gamedata/supermeatboy-linux-11112013-bin" "${GAMEDIR}/gamedata/humble"
fi
#

or if we figure out why it doesnt run there. πŸ˜„

#

I'll fuck around with the libfb changes when i have more time

golden saffron
raven delta
#

WAIT

#

you're extracting humble with zip?

#

I think it's gzip rather

#

some utils are fine with it, others will bitch and moan

golden saffron
#

caramba

raven delta
#

(not 100% sure - at least with GOG it usually is the case, took me a while to figure out why some OSes were fine with it)

eternal perch
#

No it’s gzip at the head and zip at the tail.

#

Since zip stores the archive structure at the end of the file it’s easy to just unzip it.

golden saffron
#

you're happy with the new humble unpacking routine then?

eternal perch
#

Happy? No. But it works. LinkYay

golden saffron
#

haha thank you for looking at it

#

& obviously for the solution

golden saffron
#

ok so some technical problems aside, PR is submitted

raven delta
#

The interaction between box86 and gl4es is turbo fucking weird...built from sources and it screws up

empty tundra
#

This released? What was the issue with rg552?

storm swallow
#

Didn't you have the same issue?

raven delta
#

I'm nearly sure this is some stupid function signature thing...

#

at least from the discussion here

empty tundra
raven delta
#

built GL4ES and BOX86 from sources: Black screen when I swap box86, ok GL4ES

storm swallow
#

So at least on my 351V there is a regression somewhere

#

Not sure about the 552 though

raven delta
#

what commit hash?

storm swallow
#

just not on my 552 but at least on 351v

#

now I'm building a newer version and try to find where it fails

raven delta
#

helps a lot to drill down on precisely which commit fucked up

storm swallow
storm swallow
raven delta
#

issues might be unrelated

storm swallow
#

yeah

storm swallow
#

that is january 2022

storm swallow
#

that is the first commit where screen stayed dark while the game plays in background

raven delta
#

iiiiiiiinteeeeeeresting

storm swallow
raven delta
#

it alters some library loading/symbol resolution

#

I think the problem might be on GL4ES itself

#

lemme do some poking

raven delta
#
$ git diff
diff --git a/src/wrapped/wrappedsdl2.c b/src/wrapped/wrappedsdl2.c
index 074a9615..b58a7c38 100755
--- a/src/wrapped/wrappedsdl2.c
+++ b/src/wrapped/wrappedsdl2.c
@@ -741,11 +741,12 @@ EXPORT void* my2_SDL_GL_GetProcAddress(x86emu_t* emu, void* name)
     const char* rname = (const char*)name;
     static int lib_checked = 0;
     if(!lib_checked) {
+        printf(" --- LOADING %s ---\n", box86_libGL?box86_libGL:"libGL.so.1");
         lib_checked = 1;
             // check if libGL is loaded, load it if not (helps some Haxe games, like DeadCells or Nuclear Blaze)
-        if(!my_glhandle && !GetLibInternal(box86_libGL?box86_libGL:"libGL.so.1"))
-            // use a my_dlopen to actually open that lib, like SDL2 is doing...
-            my_glhandle = my_dlopen(emu, box86_libGL?box86_libGL:"libGL.so.1", RTLD_LAZY|RTLD_GLOBAL);
+        //if(!my_glhandle && !GetLibInternal(box86_libGL?box86_libGL:"libGL.so.1"))
+        //    // use a my_dlopen to actually open that lib, like SDL2 is doing...
+        //    my_glhandle = my_dlopen(emu, box86_libGL?box86_libGL:"libGL.so.1", RTLD_LAZY|RTLD_GLOBAL);
     }
     return getGLProcAddress(emu, (glprocaddress_t)my->SDL_GL_GetProcAddress, rname);
 }
storm swallow
raven delta
#

but libGL is never deinit because of it

#

this commit stops the refcount from being +1'd

storm swallow
golden saffron
#

i would have thought a bug that severe would have been picked up, breaking all sorts of stuff
amazing detective work figuring it out

storm swallow
# raven delta ``` $ git diff diff --git a/src/wrapped/wrappedsdl2.c b/src/wrapped/wrappedsdl2....

wow it sure does not like the change πŸ˜›

Calling getGLProcAddress[0xf6c361e8]("glViewport") => 0x40020280
13936|SIGSEGV @0xf70b3e60 (???(/usr/lib32/libc.so.6/0xf70b3e60)) (x86pc=0x400201bb/???:"???", esp=0xf665e55c, stack=0xf5e5f000:0xf665f000 own=(nil) fp=0x1), for accessing 0x3670 (code=-6/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0)
ESP-0x10:0x64099010 ESP-0x0c:0x00000000 ESP-0x08:0x081a2480 ESP-0x04:0x00000001
ESP+0x00:0x081a33c4 ESP+0x04:0x00001f03 ESP+0x08:0x00000001 ESP+0x0c:0x00000000
Native bactrace:
        ./x86/SuperMeatBoy() [0x6296b1bc]
        /usr/lib32/libc.so.6(__default_rt_sa_restorer+0) [0xf70704a0]
        /usr/lib32/libc.so.6(+0x77e60) [0xf70b3e60]
        /usr/lib32/libc.so.6(raise+0x14) [0xf706f4e8]
13936|SIGSEGV @0xf39ddddc (???(0xf39ddddc)) (x86pc=0x400201bb/???:"???", esp=0xf665e55c, stack=0xf5e5f000:0xf665f000 own=(nil) fp=0x1), for accessing 0xf39ddddc (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0)
ESP-0x10:0x64099010 ESP-0x0c:0x00000000 ESP-0x08:0x081a2480 ESP-0x04:0x00000001
ESP+0x00:0x081a33c4 ESP+0x04:0x00001f03 ESP+0x08:0x00000001 ESP+0x0c:0x00000000
Native bactrace:
        ./x86/SuperMeatBoy() [0x6296b1bc]
        /usr/lib32/libc.so.6(__default_rt_sa_restorer+0) [0xf70704a0]
13936|Double SIGSEGV (code=1, pc=0xf39ddddc, addr=0xf39ddddc)!
LIBGL: Shuting down
storm swallow
raven delta
#

:p

storm swallow
golden saffron
storm swallow
#

I'll check it out soon

golden saffron
#

i'm still getting the black screen that the other newer box86 builds give, may have screwed up the compile somehow though

raven delta
#

needs -DGOA_CLONE=ON

#

build$ cmake .. -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_TOOLCHAIN_FILE=~/armhf.cmake -DGOA_CLONE=ON

#

smb script is missing chmod +x ./x86/$BINARYNAME

#

without this, the game wont work on JELOS with the new box86 builds

storm swallow
#

I'll check it out, thanks @raven delta

raven delta
#

box86/gl4es from GIT HEAD

#

and some other fixes

#

needs to be properly tested

#

RG552 good

#

ARKOS good

#

copying over to EmuELEC

storm swallow
#

oh you mean in smb

raven delta
#

it's still fucked on EmuELEC - apparently something that happens between loading/unloading GL4ES is hiding some kind of bug

storm swallow
storm swallow
#

I now used your files and .sh file

#
Calling getGLProcAddress[0xf6ff41e8]("glViewport") => 0x40020280
2191|SIGSEGV @0xf7471e60 (???(/usr/lib32/libc.so.6/0xf7471e60)) (x86pc=0x400201bb/???:"???", esp=0xf6a1d50c, stack=0xf621e000:0xf6a1e000 own=(nil) fp=0x1), for accessing 0x88f (code=-6/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0)
ESP-0x10:0x63fd2248 ESP-0x0c:0x00000000 ESP-0x08:0x081a2480 ESP-0x04:0x00000001
ESP+0x00:0x081a33c4 ESP+0x04:0x00001f03 ESP+0x08:0x00000001 ESP+0x0c:0x00000000
Native bactrace:
        ./x86/SuperMeatBoy() [0x6295ddac]
        /usr/lib32/libc.so.6(__default_rt_sa_restorer+0) [0xf742e4a0]
        /usr/lib32/libc.so.6(+0x77e60) [0xf7471e60]
        /usr/lib32/libc.so.6(raise+0x14) [0xf742d4e8]
2191|SIGSEGV @0xf3db017c (???(0xf3db017c)) (x86pc=0x400201bb/???:"???", esp=0xf6a1d50c, stack=0xf621e000:0xf6a1e000 own=(nil) fp=0x1), for accessing 0xf3db017c (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0)
ESP-0x10:0x63fd2248 ESP-0x0c:0x00000000 ESP-0x08:0x081a2480 ESP-0x04:0x00000001
ESP+0x00:0x081a33c4 ESP+0x04:0x00001f03 ESP+0x08:0x00000001 ESP+0x0c:0x00000000
Native bactrace:
        ./x86/SuperMeatBoy() [0x6295ddac]
        /usr/lib32/libc.so.6(__default_rt_sa_restorer+0) [0xf742e4a0]
2191|Double SIGSEGV (code=1, pc=0xf3db017c, addr=0xf3db017c)!
LIBGL: Shutting down
#

this is one my 351V

raven delta
#

?????

storm swallow
#

πŸ˜„

storm swallow
# raven delta ?????

To be sure grabbed the latest smb from github, replaced your files and et voila results in sigsegv

#

rebooted just in case

storm swallow
raven delta
storm swallow
#

@empty tundra
can you please try these files on your 552?

empty tundra
#

In a bit

#

Where do the libs go?

#

In the box86 zip

storm swallow
empty tundra
storm swallow
#

RIP

#

πŸ˜„

#

so we have a win and a lose at the same time

echo pewter
#

this is exactly why you enver update anything πŸ˜„

storm swallow
echo pewter
#

yea, i've been watching from time to time. i'm kinda in the loop.

empty tundra
#

It never worked for me so

storm swallow
#

Tried downgrading my amberelec setup but still the same error

#

@raven delta do you have a device with amberelec on it?

#

Just to make sure I'm not crazyy πŸ˜„

eternal perch
glass pumice
#

lets pray one day it'll work on rg35xx KEKSad

glass pumice
#

@storm swallow any explanation to where to put these ?

storm swallow
glass pumice
#

well libEGL.so.1 doesn't exist only

storm swallow
glass pumice
#

nop doesn't work

#

(rg35xx h)

storm swallow
#

Welp

storm swallow
glass pumice
#
  • crash
#

Ig only crash as it takes time to go back to menu

#

(muos)

storm swallow
#

Welp

glass pumice
echo pewter
#

i'm confused/interested, why is libmali reporting opengl symbol errors

#

when it should have been libGL/libEGL, right?

storm swallow
echo pewter
glass pumice
#

alright ik why

#

the fix above was looking in gl4es.armhf which didn't exist

#

still not working but now it finds it

maiden perch
#

dont tell thats works

#

OWWWWWWWWWOW

#

Finally super meat boy port

#

i have game files on epic games and epic games not support linux

#

i dont have steam version

#

thets orginal super meat boy

#

so i dont have it even

torpid kestrel
#

Running MuOS with RG35xx_H -> keen to help out if I can in any way.

storm swallow
dusk peak
#

I’m guessing there’s no fixing this one on MuOS?

storm swallow
#

All cfws with high res displays also

dusk peak
#

Damn, that’s a shame.

glass pumice
storm swallow
golden saffron
#

incidentally it runs at 720p over hdmi fine on my RG353V, not sure if that's helpful or already known

tulip spade
#

Hello, what version can I use for R36s?

tulip spade
#

Thanks

torpid kestrel
#

Running on the latest MuOs RB on the RG35XX H πŸ‘

storm swallow
#

This was the testing thread

torpid kestrel
#

Sorry ha! 😬

jade tusk
#

Some others were having issues so by accident the info is kinda useful πŸ™‚

crisp vortex
#

I've copied my linux version of super meat boy into gamedata however the game just crashes immediately. I've included the log.txt if it's helpful. Im on muos on a 40xxV. If there's anything else I can provide or test to help debug Im happy to contribute. really looking forward to getting this running on handheld!

old bobcat
#

It should be working on 640x480 devices already.

#

At least it does for me no problem

#

Just tested it and it's working fine here, I'd say there might be some issue with your game files or something.

analog birch
#

Game runs fine for me unless i try to enter a warp zone in which case it crashes. im on an rgcubexx on muos - installed straight to SD from the archive from the portmaster website. But going into portmaster on my device and reinstalling it seems to have fixed that behavior

worthy niche
#

Similar here on my cubexx with latest muos. The warp worked the 1st time I entered, but now crashes whenever I try.
Though I'm still chuffed it's running at all, for some reason i thought it only worked on 640x480. (Shows what I know).