Code Monkey home page Code Monkey logo

3ds-vgmstream's People

Contributors

tricksterguy avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

manuel21m

3ds-vgmstream's Issues

Crash on close

Self explanatory. I closed my O3DS Luma 8.1 11.5.0 in the hope that playing a bcstm in sleep was implemented, opened it again to find that it didn't wake up (I had to hard reboot it)

3ds may freeze on certain formats. [Known list of formats that don't work]

Currently its best to test the behavior on an emulator to save yourself some trouble. If a format isn't supported the worst that happens is the app freezes and you have to power off your 3ds.

Citra may report messages in the form of the following
HW.Memory core/memory.cpp:Read:107: unmapped Read32 @


HW.Memory core/memory.cpp:Write:130: unmapped Write32 @

afaik citra doesn't support audio currently or at least I haven't heard any sound output from it.

The list of broken formats is here

Popping sound issues

Confirmed that I can barely hear it on my n3ds with headphones on but some files have small popping sounds. This is possibly due to the way 3ds-vgmstream is streaming the sound using the csnd service.

Error while compiling using latest devkitarm: undefined reference to `__ctype_ptr__'

Here's the output of make:

built ... 3ds-vgmstream.smdh
main.cpp
arm-none-eabi-g++ -MMD -MP -MF /c/Users/XXX/Documents/3ds/3ds-vgmstream-master/build/main.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/Users/XXX/Documents/3ds/3ds-vgmstream-master/source -I/c/Users/XXX/Documents/3ds/3ds-vgmstream-master/include -I/c/devkitPro/portlibs/armv6k/include -I/c/devkitPro/portlibs/3ds/include -I/c/devkitPro/libctru/include -I./lib/include -I/c/Users/XXX/Documents/3ds/3ds-vgmstream-master/libs/vgmstream/include -I/c/Users/XXX/Documents/3ds/3ds-vgmstream-master/libs/vorbis/include -I/c/Users/XXX/Documents/3ds/3ds-vgmstream-master/libs/ogg/include -I/c/Users/XXX/Documents/3ds/3ds-vgmstream-master/libs/mpg123/include -I/c/Users/XXX/Documents/3ds/3ds-vgmstream-master/build -DARM11 -D_3DS  -std=gnu++11 -fno-rtti -fno-exceptions -c /c/Users/XXX/Documents/3ds/3ds-vgmstream-master/source/main.cpp -o main.o
c:/Users/XXX/Documents/3ds/3ds-vgmstream-master/source/main.cpp: In function 'void streamMusic(void*)':
c:/Users/XXX/Documents/3ds/3ds-vgmstream-master/source/main.cpp:159:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (!vgmstream)
     ^~
c:/Users/XXX/Documents/3ds/3ds-vgmstream-master/source/main.cpp:162:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  int channel = 0;
  ^~~
c:/Users/XXX/Documents/3ds/3ds-vgmstream-master/source/main.cpp:197:20: warning: variable 'playingBuf' set but not used [-Wunused-but-set-variable]
     stream_buffer* playingBuf = &playBuffer1;
                    ^~~~~~~~~~
In file included from c:/Users/XXX/Documents/3ds/3ds-vgmstream-master/libs/vgmstream/include/vgmstream.h:24:0,
                 from c:/Users/XXX/Documents/3ds/3ds-vgmstream-master/source/main.cpp:13:
c:/devkitPro/portlibs/armv6k/include/vorbis/vorbisfile.h: At global scope:
c:/devkitPro/portlibs/armv6k/include/vorbis/vorbisfile.h:96:21: warning: 'OV_CALLBACKS_STREAMONLY_NOCLOSE' defined but not used [-Wunused-variable]
 static ov_callbacks OV_CALLBACKS_STREAMONLY_NOCLOSE = {
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
c:/devkitPro/portlibs/armv6k/include/vorbis/vorbisfile.h:89:21: warning: 'OV_CALLBACKS_STREAMONLY' defined but not used [-Wunused-variable]
 static ov_callbacks OV_CALLBACKS_STREAMONLY = {
                     ^~~~~~~~~~~~~~~~~~~~~~~
c:/devkitPro/portlibs/armv6k/include/vorbis/vorbisfile.h:82:21: warning: 'OV_CALLBACKS_NOCLOSE' defined but not used [-Wunused-variable]
 static ov_callbacks OV_CALLBACKS_NOCLOSE = {
                     ^~~~~~~~~~~~~~~~~~~~
c:/devkitPro/portlibs/armv6k/include/vorbis/vorbisfile.h:75:21: warning: 'OV_CALLBACKS_DEFAULT' defined but not used [-Wunused-variable]
 static ov_callbacks OV_CALLBACKS_DEFAULT = {
                     ^~~~~~~~~~~~~~~~~~~~
linking 3ds-vgmstream.elf
c:/Users/XXX/Documents/3ds/3ds-vgmstream-master/libs/vgmstream/lib\libvgmstream.a(mus_acm.o): In function `find_directory_name':
mus_acm.c:(.text+0x338): undefined reference to `__ctype_ptr__'
c:/Users/XXX/Documents/3ds/3ds-vgmstream-master/libs/vgmstream/lib\libvgmstream.a(mus_acm.o): In function `init_vgmstream_mus_acm':
mus_acm.c:(.text+0xb38): undefined reference to `__ctype_ptr__'
c:/Users/XXX/Documents/3ds/3ds-vgmstream-master/libs/vgmstream/lib\libvgmstream.a(nwa.o): In function `init_vgmstream_nwa':
nwa.c:(.text+0xaa0): undefined reference to `__ctype_ptr__'
c:/Users/XXX/Documents/3ds/3ds-vgmstream-master/libs/vgmstream/lib\libvgmstream.a(pos.o): In function `init_vgmstream_pos':
pos.c:(.text+0x1e8): undefined reference to `__ctype_ptr__'
c:/Users/XXX/Documents/3ds/3ds-vgmstream-master/libs/vgmstream/lib\libvgmstream.a(sli.o): In function `init_vgmstream_sli_ogg':
sli.c:(.text+0x338): undefined reference to `__ctype_ptr__'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [/c/Users/XXX/Documents/3ds/3ds-vgmstream-master/output/3ds-vgmstream.elf] Error 1
make: *** [all] Error 2

I guess this comes from the libraries. I tried compiling them myself, but I didn't succeed.

Not able to compile using latest devkitpro + portlibs

Using a fresh devkitpro install, cloning this repo and running make I get several warnings and this error which prevents further compilation.

main.cpp:478:48: error: 'RESET_STICKY' was not declared in this scope svcCreateEvent(&bufferReadyConsumeRequest, RESET_STICKY);

Anybody know of any reason why this might be? Where would RESET_STICKY usually be set?

CIA build

So the steps to create a cia file are in the makefile (note it assumes makerom and bannertool are in the path) but the only thing blocking the creation of it is an appropriate rsf file to feed makerom.

I've tried this myself, but failed.

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.