trancexx Posted December 7, 2008 Share Posted December 7, 2008 (edited) Resources viewer and compiler.You can drop file (dll, exe ...) on treeview or use menu control to load file, or drop file on executable after compiled or just run and use it as a resource dll compiler.Constructive comments are always welcomed.New script attached (16th April 2009)How to use compiling option:- click on Action menu.- choose Initialize Compiler.- go to menu again and choose Generate Initial DLL- any file that you want to add to your resource dll drop on tree view or use Add Resource button. New window pops up. You need to chose type, name and language of resource. You can choose to use predifined values, only name is required in that case.- when you are done with modifications save new dll file. File menu will have Save as... option- that's it. You have your resource dll compiled with AutoItSupported resources: - RT_CURSOR - RT_BITMAP - RT_ICON - RT_MENU - RT_DIALOG - RT_STRING - RT_ACCELERATOR - RT_GROUP_CURSOR - RT_GROUP_ICON - RT_VERSION - RT_ANICURSOR - RT_ANIICON - RT_HTML - RT_MANIFEST - AVI (special) - WAV (special) - JPEG (special) - PNG (special) - GIF (special)By supported I mean that resource can be viewed and/or saved. Other resources are shown as hexadecimals, with ASCII character and address display.Download script (zip format due to upload size limit): ResourcesViewerAndCompiler.zip edit: had to remove the old attachment to make more space in my attachment folder. Edited October 20, 2009 by trancexx Inpho, mLipok, Gianni and 1 other 3 1 ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
smashly Posted December 8, 2008 Share Posted December 8, 2008 Nice work trancexx, Thank You for sharing. Cheers Link to comment Share on other sites More sharing options...
trancexx Posted December 14, 2008 Author Share Posted December 14, 2008 Thanks guys (girls? ) I've noticed that Vista is arguing about combination of FileOpenDialog() and GlobalSize function from kernel32.dll, so script is modified to avoid that. Also, you can drop files on TreeView to load them now and if you compile the script you can drop on it (...you know) to load the dropped file. Resources that I'm currently working on to show properly are shown as hexadecimals, with ASCII character and address display. Btw, Im trying to keep the functions as standaloneable (word?) as possible. That's why some parts of the code may be or look the same as in some other function. Parallel with this I'm working on "compiling" part of the final script and it's at about the same stage as this is. I'm inviting everyone to join me in this. Post suggestions and codes (no includes so that we all learn something about DllCall() and other nice functions), or don't. It's ok. It would be incredibly cool to have the ultimate PE Viewer and resource compiler written in AutoIt. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
torels Posted December 14, 2008 Share Posted December 14, 2008 Nice Work! Some Projects:[list][*]ZIP UDF using no external files[*]iPod Music Transfer [*]iTunes UDF - fully integrate iTunes with au3[*]iTunes info (taskbar player hover)[*]Instant Run - run scripts without saving them before :)[*]Get Tube - YouTube Downloader[*]Lyric Finder 2 - Find Lyrics to any of your song[*]DeskBox - A Desktop Extension Tool[/list]indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org Link to comment Share on other sites More sharing options...
trancexx Posted December 16, 2008 Author Share Posted December 16, 2008 I'm attaching new script (first post). Now it's able to process wav and avi resources if stored properly. I have to comment on the great interest for this here. Last attachment had 8000x10^-3 downloads. Incredible! That speaks something. Poor code -> poor interest. Right? Yes, right. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
wraithdu Posted December 16, 2008 Share Posted December 16, 2008 Looking really good! I like the interface, and you handle the icons nicely. Only thing I could see now, is to be able to resize the two halves of the GUI separately by dragging the divider bar. Link to comment Share on other sites More sharing options...
trancexx Posted December 16, 2008 Author Share Posted December 16, 2008 Looking really good! I like the interface, and you handle the icons nicely. Only thing I could see now, is to be able to resize the two halves of the GUI separately by dragging the divider bar.What icons??Except of that incredibly beautiful half naked female body that get drawn on screen when... you know, I'm not seeing any icons.Do you see icons somewhere? Do you see icons? ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Skrip Posted December 16, 2008 Share Posted December 16, 2008 incredibly beautiful half naked female bodyWhere...? I have to judge for myself. n1maS 1 [left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left] Link to comment Share on other sites More sharing options...
wraithdu Posted December 16, 2008 Share Posted December 16, 2008 (edited) Umm, yeah, icons.... Edited December 16, 2008 by wraithdu Link to comment Share on other sites More sharing options...
Innovative Posted December 17, 2008 Share Posted December 17, 2008 (edited) It'll be even better with features like extracting of icons and editing of the resources =) Nevertheless, awesome job ! EDIT : I see those string tables , is it possible to know what string is it ? Because it's all in unreadable text o.O Edited December 17, 2008 by xVivoCity Link to comment Share on other sites More sharing options...
DexterMorgan Posted December 17, 2008 Share Posted December 17, 2008 This is great, ovbiously not as great as REShacker but, very very good start, keep it up and It will be one of the bes code Link to comment Share on other sites More sharing options...
trancexx Posted December 17, 2008 Author Share Posted December 17, 2008 Umm, yeah, icons....aaaahhh, that icons I thought you meant icons Yes, you are right about that ones.@Firestorm, bug maybe?anyway... I couldn't find appropriate resizing value for bitmaps (current one is changing the size of the shown bitmap when resizing GUI), so I added it to that function that is handling positioning of the mci window. Accelerators tables are over and can be shown, seen as they are. Some data types are more correct now.Will update... eventually.Extracting icons and other resources are already prepared if you look at the posted code deeply. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Dampe Posted December 18, 2008 Share Posted December 18, 2008 Wow, this is nice. Would be awesome to see some more functions for saving / editing Link to comment Share on other sites More sharing options...
corgano Posted December 18, 2008 Share Posted December 18, 2008 (edited) one of the better things i have seen, very nice. can it save like reshacker could? maby add a feture to extract icons or other partd of the target program Edited December 18, 2008 by corgano 0x616e2069646561206973206c696b652061206d616e20776974686f7574206120626f64792c20746f206669676874206f6e6520697320746f206e657665722077696e2e2e2e2e Link to comment Share on other sites More sharing options...
trancexx Posted December 19, 2008 Author Share Posted December 19, 2008 New script (first post) have ability to extract resources. I've added support for RT_ACCELERATOR resource and progress control for gui and generally it's much powerful now. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
wraithdu Posted December 20, 2008 Share Posted December 20, 2008 Really looking good! Link to comment Share on other sites More sharing options...
corgano Posted December 20, 2008 Share Posted December 20, 2008 (edited) OP: this would take alot of work but maby a feture to convert and export parts of the program to autoit? *edit* what i mean is you select a gui or peice of code in the program you are veiwing, and it will convert it to autoit for you Edited December 21, 2008 by corgano 0x616e2069646561206973206c696b652061206d616e20776974686f7574206120626f64792c20746f206669676874206f6e6520697320746f206e657665722077696e2e2e2e2e Link to comment Share on other sites More sharing options...
wraithdu Posted December 21, 2008 Share Posted December 21, 2008 @corgano That....makes no sense. I don't think you have any idea what you're asking. Link to comment Share on other sites More sharing options...
trancexx Posted December 21, 2008 Author Share Posted December 21, 2008 After the edit (I don't know what was the original post ) it has sense... for RT_MENU and RT_DIALOG. I suppose those two could be converted to AutoIt code, but I'm currently focused on getting sense out of binary data of the resources. Anyway, I did it for RT_STRING resource. I was struggling about determining string ID, but It turned to be kind of obvious how to get it Also, sometimes some bitmaps are not stored inside PE file properly, few of them inside shell32.dll (XP for sure), and that caused them not to be extracted properly (bitmap offset was not right). Improved BMP header generating algorithm. Improvement arround file saving dialog too. Will update soon. If you are interested peek up. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Zedna Posted December 21, 2008 Share Posted December 21, 2008 Looks very good trancexx!! Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now