Pcsx2 [x86 only] Configs
-
Has anyone actually got this working?
I tried it on ubuntu 16.04 and 18.04 with the pre-compiled psiso_tool
I also tried compiling the psiso_tool myself but receive "gets" warnings and "char" errors.
I followed the instructions adding everything to it's place.
I'm using the default pcsx2 1.4.0 emulator that retropie installs.Been at this for a few days.. Now I'm just stumped
Pi Model or other hardware: x86_64 PC
RetroPie Version Used: 4.4.11
Emulator:Pcsx2 1.4.0
Guide Used: https://retropie.org.uk/forum/topic/13727/individual-per-game-profiles-for-pcsx2-x86-only
How to replicate the problem: Follow the guide in above link. Try to compile source -
Your problem is with the
psiso_tool
not compiling, not withpcsx2
.
How are you trying to compile/install the source of the program ? I have no problem compiling it on Ubuntu 18.04. -
I tried compiling it with the instructions on the original post.
I cd to psiso_tool folder in a terminal and type 'make cleanup' then 'make'
I'm on 18.04 as of now. -
@HoJo215 What errors are you getting when running
make
? Please be more specific. -
Here goes the output after I run make:
h@h-NUC8i7BEH:~/Downloads/psiso_tool_v1.03.1_alpha_(linux_support)/psiso_tool$ make Compiling psiso_tool.cpp psiso_tool.o ... source/psiso_tool.cpp: In function ‘int GetTitle(char*, char*, char*, int)’: source/psiso_tool.cpp:266:9: warning: variable ‘bFoundTitle’ set but not used [-Wunused-but-set-variable] bool bFoundTitle = false; ^~~~~~~~~~~ source/psiso_tool.cpp: In function ‘int psxProcessISO(char*, int, char*, char*, bool)’: source/psiso_tool.cpp:1075:66: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 2 has type ‘size_t {aka long unsigned int}’ [-Wformat=] _verbose_printf("SYSTEM.CNF Data Length: 0x%08X \n", nDataLen); ^ source/psiso_tool.cpp:1354:77: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 3 has type ‘size_t {aka long unsigned int}’ [-Wformat=] _verbose_printf("%s Data Length: 0x%08X \n", szPS3_SYSTEM_FILE, nDataLen); ^ source/psiso_tool.cpp:874:7: warning: variable ‘nMode’ set but not used [-Wunused-but-set-variable] int nMode = 0; ^~~~~ source/psiso_tool.cpp: In function ‘uint64_t ParseSFO(FILE*, uint64_t, size_t, char*, char*)’: source/psiso_tool.cpp:497:7: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(&header_data, 1, sizeof(sfo_header_data), fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/psiso_tool.cpp:575:7: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(var_table_entries_data, 1, nVarTableDataLen, fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/psiso_tool.cpp:624:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(var_table_entries[i].szName, 1, 32, fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/psiso_tool.cpp:635:9: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(var_table_entries[i].szTxtData, 1, var_table_entries[i].nDataSize, fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/psiso_tool.cpp:653:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(temp, 1, 4, fp); ~~~~~^~~~~~~~~~~~~~~~ source/psiso_tool.cpp:672:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(temp, 1, 2, fp); ~~~~~^~~~~~~~~~~~~~~~ source/psiso_tool.cpp: In function ‘int PatchPS3ISO(FILE*, char*, uint8_t*)’: source/psiso_tool.cpp:776:7: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(ps3_disc_id, 1, 0xC, fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ source/psiso_tool.cpp: In function ‘int psxProcessISO(char*, int, char*, char*, bool)’: source/psiso_tool.cpp:866:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(std_id, 1, 5, fp); ~~~~~^~~~~~~~~~~~~~~~~~ source/psiso_tool.cpp:891:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(std_id, 1, 5, fp); ~~~~~^~~~~~~~~~~~~~~~~~ source/psiso_tool.cpp:925:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(vol_size, 1, 4, fp); ~~~~~^~~~~~~~~~~~~~~~~~~~ source/psiso_tool.cpp:953:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(root_dr_sector, 1, 8, fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ source/psiso_tool.cpp:996:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(SYSTEM_CNF, 1, nLen, fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ source/psiso_tool.cpp:1034:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(extent_loc, 1, 8, fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~ source/psiso_tool.cpp:1060:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(data_len, 1, 8, fp); ~~~~~^~~~~~~~~~~~~~~~~~~~ source/psiso_tool.cpp:1082:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(title_id_file_extent_data, 1, nDataLen, fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/psiso_tool.cpp:1178:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(PS3_GAME, 1, sizeof(_PS3_GAME), fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/psiso_tool.cpp:1229:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(extent_loc, 1, 8, fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~ source/psiso_tool.cpp:1274:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(PS3_SYSTEM_FILE, 1, nLen, fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/psiso_tool.cpp:1313:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(extent_loc, 1, 8, fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~ source/psiso_tool.cpp:1339:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(data_len, 1, 8, fp); ~~~~~^~~~~~~~~~~~~~~~~~~~ Compiling psiso_tool_main.cpp psiso_tool_main.o ... source/psiso_tool_main.cpp:176:3: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] "PS ISO Tool v"APP_VER" (supports PS1/PS2/PS3/PSP) (CaptainCPS-X, 2013) \n" ^ source/psiso_tool_main.cpp: In function ‘int main(int, const char**)’: source/psiso_tool_main.cpp:376:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] (char *) NULL }; ^ source/psiso_tool_main.cpp:376:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] source/psiso_tool_main.cpp:376:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] source/psiso_tool_main.cpp:376:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] source/psiso_tool_main.cpp:376:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] source/psiso_tool_main.cpp:376:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] source/psiso_tool_main.cpp:376:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] source/psiso_tool_main.cpp:376:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] source/psiso_tool_main.cpp:376:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] source/psiso_tool_main.cpp:428:11: error: ‘gets’ was not declared in this scope while (gets(transmitted) != NULL) { ^~~~ source/psiso_tool_main.cpp:428:11: note: suggested alternative: ‘fgets’ while (gets(transmitted) != NULL) { ^~~~ fgets source/psiso_tool_main.cpp:408:12: warning: this statement may fall through [-Wimplicit-fallthrough=] perror("fork"); ~~~~~~^~~~~~~~ source/psiso_tool_main.cpp:409:4: note: here case 0 : ^~~~ Makefile:36: recipe for target 'source/psiso_tool_main.o' failed make: *** [source/psiso_tool_main.o] Error 1
-
Ah, you're right - it's not the same source I have. Use https://github.com/CaptainCPS/PS_ISO_Tool to download a version that compiles and replace the Makefile provided in that repo with the contents below:
# ----------------------------------------------------------------- # PS ISO Tool MSYS/MINGW Makefile (uses GCC compiler)(CaptainCPS-X, 2013) # ----------------------------------------------------------------- TARGET := bin/psiso_tool.exe CC := g++ CXXFLAGS := -O1 -Wl,-subsystem,console -Wall -W LDFLAGS := -static-libgcc -static-libstdc++ #LIBS := -lkernel32 -lshell32 -luser32 INCLUDES := -Isource SRCS := source/psiso_tool.cpp \ source/psiso_tool_main.cpp OBJS := $(SRCS:.cpp=.o) vpath %.cpp source vpath %.obj source .DEFAULT_GOAL := all .PHONY : cleanup cleanup : @rm -fr $(OBJS) @rm -fr $(TARGET) all: $(TARGET) $(TARGET): $(OBJS) @echo "Linking object files ..." @$(CC) $(LDFLAGS) -o $(TARGET) $(OBJS) $(LIBS) %.o: %.cpp @echo "Compiling $(<F) $(@F) ..." @$(CC) $(CXXFLAGS) $(INCLUDES) -o $@ -c $<
-
@mitu said in Pcsx2 [x86 only] Configs:
TARGET := bin/psiso_tool.exe
CC := g++
CXXFLAGS := -O1 -Wl,-subsystem,console -Wall -W
LDFLAGS := -static-libgcc -static-libstdc++
#LIBS := -lkernel32 -lshell32 -luser32
INCLUDES := -IsourceSRCS := source/psiso_tool.cpp
source/psiso_tool_main.cppOBJS := $(SRCS:.cpp=.o)
vpath %.cpp source
vpath %.obj source.DEFAULT_GOAL := all
.PHONY : cleanup
cleanup :
@rm -fr $(OBJS)
@rm -fr $(TARGET)all: $(TARGET)
$(TARGET): $(OBJS)
@echo "Linking object files ..."
@$(CC) $(LDFLAGS) -o $(TARGET) $(OBJS) $(LIBS)%.o: %.cpp
@echo "Compiling $(<F) $(@F) ..."
@$(CC) $(CXXFLAGS) $(INCLUDES) -o $@ -c $<I received different errors now using the original source and your makefile
h@h-NUC8i7BEH:~/Downloads/PS_ISO_Tool-master$ make Compiling psiso_tool.cpp psiso_tool.o ... source/psiso_tool.cpp: In function ‘int GetTitle(char*, char*, char*, int)’: source/psiso_tool.cpp:284:5: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null] SAFE_CLOSE(fd); ^~~~~~~~~~ source/psiso_tool.cpp:293:3: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null] SAFE_CLOSE(fd); ^~~~~~~~~~ source/psiso_tool.cpp:215:7: warning: variable ‘bFoundTitle’ set but not used [-Wunused-but-set-variable] bool bFoundTitle = false; ^~~~~~~~~~~ source/psiso_tool.cpp: In function ‘int psxProcessISO(char*, int, char*, char*, bool)’: source/psiso_tool.cpp:1019:5: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null] SAFE_CLOSE(fd); ^~~~~~~~~~ source/psiso_tool.cpp:1071:66: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 2 has type ‘size_t {aka long unsigned int}’ [-Wformat=] _verbose_printf("SYSTEM.CNF Data Length: 0x%08X \n", nDataLen); ^ source/psiso_tool.cpp:1141:5: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null] SAFE_CLOSE(fd); ^~~~~~~~~~ source/psiso_tool.cpp:1213:5: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null] SAFE_CLOSE(fd); ^~~~~~~~~~ source/psiso_tool.cpp:1297:5: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null] SAFE_CLOSE(fd); ^~~~~~~~~~ source/psiso_tool.cpp:1350:77: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 3 has type ‘size_t {aka long unsigned int}’ [-Wformat=] _verbose_printf("%s Data Length: 0x%08X \n", szPS3_SYSTEM_FILE, nDataLen); ^ source/psiso_tool.cpp:1402:5: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null] SAFE_CLOSE(fd); ^~~~~~~~~~ source/psiso_tool.cpp:870:7: warning: variable ‘nMode’ set but not used [-Wunused-but-set-variable] int nMode = 0; ^~~~~ source/psiso_tool.cpp: In function ‘uint64_t ParseSFO(int, uint64_t, size_t, char*, char*)’: source/psiso_tool.cpp:495:7: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, &header_data, sizeof(sfo_header_data)); source/psiso_tool.cpp:574:7: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, var_table_entries_data, nVarTableDataLen); source/psiso_tool.cpp:623:8: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, var_table_entries[i].szName, 32); source/psiso_tool.cpp:634:9: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, var_table_entries[i].szTxtData, var_table_entries[i].nDataSize); source/psiso_tool.cpp:652:10: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, temp, 4); source/psiso_tool.cpp:671:10: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, temp, 2); source/psiso_tool.cpp: In function ‘int PatchPS3ISO(int, char*, uint8_t*)’: source/psiso_tool.cpp:774:7: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, ps3_disc_id, 0xC); source/psiso_tool.cpp:820:8: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _write(fd, _ps3_hdr_p1, sizeof(_ps3_hdr_p1)); source/psiso_tool.cpp:823:8: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _write(fd, _ps3_hdr_p2, sizeof(_ps3_hdr_p2)); source/psiso_tool.cpp: In function ‘int psxProcessISO(char*, int, char*, char*, bool)’: source/psiso_tool.cpp:864:8: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, std_id, 5); source/psiso_tool.cpp:890:10: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, std_id, 5); source/psiso_tool.cpp:923:8: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, vol_size, 4); source/psiso_tool.cpp:951:8: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, root_dr_sector, 8); source/psiso_tool.cpp:994:10: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, SYSTEM_CNF, nLen); source/psiso_tool.cpp:1033:10: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, extent_loc, 8); source/psiso_tool.cpp:1059:10: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, data_len, 8); source/psiso_tool.cpp:1081:10: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, title_id_file_extent_data, nDataLen); source/psiso_tool.cpp:1176:10: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, PS3_GAME, sizeof(_PS3_GAME)); source/psiso_tool.cpp:1228:10: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, extent_loc, 8); source/psiso_tool.cpp:1272:10: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, PS3_SYSTEM_FILE, nLen); source/psiso_tool.cpp:1312:10: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, extent_loc, 8); source/psiso_tool.cpp:1338:10: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, data_len, 8); Compiling psiso_tool_main.cpp psiso_tool_main.o ... source/psiso_tool_main.cpp:171:3: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] "PS ISO Tool v"APP_VER" (supports PS1/PS2/PS3/PSP) (CaptainCPS-X, 2013) \n" ^ Linking object files ... /usr/bin/ld: cannot find -lkernel32 /usr/bin/ld: cannot find -lshell32 /usr/bin/ld: cannot find -luser32 collect2: error: ld returned 1 exit status Makefile:30: recipe for target 'bin/psiso_tool.exe' failed make: *** [bin/psiso_tool.exe] Error 1
-
@HoJo215 said in Pcsx2 [x86 only] Configs:
I received different errors now using the original source and your makefile
I think you're doing a mistake somewhere. The
makefile
I posted is not used for compilation in your last error post. You're probably still using the original Makefile from the git repo. -
@mitu said in Pcsx2 [x86 only] Configs:
I tried copy & pasting and typing out your makefile but I get:
Makefile:24: *** missing separator. Stop.
-
@HoJo215 Yeah.
make
is really finicky with tabs vs. spaces. Use the original makefile from the repo and edit it, making 2 changes:- comment out the LIBS line (line 9, add a
#
at the beginning of the line) - remove line 35 (containing
@echo.
).
- comment out the LIBS line (line 9, add a
-
Okay. I did that and now I get different warnings.
h@h-NUC8i7BEH:~/Downloads/PS_ISO_Tool-master$ make Compiling psiso_tool.cpp psiso_tool.o ... source/psiso_tool.cpp: In function ‘int GetTitle(char*, char*, char*, int)’: source/psiso_tool.cpp:284:5: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null] SAFE_CLOSE(fd); ^~~~~~~~~~ source/psiso_tool.cpp:293:3: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null] SAFE_CLOSE(fd); ^~~~~~~~~~ source/psiso_tool.cpp:215:7: warning: variable ‘bFoundTitle’ set but not used [-Wunused-but-set-variable] bool bFoundTitle = false; ^~~~~~~~~~~ source/psiso_tool.cpp: In function ‘int psxProcessISO(char*, int, char*, char*, bool)’: source/psiso_tool.cpp:1019:5: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null] SAFE_CLOSE(fd); ^~~~~~~~~~ source/psiso_tool.cpp:1071:66: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 2 has type ‘size_t {aka long unsigned int}’ [-Wformat=] _verbose_printf("SYSTEM.CNF Data Length: 0x%08X \n", nDataLen); ^ source/psiso_tool.cpp:1141:5: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null] SAFE_CLOSE(fd); ^~~~~~~~~~ source/psiso_tool.cpp:1213:5: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null] SAFE_CLOSE(fd); ^~~~~~~~~~ source/psiso_tool.cpp:1297:5: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null] SAFE_CLOSE(fd); ^~~~~~~~~~ source/psiso_tool.cpp:1350:77: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 3 has type ‘size_t {aka long unsigned int}’ [-Wformat=] _verbose_printf("%s Data Length: 0x%08X \n", szPS3_SYSTEM_FILE, nDataLen); ^ source/psiso_tool.cpp:1402:5: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null] SAFE_CLOSE(fd); ^~~~~~~~~~ source/psiso_tool.cpp:870:7: warning: variable ‘nMode’ set but not used [-Wunused-but-set-variable] int nMode = 0; ^~~~~ source/psiso_tool.cpp: In function ‘uint64_t ParseSFO(int, uint64_t, size_t, char*, char*)’: source/psiso_tool.cpp:495:7: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, &header_data, sizeof(sfo_header_data)); source/psiso_tool.cpp:574:7: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, var_table_entries_data, nVarTableDataLen); source/psiso_tool.cpp:623:8: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, var_table_entries[i].szName, 32); source/psiso_tool.cpp:634:9: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, var_table_entries[i].szTxtData, var_table_entries[i].nDataSize); source/psiso_tool.cpp:652:10: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, temp, 4); source/psiso_tool.cpp:671:10: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, temp, 2); source/psiso_tool.cpp: In function ‘int PatchPS3ISO(int, char*, uint8_t*)’: source/psiso_tool.cpp:774:7: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, ps3_disc_id, 0xC); source/psiso_tool.cpp:820:8: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _write(fd, _ps3_hdr_p1, sizeof(_ps3_hdr_p1)); source/psiso_tool.cpp:823:8: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _write(fd, _ps3_hdr_p2, sizeof(_ps3_hdr_p2)); source/psiso_tool.cpp: In function ‘int psxProcessISO(char*, int, char*, char*, bool)’: source/psiso_tool.cpp:864:8: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, std_id, 5); source/psiso_tool.cpp:890:10: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, std_id, 5); source/psiso_tool.cpp:923:8: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, vol_size, 4); source/psiso_tool.cpp:951:8: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, root_dr_sector, 8); source/psiso_tool.cpp:994:10: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, SYSTEM_CNF, nLen); source/psiso_tool.cpp:1033:10: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, extent_loc, 8); source/psiso_tool.cpp:1059:10: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, data_len, 8); source/psiso_tool.cpp:1081:10: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, title_id_file_extent_data, nDataLen); source/psiso_tool.cpp:1176:10: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, PS3_GAME, sizeof(_PS3_GAME)); source/psiso_tool.cpp:1228:10: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, extent_loc, 8); source/psiso_tool.cpp:1272:10: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, PS3_SYSTEM_FILE, nLen); source/psiso_tool.cpp:1312:10: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, extent_loc, 8); source/psiso_tool.cpp:1338:10: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] _read(fd, data_len, 8); Compiling psiso_tool_main.cpp psiso_tool_main.o ... source/psiso_tool_main.cpp:171:3: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] "PS ISO Tool v"APP_VER" (supports PS1/PS2/PS3/PSP) (CaptainCPS-X, 2013) \n" ^ Linking object files ...
-
@HoJo215 It doesn't matter, they're just warnings. The final message means the binary was created - check the
bin
folder forpsiso_tool
, which is the file you need. -
It's not there.. Just the original files. Two bat files, two exe files and two folders.
-
@HoJo215 Then I don't know what to say - check again ? I get the file after the compilation
pi@ubuntu-retropie:~/PS_ISO_Tool$ ls -l bin/ total 116 drwxrwxr-x 2 pi pi 4096 Mar 30 17:08 db -rw-rw-r-- 1 pi pi 335 Mar 30 17:08 example_batch.bat -rw-rw-r-- 1 pi pi 177 Mar 30 17:08 example_batch_create_ps3_iso.bat drwxrwxr-x 2 pi pi 4096 Mar 30 17:08 imgburn -rwxrwxr-x 1 pi pi 30632 Mar 30 17:15 psiso_tool -rwxrwxr-x 1 pi pi 30632 Mar 30 19:16 psiso_tool.exe -rw-rw-r-- 1 pi pi 35840 Mar 30 17:08 PSISO_Tool_GUI.exe
which I can run
bin/psiso_tool ========================================================================= PS ISO Tool v1.03 (supports PS1/PS2/PS3/PSP) (CaptainCPS-X, 2013) ========================================================================= Usage: ps_isotool [opt] [in] ------------------------------------------------------------------------- Example 1 - Patching a PS3 game ISO to comply with the PS3 system standard disc format: ps_isotool --ps3 --patch "C:\PS3ISO\MyPS3ISO.iso" Note: Only PS3 games will be patched, even if you specify "--patch" for other ISOs, they will not be modified. Example 2 - Displaying info from ISOs: ps_isotool --ps1 --verbose "C:\PSXISO\MyPS1ISO.bin" ps_isotool --ps2 --verbose "C:\PS2ISO\MyPS2ISO.iso" ps_isotool --ps3 --verbose "C:\PS3ISO\MyPS3ISO.iso" ps_isotool --psp --verbose "C:\PSPISO\MyPSPISO.iso" Note: If you don't specify "--verbose" then only the Title ID and Title will be displayed. Example 3 - Creating a PS3 ISO in compliance with the PS3 system standard disc format: psiso_tool --mkps3iso "C:\GAMES\BCUS98174-[The Last of Us]" "C:\DESTINATION_DIR" psiso_tool --mkps3iso "C:\GAMES\BCUS98174-[The Last of Us]" Note: You don't have to specify the ISO file name, it will be generated automatically,you just need to specify "Source Directory" and "Destination Directory". -------------------------------------------------------------------------
-
Yeah I don't get it either.
Why something would be pinned in useful topics that's broken..
Could you possibly send me your psiso_tools folder with makefile?
I doubt it will work but worth a try. -
@HoJo215 said in Pcsx2 [x86 only] Configs:
Why something would be pinned in useful topics that's broken..
It might have worked at the time, but newer versions of the compiler are stricter and the source doesn't compile out-of-the-box.
Could you possibly send me your psiso_tools folder with makefile?
It's the same folder as the one from the git repo, and the makefile I already posted. Nuke the git repo folder, then try again.
-
Yeah, I don't know. Maybe I'm missing dependencies..
Well thanks for helping anyway. It's appreciated.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.