alex_r
02-20-2008, 12:23 AM
Thanks to DragonGirl for link to an article about AMX code and its decompilation! Having a PAWN disassembler could be useful in finding out what's inside the default Pleo personality, so I did some digging for the tool. The home site for AMXReader is supposed to be:
http://wraith.techcore.org/amxreader/
but the link appears broken. The thing is still available at some other places, the one that I was able to get it from is:
http://www.daghost.xionize.com/files/amxdisassembler.zip
Some details:
- This is a C# project, both the sources and the EXE are included in the archive above;
- It is made to work with Half-Life plugins, NOT with Pleo. Presumably the format of AMX data
is the same or nearly the same, but some changes will definitely be needed to make the disassembler
extract code from inside Pleo personality files.
- The version is at least 1.5 years old; if there is a newer version out there, I couldn't find it.
I haven't actually tried to run or to modify the disassembler yet.
It looks to me that some of the people on this forum (AiboHack ?) already have a version of PAWN disassembler working with Pleo files, so it would be interesting to hear from them if a better alternative is already available:
http://www.aibohack.com/pleo/tech2.htm :
Here's an example of a re-sourced version of one of the 'tricks':
// trx_balance.p - Balancing trick
// re-sourced from AMX binary
...
_getprop(arg1)
{
return property_get(arg1);
}
http://wraith.techcore.org/amxreader/
but the link appears broken. The thing is still available at some other places, the one that I was able to get it from is:
http://www.daghost.xionize.com/files/amxdisassembler.zip
Some details:
- This is a C# project, both the sources and the EXE are included in the archive above;
- It is made to work with Half-Life plugins, NOT with Pleo. Presumably the format of AMX data
is the same or nearly the same, but some changes will definitely be needed to make the disassembler
extract code from inside Pleo personality files.
- The version is at least 1.5 years old; if there is a newer version out there, I couldn't find it.
I haven't actually tried to run or to modify the disassembler yet.
It looks to me that some of the people on this forum (AiboHack ?) already have a version of PAWN disassembler working with Pleo files, so it would be interesting to hear from them if a better alternative is already available:
http://www.aibohack.com/pleo/tech2.htm :
Here's an example of a re-sourced version of one of the 'tricks':
// trx_balance.p - Balancing trick
// re-sourced from AMX binary
...
_getprop(arg1)
{
return property_get(arg1);
}