TheModdersDen / BootSoundNX

A system module that plays sound on the nintendo switch boot !
Apache License 2.0
13 stars 3 forks source link

v16 Firmware recompile? #4

Open ghost opened 1 year ago

ghost commented 1 year ago

Hi there. since v16 had some major changes in the modules could somebody please do a recompile of this nice mod? cheers

TheModdersDen commented 1 year ago

Hello, AntiFly!

Due to extenuating circumstances, I've been busy with other life things and projects that have eaten up time that would be used to do this. I also had a computer crash, which led to my code structure for this project being wiped. So I will need some time to rebuild it and recompile it. I plan on doing it, I just need some time.

Thanks again for your support! It's people like you that have inspired me to take up the mantle of this project in the first place.

Anyway, I hope to have a build out sometime soon. ETA: IDK when... But soon, hopefully... It's just a matter of getting the time to check all the boxes and not brick people's switches with bad code. :)

Thanks, //TheModdersDen

TheModdersDen commented 1 year ago

Hello, again, @AntiFly!

I just uploaded a new build, however, do note that it is untested at the moment (on my end) and I have yet to get feedback on if it works... Check the build notes for build 1.4.0-beta for more details...

Best, //TheModdersDen

ghost commented 1 year ago

Will give it a test as soon i find time for it. thank you ;)

deejay87 commented 1 year ago

hi, i have test on 16.0.1 / 1.5.1 but no sound

TheModdersDen commented 1 year ago

Hi, @deejay87!

Thanks for the information! I will be able to test it more thoroughly soon here and should hopefully have a "production ready" version soon. In the meantime, WYSIWYG. Wish I could do more, but I'm currently on vacation and forgot to bring my Switch. :(

Best, //TheModdersDen

EDIT: One quick question: did you use a custom sound, or the included one?

deejay87 commented 1 year ago

hi, I use included one yes, if you have something to test, no problem i have time :)

ghost commented 1 year ago

not working for me either so far. kind regards @TheModdersDen I am using custom "short" sound ;)

ghost commented 1 year ago

addition: after upgrading to 16.0.2 and current atmosphere is working with the old version again oO BootSoundNX-1.3.0 (working) BootSoundNX-1.4.0-beta (not working)

TheModdersDen commented 1 year ago

@AntiFly Hello, again!

I am currently having to re-write the sysmodule for the sake of understanding things better. This will take time, but I assure you, it is in the works... I will post more updates as things progress, but for now, I advise those who have not updated NOT TO UPDATE!!!

I noticed that it worked just fine on an emulator (specifically Yuzu), earlier, but what's odd is that it doesn't appear to want to work on the actual hardware.

If anyone in this group knows advanced C or C++, advice or help would be greatly appreciated. I, myself, am more of a "novice" and do this for a hobby. But if someone is willing to fork this, make a PR, and fix it, I'd be more than happy to accept help! :)

Best, //TheModdersDen

TheModdersDen commented 1 year ago

@deejay87 @AntiFly Quick update: I have been meddling with the code, trying to get it to work, and I believe I might have either fixed it (or made considerable progress). I have a Steam Deck emulator (Ryujinx), and by manually launching JUST the sysmodule, I was able to get a bootsound working.

NOTE: This is far from ideal progress, but it's a start.

I'll update you all with what I have when I have more to share. Until then, I am getting ready to upload a video of it in action. Also, some of you might be interested in the automated builds coming from CircleCI (if you want to be on the "bleeding edge.") If so, here's a link to look at the build states and get the latest artifacts: https://app.circleci.com/pipelines/github/TheModdersDen/BootSoundNX

Best, //TheModdersDen

EDIT: The Circle CI compile job number 47 was tested on HOS v16.0.3, and Atmosphere v1.5.3, on Hekate 6.0.3 (on the Steam Deck).

TheModdersDen commented 1 year ago

Sorry to be so late in updating this, but life has gotten out of hand for me lately.

I was really enveloped in this project, but then my health took a turn to the side and I've been working on getting better since. I would greatly appreciate the homebrew community's efforts on this module. Anything as far as a lead as to why this thing won't play would be much appreciated...

All the best, //TheModdersDen

ghost commented 1 year ago

i have tried recompiling with the latest devkit

TheModdersDen commented 1 year ago

i have tried recompiling with the latest devkit

Out of curiosity, any success? I was at it for hours with no success...

ghost commented 1 year ago

https://drive.google.com/file/d/1ozTyUbQqZs0aX7fYAs2JPUt8uqvXJNN1/view?usp=sharing some errors, i havent tried it out on a switch

ghost commented 1 year ago

full log:

su

root@155fbd9d3c7e:/# cd /home/bsnx root@155fbd9d3c7e:/home/bsnx# make main.cpp In file included from /opt/devkitpro/libnx/include/switch.h:41, from /home/bsnx/source/main.cpp:7: /opt/devkitpro/libnx/include/switch/sf/hipc.h: In function 'HipcRequest hipcMakeRequest(void, HipcMetadata)': /opt/devkitpro/libnx/include/switch/sf/hipc.h:255:9: warning: missing initializer for member 'HipcSpecialHeader::padding' [-Wmissing-field-initializers] 255 | }; | ^ /opt/devkitpro/libnx/include/switch/sf/cmif.h: In function 'void cmifMakeControlRequest(void, u32, u32)': /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::num_send_statics' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ VA_ARGS }) | ^ /opt/devkitpro/libnx/include/switch/sf/cmif.h:162:24: note: in expansion of macro 'hipcMakeRequestInline' 162 | HipcRequest hipc = hipcMakeRequestInline(base, | ^~~~~ /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::num_send_buffers' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ VA_ARGS }) | ^ /opt/devkitpro/libnx/include/switch/sf/cmif.h:162:24: note: in expansion of macro 'hipcMakeRequestInline' 162 | HipcRequest hipc = hipcMakeRequestInline(base, | ^~~~~ /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::num_recv_buffers' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ VA_ARGS }) | ^ /opt/devkitpro/libnx/include/switch/sf/cmif.h:162:24: note: in expansion of macro 'hipcMakeRequestInline' 162 | HipcRequest hipc = hipcMakeRequestInline(base, | ^~~~~ /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::num_exch_buffers' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ VA_ARGS }) | ^ /opt/devkitpro/libnx/include/switch/sf/cmif.h:162:24: note: in expansion of macro 'hipcMakeRequestInline' 162 | HipcRequest hipc = hipcMakeRequestInline(base, | ^~~~~ /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::num_recv_statics' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ VA_ARGS__ }) | ^ /opt/devkitpro/libnx/include/switch/sf/cmif.h:162:24: note: in expansion of macro 'hipcMakeRequestInline' 162 | HipcRequest hipc = hipcMakeRequestInline(base, | ^~~~~ /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::send_pid' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ VA_ARGS }) | ^ /opt/devkitpro/libnx/include/switch/sf/cmif.h:162:24: note: in expansion of macro 'hipcMakeRequestInline' 162 | HipcRequest hipc = hipcMakeRequestInline(base, | ^~~~~ /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::num_copy_handles' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ VA_ARGS }) | ^ /opt/devkitpro/libnx/include/switch/sf/cmif.h:162:24: note: in expansion of macro 'hipcMakeRequestInline' 162 | HipcRequest hipc = hipcMakeRequestInline(base, | ^~~~~ /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::num_move_handles' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ VA_ARGS__ }) | ^ /opt/devkitpro/libnx/include/switch/sf/cmif.h:162:24: note: in expansion of macro 'hipcMakeRequestInline' 162 | HipcRequest hipc = hipcMakeRequestInline(base, | ^~~~~ /opt/devkitpro/libnx/include/switch/sf/cmif.h: In function 'void cmifMakeCloseRequest(void, u32)': /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::num_send_statics' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ VA_ARGS }) | ^ /opt/devkitpro/libnx/include/switch/sf/cmif.h:179:28: note: in expansion of macro 'hipcMakeRequestInline' 179 | HipcRequest hipc = hipcMakeRequestInline(base, | ^~~~~ /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::num_send_buffers' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ VA_ARGS }) | ^ /opt/devkitpro/libnx/include/switch/sf/cmif.h:179:28: note: in expansion of macro 'hipcMakeRequestInline' 179 | HipcRequest hipc = hipcMakeRequestInline(base, | ^~~~~ /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::num_recv_buffers' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ VA_ARGS }) | ^ /opt/devkitpro/libnx/include/switch/sf/cmif.h:179:28: note: in expansion of macro 'hipcMakeRequestInline' 179 | HipcRequest hipc = hipcMakeRequestInline(base, | ^~~~~ /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::num_exch_buffers' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ VA_ARGS }) | ^ /opt/devkitpro/libnx/include/switch/sf/cmif.h:179:28: note: in expansion of macro 'hipcMakeRequestInline' 179 | HipcRequest hipc = hipcMakeRequestInline(base, | ^~~~~ /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::num_recv_statics' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ VA_ARGS__ }) | ^ /opt/devkitpro/libnx/include/switch/sf/cmif.h:179:28: note: in expansion of macro 'hipcMakeRequestInline' 179 | HipcRequest hipc = hipcMakeRequestInline(base, | ^~~~~ /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::send_pid' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ VA_ARGS }) | ^ /opt/devkitpro/libnx/include/switch/sf/cmif.h:179:28: note: in expansion of macro 'hipcMakeRequestInline' 179 | HipcRequest hipc = hipcMakeRequestInline(base, | ^~~~~ /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::num_copy_handles' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ VA_ARGS }) | ^ /opt/devkitpro/libnx/include/switch/sf/cmif.h:179:28: note: in expansion of macro 'hipcMakeRequestInline' 179 | HipcRequest hipc = hipcMakeRequestInline(base, | ^~~~~ /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::num_move_handles' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ VA_ARGS }) | ^ /opt/devkitpro/libnx/include/switch/sf/cmif.h:179:28: note: in expansion of macro 'hipcMakeRequestInline' 179 | HipcRequest hipc = hipcMakeRequestInline(base, | ^~~~~ In file included from /opt/devkitpro/libnx/include/switch.h:42: /opt/devkitpro/libnx/include/switch/sf/cmif.h:187:9: warning: missing initializer for member 'CmifDomainInHeader::num_in_objects' [-Wmissing-field-initializers] 187 | }; | ^ /opt/devkitpro/libnx/include/switch/sf/cmif.h:187:9: warning: missing initializer for member 'CmifDomainInHeader::data_size' [-Wmissing-field-initializers] /opt/devkitpro/libnx/include/switch/sf/cmif.h:187:9: warning: missing initializer for member 'CmifDomainInHeader::padding' [-Wmissing-field-initializers] /opt/devkitpro/libnx/include/switch/sf/cmif.h:187:9: warning: missing initializer for member 'CmifDomainInHeader::token' [-Wmissing-field-initializers] /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::num_send_statics' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ __VA_ARGS }) | ^ /opt/devkitpro/libnx/include/switch/sf/cmif.h:189:9: note: in expansion of macro 'hipcMakeRequestInline' 189 | hipcMakeRequestInline(base, | ^~~~~ /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::num_send_buffers' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ VA_ARGS }) | ^ /opt/devkitpro/libnx/include/switch/sf/cmif.h:189:9: note: in expansion of macro 'hipcMakeRequestInline' 189 | hipcMakeRequestInline(base, | ^~~~~ /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::num_recv_buffers' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ VA_ARGS }) | ^ /opt/devkitpro/libnx/include/switch/sf/cmif.h:189:9: note: in expansion of macro 'hipcMakeRequestInline' 189 | hipcMakeRequestInline(base, | ^~~~~ /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::num_exch_buffers' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ VA_ARGS }) | ^ /opt/devkitpro/libnx/include/switch/sf/cmif.h:189:9: note: in expansion of macro 'hipcMakeRequestInline' 189 | hipcMakeRequestInline(base, | ^~~~~ /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::num_data_words' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ VA_ARGS }) | ^ /opt/devkitpro/libnx/include/switch/sf/cmif.h:189:9: note: in expansion of macro 'hipcMakeRequestInline' 189 | hipcMakeRequestInline(base, | ^~~~~ /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::num_recv_statics' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ VA_ARGS__ }) | ^ /opt/devkitpro/libnx/include/switch/sf/cmif.h:189:9: note: in expansion of macro 'hipcMakeRequestInline' 189 | hipcMakeRequestInline(base, | ^~~~~ /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::send_pid' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ VA_ARGS }) | ^ /opt/devkitpro/libnx/include/switch/sf/cmif.h:189:9: note: in expansion of macro 'hipcMakeRequestInline' 189 | hipcMakeRequestInline(base, | ^~~~~ /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::num_copy_handles' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ VA_ARGS }) | ^ /opt/devkitpro/libnx/include/switch/sf/cmif.h:189:9: note: in expansion of macro 'hipcMakeRequestInline' 189 | hipcMakeRequestInline(base, | ^~~~~ /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::num_move_handles' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ VA_ARGS }) | ^ /opt/devkitpro/libnx/include/switch/sf/cmif.h:189:9: note: in expansion of macro 'hipcMakeRequestInline' 189 | hipcMakeRequestInline(base, | ^~~~~ /opt/devkitpro/libnx/include/switch/sf/tipc.h: In function 'void tipcClose(TipcService*)': /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::num_send_statics' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ VA_ARGS }) | ^ /opt/devkitpro/libnx/include/switch/sf/tipc.h:63:5: note: in expansion of macro 'hipcMakeRequestInline' 63 | hipcMakeRequestInline(armGetTls(), .type = TipcCommandType_Close); | ^~~~~ /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::num_send_buffers' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ __VA_ARGS }) | ^ /opt/devkitpro/libnx/include/switch/sf/tipc.h:63:5: note: in expansion of macro 'hipcMakeRequestInline' 63 | hipcMakeRequestInline(armGetTls(), .type = TipcCommandType_Close); | ^~~~~ /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::num_recv_buffers' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ VA_ARGS__ }) | ^ /opt/devkitpro/libnx/include/switch/sf/tipc.h:63:5: note: in expansion of macro 'hipcMakeRequestInline' 63 | hipcMakeRequestInline(armGetTls(), .type = TipcCommandType_Close); | ^~~~~ /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::num_exch_buffers' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ VA_ARGS }) | ^ /opt/devkitpro/libnx/include/switch/sf/tipc.h:63:5: note: in expansion of macro 'hipcMakeRequestInline' 63 | hipcMakeRequestInline(armGetTls(), .type = TipcCommandType_Close); | ^~~~~ /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::num_data_words' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ __VA_ARGS }) | ^ /opt/devkitpro/libnx/include/switch/sf/tipc.h:63:5: note: in expansion of macro 'hipcMakeRequestInline' 63 | hipcMakeRequestInline(armGetTls(), .type = TipcCommandType_Close); | ^~~~~ /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::num_recv_statics' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ VA_ARGS }) | ^ /opt/devkitpro/libnx/include/switch/sf/tipc.h:63:5: note: in expansion of macro 'hipcMakeRequestInline' 63 | hipcMakeRequestInline(armGetTls(), .type = TipcCommandType_Close); | ^~~~~ /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::send_pid' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ VA_ARGS }) | ^ /opt/devkitpro/libnx/include/switch/sf/tipc.h:63:5: note: in expansion of macro 'hipcMakeRequestInline' 63 | hipcMakeRequestInline(armGetTls(), .type = TipcCommandType_Close); | ^~~~~ /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::num_copy_handles' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ VA_ARGS__ }) | ^ /opt/devkitpro/libnx/include/switch/sf/tipc.h:63:5: note: in expansion of macro 'hipcMakeRequestInline' 63 | hipcMakeRequestInline(armGetTls(), .type = TipcCommandType_Close); | ^~~~~ /opt/devkitpro/libnx/include/switch/sf/hipc.h:264:94: warning: missing initializer for member 'HipcMetadata::num_move_handles' [-Wmissing-field-initializers] 264 | #define hipcMakeRequestInline(_base,...) hipcMakeRequest((_base),(HipcMetadata){ VA_ARGS__ }) | ^ /opt/devkitpro/libnx/include/switch/sf/tipc.h:63:5: note: in expansion of macro 'hipcMakeRequestInline' 63 | hipcMakeRequestInline(armGetTls(), .type = TipcCommandType_Close); | ^~~~~ In file included from /opt/devkitpro/libnx/include/switch/services/applet.h:13, from /opt/devkitpro/libnx/include/switch.h:54: /opt/devkitpro/libnx/include/switch/services/../services/caps.h: In function 'CapsAlbumFileDateTime capsGetDefaultStartDateTime()': /opt/devkitpro/libnx/include/switch/services/../services/caps.h:213:70: warning: missing initializer for member 'CapsAlbumFileDateTime::hour' [-Wmissing-field-initializers] 213 | return (CapsAlbumFileDateTime){.year = 1970, .month = 1, .day = 1}; | ^ /opt/devkitpro/libnx/include/switch/services/../services/caps.h:213:70: warning: missing initializer for member 'CapsAlbumFileDateTime::minute' [-Wmissing-field-initializers] /opt/devkitpro/libnx/include/switch/services/../services/caps.h:213:70: warning: missing initializer for member 'CapsAlbumFileDateTime::second' [-Wmissing-field-initializers] /opt/devkitpro/libnx/include/switch/services/../services/caps.h:213:70: warning: missing initializer for member 'CapsAlbumFileDateTime::id' [-Wmissing-field-initializers] /opt/devkitpro/libnx/include/switch/services/../services/caps.h: In function 'CapsAlbumFileDateTime capsGetDefaultEndDateTime()': /opt/devkitpro/libnx/include/switch/services/../services/caps.h:218:70: warning: missing initializer for member 'CapsAlbumFileDateTime::hour' [-Wmissing-field-initializers] 218 | return (CapsAlbumFileDateTime){.year = 3000, .month = 1, .day = 1}; | ^ /opt/devkitpro/libnx/include/switch/services/../services/caps.h:218:70: warning: missing initializer for member 'CapsAlbumFileDateTime::minute' [-Wmissing-field-initializers] /opt/devkitpro/libnx/include/switch/services/../services/caps.h:218:70: warning: missing initializer for member 'CapsAlbumFileDateTime::second' [-Wmissing-field-initializers] /opt/devkitpro/libnx/include/switch/services/../services/caps.h:218:70: warning: missing initializer for member 'CapsAlbumFileDateTime::id' [-Wmissing-field-initializers] In file included from /opt/devkitpro/libnx/include/switch/services/async.h:10, from /opt/devkitpro/libnx/include/switch.h:55: /opt/devkitpro/libnx/include/switch/services/../applets/error.h: In function 'ErrorCode errorCodeCreateInvalid()': /opt/devkitpro/libnx/include/switch/services/../applets/error.h:142:25: warning: missing initializer for member 'ErrorCode::desc' [-Wmissing-field-initializers] 142 | return (ErrorCode){0}; | ^ /home/bsnx/source/main.cpp: In function 'void __appInit()': /home/bsnx/source/main.cpp:38:12: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 38 | Result rc; | ^~ /home/bsnx/source/main.cpp: In function 'int main(int, char*)': /home/bsnx/source/main.cpp:83:17: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings] 83 | playMp3("sdmc://config/BootSoundNX/sound/bootsound.mp3"); | ^~~~~~~~~~~ /home/bsnx/source/main.cpp:77:14: warning: unused parameter 'argc' [-Wunused-parameter] 77 | int main(int argc, char argv[]) | ~~^~ /home/bsnx/source/main.cpp:77:26: warning: unused parameter 'argv' [-Wunused-parameter] 77 | int main(int argc, char argv[]) | ~~^~ mp3.c /home/bsnx/source/mp3.c: In function 'initMp3': /home/bsnx/source/mp3.c:44:22: warning: implicit conversion from 'enum mpg123_param_flags' to 'enum mpg123_parms' [-Wenum-conversion] 44 | mpg123_par(pars, MPG123_FORCE_STEREO, 1, 0); | ^~~~~~~ In file included from /opt/devkitpro/libnx/include/switch.h:170, from /home/bsnx/source/util.h:1, from /home/bsnx/source/mp3.c:8: In function 'padGetButtonsDown', inlined from 'inputPoller' at /home/bsnx/source/mp3.c:147:21: /opt/devkitpro/libnx/include/switch/runtime/pad.h:160:12: warning: 'pad.buttons_old' is used uninitialized [-Wuninitialized] 160 | return ~pad->buttons_old & pad->buttons_cur; | ^~~~~ /home/bsnx/source/mp3.c: In function 'inputPoller': /home/bsnx/source/mp3.c:146:26: note: 'pad.buttons_old' was declared here 146 | PadState pad; | ^~~ In function 'padGetButtonsDown', inlined from 'inputPoller' at /home/bsnx/source/mp3.c:147:21: /opt/devkitpro/libnx/include/switch/runtime/pad.h:160:30: warning: 'pad.buttons_cur' is used uninitialized [-Wuninitialized] 160 | return ~pad->buttons_old & pad->buttons_cur; | ~~~~^~~~ /home/bsnx/source/mp3.c: In function 'inputPoller': /home/bsnx/source/mp3.c:146:26: note: 'pad.buttons_cur' was declared here 146 | PadState pad; | ^~~ util.c /home/bsnx/source/util.c: In function 'fatalSimple': /home/bsnx/source/util.c:16:5: warning: implicit declaration of function 'ipcInitialize'; did you mean 'bpcInitialize'? [-Wimplicit-function-declaration] 16 | ipcInitialize(&c); | ^~~~~ | bpcInitialize /home/bsnx/source/util.c:17:5: warning: implicit declaration of function 'ipcSendPid' [-Wimplicit-function-declaration] 17 | ipcSendPid(&c); | ^~~~~~ /home/bsnx/source/util.c:26:11: warning: implicit declaration of function 'ipcPrepareHeader' [-Wimplicit-function-declaration] 26 | raw = ipcPrepareHeader(&c, sizeof(raw)); | ^~~~ /home/bsnx/source/util.c:26:9: warning: assignment to 'struct ' from 'int' makes pointer from integer without a cast [-Wint-conversion] 26 | raw = ipcPrepareHeader(&c, sizeof(*raw)); | ^ /home/bsnx/source/util.c:33:5: warning: implicit declaration of function 'ipcDispatch'; did you mean 'tipcDispatch'? [-Wimplicit-function-declaration] 33 | ipcDispatch(srv); | ^~~ | tipcDispatch linking bootsoundnx.elf built ... bootsoundnx.nso Failed to get system_resource_size (field not present). Failed to get version (field not present). Failed to get process_category (field not present). Failed to get optimize_memory_allocation (field not present). Failed to get disable_device_address_space_merge (field not present). Failed to get signature_key_generation (field not present). Failed to get program_id_range_min (field not present). Failed to get program_id_range_max (field not present). Failed to get program_id (field not present). Using deprecated kernel_capabilities format. Please turn it into an array. built ... bootsoundnx.npdm built ... bootsoundnx.nsp root@155fbd9d3c7e:/home/bsnx#