Results 1 to 4 of 4

Thread: PRX help

                  
   
  1. #1
    PSP Coder benh's Avatar
    Join Date
    Mar 2006
    Location
    linclonshire, England
    Posts
    362
    Rep Power
    71

    Question PRX help

    Hi all

    I am thinking of making a plugin for dark alexs custom firmware 3.03 OE - C. I have my flasher app made but the problem is i dont know how to make a PRX file and i was wondering if someone could help?

    I could do with an example makefile for making the PRX and anything else you think that i need to make them.

    Please help
    Benh = Coder, main language C other language LUA

    Check out my first C app Super - flasher here

    visit my dev site where you can download all of my coding projects - http://benh-pspdev.bravehost.com/



    Please visit my site www.pspfanatic.bravehost.com
    and join the forums

  2. #2
    DCEmu Legend Accordion's Avatar
    Join Date
    Jan 2006
    Location
    Birmingham, UK
    Age
    36
    Posts
    2,884
    Rep Power
    90

    Default

    i cant help...but what are you trying to incorporate in your .prx...or is it more a proof of concept for yourself?

  3. #3
    DCEmu Coder EvilDooinz's Avatar
    Join Date
    Mar 2006
    Location
    Denver,Co
    Age
    43
    Posts
    163
    Rep Power
    70

    Default

    Add these lines to your make file

    Build_prx = 1

    LDFLAGS = -mno-crt0 -nostartfiles

    oh and you will have to change the main function to
    /* main */
    int main_thread(SceSize args, void *argp);
    and add this function
    /*module start */
    int module_start(SceSize args, void *argp)
    {
    SceUID th = sceKernelCreateThread("main_thread", main_thread, 0x20, 0x 10000, 0, NULL);

    if (th >= 0)
    {
    sceKernelStartThread(th, args, argp);
    }

    return 0;
    }
    /* Homebrew */
    NanpureR4 *****
    PSPWOL


  4. #4
    PSP Coder benh's Avatar
    Join Date
    Mar 2006
    Location
    linclonshire, England
    Posts
    362
    Rep Power
    71

    Default

    thanks for your help evildooinz
    Benh = Coder, main language C other language LUA

    Check out my first C app Super - flasher here

    visit my dev site where you can download all of my coding projects - http://benh-pspdev.bravehost.com/



    Please visit my site www.pspfanatic.bravehost.com
    and join the forums

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Bookmarks

Posting Permissions

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