Results 1 to 5 of 5
  1. #1
    Kuro Tenshi's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    Where arth thou be
    Posts
    3,635
    Reputation
    70
    Thanks
    746
    My Mood
    Blah

    Cool learn how to make a PSP-HACK

    //this tutorial is made by PSPiso
    //download the files below and extract the rar file
    //then open PSPDevSetup-06060214.exe
    //press next then select your destinaion folder(X:\pspdev(rename X to your driver))
    //press next then select the 1e selection at the top
    //press install
    //goto X:\pspdev and copy the pspdev.bat to X:\windows


    #include <Download.h>
    #include <.h>

    //goto X:\ and create a new map named "mpgh tut"
    //open the map and create to text files
    //and place the ICON0.PNG that you downloaded in the same folder

    create("Makefile") //dont name it makefile or Makefile.txt
    create("main.c") //dont name it Main.c or main.c.txt

    //now open up Makefile with Wordpad(a bit better than notepad)
    //copy the text below

    TARGET = TuT
    OBJS = main.o

    CFLAGS = -O2 -G0 -Wall
    CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
    ASFLAGS = $(CFLAGS)

    EXTRA_TARGETS = EBOOT.PBP
    PSP_EBOOT_TITLE = PSPiso's tut for mpgh
    PSP_EBOOT_ICON = icon0.png

    PSPSDK=$(shell psp-config --pspsdk-path)
    include $(PSPSDK)/lib/build.mak
    //if you want to add sound to your eboot search for a snd0.at3 on the web
    //and place underneath the PSP_EBOOT_ICON = icon0.png
    //PSP_EBOOT_SND0 = snd0.at3
    //save the file and close
    //-------------------------------------
    //now open up main.c
    //place this code between the quote (i stop some times to tell you wath it means)

    #include<pspkernel.h>
    #include<pspdebug.h>
    #include<pspdisplay.h>
    #include<pspctrl.h>

    PSP_MODULE_INFO("Mpgh TuT", 0, 1, 1);
    / can change the name of the PSP_MODULE_INFO("your project", 0, 1, 1)
    //this is the name that appears on you psp at game info(go to GAME>(your_game)> and press triangle


    #define printf pspDebugScreenPrintf
    //this means that if printf=pspDebugScreenPrintf this comes in quite handy because it spares time to write you need this allot

    int exit_callback(int arg1, int arg2, void *common)
    {
    sceKernelExitGame();
    return 0;
    }

    int CallbackThread(SceSize args, void *argp)
    {
    int cbid;

    cbid = sceKernelCreateCallback("Exit Callback", exit_callback, NULL);
    sceKernelRegisterExitCallback(cbid);

    sceKernelSleepThreadCB();

    return 0;
    }

    int SetupCallbacks(void)
    {
    int thid = 0;

    thid = sceKernelCreateThread("update_thread", CallbackThread, 0x11, 0xFA0, 0, 0);
    if(thid >= 0)
    {
    sceKernelStartThread(thid, 0, 0);
    }

    return thid;
    }
    //this needs to be written all the time otherwise you cant shut down your psp and its needed to boot the file :P

    int main()
    {
    pspDebugScreenInit();
    SetupCallbacks();
    SceCtrlData pad;
    menu:
    pspDebugScreenClear();
    printf("PPPP SSS PPPP IIIII SSS OOn");
    printf("P P S P P I S O On");
    printf("PPPP SS PPPP I SS O On");
    printf("P S P I S O On");
    printf("P SSS P IIIII SSS OOnn");
    printf("MPGH TUTnn")
    printf(" Press START To Playnnnn");
    printf("MOGŠn");

    while(1)
    {
    sceCtrlReadBufferPositive (&pad, 1);

    if (pad.Buttons & PSP_CTRL_START)
    {
    pspDebugScreenClear();
    printf("Press (X)n");
    if (pad.Buttons & PSP_CTRL_CROSS)
    {
    pspDebugScreenClear();
    printf("You return to main menu in 5 secondsn");
    sceKernelDelayThread(500000);
    goto menu;
    }
    }
    }
    //this is what appears on your screen and as you can see i used printf allot
    //pspDebugScreenClear(); means that your screen gets cleared from ever written word
    //sceKernelDelayThread( ); means to delay (100000=1sec)
    //printf(" "); means to write a text on your pspscreen
    //printf(" \n"); means nextline so other wise known as [VK_ENTER](for pc)


    }
    sceKernelSleepThread();
    return 0;
    }
    //DON'T FOR GET THIS xD this is the sleep button

    //here are some buttons of the psp:
    if (pad.Buttons & PSP_CTRL_CROSS) = Cross button
    if (pad.Buttons & PSP_CTRL_) = Circle button
    if (pad.Buttons & PSP_CTRL_) = Square button
    if (pad.Buttons & PSP_CTRL_) = Triangle button
    if (pad.Buttons & PSP_CTRL_) = Left trigger
    if (pad.Buttons & PSP_CTRL_) = Right trigger
    if (pad.Buttons & PSP_CTRL_START) = Start button
    if (pad.Buttons & PSP_CTRL_SELECT) = Select button

    //this for the ones who cant compile the hack above
    #include<pspkernel>
    #include<pspdebug>

    PSP_MODULE_INFO("Hello World", 0, 1, 1);

    #define printf pspDebugScreenPrintf

    int exit_callback(int arg1, int arg2, void *common)
    {
    sceKernelExitGame();
    return 0;
    }

    int CallbackThread(SceSize args, void *argp)
    {
    int cbid;

    cbid = sceKernelCreateCallback("Exit Callback", exit_callback, NULL);
    sceKernelRegisterExitCallback(cbid);

    sceKernelSleepThreadCB();

    return 0;
    }

    int SetupCallbacks(void)
    {
    int thid = 0;

    thid = sceKernelCreateThread("update_thread", CallbackThread, 0x11, 0xFA0, 0, 0);
    if(thid >= 0)
    {
    sceKernelStartThread(thid, 0, 0);
    }

    return thid;
    }

    int main()
    {
    pspDebugScreenInit();
    SetupCallbacks();
    printf("Hello World");
    sceKernelSleepThread();
    return 0;

    }
    //ok now save and close and open up run for 1. for xp 2. for vista
    //1. start>run>cmd>press ok
    //2. windows button + R button>cmd>press ok
    /p
    pspdev
    //now you're ready to create your hack
    /p
    cd ..
    //2 times and now typ cd mpgh tut
    //Make

    //Virus total
    #include <VirusTotal.h>

    PSPiso out...
    Last edited by Kuro Tenshi; 05-29-2009 at 05:05 PM.

  2. #2
    umby's Avatar
    Join Date
    Jan 2009
    Posts
    8
    Reputation
    10
    Thanks
    1
    wow. Uhh. Yeah, 1. Setting up PSP dev is not that easy on windows, as it is a linux native program, and you have to install CGIWIN. Also, I spotted a few coding errors
    <_<

    Code:
    int main()
    {
    pspDebugScreenInit();
    SetupCallbacks();
    SceCtrlData pad;
    menu:
    pspDebugScreenClear();
    printf("PPPP SSS PPPP IIIII SSS OOn");
    printf("P P S P P I S O On");
    printf("PPPP SS PPPP I SS O On");
    printf("P S P I S O On");
    printf("P SSS P IIIII SSS OOnn");
    printf("MPGH TUTnn")
    printf(" Press START To Playnnnn");
    printf("MOGŠn");
    
    while(1) { // Bracket Moved
    sceCtrlReadBufferPositive (&pad, 1);
    
    if (pad.Buttons & PSP_CTRL_START) { // Bracket Moved.
    pspDebugScreenClear();
    printf("Press (X)n"); // fixed n to n.
    } // Added Bracket  (Ends If Statement)
    if (pad.Buttons & PSP_CTRL_CROSS) {  //moved bracket
    pspDebugScreenClear();
    printf("You return to main menu in 5 secondsn");
    sceKernelDelayThread(500000);
    goto menu;
    }  // This bracket ends the If statement
    } //Added bracket (For ending of the while loop)
    } //Added Bracket (For ending of main)

    You gotta count them brackets

  3. #3
    Threadstarter
    I'm the fallen angel from heaven.
    MPGH Member
    Kuro Tenshi's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    Where arth thou be
    Posts
    3,635
    Reputation
    70
    Thanks
    746
    My Mood
    Blah
    pspdev has a build in cygwin as for linux hax creation so its possible tomake it on windows xD

    ty 4 the fix ill try to compile the upload in that way xD
    DigiDrawing|+ ( (Elfen Archer) )
    Link:
    https://www.mpgh.net/forum/148-showro...en-archer.html


    @ Anime Section,Otaku/weeabo (orz.) @Graphics Section, Novice DigiArtist


    neuest gift from Yura~Chan:
    https://bakyurayuu.deviantar*****m/#/d372taw
    2nd Place MOTM#9 Theme: CharMods - Combat Arms [No - Thanks] button
    come on you know that don't want to push that ordinary button

  4. #4
    Lugares's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Sweden, Gothenburg
    Posts
    114
    Reputation
    14
    Thanks
    32
    My Mood
    Relaxed
    Cool I will try this on one of my PSP's ;P

  5. #5
    Threadstarter
    I'm the fallen angel from heaven.
    MPGH Member
    Kuro Tenshi's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    Where arth thou be
    Posts
    3,635
    Reputation
    70
    Thanks
    746
    My Mood
    Blah
    ok goodluck :P
    DigiDrawing|+ ( (Elfen Archer) )
    Link:
    https://www.mpgh.net/forum/148-showro...en-archer.html


    @ Anime Section,Otaku/weeabo (orz.) @Graphics Section, Novice DigiArtist


    neuest gift from Yura~Chan:
    https://bakyurayuu.deviantar*****m/#/d372taw
    2nd Place MOTM#9 Theme: CharMods - Combat Arms [No - Thanks] button
    come on you know that don't want to push that ordinary button

Similar Threads

  1. how to make your own hack!
    By blue213321 in forum WarRock - International Hacks
    Replies: 1
    Last Post: 04-25-2009, 04:38 PM
  2. How to make knife speed hack (idea)
    By gunman353 in forum General
    Replies: 1
    Last Post: 02-03-2009, 03:13 PM
  3. Teach Me How To Make Combat Arms Hacks
    By mryoda100 in forum Combat Arms Hacks & Cheats
    Replies: 17
    Last Post: 02-02-2009, 02:49 PM
  4. [tut for noobs]How to make a boneshot hack with vb
    By atheist in forum WarRock - International Hacks
    Replies: 18
    Last Post: 02-19-2008, 07:20 AM
  5. [tut for noobs] How to make a invi hack with vb
    By atheist in forum WarRock - International Hacks
    Replies: 14
    Last Post: 02-15-2008, 03:36 AM

Tags for this Thread