Author Topic: Unrecognized file type error while creating templates  (Read 717 times)

blue_devil

  • Member
  • **
  • Posts: 86
    • SCTZine
Unrecognized file type error while creating templates
« on: June 29, 2016, 02:11:40 AM »
Hello people;
How are you doing?

I was trying to create a template of a sample keygen for my readers. I want something fully functioning. One of the property was music. So i want to add "xm" music from /Res folder to template(*.tpl). Unfortunately RadASM gave the error in a messagebox: "Unrecognized file type" when i press ok on Create Template window. So i spent several hours inside RadASM source code and made some modifications. But i couldn't manage to make a template without that error.

Finally i solved the problem by changing the "RadASM.ini file"  :eusa_dance: Actually it is ridicoulusly simple, i am still laughing myself :lol:
There is a line like this:
Quote
[Template]
;Recognized file types. Note the '.' at the end.
Txt=.asm.inc.def.rc.txt.mak.tbr.hla.hhf.xml.idl.bat.cpp.c.h.bas.bi.
Bin=.dlg.mnu.bmp.ico.cur.obj.dll.lib.avi.tlb.

So i add xm. to the last line:
Quote
[Template]
;Recognized file types. Note the '.' at the end.
Txt=.asm.inc.def.rc.txt.mak.tbr.hla.hhf.xml.idl.bat.cpp.c.h.bas.bi.
Bin=.dlg.mnu.bmp.ico.cur.obj.dll.lib.avi.tlb.xm.

Now i can add xm files to the template (*.tpl) files.
Just a remainder!
Have a nice day.
..Dreams make the future
But the past never lies..
BlueDeviL // SCT
My Code Site:
SCTZine Assembly