mark_E
June 9th, 2003, 00:09
Aspacking a manually UnAspacked file
I have a wee project. I am trying to Aspack an application which was initially Aspacked. I manually unpacked it, patched it, and am now trying to repack it.
The completed unpacked and patched file runs fine - I have removed the original .ASPR and .RSRC sections - relocating relevant 'bits' to other parts of the program. Relocation section has been removed as the pointers pointed nowhere.
I have, with some difficulty managed to repack it, but when attempting to run it it displays an APPLICATION (i.e. not a system error) message box EACCESSVIOLATION. I believe it has trouble accessing some of it's DLLs.
It seems strange to me that the unpacked file runs but the packed one doesn't. I can only assume that I've made an error in my import table somewhere, the system is able to relocate successfully for the unpacked file but not for my packed one.
I don't know which version of AsPack it was originally packed with however expect it to be about the latest version available. I am packing it with AsPack 1.04b (believe it or not).
I'm just wondering if anyone has done similar work and I if might be missing something obvious?
Further details:
Close inspection of my (manually dumped part way through the unpack - table at end of unpack had been overwritten) import table reveals possibly some areas for concern.
The AsPack version I have adds a .DATA section.
Prior to my relocating the original TLS data (from the original .ASPR section) the file would pack but I would get system error messages when attempting to run it.
I have many more details on the steps I have gone through to get to this point. If anyone is interested in helping me I'll give further infos. I guess this is just 'testing the water' so to speak.
Any help appreciated
mark_E
I have a wee project. I am trying to Aspack an application which was initially Aspacked. I manually unpacked it, patched it, and am now trying to repack it.
The completed unpacked and patched file runs fine - I have removed the original .ASPR and .RSRC sections - relocating relevant 'bits' to other parts of the program. Relocation section has been removed as the pointers pointed nowhere.
I have, with some difficulty managed to repack it, but when attempting to run it it displays an APPLICATION (i.e. not a system error) message box EACCESSVIOLATION. I believe it has trouble accessing some of it's DLLs.
It seems strange to me that the unpacked file runs but the packed one doesn't. I can only assume that I've made an error in my import table somewhere, the system is able to relocate successfully for the unpacked file but not for my packed one.
I don't know which version of AsPack it was originally packed with however expect it to be about the latest version available. I am packing it with AsPack 1.04b (believe it or not).
I'm just wondering if anyone has done similar work and I if might be missing something obvious?
Further details:
Close inspection of my (manually dumped part way through the unpack - table at end of unpack had been overwritten) import table reveals possibly some areas for concern.
The AsPack version I have adds a .DATA section.
Prior to my relocating the original TLS data (from the original .ASPR section) the file would pack but I would get system error messages when attempting to run it.
I have many more details on the steps I have gone through to get to this point. If anyone is interested in helping me I'll give further infos. I guess this is just 'testing the water' so to speak.
Any help appreciated
mark_E