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;
A new Nintendo Switch firmware update is here. System software version 18.0.1 has been released. This update offers the typical stability features as all other...
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...
TheFlow has done it again--a new kernel exploit has been released for PlayStation 4 consoles. This latest exploit is called PPPwn, and works on PlayStation 4 systems...
The time has finally come, and after many, many years (if not decades) of Apple users having to side load emulator apps into their iOS devices through unofficial...
Nintendo might just as well be a law firm more than a videogame company at this point in time, since they have yet again issued their now almost trademarked usual...
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...
Another video game prototype has been found and preserved, and this time, it's none other than the game that spawned an entire franchise beloved by many, the very...
Anbernic is back with yet another retro handheld device. The upcoming RG28XX is another console sporting the quad-core H700 chip of the company's recent RG35XX 2024...
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...
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...
Nintendo might just as well be a law firm more than a videogame company at this point in time, since they have yet again issued their now almost trademarked usual...
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...
The time has finally come, and after many, many years (if not decades) of Apple users having to side load emulator apps into their iOS devices through unofficial...
A new Nintendo Switch firmware update is here. System software version 18.0.1 has been released. This update offers the typical stability features as all other...
TheFlow has done it again--a new kernel exploit has been released for PlayStation 4 consoles. This latest exploit is called PPPwn, and works on PlayStation 4 systems...
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 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...
@BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87 cents. Free shipping from China... It arrived it works and honestly I don't understand how it was so cheap.
@salazarcosplay Yea with a vpn, my ip address is randomized and not at my address, so my ISP does not know its me pirating. I have never got a bitch letter from my ISP since using a vpn.