Closed cgaldieri closed 3 years ago
Once again, the FAQ addresses this issue and offers a workaround. It will be fixed in the next version.
Maybe I shouldn't have closed the other issue until the issue was actually fixed so I'll leave this one open.
did you read the bottom part?
Because i already tried the FAQ, but here's the problems:
It's a windows directory, not a linux directory (because i use linux mint 20.1) And even when i try to delete the gfx folder, still doesn't work.
I think it is my computer.
Oh sorry, I didn't see the Linux Mint part.
Are you on the dev branch? Either way, I'll look into it more later today.
yes, i am
Try the latest commit and see if that works.
Hi, I'm using Linux Mint too, I have the same problem, I've tried with the latest commits of the dev
branch and it did not fix it.
My printf was literally including the text \x00
instead of an actual NUL. This fixed it for me.
diff --git a/Makefile b/Makefile
index f053527..f1255b7 100644
--- a/Makefile
+++ b/Makefile
@@ -602,11 +602,11 @@ $(BUILD_DIR)/%.ci4: %.ci4.png
else
$(BUILD_DIR)/%: %.png
- printf "%s%b" "$(patsubst %.png,%,$^)" '\x00' > $@
+ printf "%s%b" "$(patsubst %.png,%,$^)" > $@
$(BUILD_DIR)/%.inc.c: $(BUILD_DIR)/% %.png
hexdump -v -e '1/1 "0x%X,"' $< > $@
- echo >> $@
+ printf '0x00\n' >> $@
endif
so... what i need to do, i need to change the part of the line:
- printf "%s%b" "$(patsubst %.png,%,$^)" '\x00' > $@
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀^⠀⠀⠀⠀⠀
from \x00
to \NUL
?
My printf was literally including the text
\x00
instead of an actual NUL. This fixed it for me.diff --git a/Makefile b/Makefile index f053527..f1255b7 100644 --- a/Makefile +++ b/Makefile @@ -602,11 +602,11 @@ $(BUILD_DIR)/%.ci4: %.ci4.png else $(BUILD_DIR)/%: %.png - printf "%s%b" "$(patsubst %.png,%,$^)" '\x00' > $@ + printf "%s%b" "$(patsubst %.png,%,$^)" > $@ $(BUILD_DIR)/%.inc.c: $(BUILD_DIR)/% %.png hexdump -v -e '1/1 "0x%X,"' $< > $@ - echo >> $@ + printf '0x00\n' >> $@ endif
You can send a pull request and I will check when I get the time. Weirdly it works just fine on Manjaro so I didn't think that there would be issues on other distros.
I am to send a pull request, ok?
The pull request: https://github.com/MorsGames/sm64plus/pull/23
This should work! Thanks for all
MORS, the @ioncorimenia maked a pull request, so this issue is closed
THANKS FOR ALL
I have the same issuse on my xubuntu machine
I am having trouble trying to play the port, just see this: I don't know why this happens, the textures are still in the folders, i tried to use the FAQ but don't worked, i viewed the log, nothing about textures missing, im using linux mint 20.1, anyone can help?