+ Reply to Thread
Page 2 of 11 FirstFirst 1 2 3 4 5 6 7 8 9 10 11 LastLast
Results 11 to 20 of 105

Thread: Fixed, Pre-Built, Win32 PS2SDK :)

  1. #11
    Join Date
    Jul 1999
    Posts
    6,555

    Default

    OK, I've fixed the issues Free MC Boot 1.5 had with libjpg. Rather than modifying Free MC Boot 1.5 to match a normal build of PS2SDK + libjpg, I've simply created the directories FMCB is looking for (which would exist with a normal, old libjpg install), and copied the libjpg include files there as well.

    However, we then run into the error:

    Code:
    draw.c: In function `Setup_GS':
    draw.c:344: too few arguments to function `dmaKit_init'
    make[1]: *** [draw.o] Error 1
    make[1]: Leaving directory `/home/mcboot1.5/src'
    make: *** [all] Error 2
    ...which I know I've seen before, but I can't recall the remedy for it...let me look around at some old threads...I believe ptek answered this question for me before.
    I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

  2. #12
    Join Date
    Jul 1999
    Posts
    6,555

    Default

    OK; I've fixed that issue, by replacing the old dmaKit_init code in FMCB's draw.c...

    Code:
    dmaKit_init(D_CTRL_RELE_OFF,D_CTRL_MFD_OFF, D_CTRL_STS_UNSPEC, D_CTRL_STD_OFF, D_CTRL_RCYC_8);
    ...with...

    Code:
    dmaKit_init(D_CTRL_RELE_OFF,D_CTRL_MFD_OFF, D_CTRL_STS_UNSPEC,
              D_CTRL_STD_OFF, D_CTRL_RCYC_8, 1 << DMA_CHANNEL_GIF);
    ...which ptek took from the bigtex.c gskit example, and shared with me last time I had an issue compiling some old gsKit source...

    However, we now have another issue, with:

    Code:
    Error opening C:/msys/1.0/local/ps2dev/usbhdfsd/bin/usbhdfsd.irx for reading.
    make[1]: *** [obj/usbhdfsd.s] Error 1
    make[1]: Leaving directory `/home/mcboot1.5/src'
    make: *** [all] Error 2
    ...likely caused by the fact that I don't have usbhdfsd installed

    I'll work on adding it.
    I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

  3. #13
    Join Date
    Jul 1999
    Posts
    6,555

    Default

    OK, I've fixed USBHDFSD (at least, I've fixed this build of PS2SDK to allow it to build properly), and installed it. Then, I compiled FMCB 1.5, flawlessly

    I'll upload the (quite improved) GSHI_PS2SDK 3.0 in a few minutes...
    I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

  4. #14
    Join Date
    Jul 1999
    Posts
    6,555

    Default

    OK, I've updated the ReadMe in the first post in this thread with the latest ReadMe.txt, and uploaded the newly updated build.

    Have fun

    Please do let me know if there's anything else I can include that would help.
    I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

  5. #15
    Join Date
    Jul 2008
    Posts
    12

    Default

    it still gives me

    $ make
    make -C src
    make[1]: Entering directory `/home/mcboot/src'
    ee-gcc -D_EE -O2 -G0 -Wall -I/usr/local/ps2dev/ps2sdk/ee/include -I/usr/local/p
    s2dev/ps2sdk/common/include -I. -I/usr/local/ps2dev/ps2sdk/iop/include -I/usr/lo
    cal/ps2dev/ps2sdk/common/include -I/usr/local/ps2dev/gsKit/include -I/usr/local/
    ps2dev/libjpg/include -I/usr/local/ps2dev/ps2sdk/sbv/include -c mcboot.c -o mcbo
    ot.o
    ee-gcc -D_EE -O2 -G0 -Wall -I/usr/local/ps2dev/ps2sdk/ee/include -I/usr/local/p
    s2dev/ps2sdk/common/include -I. -I/usr/local/ps2dev/ps2sdk/iop/include -I/usr/lo
    cal/ps2dev/ps2sdk/common/include -I/usr/local/ps2dev/gsKit/include -I/usr/local/
    ps2dev/libjpg/include -I/usr/local/ps2dev/ps2sdk/sbv/include -c pad.c -o pad.o
    ee-gcc -D_EE -O2 -G0 -Wall -I/usr/local/ps2dev/ps2sdk/ee/include -I/usr/local/p
    s2dev/ps2sdk/common/include -I. -I/usr/local/ps2dev/ps2sdk/iop/include -I/usr/lo
    cal/ps2dev/ps2sdk/common/include -I/usr/local/ps2dev/gsKit/include -I/usr/local/
    ps2dev/libjpg/include -I/usr/local/ps2dev/ps2sdk/sbv/include -c draw.c -o draw.o

    draw.c: In function `Setup_GS':
    draw.c:344: too few arguments to function `dmaKit_init'
    make[1]: *** [draw.o] Error 1
    make[1]: Leaving directory `/home/mcboot/src'
    make: *** [all] Error 2

    Administrator@LAPTOP ~/mcboot
    $





    and i just downloaded the new build with 3.0 readme a 4:11

  6. #16
    Join Date
    Jul 2008
    Posts
    12

    Default

    i do appriciate the help as alot of people i asked won't help and i don't understand why because when we get this to run flawlesly with all the features we have been asked for it will be a great day in ps2 history.

  7. #17
    Join Date
    Jul 1999
    Posts
    6,555

    Default

    Yes

    Also, the problem you're having is the one I mentioned in one of the previous posts. It's not something I can necessarily fix on the PS2SDK's side, as it has to do with an outdated dmaKit, from an outdated PS2SDK. If everyone were using a standard, updated PS2SDK to write such apps as Free MC Boot, we wouldn't have this issue. What you'll need to do to fix this error (any time you're trying to compile outdated dmaKit source, such as this), is to follow the instructions I left on the second post on this page.

    I suppose I should add that to my ReadMe, and look into a way to force dmaKit to interpret the old init as the new one...
    I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

  8. #18
    Join Date
    Jul 2008
    Posts
    12

    Default

    i understand now you ment in draw.c of the mcboot ; i thought you ment in gskitint.h .

    thanks so much i appriciate it . HEY IT WORKS!!

  9. #19
    Join Date
    Jul 1999
    Posts
    6,555

    Default

    Heh, not a problem

    Oh yeah; I wasn't very specific about that, was I? I've edited it to make it more clear. And, thank ptek for the heads up concerning dmaKit_init.

    I'm tinkering around for a method to make this happen automatically (or perhaps someone else will have an idea how to do so). I'll let you know if I find a solution.
    I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

  10. #20
    Join Date
    Jul 1999
    Posts
    6,555

    Default

    In the meantime, I've added libcdvd, PS2Lib (for legacy source support), and ps2eth. GSHI_PS2SDK now compiles HD_Project_v1.07

    However, I haven't yet uploaded this version. I'll post here when I do.
    I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Win32 PS2 Dev. Intro
    By Lazy Bastard in forum Research & Development
    Replies: 4
    Last Post: 12-17-2009, 10:04:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts