As version 2.0 was available, it has the possibility to write own plugins.
I tried this with PB and after some correspondence with the author, I was able to do this.
Maybe this was the reason why he also looked a bit to PB
Yesterday I need to copy a graphic palette out of an exe file.
I was surprised that it is possible to export directly to Purebasic.
It generates a file like this:
Code: Select all
; C:\tmp\Debris32\debris32.exe (02.01.1999 11:15:52)
; StartOffset(h): 00000050, EndeOffset(h): 00000075, Länge(h): 00000026
#RawDataItemCount = 38
DataSection
DS_RawData:
Data.b $54, $68, $69, $73, $20, $70, $72, $6F, $67, $72, $61, $6D, $20, $6D
Data.b $75, $73, $74, $20, $62, $65, $20, $72, $75, $6E, $20, $75, $6E, $64
Data.b $65, $72, $20, $57, $69, $6E, $33, $32, $0D, $0A
EndDataSection
Structure RawDataArray
Items.b[#RawDataItemCount]
EndStructure
Define *rawData.RawDataArray = ?DS_RawData
I no longer need an editor and search and replace many things.
Simply mark the area you want to export and do it.
You can find it here:
https://mh-nexus.de/en/programs.php



