Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black screen, no audio #16

Open
sys512 opened this issue Aug 7, 2024 · 10 comments
Open

Black screen, no audio #16

sys512 opened this issue Aug 7, 2024 · 10 comments

Comments

@sys512
Copy link

sys512 commented Aug 7, 2024

I have created a small test project to see how it would run on a wii, it contains a cube with a blue/orange material, a directional light, audio, and a camera, Play In Editor works fine, as expected but wii and wii embedded show one frame of green then just black when run on Dolphin, same for homebrewed wii.

@sys512
Copy link
Author

sys512 commented Aug 7, 2024

Here's my project in a zip file
wiitest.zip

@mholtkamp
Copy link
Owner

I packaged your project for Wii (Embedded) and ran it in Dolphin. It flashed green for a frame or two, but after that I could see the cube and hear the sound. I'm working on the latest commit on the main branch.

Are you building from source code or are you using the precompiled Alpha release?

It's possible that it could be a devkitPPC version difference... I don't think devkitPro has there older versions easily downloadable. I'm not even sure if there are version numbers. Did you install devkitPPC a while ago or just recently? If you just installed it recently then I could try updating to latest and see if I hit the same problem.

I don't have my Wii setup right now, but I'll try to get it setup this weekend and see if your packaged build runs on it.

Here's the embedded version that I packaged, if you want to test it in dolphin or on Wii.
wiitest_embedded_dol.zip

@sys512
Copy link
Author

sys512 commented Aug 8, 2024

I built from source 6th August, should I re-download and build again?

@sys512
Copy link
Author

sys512 commented Aug 8, 2024

ok, i'll try precompiled alpha, even though its 39 commits behind, this is what the current code gave me:

Failed to find global shader: Shadow.vert
[Assert] 0, VulkanContext.cpp, line 2261

D:\octave-main\Standalone\Build\Windows\x64\DebugEditor\Octave.exe (process 8744) exited with code -2147483645.

@sys512
Copy link
Author

sys512 commented Aug 8, 2024

i packaged with alpha version and black screen again... must be devkitpro then...

@sys512
Copy link
Author

sys512 commented Aug 8, 2024

make[1]: *** No rule to make target 'D:/octave-main/Standalone/Generated/EmbeddedAssets.cpp', needed by 'EmbeddedAssets.o'. Stop. make[1]: *** Waiting for unfinished jobs.... Main.cpp make: *** [Makefile_Wii:113: Intermediate/Wii] Error 2 make: Leaving directory '/d/octave-old/Standalone' [Exec] cp Standalone//Build/Wii/Octave.dol D:/Octave-Proj/wiitest/Packaged/Wii/ [Exec] mv D:/Octave-Proj/wiitest/Packaged/Wii/Octave.dol D:/Octave-Proj/wiitest/Packaged/Wii/wiitest.dol Build Finished

@sys512
Copy link
Author

sys512 commented Aug 8, 2024

What's error 2?

@sys512
Copy link
Author

sys512 commented Aug 8, 2024

It runs fine in Dolphin but the texture of the cube looks corrupted on a real wii

@mholtkamp
Copy link
Owner

I was finally able to test on a Wii, and yes I'm stuck on a black screen with the non-embedded build. Looks like it can't discover the project. Hope to find an answer soon. I have seen the texture corruption issue in the past, and I have some ideas of what it could be, so I'll try to fix that next.

@mholtkamp
Copy link
Owner

Okay, I think I might have fixed the problem you were seeing when running a non-embedded build. The issue was that the engine was trying to read the Engine.ini config file before the FAT library was initialized and it failed. Therefore it couldn't determine the project name / directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants