PDA

View Full Version : Lua data.psar extractor II



dangee
June 3rd, 2007, 15:05
'seeked' , & found how to speed Lua file access.
Attached LuaProg gives 1000%(+) ! speed increase over original version ( see
thread http://www.dcemu.co.uk/vbulletin/showthread.php?t=62024 ),
with rewrite & precompiled Lua for critical loop.
guide included in file.
nb requires lua 5.1 (eg LuaPlayer 2.0)
with thanx to Yaustar for accurate bottleneck analysis.

**(edit 5.6.7)..& now available as KY eboot in attached zipfile ,
or from http://dangee.eu **

myschoo
June 5th, 2007, 18:50
how does it work? whn i look to script.lua, there are only numbers.. LOT of numbers

parkermauney
June 5th, 2007, 18:53
So, is it faster than psar dumper?

dangee
June 5th, 2007, 20:48
So, is it faster than psar dumper?

probbly knot - coz thers still an interpreter level- but maybe faster than connecting up pbpunpacker on PC. for some reason it runs faster off the tiff eloader than in 1.5,but wont exit when its done..?

**edit 13/6/7: xit to tiff eloader menu works using eloader 0.98 (porter) using START+L+R instead of HOME. **

dangee
June 5th, 2007, 20:54
how does it work? whn i look to script.lua, there are only numbers.. LOT of numbers

did u look as far as the last 2 lines at the end of the precompiled and encrypted lua table ?

myschoo
June 6th, 2007, 20:14
i dont understand ur question very well but i just see so many numbers and then:

pcf ="" for i,ss in ipairs(program) do pcf=pcf..ss end
loadstring(pcf)()

dangee
June 7th, 2007, 03:25
i dont understand ur question very well but i just see so many numbers and then:

pcf ="" for i,ss in ipairs(program) do pcf=pcf..ss end
loadstring(pcf)()

yes, them last 2 lines -
they enable the PreCompiledFunction encoded
as (numerical) Ascii escape sequences
in the table "program"

parkermauney
June 7th, 2007, 21:29
This could be useful for dumping psars without having to boot your psp.