Results 1 to 4 of 4

Thread: lua data.psar extractor

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

    psp lua data.psar extractor

    just made this lua prog, but is soooooo slow

    NE1 NO Y?

    e.g. is there optimum block size for copyChunk()

    **edit 3/6/7 : much quicker version now at http://www.dcemu.co.uk/vbulletin/showthread.php?t=65186

  2. #2
    GP2X Coder/Moderator
    Join Date
    Jan 2006
    Posts
    1,678
    Rep Power
    87

    Default

    You are doing a high number of low level byte operations in a high level scripting language. That's why.

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

    Default

    yes, I'd like ability to combine Lua & MIPS for time sensitive code (like c++) thought there may be a way past the sandbox using the pspinside patch engine...

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

    Question lua file ops

    ...well i NO hacking luaplayers a tall order.
    til then what im looking 4 are methods in lua io to
    - move the file pointer to data.psar as 1 op without reading every byte on the way there.
    - read or write block of bytes in file by fastest way as possible
    Also info on 'r+' & 'b' modes very apreciated (+rep waiting)

    **edit 3/6/7 : found a way 2.. http://www.dcemu.co.uk/vbulletin/showthread.php?t=65186 **

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
  •