Jump to content
  • 0

Hwo to create or mod Libs files using gg?


GOIIA

Question

Posted

I know Lp2lua.lua but it's only mod some specific hex values. But i needed to edit full library files or want to create mod Libs (with value of 00) using lua Script.

It will done easily with linux or any terminal 

Using "dd if=/dev/zero of=". But want to do that using lua Script.

3 answers to this question

Recommended Posts

  • Administrators
Posted

Just write zeroes to file via io.* functions.

[added 0 minutes later]

And you can not edit game lib files, because lua scripts do not have access to them. But you can edit any memory in game process. Even allocate new memory.

Posted
2 minutes ago, Enyby said:

Just write zeroes to file via io.* functions.

[added 0 minutes later]

And you can not edit game lib files, because lua scripts do not have access to them. But you can edit any memory in game process. Even allocate new memory.

If i want to edit whole lib memory Then what i needed?

Can you give me sn example of function?

  • Administrators
Posted

Then you need edit it.

You free modify any memory, so... just modify it.

 

But it is really complicated task if game stay use this code. And it is produce crash if you change something wrong.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.