Giter Club home page Giter Club logo

Comments (7)

fisik-yum avatar fisik-yum commented on June 3, 2024

SOLVED. The Game creates the directory sdmc/ without list nor access permissions, which causes the problems that I mentioned earlier. I can now run the game without root and sound works fine!

from super-haxagon.

RedTopper avatar RedTopper commented on June 3, 2024

Just to make sure if you restart the game in a directory that doesn't have sdmc as a standard user, it creates the directory sdmc with r/w permissions right? I can sneak in a call that sets permissions in PlatformLinux.cpp but as you said it seems like the issue was just starting it as root on first launch.

If permissions aren't set correctly though I'll make sure it's done right!

from super-haxagon.

fisik-yum avatar fisik-yum commented on June 3, 2024

Edit: Made stuff a bit more clear.

The root thing was my fault. I started the program with root on first launch and had the said problem, but it happens without root.
When you launch for the first time [no root], sdmc/ is created, but is an unreadable directory. I just had to modify sdmc/ 's permissions to allow its contents to be listed, and then the executable could launch. Seems to be a problem with permissions to list files in said folder. Hope this helps.

Sorry if I'm mixing things up.

from super-haxagon.

RedTopper avatar RedTopper commented on June 3, 2024

Ok, I'll see if I can get around to building and testing on Linux to see if I can reproduce it. Optimally you shouldn't need to edit permissions to get things working.

(As a reminder to myself I'll re-open this issue)

from super-haxagon.

RedTopper avatar RedTopper commented on June 3, 2024

Think you could try this binary? I added a 0 to the mkdir("./sdmc", 0755); to make it octal. I haven't tested it because my ubuntu install appears to be currently broken.
SuperHaxagon.zip

from super-haxagon.

fisik-yum avatar fisik-yum commented on June 3, 2024

Tried it and works fine! sdmc is created without any problems and the game launches and plays fine.

from super-haxagon.

RedTopper avatar RedTopper commented on June 3, 2024

Ayyy, turns out it was a silly mistake on my part. I'll go ahead and commit that small change but I won't make a new official build until I get my new level pack working.

Thanks for reporting this!

from super-haxagon.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.