PDA

View Full Version : Edit exe to move picture reference ?


tonio94
5th April 2009, 10:11 PM
Hi guys,

I would need a help in editing an exe.

I'm trying to change the reference to the associed pictures. The app is supposed to be installed in the Windows folder so the reference to the pictures is hardcoded in the exe (ex: \Windows\CMP_Button_On_Mask.png).

I would like to move the app to the storage card in order to free up some memory. If I launch the exe from the Storage Card, it works but it still looks for the pictures in the Windows directory. I would like to be able to change the reference to something like "CMP_Button_On_Mask.png" instead of "\Windows\CMP_Button_On_Mask.png" to be able to put the pictures in the same folder than the application.

If I try to hexedit the exe and to manually change the reference (visible as .\.W.i.n.d.o.w.s.\.C.M.P._.B.u.t.t.o.n._.O.n._.M.a .s.k...p.n.g), it seems to corrupt it and I cannot launch it anymore on the device.

I tried to unsign/resign the file before/after editing but the result seems to be the same.

Please help ! :D

tonio94
7th April 2009, 10:49 AM
Bump :)

If a moderator is around, maybe you could move my post to "Development and Hacking" it will probably get more success