GithubHelp home page GithubHelp logo

rrath / wire3d Goto Github PK

View Code? Open in Web Editor NEW
37.0 37.0 6.0 44.53 MB

3D engine for Wii and PC (C++)

License: GNU Lesser General Public License v3.0

Makefile 1.24% C++ 37.21% C# 0.61% C 60.88% HTML 0.07%

wire3d's People

Contributors

h3xstream avatar rrath avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

wire3d's Issues

Cannot compile Freetype library

I am using Msys2, and I was compiling when I got the following:
"make[1]: Entering directory '/usr/local/Wire3D/Tools/freetype'
/opt/devkitpro/devkitPPC/bin/powerpc-eabi-gcc -I. -I./builds/wii -I./include -c -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -o ftsystem.o src/base/ftsystem.c
make[1]: *** [builds/freetype.mk:198: ftsystem.o] Error 1
make[1]: Leaving directory '/usr/local/Wire3D/Tools/freetype'
make: *** [Makefile:8: all] Error 2"

I am confused, since I am not a wizard with make.

Can't build Data (.idx .nm .uv0 .uv1 ... files)

Hello, I have a problem in the Game/Demo d'amples Or one of my samples.
It's looks like Data's folder files are not included in the game build... I think the MakeFile doesn't build these files.
Can you help me please?
I tried to add the folder in the list of target folders of Makefile like
DATA := ../../Data

But now in my CMD I have this error :

make[1]: *** No rule to make target 'Cube.idx.o', needed by '/opt/devkitpro/Wire3D-master/Samples/SampleTest/builds/gcc_wii/SampleTest.elf'. Stop.

Thank you!

Issue running Demo and Game samples

This is a follow up to an interrogation I had in this other issue...
#3 (comment)

Compilation of both Demo and Game succeed but contrary to the other sample. They don't run in Dolphin or actual Wii.

Abrupt exit

image

This is the log in Dolphin:

14:13:846 Core\ConfigManager.cpp:178 N[CORE]: Active title: 
14:13:848 Core\Core.cpp:1060 N[COMMON]: Want determinism <- false
14:13:876 Core\ConfigLoaders\BaseConfigLoader.cpp:81 N[CORE]: Disabling WC24 'standby' (shutdown to idle) to avoid hanging on shutdown
14:13:964 beb\src\cubeb_wasapi.cpp:1332 N[Audio]: default device period: 100000
14:13:964 beb\src\cubeb_wasapi.cpp:1340 N[Audio]: Minimum latency in frames: 480
14:13:964 beb\src\cubeb_wasapi.cpp:1679 N[Audio]: (0000015D7CB5D670) Setup render: device=0000000000000000
14:13:968 beb\src\cubeb_wasapi.cpp:1587 N[Audio]: Setup requested=[f=0 r=48000 c=2 l=stereo] mix=[f=0 r=48000 c=2 l=stereo]
14:13:986 beb\src\cubeb_wasapi.cpp:1730 N[Audio]: Target sample rate: 48000
14:13:986 beb\src\cubeb_wasapi.cpp:151 N[Audio]: COM was already initialized in MTA
14:14:306 beb\src\cubeb_wasapi.cpp:1190 N[Audio]: Stop and join render thread.
14:14:306 beb\src\cubeb_wasapi.cpp:1233 N[Audio]: Closing thread.
14:14:306 Core\Boot\Boot.cpp:527 N[BOOT]: Booting from executable: C:/Code/Wire3D/Samples/Demo/Demo.dol
14:14:489 beb\src\cubeb_wasapi.cpp:1190 N[Audio]: Stop and join render thread.
14:14:489 beb\src\cubeb_wasapi.cpp:1233 N[Audio]: Closing thread.
18:01:148 Core\ConfigLoaders\BaseConfigLoader.cpp:81 N[CORE]: Disabling WC24 'standby' (shutdown to idle) to avoid hanging on shutdown
18:01:194 beb\src\cubeb_wasapi.cpp:1190 N[Audio]: Stop and join render thread.
18:01:194 beb\src\cubeb_wasapi.cpp:1192 N[Audio]: No thread present.
18:01:194 beb\src\cubeb_wasapi.cpp:1190 N[Audio]: Stop and join render thread.
18:01:194 beb\src\cubeb_wasapi.cpp:1192 N[Audio]: No thread present.

Paths

It was mentionned that if the resources can not be loaded it will exit. These seems like a very probable code path. So, I verified that the different resources fonts and textures were using the correct path.

mspLogo = LoadAndInitLogo();
if (!mspLogo)
{
WIRE_ASSERT(false /* Could not load Logo.xml */);
return false;
}

Here is the directory structure where i can see that all resources are presented in Data/

image


If you have any ideas, let me know.
And btw I am new to both devkitpro, Dolphin and PowerPC... It is likely something very basic.

Wii hangs when attempting to finish render cycle

I'm new to this, so I've based my code off of Demo.cpp. I managed to make something that almost works, but my Wii always hard freezes at the last steps in the render loop (GetRenderer()->PostDraw(); and GetRenderer()->DisplayBackBuffer();). Additionally, when I try to run it in Dolphin, it spits out a "GFX FIFO: UNKNOWN OPCODE (0x07)" error, but actually seems to work if I dismiss it. When building through Visual Studio, it also works perfectly fine in DirectX under Windows. If there's anything that you can do to point me in the correct direction, that'd be great. Thanks!

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.