#Lunar Lux

125 messages · Page 1 of 1 (latest)

misty river
#

Experience a sci-fi action-adventure RPG on the Moon in the year 30XX! Join Bella in a story of science, truth, justice, and trust, as she travels the silver globe to find a way to save humanity from Comet Coda! It's time to unleash your Lux! Lunar Lux takes inspiration from the Mario & Luigi RPG series and Megaman games.

https://store.steampowered.com/app/1932680/LunarLux
https://www.gog.com/en/game/lunarlux

https://github.com/JeodC/PortMaster-LunarLux

Firmwares
[ ] AmberELEC
[x] ArkOS
[x] MuOS
[x] RockNix
[ ] Knulli

Resolutions
[x] 4:3
[x] 16:9
[ ] 1:1

One thing I haven't tested: replacing the font file for better 4:3 text display. It's a bit off with the font provided by the game.

#

<@&1216123318122577972>

lament crest
#

Is this another “ultra” port?

misty river
#

Nope

little onyx
#

i think this is missing a patch file
./tools/patches/lunarlux.xdelta

misty river
#

(so far)

little onyx
#

oh, right. i was looking at the patchscrupt 🤓

#

do files go in assets folder?

misty river
#

Yep

median anchor
#

✅ TSP/Crossmix

sharp rapids
#

Rg503 ArkOS
Doing something about the font would be coral.

misty river
upbeat herald
acoustic crescent
#

Probably needs a texture repack

misty river
#

There’s nothing wrong with memory usage

acoustic crescent
#

Have you tried it?

#

Repacking isnt just for ram problems

misty river
#

Yes I have

#

Only one page size though

misty river
#

Ok the ingame font isn't actually external, so this will be trickier than initially thought.

acoustic crescent
#

So what breaks exactly after repacking? This exact font issue has been fixed on 3 ports now with repacking.

misty river
acoustic crescent
#

Probably

#

I messed some with the settings and only the standard worked for me

misty river
#

When I did my usual 512x512 the title screen was blank.

#

So I’ll do 1024 and see

misty river
#

Nope, must remain unchanged. Maybe I can lower the font size.

misty river
#

Nope, sadly, that messes up the font.

#

Hrm...

#

When in doubt ask the devs

proven marsh
#

Will the Steam version work?

misty river
#

Ok NOW it's on sale

#

Yes I use the steam version myself

primal sparrow
#

Now make a secret xdelta3 file zip with password that changes battle theme to this: https://www.youtube.com/watch?v=rVPA-XhJDso

Sweguin sent me the baseball gif and the music so I wanted to combine it all and also add the battle system to make it all one thing.
Also this was done at like 2:30 AM. I'm sorry.

==================================================
Thank you for watching and don't forget to subscribe!

➤ Smash 4 Splash Screen Intro Created by @RealHeroOfWinds
h...

▶ Play video
misty river
#

GENIUS

proven marsh
misty river
#

@acoustic crescent I tried without texture repacking and the intro and title screen is still busted on 4:3.

#

So something else is off.

primal sparrow
#

Maybe you can find this in game code to try to fix the font:

draw_text(32, 32, string(score));
draw_text(32, 32 + hh, string(lives);```
misty river
#

But on 4:3 they have letterboxing horizontally, so perhaps it's some unfinished feature where the title stuff isn't drawn.

misty river
#

Ok, three weird points:

  • If I do texture repacking it fixes the font
  • If I do texture repacking the game won't render the titlescreen on rp5
  • Regardless of if I do texture repacking the game won't render the titlescreen on 4:3 (tested on rg40xxh muos)

Idk what's going on

restive sinew
#

OH my god i've been wanting to play this game, it's been sitting in my library

#

once my RP5 comes in, i'm so ready

proven marsh
#

✅ RGB10MAX3/ROCKNIX, but there's SOME lag with the music and the text looks wonky, which isn't news. Granted, I only went as far as the beginning of the first battle.

misty river
proven marsh
#

The RGB10 Max 3 is 1280x720 and the title screen did render.

misty river
#

Native resolution for the game then

misty river
placid vigil
#

got this downloaded and installed today. I got my files from Steam, hopefully i did it right for it to work 😁

proven marsh
misty river
misty river
#

So for the time being I can label this hires for widescreen only

misty river
#

@errant wagon I wonder if your depth disable for gmln might resolve this. I’ll dig up your build later and give it a try. We do still need to find a game that relies on depth so we can notice a difference.

errant wagon
misty river
errant wagon
misty river
#

This isn't depth, I change the size to 640x480 on pc and it works fine.

#

Something else.

#

Error: Failed to create AL buffer from file image I wonder if this is not related to openal at all.

#

Yup, that's exactly it.

    if (texture_lunarlux == 1)
    {
        if (!texturegroup_load("LunarLux"))
        {
            show_message("Error: Failed to load texture LunarLux");
            game_end();
        }
    }
**********************************.
Entering main loop.
**********************************.
Finished BeginToEnd, default frame buffer is: 0
MANUFACTURER = JohnnyonFlame
Controller 'Deeplay-keys' assigned to player 0.
MoveTaskToBack called.
###game_end###0
near elm
#

@misty river why does this game have 8870 code entries

#

my search hangs

misty river
#

I'll have to revisit this later, but I will have to find some way to exclude certain sprites from a texture group to allow the titlescreen to load properly.

near elm
#

Anyways have you tried changing the resolution via the General Info page?

#

depending on how the resolution was coded... it can change the screen ratio

misty river
#

Yes I have

#

I know the problem. The trouble now is coming up with a solution.

misty river
#

For now I can add a 2GB req to it.

#

@nova marsh @fringe vessel Can I ask your opinions? This game passes tests but it uses texture groups, and some of these groups fail when loaded into memory since they exceed capacity when uncompressed. The game still runs, but for example on 1GB devices the titlescreen textures fail to load causing a black screen until the user presses some inputs to get into the game. In addition, texture repacking breaks texture groups regardless of memory capacity, so I can't use repacking to fix the font on alt aspect ratios.

Considering the dilemma, I think it's ok to use hires and 2GB reqs. I'd appreciate your input whenever you get a moment. Thanks.

fringe vessel
#

This is the kinda game new texture repacker was made to fix

misty river
#

Tried a few different combinations with it.

fringe vessel
#

Texture group preloading can also be disabled from code

nova marsh
#

If you can’t get the game to load in 1gb then a 2gb requirement is why we added the ability to filter for minimum ram.

misty river
near elm
#

@misty river if you want to do the texture repacker fix then you need to use this version: download_depot 1932680 1932681 4860005663388923912.
The latest version has .yytex files which don't play to nice with the texture repacker me thinks

#

Also for: //gml_GlobalScript_action_fullscreen

{
    switch argument0
    {
        case 1:
            window_set_fullscreen(false)
            break
        case 2:
            window_set_fullscreen(true)
            break
        default:
            window_set_fullscreen((window_get_fullscreen() ? false : false))
            break
    }

}
#

could change everything to window_set_fullscreen(true)

misty river
near elm
#

30 July 2024 – 19:49:56 UTC

misty river
#

Probably has a few bugs fixed since then

#

Let's see how well it works

#

Well the title screen appears this time

misty river
#

<@&1216123318122577972> Ready for re-testing!

#

Boots and plays on rg40xxh and title screen renders

#

@fringe vessel Do you know of a way to include external .yytex files in the repacker script? 👀 Fraxinus found the issue and using this older game version is a bandaid solution.

fringe vessel
#

no clue what an external yytex is

#

what does that bring you even?

misty river
#

They aren’t in the data.win so the repacker doesn’t pick them up

near elm
#

Max 0.81gb ram used on RGB30/arkos

#

Text isn’t the most readable

near elm
#

"Applying xdelta patch
No data.win file found to patch!"

#

might be an issue with patching

misty river
near elm
#
    # Delete unnecessary files
    rm -rf $DATADIR/*.exe $DATADIR/*.dll $DATADIR/.gitkeep
    mv $DATADIR/data.win $DATADIR/game.droid
    echo "Removed unnecessary files"

    echo "Applying xdelta patch"
    apply_xdelta
    sleep 1
    echo "Compressing audio..."
    compress_audio
    sleep 1
    echo "Finishing up..."
    zip_archive
    sleep 1
    
    # Final completion message
    echo "Patching process complete!"```
#

data.win is renamed to game.droid before patch is applied?

misty river
#

Ah a typo!

#

Yeah I did that when I wasn't using a patch for tests.

#

Fixed on repo, thanks

near elm
#

Can't get rid of the letter box though...

#

oh wells

misty river
#

I didn't try patching that

near elm
#

I tried haha... but the game if fully playable even with letterboxing so I don't think it needs to be fixed

misty river
#

Ok, so this only needs an amberelec test.

finite obsidian
#

I can test tomorrow

misty river
#

You own this game?

#

I tried it on rg351p, and it boots, but it crashes a few minutes in. Not sure if it's related to resolution or something else.

finite obsidian
misty river
#

Playing great on rg40xxh

#

If amberelec does get crashes on 640x480 devices as well then there must be something up with the recent audio changes.

misty river
#

@finite obsidian Did you get to this one? 😄

finite obsidian
#

Did not have time yet

misty river
#

Making me break out the RG552

#

RG552 amber, no crashes

#

I think this one is ready to rock!

#

Also nobab responded kindly to this 🙂