s$=Bin2String("<yourfile.ext>",64)Showtext s$,1024,768String2Bin s$,"<yournewfile.ext>"Notify "o_O"EndFunction Showtext(t$,w=640,h=480) cw=ClientWidth(Desktop()) ch=ClientHeight(Desktop()) If w<1 Or h<1 w=cw:h=ch EndIf If w>cw w=cw If h>ch h=ch window=CreateWindow("Show text",cw/2-w/2,ch/2-h/2,w,h,0,3) textarea=CreateTextArea(0,0,ClientWidth(window),ClientHeight(window),window) SetTextAreaColor textarea,128,192,255 SetTextAreaColor textarea,0,32,64,1 SetTextAreaText textarea,t$ Repeat WaitEvent() If EventSource()=window If EventID()=$803 Exit If EventID()=$802 SetGadgetShape textarea,0,0,ClientWidth(window),ClientHeight(window) EndIf EndIf Forever FreeGadget windowEnd FunctionFunction Bin2String$(file$,w=32) ; w = width of each line If file$="" Return filein=OpenFile(file$) If filein size=FileSize(file$) x=0 For t=0 To size-1 b=ReadByte(filein) bhigh=(b /16) ; be high, blow=(b And 15) ; and blow :D s$=s$+Chr$(65+bhigh)+Chr$(65+blow) x=x+1 If x>=w x=0:s$=s$+Chr$(13)+Chr$(10) EndIf Next CloseFile filein Else s$="<error>" EndIf Return s$End FunctionFunction String2Bin(s$,file$) If s$="" Return If file$="" Return fileout=WriteFile(file$) If fileout s$=Replace(Replace(s$,Chr(10),""),Chr(13),"") size=Len(s$)/2 For t=0 To size-1 bhigh=(Asc(Mid(s$,1+t*2+0,1))-65)*16 ; yeayea :D blow=Asc(Mid(s$,1+t*2+1,1))-65 ; o_O WriteByte fileout,bhigh+blow Next CloseFile fileout Else RuntimeError "file error" EndIfEnd Function