Simple SMB Client App for Vita for connecting to remote Windows Shares, Linux SMB Shares and NAS SMB shares to transfer files back and forth. Ported from the PS4 version https://github.com/cy33hc/ps4-smb-client
Simple SMB Client App for Vita for connecting to remote Windows Shares, Linux SMB Shares and NAS SMB shares to transfer files back and forth. Ported from the PS4 version https://github.com/cy33hc/ps4-smb-client
I had some problems building the ps4 one iirc. I'd have to go through the process again to see what they were. I was going through wsl2. is there a particular wsl distro you need to use? or openorbis version?
I had some problems building the ps4 one iirc. I'd have to go through the process again to see what they were. I was going through wsl2. is there a particular wsl distro you need to use? or openorbis version?
thanks, but I get this error, building libsmb2:
godreborn@GODREBORN-LAPTOP:~/libsmb2/build$ make
[ 2%] Building C object lib/CMakeFiles/smb2.dir/aes.c.obj
[ 4%] Building C object lib/CMakeFiles/smb2.dir/aes128ccm.c.obj
In file included from /home/godreborn/libsmb2/lib/aes128ccm.c:35:
/home/godreborn/libsmb2/include/portable-endian.h:106:11: fatal error: 'sys/endian.h' file not found
# include <sys/endian.h>
^~~~~~~~~~~~~~
1 error generated.
make[2]: *** [lib/CMakeFiles/smb2.dir/build.make:90: lib/CMakeFiles/smb2.dir/aes128ccm.c.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:98: lib/CMakeFiles/smb2.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
Post automatically merged:
I forgot to mention that that file exists on my system, but it's in /usr/include . I tried creating a symlink to /usr/include/sys , but it didn't work, still can't find it.
thanks, but I get this error, building libsmb2:
godreborn@GODREBORN-LAPTOP:~/libsmb2/build$ make
[ 2%] Building C object lib/CMakeFiles/smb2.dir/aes.c.obj
[ 4%] Building C object lib/CMakeFiles/smb2.dir/aes128ccm.c.obj
In file included from /home/godreborn/libsmb2/lib/aes128ccm.c:35:
/home/godreborn/libsmb2/include/portable-endian.h:106:11: fatal error: 'sys/endian.h' file not found
# include <sys/endian.h>
^~~~~~~~~~~~~~
1 error generated.
make[2]: *** [lib/CMakeFiles/smb2.dir/build.make:90: lib/CMakeFiles/smb2.dir/aes128ccm.c.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:98: lib/CMakeFiles/smb2.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
Post automatically merged:
I forgot to mention that that file exists on my system, but it's in /usr/include . I tried creating a symlink to /usr/include/sys , but it didn't work, still can't find it.
it is there. I think you didn't source the ps4vars.sh before executing openorbis-cmake. If you don't source the ps4vars.sh then you won't have the correct include folders in cmake.
it is there. I think you didn't source the ps4vars.sh before executing openorbis-cmake. If you don't source the ps4vars.sh then you won't have the correct include folders in cmake.
alright, I got past that error, but I get this one now:
[ 38%] Building CXX object CMakeFiles/ps4_smb_client.dir/source/main.cpp.obj
[ 42%] Building C object CMakeFiles/ps4_smb_client.dir/source/orbis_jbc.c.obj
/home/godreborn/ps4-smb-client/source/orbis_jbc.c:6:10: fatal error: 'libjbc.h' file not found
#include <libjbc.h>
^~~~~~~~~~
1 error generated.
make[2]: *** [CMakeFiles/ps4_smb_client.dir/build.make:188: CMakeFiles/ps4_smb_client.dir/source/orbis_jbc.c.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:87: CMakeFiles/ps4_smb_client.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
alright, I got past that error, but I get this one now:
[ 38%] Building CXX object CMakeFiles/ps4_smb_client.dir/source/main.cpp.obj
[ 42%] Building C object CMakeFiles/ps4_smb_client.dir/source/orbis_jbc.c.obj
/home/godreborn/ps4-smb-client/source/orbis_jbc.c:6:10: fatal error: 'libjbc.h' file not found
#include <libjbc.h>
^~~~~~~~~~
1 error generated.
make[2]: *** [CMakeFiles/ps4_smb_client.dir/build.make:188: CMakeFiles/ps4_smb_client.dir/source/orbis_jbc.c.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:87: CMakeFiles/ps4_smb_client.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
Oh. I forgot to update the build instructions after add jailbreak from sandbox code. You need 1 more dependency built and install into OPENORBIS SDK folder. This one it a bit tricky, because it uses a custom OPENORBIS SDK with Makefile that references build_rules.mk which doesn't exists in the nornal SDK. I forgot where I found it. I'll attach mine a later to this post
Oh. I forgot to update the build instructions after add jailbreak from sandbox code. You need 1 more dependency built and install into OPENORBIS SDK folder. This one it a bit tricky, because it uses a custom OPENORBIS SDK with Makefile that references build_rules.mk which doesn't exists in the nornal SDK. I forgot where I found it. I'll attach mine a later to this post
not sure what the problem is, but I get that same error as before, and I did include the source line:L
Code:
godreborn@GODREBORN-LAPTOP:~$ git clone --recursive https://github.com/cy33hc/libsmb2
Cloning into 'libsmb2'...
remote: Enumerating objects: 3262, done.
remote: Counting objects: 100% (322/322), done.
remote: Compressing objects: 100% (162/162), done.
remote: Total 3262 (delta 191), reused 263 (delta 155), pack-reused 2940
Receiving objects: 100% (3262/3262), 1.17 MiB | 4.88 MiB/s, done.
Resolving deltas: 100% (2453/2453), done.
godreborn@GODREBORN-LAPTOP:~$ cd libsmb2
godreborn@GODREBORN-LAPTOP:~/libsmb2$ sudo chmod guo+x /opt/pacbrew/ps4/openorbis/ps4vars.sh
godreborn@GODREBORN-LAPTOP:~/libsmb2$ source /opt/pacbrew/ps4/openorbis/ps4vars.sh
godreborn@GODREBORN-LAPTOP:~/libsmb2$ mkdir build; cd build
godreborn@GODREBORN-LAPTOP:~/libsmb2/build$ openorbis-cmake -DCMAKE_INSTALL_PREFIX=$OPENORBIS/usr ..
-- The C compiler identification is Clang 13.0.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/pacbrew/ps4/openorbis/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Could NOT find GSSAPI (missing: GSSAPI_LIBRARY GSSAPI_INCLUDE_DIR)
-- Found OpenSSL: /opt/pacbrew/ps4/openorbis/usr/lib/libcrypto.a (found version "1.1.1t")
-- Looking for arpa/inet.h
-- Looking for arpa/inet.h - found
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for gssapi/gssapi.h
-- Looking for gssapi/gssapi.h - not found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for memory.h
-- Looking for memory.h - found
-- Looking for netdb.h
-- Looking for netdb.h - found
-- Looking for netinet/in.h
-- Looking for netinet/in.h - found
-- Looking for netinet/tcp.h
-- Looking for netinet/tcp.h - found
-- Looking for net/if.h
-- Looking for net/if.h - found
-- Looking for poll.h
-- Looking for poll.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stdlib.h
-- Looking for stdlib.h - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for string.h
-- Looking for string.h - found
-- Looking for sys/filio.h
-- Looking for sys/filio.h - not found
-- Looking for sys/ioctl.h
-- Looking for sys/ioctl.h - found
-- Looking for sys/socket.h
-- Looking for sys/socket.h - found
-- Looking for sys/sockio.h
-- Looking for sys/sockio.h - not found
-- Looking for sys/statvfs.h
-- Looking for sys/statvfs.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/sysmacros.h
-- Looking for sys/sysmacros.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for sys/uio.h
-- Looking for sys/uio.h - found
-- Looking for sys/vfs.h
-- Looking for sys/vfs.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for utime.h
-- Looking for utime.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Performing Test HAVE_SOCKADDR_LEN
-- Performing Test HAVE_SOCKADDR_LEN - Success
-- Performing Test HAVE_SOCKADDR_STORAGE
-- Performing Test HAVE_SOCKADDR_STORAGE - Success
-- Looking for makedev
-- Looking for makedev - not found
-- Looking for makedev
-- Looking for makedev - found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/godreborn/libsmb2/build
godreborn@GODREBORN-LAPTOP:~/libsmb2/build$ make
[ 2%] Building C object lib/CMakeFiles/smb2.dir/aes.c.obj
[ 4%] Building C object lib/CMakeFiles/smb2.dir/aes128ccm.c.obj
In file included from /home/godreborn/libsmb2/lib/aes128ccm.c:35:
/home/godreborn/libsmb2/include/portable-endian.h:106:11: fatal error: 'sys/endian.h' file not found
# include <sys/endian.h>
^~~~~~~~~~~~~~
1 error generated.
make[2]: *** [lib/CMakeFiles/smb2.dir/build.make:90: lib/CMakeFiles/smb2.dir/aes128ccm.c.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:98: lib/CMakeFiles/smb2.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
endian.h is in the include folder, but not in sys or bits (tried a symlink with sys, which bypassed it)
Post automatically merged:
I got libjbc installed. I think bucanero gave me that build file a few days ago:
not sure what the problem is, but I get that same error as before, and I did include the source line:L
Code:
godreborn@GODREBORN-LAPTOP:~$ git clone --recursive https://github.com/cy33hc/libsmb2
Cloning into 'libsmb2'...
remote: Enumerating objects: 3262, done.
remote: Counting objects: 100% (322/322), done.
remote: Compressing objects: 100% (162/162), done.
remote: Total 3262 (delta 191), reused 263 (delta 155), pack-reused 2940
Receiving objects: 100% (3262/3262), 1.17 MiB | 4.88 MiB/s, done.
Resolving deltas: 100% (2453/2453), done.
godreborn@GODREBORN-LAPTOP:~$ cd libsmb2
godreborn@GODREBORN-LAPTOP:~/libsmb2$ sudo chmod guo+x /opt/pacbrew/ps4/openorbis/ps4vars.sh
godreborn@GODREBORN-LAPTOP:~/libsmb2$ source /opt/pacbrew/ps4/openorbis/ps4vars.sh
godreborn@GODREBORN-LAPTOP:~/libsmb2$ mkdir build; cd build
godreborn@GODREBORN-LAPTOP:~/libsmb2/build$ openorbis-cmake -DCMAKE_INSTALL_PREFIX=$OPENORBIS/usr ..
-- The C compiler identification is Clang 13.0.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/pacbrew/ps4/openorbis/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Could NOT find GSSAPI (missing: GSSAPI_LIBRARY GSSAPI_INCLUDE_DIR)
-- Found OpenSSL: /opt/pacbrew/ps4/openorbis/usr/lib/libcrypto.a (found version "1.1.1t")
-- Looking for arpa/inet.h
-- Looking for arpa/inet.h - found
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for gssapi/gssapi.h
-- Looking for gssapi/gssapi.h - not found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for memory.h
-- Looking for memory.h - found
-- Looking for netdb.h
-- Looking for netdb.h - found
-- Looking for netinet/in.h
-- Looking for netinet/in.h - found
-- Looking for netinet/tcp.h
-- Looking for netinet/tcp.h - found
-- Looking for net/if.h
-- Looking for net/if.h - found
-- Looking for poll.h
-- Looking for poll.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stdlib.h
-- Looking for stdlib.h - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for string.h
-- Looking for string.h - found
-- Looking for sys/filio.h
-- Looking for sys/filio.h - not found
-- Looking for sys/ioctl.h
-- Looking for sys/ioctl.h - found
-- Looking for sys/socket.h
-- Looking for sys/socket.h - found
-- Looking for sys/sockio.h
-- Looking for sys/sockio.h - not found
-- Looking for sys/statvfs.h
-- Looking for sys/statvfs.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/sysmacros.h
-- Looking for sys/sysmacros.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for sys/uio.h
-- Looking for sys/uio.h - found
-- Looking for sys/vfs.h
-- Looking for sys/vfs.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for utime.h
-- Looking for utime.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Performing Test HAVE_SOCKADDR_LEN
-- Performing Test HAVE_SOCKADDR_LEN - Success
-- Performing Test HAVE_SOCKADDR_STORAGE
-- Performing Test HAVE_SOCKADDR_STORAGE - Success
-- Looking for makedev
-- Looking for makedev - not found
-- Looking for makedev
-- Looking for makedev - found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/godreborn/libsmb2/build
godreborn@GODREBORN-LAPTOP:~/libsmb2/build$ make
[ 2%] Building C object lib/CMakeFiles/smb2.dir/aes.c.obj
[ 4%] Building C object lib/CMakeFiles/smb2.dir/aes128ccm.c.obj
In file included from /home/godreborn/libsmb2/lib/aes128ccm.c:35:
/home/godreborn/libsmb2/include/portable-endian.h:106:11: fatal error: 'sys/endian.h' file not found
# include <sys/endian.h>
^~~~~~~~~~~~~~
1 error generated.
make[2]: *** [lib/CMakeFiles/smb2.dir/build.make:90: lib/CMakeFiles/smb2.dir/aes128ccm.c.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:98: lib/CMakeFiles/smb2.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
endian.h is in the include folder, but not in sys or bits (tried a symlink with sys, which bypassed it)
it's in there, but it seems to look for sys/endian.h and bits/endian.h, not sure if they're the same files or if I should make a symlink to both as both folders are present:
it's in there, but it seems to look for sys/endian.h and bits/endian.h, not sure if they're the same files or if I should make a symlink to both as both folders are present:
[ 14%] Building C object lib/CMakeFiles/smb2.dir/errors.c.obj
/home/godreborn/libsmb2/lib/errors.c:1111:24: error: use of undeclared identifier 'ENODATA'
return ENODATA;
As each year passes, retro games become harder and harder to play, as the physical media begins to fall apart and becomes more difficult and expensive to obtain. The...
While rumors had been floating about rampantly as to the future plans of Nintendo, the President of the company, Shuntaro Furukawa, made a brief statement confirming...
Nintendo has officially announced that a successor to the beloved Switch console is on the horizon. As we eagerly anticipate what innovations this new device will...
DOOM is well-known for being ported to basically every device with some kind of input, and that list now includes the old retro game console in Persona 5 Royal...
With the vast success of Super Mario Maker and its Switch sequel Super Mario Maker 2, Nintendo fans have long been calling for "Maker" titles for other iconic genres...
Retro handheld manufacturer Anbernic has revealed its first clamshell device: the Anbernic RG35XXSP. As the suffix indicates, this handheld's design is inspired by...
After several months of work, the Harbour Masters 64 team have released their first public build of 2Ship2Harkinian, a feature-rich Majora's Mask PC port. This comes...
After rumour got out about an upcoming NES Edition release for the famed Nintendo World Championships, Nintendo has officially unveiled the new game, titled "Nintendo...
The number of layoffs and cuts in the videogame industry sadly continue to grow, with the latest huge layoffs coming from Microsoft, due to what MIcrosoft calls a...
Ubisoft has today officially revealed the next installment in the Assassin's Creed franchise: Assassin's Creed Shadows. This entry is set in late Sengoku-era Japan...
Nintendo has officially announced that a successor to the beloved Switch console is on the horizon. As we eagerly anticipate what innovations this new device will...
While rumors had been floating about rampantly as to the future plans of Nintendo, the President of the company, Shuntaro Furukawa, made a brief statement confirming...
As each year passes, retro games become harder and harder to play, as the physical media begins to fall apart and becomes more difficult and expensive to obtain. The...
After several months of work, the Harbour Masters 64 team have released their first public build of 2Ship2Harkinian, a feature-rich Majora's Mask PC port. This comes...
Ubisoft has today officially revealed the next installment in the Assassin's Creed franchise: Assassin's Creed Shadows. This entry is set in late Sengoku-era Japan...
After a little more than three years of exclusivity with the Epic Games Store, Square Enix has decided to bring their beloved Kingdom Hearts franchise to Steam. The...
After rumour got out about an upcoming NES Edition release for the famed Nintendo World Championships, Nintendo has officially unveiled the new game, titled "Nintendo...
DOOM is well-known for being ported to basically every device with some kind of input, and that list now includes the old retro game console in Persona 5 Royal...
Sony is once more attempting to reintroduce players to their older library of games by re-releasing classic PlayStation 2 titles onto the PlayStation Store. During...
The number of layoffs and cuts in the videogame industry sadly continue to grow, with the latest huge layoffs coming from Microsoft, due to what MIcrosoft calls a...
I'm designing my own entertainment cabinet for my man cave, to store all my systems, then I'm also designing a power supply/HDMI switcher so I can switch to whichever system I want, and power it also. Already picked up the cabinet board, but tinkering with my drawings before start
But yea, I have frogger arcade cabinet that I gutted and put a Pi4 then Pi5 into, but it never gets played much anymore, should sell it. Even when the kids come over, they don't want to play on it, just the xbox. TMNT and Simpson's arcade is still so fun on it, esp w 2 players.