xx3dsfml Multi-platform N3DSXL Capture Software Audio Update

harpentong
Posts: 38
Joined: Sun Feb 12, 2023 11:31 am

Re: xx3dsfml Multi-platform N3DSXL Capture Software Audio Update

Post by harpentong » Sun Mar 31, 2024 2:20 pm

This is what I see now upon running make, shit it actually ran now after doing ./xx3dsfml

xx3dsfml-new_main_changes % make
clang++ -std=c++17 -I ftd3xx -c xx3dsfml.cpp -o xx3dsfml.o
xx3dsfml.cpp:402:11: warning: enumeration value 'JOINT' not handled in switch [-Wswitch]
switch (this->m_stype) {
^~~~~~~~~~~~~
xx3dsfml.cpp:402:11: note: add missing switch cases
switch (this->m_stype) {
^
xx3dsfml.cpp:433:13: warning: 83 enumeration values not handled in switch: 'Unknown', 'A', 'D'... [-Wswitch]
switch (this->m_event.key.code) {
^~~~~~~~~~~~~~~~~~~~~~
xx3dsfml.cpp:433:13: note: add missing switch cases
switch (this->m_event.key.code) {
^
xx3dsfml.cpp:427:12: warning: 22 enumeration values not handled in switch: 'Resized', 'LostFocus', 'GainedFocus'... [-Wswitch]
switch (this->m_event.type) {
^~~~~~~~~~~~~~~~~~
xx3dsfml.cpp:427:12: note: add missing switch cases
switch (this->m_event.type) {
^
xx3dsfml.cpp:639:11: warning: enumeration value 'END' not handled in switch [-Wswitch]
switch (this->m_info.crop_kind) {
^~~~~~~~~~~~~~~~~~~~~~
xx3dsfml.cpp:639:11: note: add missing switch cases
switch (this->m_info.crop_kind) {
^
4 warnings generated.
clang++ xx3dsfml.o -o xx3dsfml -std=c++17 -Wl,-rpath /usr/local/lib -Wl,-rpath /opt/homebrew/lib -framework Cocoa -framework OpenGL -framework IOKit ftd3xx/libftd3xx-static.a -lsfml-audio -lsfml-graphics -lsfml-system -lsfml-window -lpthread

harpentong
Posts: 38
Joined: Sun Feb 12, 2023 11:31 am

Re: xx3dsfml Multi-platform N3DSXL Capture Software Audio Update

Post by harpentong » Sun Mar 31, 2024 2:23 pm

Since it ran, I went for the remaining commands, heres what it says

rm -fr ftd3xx
mkdir -p ftd3xx/downloads
curl https://ftdichip.com/wp-content/uploads ... .1.0.5.dmg -o ftd3xx/downloads/d3xx-osx.1.0.5.dmg
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2016k 100 2016k 0 0 287k 0 0:00:07 0:00:07 --:--:-- 428k
hdiutil attach ftd3xx/downloads/d3xx-osx.1.0.5.dmg
Checksumming Protective Master Boot Record (MBR : 0)…
Protective Master Boot Record (MBR :: verified CRC32 $4E0BB5EA
Checksumming GPT Header (Primary GPT Header : 1)…
GPT Header (Primary GPT Header : 1): verified CRC32 $88EEE5F1
Checksumming GPT Partition Data (Primary GPT Table : 2)…
GPT Partition Data (Primary GPT Tabl: verified CRC32 $F84B9B07
Checksumming (Apple_Free : 3)…
(Apple_Free : 3): verified CRC32 $00000000
Checksumming disk image (Apple_APFS : 4)…
...............................................................................
disk image (Apple_APFS : 4): verified CRC32 $82871F21
Checksumming (Apple_Free : 5)…
(Apple_Free : 5): verified CRC32 $00000000
Checksumming GPT Partition Data (Backup GPT Table : 6)…
GPT Partition Data (Backup GPT Table: verified CRC32 $F84B9B07
Checksumming GPT Header (Backup GPT Header : 7)…
GPT Header (Backup GPT Header : 7): verified CRC32 $0BF82C94
verified CRC32 $55811617
/dev/disk26 GUID_partition_scheme
/dev/disk26s1 Apple_APFS
/dev/disk27 EF57347C-0000-11AA-AA11-0030654
/dev/disk27s1 41504653-0000-11AA-AA11-0030654 /Volumes/d3xx-osx.1.0.5 2
cp /Volumes/d3xx-osx.1.0.5/libftd3xx-static.a ftd3xx
cp /Volumes/d3xx-osx.1.0.5/*.h ftd3xx
rm -fr ftd3xx/downloads
hdiutil detach /Volumes/d3xx-osx.1.0.5
"disk14" ejected.
rm -f xx3dsfml *.o
clang++ -std=c++17 -I ftd3xx -c xx3dsfml.cpp -o xx3dsfml.o
xx3dsfml.cpp:402:11: warning: enumeration value 'JOINT' not handled in switch [-Wswitch]
switch (this->m_stype) {
^~~~~~~~~~~~~
xx3dsfml.cpp:402:11: note: add missing switch cases
switch (this->m_stype) {
^
xx3dsfml.cpp:433:13: warning: 83 enumeration values not handled in switch: 'Unknown', 'A', 'D'... [-Wswitch]
switch (this->m_event.key.code) {
^~~~~~~~~~~~~~~~~~~~~~
xx3dsfml.cpp:433:13: note: add missing switch cases
switch (this->m_event.key.code) {
^
xx3dsfml.cpp:427:12: warning: 22 enumeration values not handled in switch: 'Resized', 'LostFocus', 'GainedFocus'... [-Wswitch]
switch (this->m_event.type) {
^~~~~~~~~~~~~~~~~~
xx3dsfml.cpp:427:12: note: add missing switch cases
switch (this->m_event.type) {
^
xx3dsfml.cpp:639:11: warning: enumeration value 'END' not handled in switch [-Wswitch]
switch (this->m_info.crop_kind) {
^~~~~~~~~~~~~~~~~~~~~~
xx3dsfml.cpp:639:11: note: add missing switch cases
switch (this->m_info.crop_kind) {
^
4 warnings generated.
clang++ xx3dsfml.o -o xx3dsfml -std=c++17 -Wl,-rpath /usr/local/lib -Wl,-rpath /opt/homebrew/lib -framework Cocoa -framework OpenGL -framework IOKit ftd3xx/libftd3xx-static.a -lsfml-audio -lsfml-graphics -lsfml-system -lsfml-window -lpthread

harpentong
Posts: 38
Joined: Sun Feb 12, 2023 11:31 am

Re: xx3dsfml Multi-platform N3DSXL Capture Software Audio Update

Post by harpentong » Sun Mar 31, 2024 2:30 pm

Ok so initially the app ran and the window for it appeared but then it all went downhill after those extra commands, now the app wont opena nd macOS blocks it citing safety and security issues

Lorenzooone
Posts: 14
Joined: Tue Mar 26, 2024 2:10 am
Contact:

Re: xx3dsfml Multi-platform N3DSXL Capture Software Audio Update

Post by Lorenzooone » Sun Mar 31, 2024 3:58 pm

harpentong wrote:
Sun Mar 31, 2024 2:30 pm
Ok so initially the app ran and the window for it appeared but then it all went downhill after those extra commands, now the app wont opena nd macOS blocks it citing safety and security issues
Oh!
This is likely due to the fact that the ftd3xx driver which has no "disconnection issue" is old, so macOS blocks it... :/
This... Kind of sucks, since it means that USB disconnections will likely make the program crash...
Oh well, crashing upon disconnects is still better than the program not running at all... :/

Will see in the future if I can port the safe mode to the main branch, to reduce the likelihood of crashing.

Try redownloading now, then running again the following:

Code: Select all

make download_ftd3xx
make clean
make
And tell me if you still see that "safety and security" issue.
This should be finally it.

harpentong
Posts: 38
Joined: Sun Feb 12, 2023 11:31 am

Re: xx3dsfml Multi-platform N3DSXL Capture Software Audio Update

Post by harpentong » Sun Mar 31, 2024 5:38 pm

Lorenzooone wrote:
Sun Mar 31, 2024 3:58 pm
harpentong wrote:
Sun Mar 31, 2024 2:30 pm
Ok so initially the app ran and the window for it appeared but then it all went downhill after those extra commands, now the app wont opena nd macOS blocks it citing safety and security issues
Oh!
This is likely due to the fact that the ftd3xx driver which has no "disconnection issue" is old, so macOS blocks it... :/
This... Kind of sucks, since it means that USB disconnections will likely make the program crash...
Oh well, crashing upon disconnects is still better than the program not running at all... :/

Will see in the future if I can port the safe mode to the main branch, to reduce the likelihood of crashing.

Try redownloading now, then running again the following:

Code: Select all

make download_ftd3xx
make clean
make
And tell me if you still see that "safety and security" issue.
This should be finally it.
I tried, it just does not want to work anymore, that window opened once and then when i did that second command it wont open anymore despite deleting the file and re-doing what i did

I will share the terminal text shortly but in the meantime here are some photos

Image

Image

Image

Image

There is just no way to open it, MacOS's built in security wont allow it, i dont know how that window opened the first time but it worked and now it doesnt wanna work anymore, i think it might have to do with that driver code but im not entirely sure

harpentong
Posts: 38
Joined: Sun Feb 12, 2023 11:31 am

Re: xx3dsfml Multi-platform N3DSXL Capture Software Audio Update

Post by harpentong » Sun Mar 31, 2024 5:39 pm

As for terminal, here it is

xx3dsfml-new_main_changes % ./xx3dsfml
dyld[76401]: Library not loaded: @rpath/../Frameworks/vorbisfile.framework/Versions/A/vorbisfile
Referenced from: <72F2B6C0-2DAE-371C-ADA3-32BBC32ADB2B> /usr/local/lib/libsfml-audio.2.6.1.dylib
Reason: tried: '/usr/local/lib/../Frameworks/vorbisfile.framework/Versions/A/vorbisfile' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/../Frameworks/vorbisfile.framework/Versions/A/vorbisfile' (no such file), '/opt/homebrew/lib/../Frameworks/vorbisfile.framework/Versions/A/vorbisfile' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/../Frameworks/vorbisfile.framework/Versions/A/vorbisfile' (no such file), '/usr/local/lib/../Frameworks/vorbisfile.framework/Versions/A/vorbisfile' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/../Frameworks/vorbisfile.framework/Versions/A/vorbisfile' (no such file), '/opt/homebrew/lib/../Frameworks/vorbisfile.framework/Versions/A/vorbisfile' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/../Frameworks/vorbisfile.framework/Versions/A/vorbisfile' (no such file), '/Library/Frameworks/vorbisfile.framework/Versions/A/vorbisfile' (code signature in <01DF2012-259D-3C48-8B6B-9B63E9A0E873> '/Library/Frameworks/vorbisfile.framework/Versions/A/vorbisfile' not valid for use in process: library load disallowed by system policy), '/System/Library/Frameworks/vorbisfile.framework/Versions/A/vorbisfile' (no such file, not in dyld cache)Library not loaded: @rpath/../Frameworks/freetype.framework/Versions/A/freetype
Referenced from: <0CFC1323-C09A-3BC6-9CC7-FFCBF636DF39> /usr/local/lib/libsfml-graphics.2.6.1.dylib
Reason: tried: '/usr/local/lib/../Frameworks/freetype.framework/Versions/A/freetype' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/../Frameworks/freetype.framework/Versions/A/freetype' (no such file), '/opt/homebrew/lib/../Frameworks/freetype.framework/Versions/A/freetype' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/../Frameworks/freetype.framework/Versions/A/freetype' (no such file), '/usr/local/lib/../Frameworks/freetype.framework/Versions/A/freetype' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/../Frameworks/freetype.framework/Versions/A/freetype' (no such file), '/opt/homebrew/lib/../Frameworks/freetype.framework/Versions/A/freetype' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/../Frameworks/freetype.framework/Versions/A/freetype' (no such file), '/Library/Frameworks/freetype.framework/Versions/A/freetype' (code signature in <9259A232-A732-338F-AF89-669F7BC94AF3> '/Library/Frameworks/freetype.framework/Versions/A/freetype' not valid for use in process: library load disallowed by system policy), '/System/Library/Frameworks/freetype.framework/Versions/A/freetype' (no such file, not in dyld cache)
zsh: abort ./xx3dsfml

harpentong
Posts: 38
Joined: Sun Feb 12, 2023 11:31 am

Re: xx3dsfml Multi-platform N3DSXL Capture Software Audio Update

Post by harpentong » Sun Mar 31, 2024 5:44 pm

Instead of all of this, i wish someone would make an easy to use application for mac, the cheapest mac costs $600, unless there is someone passionate enough, i doubt they will buy a mac for this unless they already happen to have a mac or want to develop more apps for mac than just this

But i guess those are the pains associated with using a mac

Lorenzooone
Posts: 14
Joined: Tue Mar 26, 2024 2:10 am
Contact:

Re: xx3dsfml Multi-platform N3DSXL Capture Software Audio Update

Post by Lorenzooone » Sun Mar 31, 2024 7:17 pm

harpentong wrote:
Sun Mar 31, 2024 5:39 pm
As for terminal, here it is

xx3dsfml-new_main_changes % ./xx3dsfml
dyld[76401]: Library not loaded: @rpath/../Frameworks/vorbisfile.framework/Versions/A/vorbisfile
Referenced from: <72F2B6C0-2DAE-371C-ADA3-32BBC32ADB2B> /usr/local/lib/libsfml-audio.2.6.1.dylib
Reason: tried: '/usr/local/lib/../Frameworks/vorbisfile.framework/Versions/A/vorbisfile' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/../Frameworks/vorbisfile.framework/Versions/A/vorbisfile' (no such file), '/opt/homebrew/lib/../Frameworks/vorbisfile.framework/Versions/A/vorbisfile' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/../Frameworks/vorbisfile.framework/Versions/A/vorbisfile' (no such file), '/usr/local/lib/../Frameworks/vorbisfile.framework/Versions/A/vorbisfile' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/../Frameworks/vorbisfile.framework/Versions/A/vorbisfile' (no such file), '/opt/homebrew/lib/../Frameworks/vorbisfile.framework/Versions/A/vorbisfile' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/../Frameworks/vorbisfile.framework/Versions/A/vorbisfile' (no such file), '/Library/Frameworks/vorbisfile.framework/Versions/A/vorbisfile' (code signature in <01DF2012-259D-3C48-8B6B-9B63E9A0E873> '/Library/Frameworks/vorbisfile.framework/Versions/A/vorbisfile' not valid for use in process: library load disallowed by system policy), '/System/Library/Frameworks/vorbisfile.framework/Versions/A/vorbisfile' (no such file, not in dyld cache)Library not loaded: @rpath/../Frameworks/freetype.framework/Versions/A/freetype
Referenced from: <0CFC1323-C09A-3BC6-9CC7-FFCBF636DF39> /usr/local/lib/libsfml-graphics.2.6.1.dylib
Reason: tried: '/usr/local/lib/../Frameworks/freetype.framework/Versions/A/freetype' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/../Frameworks/freetype.framework/Versions/A/freetype' (no such file), '/opt/homebrew/lib/../Frameworks/freetype.framework/Versions/A/freetype' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/../Frameworks/freetype.framework/Versions/A/freetype' (no such file), '/usr/local/lib/../Frameworks/freetype.framework/Versions/A/freetype' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/../Frameworks/freetype.framework/Versions/A/freetype' (no such file), '/opt/homebrew/lib/../Frameworks/freetype.framework/Versions/A/freetype' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/../Frameworks/freetype.framework/Versions/A/freetype' (no such file), '/Library/Frameworks/freetype.framework/Versions/A/freetype' (code signature in <9259A232-A732-338F-AF89-669F7BC94AF3> '/Library/Frameworks/freetype.framework/Versions/A/freetype' not valid for use in process: library load disallowed by system policy), '/System/Library/Frameworks/freetype.framework/Versions/A/freetype' (no such file, not in dyld cache)
zsh: abort ./xx3dsfml
If you open the application like this, does it work?
https://docs.brew.sh/FAQ#why-cant-i-ope ... -developer

It basically quaranteened it, which is annoying... :/

If that won't work, go in the folder where the frameworks are, and do this:

Code: Select all

xattr -dr com.apple.quarantine freetype.framework
xattr -dr com.apple.quarantine vorbisfile.framework
xattr -dr com.apple.quarantine OpenAL.framework
It seems like it could be an issue with how homebrew does things...?!

Pixxelluxx
Posts: 8
Joined: Fri Apr 05, 2024 3:05 pm

Re: xx3dsfml Multi-platform N3DSXL Capture Software Audio Update

Post by Pixxelluxx » Fri Apr 05, 2024 3:25 pm

Hello everyone,

today I found this Software and wanted to try it with my Capture Card, I managed to install it, i can run it from the terminal but then it complains that libftd3xx.so is missing, even tho I ran make install before running make to install ftd3xx.

Code: Select all

xx3dsfml: error while loading shared libraries: libftd3xx.so: cannot open shared object file: No such file or directory
when I look inside /usr/local/lib libftd3xx.so is there, so im not sure how to fix it

Lorenzooone
Posts: 14
Joined: Tue Mar 26, 2024 2:10 am
Contact:

Re: xx3dsfml Multi-platform N3DSXL Capture Software Audio Update

Post by Lorenzooone » Fri Apr 05, 2024 3:37 pm

Pixxelluxx wrote:
Fri Apr 05, 2024 3:25 pm
Hello everyone,

today I found this Software and wanted to try it with my Capture Card, I managed to install it, i can run it from the terminal but then it complains that libftd3xx.so is missing, even tho I ran make install before running make to install ftd3xx.

Code: Select all

xx3dsfml: error while loading shared libraries: libftd3xx.so: cannot open shared object file: No such file or directory
when I look inside /usr/local/lib libftd3xx.so is there, so im not sure how to fix it
Weird...?
I'd suggest in the meantime you try downloading and compiling this one:
https://github.com/Lorenzooone/xx3dsfml ... hanges.zip
It should fix your issue.
Just make sure you run

Code: Select all

make uninstall
make
so you're not launching the other one.
If you want to, you can install it with

Code: Select all

make install
but it's not needed.

Post Reply