LifeCoder
Forum Noob
Hi all!
I recently started backing up my games towards ps3netsrv and whilst playing one of them I thought hey I want to continue this save with rpcs3. I did some searching and it's possible to transfer the saves between them so thats nice but it has a lot of annoying manual processes. No problem normally but when you have a lot of games and play them all instead of sticking to a game it becomes highly annoying especially when forgetting to transfer.
Hence I thought a local server that can take care of this sounds amazing, so I started downloading webman-mod from github as it had a lot of modules and me being a total newbie into ps3 homebrew development needed some code to look at how it is done.
I wrote a barebones plugin that connects to my server, success, now I need to ofcourse get information from the ps3. So I found xregistry and its functions to get the user id, nice we can continue. Then I came to reading the save files but the problem I'm running into is that to list files in a directory or list all subdirectories in a directory I need the sysLv2Fs functions and those seem to reside within the PSL1GHT SDK ppu sys/file.h. Alright success I hear you say, include it and use it. However I could not include it at first, so I added the include directory to my makefile which caused a lot of things to be redefined: "In file included from C:/PSDK3v2/psl1ght/ppu/include/ppu-lv2.h:4,
from C:/PSDK3v2/psl1ght/ppu/include/sys/memory.h:8,
from c:/usr/local/cell/host-win32/ppu/bin/../../../target/ppu/include/cell/sysmodule.h:12,
from main.c:4:
C:/PSDK3v2/psl1ght/ppu/include/ppu-types.h:71: error: conflicting types for 'sys_mutex_t'
c:/usr/local/cell/host-win32/ppu/bin/../../../target/ppu/../common/include/sys/sys_types.h:72: error: previous declaration of 'sys_mutex_t' was here"
I assume I'm using 2 sdk's at the same time with this, however the one in C:/usr does not expose those functions. My question being, how can I use these functions or another function that can accomplish the same goal.
I tried googling but for some odd reason could not find anything related to these functions in terms of documentation.
Thanks
I recently started backing up my games towards ps3netsrv and whilst playing one of them I thought hey I want to continue this save with rpcs3. I did some searching and it's possible to transfer the saves between them so thats nice but it has a lot of annoying manual processes. No problem normally but when you have a lot of games and play them all instead of sticking to a game it becomes highly annoying especially when forgetting to transfer.
Hence I thought a local server that can take care of this sounds amazing, so I started downloading webman-mod from github as it had a lot of modules and me being a total newbie into ps3 homebrew development needed some code to look at how it is done.
I wrote a barebones plugin that connects to my server, success, now I need to ofcourse get information from the ps3. So I found xregistry and its functions to get the user id, nice we can continue. Then I came to reading the save files but the problem I'm running into is that to list files in a directory or list all subdirectories in a directory I need the sysLv2Fs functions and those seem to reside within the PSL1GHT SDK ppu sys/file.h. Alright success I hear you say, include it and use it. However I could not include it at first, so I added the include directory to my makefile which caused a lot of things to be redefined: "In file included from C:/PSDK3v2/psl1ght/ppu/include/ppu-lv2.h:4,
from C:/PSDK3v2/psl1ght/ppu/include/sys/memory.h:8,
from c:/usr/local/cell/host-win32/ppu/bin/../../../target/ppu/include/cell/sysmodule.h:12,
from main.c:4:
C:/PSDK3v2/psl1ght/ppu/include/ppu-types.h:71: error: conflicting types for 'sys_mutex_t'
c:/usr/local/cell/host-win32/ppu/bin/../../../target/ppu/../common/include/sys/sys_types.h:72: error: previous declaration of 'sys_mutex_t' was here"
I assume I'm using 2 sdk's at the same time with this, however the one in C:/usr does not expose those functions. My question being, how can I use these functions or another function that can accomplish the same goal.
I tried googling but for some odd reason could not find anything related to these functions in terms of documentation.
Thanks