Thanks guys for your work ;)
And Polo... nice to see you again!!!
Printable View
Thanks guys for your work ;)
And Polo... nice to see you again!!!
Finaly we have an alternative beside usbadvance, i just wondering this project will be support all game without any problem
in the future.
Btw i have test my hdd with some game inside,
GTA San Andreas (work perfectly on open usb loader) ( hang when start new game from pause menu on usbadvance)
Lego batman (work on both)
Lego indiana jones (work on both)
Crash tag team racing (work on both)
Crash mind over mutan (work on both)
Jet li rise to honnor (work on both)
NFS most wanted (work on both)
Naruto narultimate hero 3 (work on both)
Tekken 5 (hang when first loading on openusbloader) (work on usbadvance)
Cars maternational (hang when loading on openusbloader) (hang when checking memory card on usbadvance)
Dragonball budokai tenkaichi (just black on both)
I will test my other game colection later.
I suprised when i test openusbloader with my slim ps2+super7 modchip, and the elf work perfectly to play the game from my usb hdd, that with usbadvance i just get stuck when opening game header. Not only that, i test again to my fat ps2 without optic that i get stuck when open usbadvance.elf, but openusbloader is working perfectly.
Thx ifcaro :D i believe the project is next gen great usbloader in old gen console :D.
Sory for my bad english
Here's my beta 2 test report for today,
Working
*Silent Scope 1
*Silent Scope 2
**Silent Scope 3
* = USB mouse support is broken but completely playable
** = Full USB mouse support
I will dig up some more CD based games to test them later. :D
Hi Polo, thanks for the new source code.
At the moment I'm working with cdvdman replacement of jimmikaelkael. This module works with another called ISOFS which is responsible for reading the iso.
I tried to compile HDP 2.0 but I get error:
The special attributes are only in hd loader format, right?Code:In file included from cdvdemu_global.h:16,
from main.c:10:
C:/ps2dev/ps2sdk/iop/include/thevent.h:36: conflicting types for `iop_event_info
_t'
loadcore_add.h:15: previous declaration of `iop_event_info_t'
C:/ps2dev/ps2sdk/iop/include/thevent.h:63: conflicting types for `ReferEventFlag
Status'
loadcore_add.h:17: previous declaration of `ReferEventFlagStatus'
C:/ps2dev/ps2sdk/iop/include/thevent.h:65: conflicting types for `iReferEventFla
gStatus'
loadcore_add.h:19: previous declaration of `iReferEventFlagStatus'
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/c/ps2dev/HD_Project_V2.0/modules/cdvd/cdvdemu'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/c/ps2dev/HD_Project_V2.0/gui'
make: *** [all] Error 2
If and when an IDE loader is fuctional with this project, i went and made an Icon for it, like HDL and ToxicOS have. Dont know if it'll be useful , since it spins...but i made it anyway. :D
this code is either ridden with traps to make it hard for those who would try to build it ( no offense, it crossed my mind when i read Polo's warning "Anyway. Here HDP v2.0 without elf file because of serious risk for you ps2 hdd." ), or it uses a LOT of code outside of vanilla PS2SDK (or is built against an older revision - i'm using current SVN). obviously, i tend to go towards the latter ;-)
i fixed the above by stripping iop_event_info_t declarations in loadcore_add.h found in two module/cdvd* directories and replacing them with
, because they are identical in iop in SDK.Code:#include "thevent.h"
i also stumbled across linker not being able to find gsKit and dmaKit by removing upper case from names.
now i have problems with linking against gskit, i guess i have a wrong version:
perhaps i should have used the uLe modified gsKit ?Code:ee-gcc -mno-crt0 -T/opt/ps2dev/ps2sdk/ee/startup/linkfile -D_EE -O2 -G0 -Wall \
-o bin/Hd_Gui.elf /opt/ps2dev/ps2sdk/ee/startup/crt0.o obj/poweroff.o obj/iomanx.o obj/filexio.o obj/ps2atad.o obj/ps2dev9.o obj/ps2ip.o
obj/ps2smap.o obj/ps2hdd.o obj/ps2fs.o obj/ps2netfs.o obj/usbd.o obj/usbhdfsd.o obj/ps2host.o obj/fakehost.o obj/vmcfs.o obj/mcdump.o
obj/mcflash.o obj/hdlinfo.o obj/loader.o obj/emuloader.o obj/main.o obj/game_menu.o obj/glob_menu.o obj/pad.o obj/draw.o obj/elf.o obj/config.o
obj/timer.o obj/filer.o obj/mod_mgr.o obj/misc.o obj/emu.o obj/cdvdtools.o obj/mctools.o obj/hdl_rpc.o obj/mc_rpc.o obj/background.o obj/icons.o
obj/ps2icon.o -L/opt/ps2dev/ps2sdk/ee/lib -L/opt/ps2dev/gsKit/lib -L/opt/ps2dev/libjpg -L/opt/ps2dev/ps2sdk/sbv/lib -s -lpad -lgskit
-ldmakit -ljpg -lmc -lhdd -lmath3d -lmf -lfileXio -lpatches -lpoweroff -ldebug -lc -lkernel
obj/glob_menu.o(.text+0x870): In function `Global_Menu':
src/glob_menu.c: undefined reference to `gsKit_set_texA'
obj/draw.o(.text+0x671c): In function `Draw_3D_Icon':
src/draw.c: undefined reference to `gsKit_set_texA'
obj/draw.o(.text+0x6bc4): In function `Draw_Button_Icon':
src/draw.c: undefined reference to `gsKit_set_texA'
obj/draw.o(.text+0x7820): In function `Print_XYZ':
src/draw.c: undefined reference to `gsKit_font_print_scaled_3d'
collect2: ld returned 1 exit status
oh, and in one Makefile there was a (possibly) unnecessary -c option that confused the compiler:
in loaders/elfloader:
changing loaders/elfloader/Makefile like this helps:Code:ee-gcc -D_EE -O2 -G0 -Wall -mips3 -ffreestanding -fno-builtin -G0 -fshort-double -mlong64 -mhard-float -mno-abicalls -O2 -EL -Wall -c -I/opt/ps2dev/ps2sdk/sbv/include -I/opt/ps2dev/ps2sdk/ee/include -I/opt/ps2dev/ps2sdk/common/include -I. -I/opt/ps2dev/ps2sdk/sbv/include -c loader.c -o loader.o
ee-gcc -mno-crt0 -T/opt/ps2dev/ps2sdk/ee/startup/linkfile -D_EE -O2 -G0 -Wall -mips3 -ffreestanding -fno-builtin -G0 -fshort-double -mlong64 -mhard-float -mno-abicalls -O2 -EL -Wall -c -I/opt/ps2dev/ps2sdk/sbv/include \
-o loader.elf /opt/ps2dev/ps2sdk/ee/startup/crt0.o loader.o -L/opt/ps2dev/ps2sdk/ee/lib -Wl,-Ttext -Wl,0x90000 -s -Wl,--defsym -Wl,_stack_size=0x04000 -Wl,--defsym -Wl,_stack=0xA8000 -L/opt/ps2dev/ps2sdk/sbv/lib -lfileXio -lpatches -lc -lkernel
ee-gcc: cannot specify -o with -c or -S and multiple compilations
but i am still stuck on linking of the final gui executable. i'll try with ulaunchelf gsKit then.Code:--- Makefile.old 2009-09-20 21:29:11.010364969 +0200
+++ Makefile 2009-09-20 21:29:14.053763289 +0200
@@ -12,7 +12,7 @@
EE_CFLAGS := -mips3 -ffreestanding -fno-builtin -G0 \
-fshort-double -mlong64 -mhard-float -mno-abicalls -O2 -EL -Wall \
- -c $(EE_INCS) $(EE_CFLAGS)
+ $(EE_INCS) $(EE_CFLAGS)
EE_ASFLAGS := -EL -G0 $(EE_ASFLAGS)
Hey.
Sorry, i completly forgot all of this.:rolleyes:
I used ps2sdk rev 1420 because Radad modified poweroff handling and that caused problems with HDP.
Concerning iop events, i remember some mistake in ps2sdk. But if you saw declarations are identical now, it's no more a problem.
Concerning gskit, i wrote some codes to handle alpha blending on texture, and to print char in "3D".
It was the rev 1386 with a special libjpg. :D
@yoshi: I'm not one of those guy who don't want to share, just look at ULE change log. ;)
@Ifcaro: I didn't study to much usbloader partitions, so i don't know if there is the same 4MB aera reserve for header and resources.
I'll share my complet setup ASAP.
Best regards
Polo
Current uLE uses PS2SDK rev 1420 and gsKit rev 1470, plus additional patches as specified in the most recent uLE release package. So the main PS2SDK revision of uLE is the same as that Polo35 used, though there may be and probably are other differencies.
I was really confused at first how you could get it to compile as far as the error messages you showed, since my own attempts aborted with errors far earlier, resulting in the following error log:
And if I browsed inside "modules\imgdrv\" and attempted to use "make all" for its makefile instead, I got the following error log:Code:make -C gui
make[1]: Entering directory `/cygdrive/d/PS2 src/HD-Project/HD_Project_V2.0/gui'
make -C ../modules/imgdrv
make[2]: Entering directory `/cygdrive/d/PS2 src/HD-Project/HD_Project_V2.0/modu
les/imgdrv'
gcc -o .o
gcc: no input files
make[2]: *** [.o] Error 1
make[2]: Leaving directory `/cygdrive/d/PS2 src/HD-Project/HD_Project_V2.0/modul
es/imgdrv'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/cygdrive/d/PS2 src/HD-Project/HD_Project_V2.0/gui'
make: *** [all] Error 2
Press any key to continue . . .
Something does seem very very wrong with those makefiles...Code:gcc -o .o
gcc: no input files
make: *** [.o] Error 1
Press any key to continue . . .
Hmmm... (some time later)
I've now been able to eliminate those error messages by editing the makefiles, which apparently use the string "./" to refer to current directory in directives such as "IOP_SRC_DIR = ./", which is not acceptable in my Cygwin setup. Removing the final slash character to instead use "IOP_SRC_DIR = ." (and similar) fixed that problem. The same problem also applied to the makefile for the "eesync" subfolder.
With those fixes the 'make' proceeded quite far, but eventually complained about not finding the ps2eth/ stuff, which is understandable as I never bothered to install that here. (Never use it because uLE uses net drivers from SMS.)
Downloading that package and compiling it was not sufficient to fix that error, since the makefiles of that package are faulty and neglect copying the compiled binary into the proper "bin" folder, so this must be done manually by the user.
With all of the above fixed I could finally get to the point you were, with the following error log:
This obviously relates to the remark Polo35 made about needing a specially patched gsKit version he uses, based on the svn revision 1386. So without that gsKit, or similar patches for a newer version, this is never going to compile correctly.Code:ee-gcc -mno-crt0 -T/usr/local/ps2dev/ps2sdk/ee/startup/linkfile -L/usr/local/ps2dev/ps2sdk/ee/lib -L/usr/local/ps2dev/gsKit/lib -L/usr/local/ps2dev/libjpg -L/usr/local/ps2dev/ps2sdk/sbv/lib -s \
-o bin/Hd_Gui.elf /usr/local/ps2dev/ps2sdk/ee/startup/crt0.o obj/poweroff.o obj/iomanx.o obj/filexio.o obj/ps2atad.o obj/ps2dev9.o obj/ps2ip.o obj/ps2smap.o obj/ps2hdd.o obj/ps2fs.o obj/ps2netfs.o obj/usbd.o obj/usbhdfsd.o obj/ps2host.o obj/fakehost.o obj/vmcfs.o obj/mcdump.o obj/mcflash.o obj/hdlinfo.o obj/loader.o obj/emuloader.o obj/main.o obj/game_menu.o obj/glob_menu.o obj/pad.o obj/draw.o obj/elf.o obj/config.o obj/timer.o obj/filer.o obj/mod_mgr.o obj/misc.o obj/emu.o obj/cdvdtools.o obj/mctools.o obj/hdl_rpc.o obj/mc_rpc.o obj/background.o obj/icons.o obj/ps2icon.o -lpad -lgsKit -ldmaKit -ljpg -lmc -lhdd -lmath3d -lmf -lfileXio -lpatches -lpoweroff -ldebug -lc -lkernel
obj/glob_menu.o(.text+0x870): In function `Global_Menu':
src/glob_menu.c: undefined reference to `gsKit_set_texA'
obj/draw.o(.text+0x671c): In function `Draw_3D_Icon':
src/draw.c: undefined reference to `gsKit_set_texA'
obj/draw.o(.text+0x6bc4): In function `Draw_Button_Icon':
src/draw.c: undefined reference to `gsKit_set_texA'
obj/draw.o(.text+0x7820): In function `Print_XYZ':
src/draw.c: undefined reference to `gsKit_font_print_scaled_3d'
collect2: ld returned 1 exit status
make[2]: *** [bin/Hd_Gui.elf] Error 1
make[2]: Leaving directory `/cygdrive/d/PS2 src/HD-Project/HD_Project_V2.0/gui'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/cygdrive/d/PS2 src/HD-Project/HD_Project_V2.0/gui'
make: *** [all] Error 2
Press any key to continue . . .
Since this attempt was made with a normal PS2Dev setup for uLE, and it still doesn't work, attempting to use the uLE setup will be futile for others too. And unfortunately it also means that I will not participate in this project, as I will not abandon the gsKit setup needed for uLE. (uLE uses gsKit 1470 + uLE patches, as opposed to HD-Project's gsKit 1386 plus its own special patches)
So I'm sorry, but I'm out of it at this point, unless the gsKit usage can be amended.
Best regards: dlanor