Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Creating home brew?

                  
   
  1. #1
    DCEmu Old Pro carlitx's Avatar
    Join Date
    Sep 2006
    Location
    in the stix
    Age
    35
    Posts
    1,263
    Rep Power
    75

    Default Creating home brew?

    ya I was just interested how do i make homebrew i have no idea how o code/hack/program but i am very willing to learn so if anybody got a tutorial on this stuff but id realy like to get into the hombrew making scene for psp. so please help me somebody.

  2. #2
    DCEmu Coder splodger15's Avatar
    Join Date
    Jun 2006
    Location
    London
    Age
    34
    Posts
    4,123
    Rep Power
    95

    Default

    You have to learn how to code.And you need to choose what language to code in either:Lua or C++

    Lua is a simple language to learn and C++ is harder but can be more powerfull

    PSN ID: splodger15

  3. #3
    DCEmu Old Pro carlitx's Avatar
    Join Date
    Sep 2006
    Location
    in the stix
    Age
    35
    Posts
    1,263
    Rep Power
    75

    Default

    ok i think ill start with lua to start me off untill i get to be good enough foe c++. so any tutorials on lua lol?

  4. #4
    DCEmu Coder splodger15's Avatar
    Join Date
    Jun 2006
    Location
    London
    Age
    34
    Posts
    4,123
    Rep Power
    95

    Default

    Here is a little Basic Lua script i have wrote up it just moves the image up and down on the screen

    --Basic application by splodger15
    -----------------
    Room_width = 480
    Room_height = 272
    player1x =240
    player1y =136
    ---Load Sprites ---
    background =Image.load ("images/Background.PNG")
    player1=Image.load("images/Player1.PNG")

    ------functions
    function checkcontrols()
    pad = Controls.read()
    if pad:start() then
    exitgame = 1
    end
    if pad:right() then
    player1x = player1x -2
    end
    if pad:left() then
    player1x = player1x +2
    end
    if pad:up() then
    player1y = player1y - 2
    end
    if pad:down() then
    player1y = player1y +2
    end
    end
    function drawall()
    screen:blit (0,0,background)
    screen:blit(player1x,player1y,player1)
    screen.waitVblankStart()
    screen.flip()

    end
    -- MAIN LOOP
    while true do

    checkcontrols()
    drawall()
    if exitgame ==1 then
    break
    end
    end

    Check HERE for Lua tutorials

    If you need any help just pm me

    PSN ID: splodger15

  5. #5
    DCEmu Regular vision's Avatar
    Join Date
    Dec 2006
    Location
    Mars
    Age
    32
    Posts
    397
    Rep Power
    71

    Default

    Awesome man, im starting to learn homebrew too. It going to be a pain in the w.e lol


    thanks for the site splodger do you any for c++


    Edit: i just read over your script and it's actually very understanding

  6. #6
    DCEmu Coder splodger15's Avatar
    Join Date
    Jun 2006
    Location
    London
    Age
    34
    Posts
    4,123
    Rep Power
    95

    Default

    Check out HERE to learn C++

    PSN ID: splodger15

  7. #7
    DCEmu Regular vision's Avatar
    Join Date
    Dec 2006
    Location
    Mars
    Age
    32
    Posts
    397
    Rep Power
    71

    Default

    Thanks what about tiff is it harder?easier?

  8. #8
    DCEmu Coder splodger15's Avatar
    Join Date
    Jun 2006
    Location
    London
    Age
    34
    Posts
    4,123
    Rep Power
    95

    Default

    I would say tiff is harder as you need to learn C++ first

    Here is my Basic C++ Application i created

    // Basic C++ Application

    /*
    This program was created by (splodger15) on (22/12/2006)
    It is a simple "C++" Application.
    */

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

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

    #define printf pspDebugScreenPrintf

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

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

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

    sceKernelSleepThreadCB();

    return 0;
    }

    /* Sets up the callback thread and returns its thread id */
    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("This was created by splodger15 on 23/12/2006.\n ");

    printf("There is a few people that made the whole PSP scene possible.\n ");

    printf("Dark Alex- For his great PSP applications.\n ");

    printf("Harley g- For his great Custom firmware.\n ");

    printf("Team Noobz-For all your great work on the Eloader project and many other projects.\n ");

    printf("Booster-For his excellent Devhook application.\n ");

    printf("Team C+D-For there exploit found in 2.80.\n ");

    printf("ZX-81-For his great emulators that just keep on coming.\n ");

    printf("Art-For his X-Flash applications.\n ");

    printf("0okm-For his excellent PSP programs.\n ");

    printf("AhMan-For his Ir Shell.\n ");

    printf("Anonymous Coder-For his PS1P Emulator.\n ");

    printf("Yoshihiro-For his PSX-P Emulator.\n");

    printf("There is alot more.\n ");


    printf("Here is a list of coders that have helped me out on PSP Turismo and other games.\n ");

    printf("Gunntims0103.\n ");

    printf("Ninja9393.\n ");

    printf("Benh.\n ");

    printf("lmtlmt.\n ");

    printf("Zion.\n ");

    printf("Sorry if i have forgot anyone.\n ");

    printf("You can check out my site to find my latest work at www.freewebs.com/splodger15.\n ");

    sceKernelSleepThread();

    return 0;

    }

    PSN ID: splodger15

  9. #9
    DCEmu Old Pro carlitx's Avatar
    Join Date
    Sep 2006
    Location
    in the stix
    Age
    35
    Posts
    1,263
    Rep Power
    75

    Default

    wow i got alot of reading to do thnx splodger!

  10. #10
    DCEmu Coder splodger15's Avatar
    Join Date
    Jun 2006
    Location
    London
    Age
    34
    Posts
    4,123
    Rep Power
    95

    Default

    No problem if you need any help with Lua just pm me

    PSN ID: splodger15

Page 1 of 2 12 LastLast

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
  •