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;
Seemingly out of nowhere a PC port for Pokemon Platinum has surfaced online, bundled alongside the source code for those interested in building and developing it for...
With very little in the way of announcement, Valve has today increased the price of the Steam Deck but some fairly considerable margins. Both of the available models...
Nintendo's expected Summer showcase is here, offering up plenty of new announcements and exciting reveals. Let's see what they have in store in the latest Nintendo...
Continuing with the great news of Pokémon Platinum getting a native unofficial PC port just a few days ago, today, yet another classic title from the franchise has...
The latest in a growing number of native PC ports, Paper Mario ReCut got its first pre-release build earlier this week. Based on the N64 recompilation toolchain, the...
When you talk about 3DS emulation, most people would jump to Citra. As the defacto choice since its first release it's seen tremendous success, and even after its...
What once seemed like a far off dream, and after many, many community restarts throughout the years, the elusive Mother 1 / EarthBound Beginnings Remake, which is a...
A whole hour of PlayStation content is on the way, thanks to the latest State of Play showcase. Headlining the stream will be Marvel's Wolverine, alongside a...
For the first time in 13 years, the Call of Duty series will again return to Nintendo's consoles. Set to launch on the 23rd of October, the latest release, Modern...
Since being decompiled Super Mario 64 has seen a considerable amount of interest. We've had multiple PC ports, but the efforts beyond that are really astounding. It's...
With very little in the way of announcement, Valve has today increased the price of the Steam Deck but some fairly considerable margins. Both of the available models...
Nintendo's expected Summer showcase is here, offering up plenty of new announcements and exciting reveals. Let's see what they have in store in the latest Nintendo...
After much speculation, a lot of which being caused by dbrand's unceremonious reveal of their Companion Cube casing, the Steam Machine is finally available to order...
Seemingly out of nowhere a PC port for Pokemon Platinum has surfaced online, bundled alongside the source code for those interested in building and developing it for...
With rumours circulating about a Nintendo Direct in the coming days and weeks, fans are left speculating and hoping as to what might be included. At the centre of all...
The latest in a growing number of native PC ports, Paper Mario ReCut got its first pre-release build earlier this week. Based on the N64 recompilation toolchain, the...
A whole hour of PlayStation content is on the way, thanks to the latest State of Play showcase. Headlining the stream will be Marvel's Wolverine, alongside a...
After much speculation and rumour, the fabled Nintendo Direct is upon us. Set to go live tomorrow, the 9th of June, at 3pm in the UK, it'll feature 50 minutes of...
For the first time in 13 years, the Call of Duty series will again return to Nintendo's consoles. Set to launch on the 23rd of October, the latest release, Modern...
Following an investigation over misleading commercial practices, today Nintendo has been imposed a fine of 35 million euros related to the controller malfunctions...