Page 1 of 5 1 2 3 ... LastLast
Results 1 to 10 of 48

Thread: Nifty scripts

  
  1. #1
    LordCthulu is offline Senior Member -Hacks Enthusiast
    Join Date
    Mar 2005
    Posts
    578
    Rep Power
    14

    Default

    Heres a sticky of cool/useful/fun Lua things! Yes, things.




    Downloads:

    A script that lets you enter and leave Usb mode.
    http://thend.net/downloads/usbModeScript.rar

    PSPoof. Allows the hiding of files in jpegs,
    and has good examples of file input/output.

    http://www.cs.ulm.edu/~jself/jmenc/PSpoofv11.rar

    Drawing Fun. Lets you use the analog stick to draw
    on a canvas in different colors. Now lets you change
    the color of the canvas. (little buggy there)

    http://www.thend.net/downloads/drawingFun.rar


    Scripts:

    LPut library: Has prebuilt functions like magnify and round.
    Use: Have the file in the same directory as your script,
    and have the line dofile("LPut02.lua") somewhere near the top.

    http://webpages.charter.net/kawageo/PSPstuff/LPut02.lua


    Games:

    Game by Laserix/Bigmoor
    http://psp-news.dcemu.co.uk/laserix.shtml




    If you have something you want to add to the list, just upload it somewhere and send me the link, and I'll edit it into the post.

    Last edited by dbrums; 04-13-2013 at 12:28 PM. Reason: updating
    Oldest psp-hacks member ever.

  2. #2
    modsyn is offline -Hacks Guru
    Join Date
    Aug 2005
    Location
    Shinigami Kurosaki Ichigo!
    Posts
    2,475
    Rep Power
    15

    Default

    This script displays the values of the analog stick (useful for development)

    Code:
    System.usbDiskModeActivate()
    red = Color.new(255, 0, 0);
    white = Color.new(255, 255, 255);
    
    canvas = Image.createEmpty(480, 272)
    canvas:clear(white)
    
    while true do
    	pad = Controls.read()
    	dx = pad:analogX()
    	dy = pad:analogY()
    	screen:blit(0, 0, canvas, 0, 0, canvas:width(), canvas:height(), false)
    	screen:print(11, 11, "dx: " .. tostring(dx), red)
    	screen:print(11, 21, "dy: " .. tostring(dy), red)
    	screen.waitVblankStart()
    	screen.flip()
    	if pad:start() then break end
    	if pad:select() then screen:save("screenshot.tga") end
    end
    jMEnc Guide, jMEnc2 page - by the way, you smell nice

  3. #3
    Exira is offline -Hacks Guru
    Join Date
    Jun 2005
    Posts
    1,976
    Rep Power
    15

    Default

    I've been loking for the LUA XP shell. I want the source code.

    I stickied it
    Oh come let us adore him, betray, and then ignore him.

  4. #4
    RaiderX's Avatar
    RaiderX is offline Senior Member -Hacks Titan
    Join Date
    Jun 2005
    Posts
    4,192
    Rep Power
    19

    Default

    Thanks for that script it will help! Also, can someone give me a short script that will direct gravity towards the direction you press on the d-pad, or give me the command that will direct gravity? thx again. mdosyn, ur help is really appriciated!

  5. #5
    qwerty is offline Senior Member -Hacks Veteran
    Join Date
    Jun 2005
    Location
    Texas
    Posts
    1,281
    Rep Power
    15

    Default

    cool, new downgrade, to. can today get any better? its weird though, cus i just returned my 1.51 psp yesterday and got a 1.5. today theres a downgrader :rolleyes: go figure

    PSP 5.00 m33

  6. #6
    RaiderX's Avatar
    RaiderX is offline Senior Member -Hacks Titan
    Join Date
    Jun 2005
    Posts
    4,192
    Rep Power
    19

    Default

    HOLY SHIT!!!!!!!!!! **** WAB!!! SOEMONE ELSE DID IT!!!!!

    What abotu all the 2.0 expliots now tho.../ sony is ***ed!! it hink Im gonna dwongrade my 2.0, then I'll ahve 2 1.5s!!

  7. #7
    qwerty is offline Senior Member -Hacks Veteran
    Join Date
    Jun 2005
    Location
    Texas
    Posts
    1,281
    Rep Power
    15

    Default

    check out the thread! http://boardsus.playstation.com/play...age.id=1148725im qwertyu2day, cus someone already took qwerty from me.

    PSP 5.00 m33

  8. #8
    RaiderX's Avatar
    RaiderX is offline Senior Member -Hacks Titan
    Join Date
    Jun 2005
    Posts
    4,192
    Rep Power
    19

    Default

    this is da ****! But continue conversation in the thread in hack, cracks and mods, k?

  9. #9
    qwerty is offline Senior Member -Hacks Veteran
    Join Date
    Jun 2005
    Location
    Texas
    Posts
    1,281
    Rep Power
    15

    Default

    im just all happy :E :E :E :E :E :E :E :lol:

    PSP 5.00 m33

  10. #10
    modsyn is offline -Hacks Guru
    Join Date
    Aug 2005
    Location
    Shinigami Kurosaki Ichigo!
    Posts
    2,475
    Rep Power
    15

    Default

    this is back on topic:
    http://webpages.charter.net/kawageo/PSPstuff/LPut02.lua
    is the LPut library that has prebuilt functions like magnify and round.
    to use the functions just have the file in the same directory as your
    script and have the line
    dofile("LPut02.lua") somewhere near the top.

    as for gravity, i don't have any quick code for it. i haven't tried to
    implement gravity for anything yet. sorry.
    jMEnc Guide, jMEnc2 page - by the way, you smell nice

Page 1 of 5 1 2 3 ... LastLast

Posting Permissions

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