Results 1 to 6 of 6

Thread: LUA irDA help

                  
   
  1. #1
    DCEmu Newbie
    Join Date
    Jan 2007
    Posts
    20
    Rep Power
    0

    Default LUA irDA help

    can someone help me make a script in lua that read from the ir port on the psp and writes it to a file or something? i need this to record som remotecontrolls ir codes to then make a ir code file to use with irshell. i have tried to make a file, but it crashes at start up, so if anyone could help me find the problem or tell me if this actualy would work then i would be happy:thumbup:
    here is the file i have tried to make, dont lough cous i am a bit noob with this stuff
    -- iR Reader
    System.irdaInit()
    white = color.new(255, 255, 255)
    pad = controls.read
    screen:clear
    screen: print (5, 5, "press x to record", white)
    screen:flip()

    command = System.irdaRead ()
    if pad:cross then System.irdaRead
    screen: print.len(command)
    end
    timeout = 1
    end
    screen:flip()
    where i wrote screen: print, it is not suppose to be a space, but i had to put one in becouse if i didnt it would show this screenrint

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

    Default

    No Offense but you wont learn anything form someone else doing the code for you.

    PSN ID: splodger15

  3. #3
    DCEmu Newbie
    Join Date
    Jan 2007
    Posts
    20
    Rep Power
    0

    Default

    i didnt mean that anyone should make it for me, just if someone could help me make the script start, and if someone could look at it and see if it could work the way it is now, with just some modification

  4. #4
    DCEmu Pro dangee's Avatar
    Join Date
    Feb 2007
    Posts
    531
    Rep Power
    69

    psp LUA irDa reader

    this OK
    to find a way to store
    iRdStr see attachment
    IRPEKA.TXT can be INDEX.LUA

    note: some config of LuaPlayer/TIFF eloader fail to load InetModules at startup & dont provide ir functions

  5. #5
    DCEmu Old Pro
    Join Date
    May 2006
    Posts
    1,073
    Rep Power
    75

    Default

    no offence, but if it was possible to make a pronto hex code recorder/capturer/whatever for psp, don't you think it would have been done ages ago, like when ir shell was still only ir commander

  6. #6
    DCEmu Newbie
    Join Date
    Jan 2007
    Posts
    20
    Rep Power
    0

    Default

    i dondt see why this can be such hard to do, it is possible to read the signals from the ir port on the psp right? so why should it be so hard to record it, even programable remote controlls can record ir signals and save them and then play it.

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
  •