The lump format is very basic, not many lines of code are needed to extract a lump:TMC wrote:In never realised that it had its own unlump routine. The code is so short that I didn't recognise it
Code: Select all
with open(game,'rb') as f:
while 1:
try:
fi = getdata(f)
except:
break
size = getlong(f)
zf.writestr('%s/%s' % (rpgdir,fi), f.read(size))
I'm glad you approve. Not entirely sure why it would need to support multiple keystores as your build system does. This build system is targeted at the game developers of OHR, and I don't believe they need more than 1 key. Once we introduce this build system as the way to build APKs, you shouldn't need to do another android OHR for a game you personally didn't make. This way, you can focus more of your time and energy into getting the next release of OHR out, rather than sitting in a dark room building APKs.Bob wrote:Looks awesome so far, but some things will need to change before I can use it to replace the process I am currently using.
I did make some basic documentation in the first post I believe.
Fixing the bug you noticed with lump names is pretty easy, as you can tell from the above code. I can have a commit for the fix done very soon.