Comments (7)
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.
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.
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.
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.
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.
Tried it and works fine! sdmc
is created without any problems and the game launches and plays fine.
from super-haxagon.
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)
- "New Record!" display HOT 8
- Specifications for custom music? HOT 1
- windows problem: HOT 3
- compilation problem HOT 11
- Build Error Linux ARM Chromebook Duet HOT 7
- compilation problem2 HOT 13
- Editor should maybe have its own repo HOT 1
- Sleep mode bug HOT 1
- Windows 7: Game crashes almost immediately HOT 7
- ARM Linux port
- Occasional freeze on old 3DS upon app exit
- Issues on Linux HOT 13
- Recursive clone fails, github.com/Steveice10/buildtools repo is gone HOT 3
- Tasks HOT 3
- Can you please make BGM/no BGM builds with different titleIDs? HOT 6
- No music on anny of the versions HOT 2
- This isn't really a real issue but.. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from super-haxagon.