Página 1 de 1

File read/write binary

Publicado: 08 May 2011 18:44
por gocha
Can i read/write file binary on live?, i mean if it is possible to create some kind file editor?

Re: File read/write binary

Publicado: 08 May 2011 23:27
por patch
I am not sure what you mean by RW on live do you mean Online? or do you mean a online website script that can edit binary files? 

Re: File read/write binary

Publicado: 10 May 2011 07:56
por gocha
As much i know, here, on this forum talk is about AutoPlay Media Studio, right? So i am about it - if it is possible to create in it with lua language using such file editor?

Re: File read/write binary

Publicado: 10 May 2011 18:26
por Pabloko
Not only a possibility, i've made it!

Imagen

Ofcourse is written in c# and it's an activex control very easy to interface, it have a lot of methods like search, search-bin, replace, undo, redo, cut, copy, copy-hex, paste, open-string, open-file... and events like actual line, actual char, char count...etc...

I originally did this for program microcontrollers and eeprom memoryes, and used 8 chars per line, bit it's configurable to 16 (standard) or that you need.

Soon it will be avalible, now i don't have time to finish it.

Re: File read/write binary

Publicado: 11 May 2011 19:35
por ahmed elsayed
Pabloko escribió:Not only a possibility, i've made it!

Imagen

Ofcourse is written in c# and it's an activex control very easy to interface, it have a lot of methods like search, search-bin, replace, undo, redo, cut, copy, copy-hex, paste, open-string, open-file... and events like actual line, actual char, char count...etc...

I originally did this for program microcontrollers and eeprom memoryes, and used 8 chars per line, bit it's configurable to 16 (standard) or that you need.

Soon it will be avalible, now i don't have time to finish it.
thank you for this info

Re: File read/write binary

Publicado: 17 May 2011 14:55
por gocha
Exciting, exactly, i need also search, i need to create tool which will makes edit some file i point. As i do not know ooprogramming languages for now, but i know AMS in some level (lua), bcoz i need such ability to make such tool in it, repeat, i do not know language to write my own code in such area like C++, C#, etc.

i need to find some hex sequence, get it, write it in file as file.txt and then replace in binary mode.

Thanks for info, i am waiting

Re: File read/write binary

Publicado: 06 Ago 2012 02:41
por geneus
you can use lua under ams
browse gammon site

Publicado: 04 Sep 2013 13:17
por patch
you can also look in to the OI functions in LUA