Convert .bin files
how can i open .bin files and convert them to normal files?
.bin is an extension used on binary-encoded files. They can be extracted using Stuffit Expander (http://www.stuffit.com/mac/expander/index.html). Most of the apps floating around as .bin downloads are older apps (but most will run fine on your MBP).
You might also run across .hqx files (BinHex-encoded), which will also extract with Stuffit Expander.
Similar Messages
-
Convert bin file into c++
Hi, I have the problem described in subject. I am using psiconv but don't work as desired. I want to convert binary file into C or C++ file to be able to edit it and after editing put back into binary file for the router to work on the firmware binary file edited.
thomastak,
I am pretty sure that HalosGhost hit the mail on the head. As to being against forum rules, I don;t really see a problem, provided this is for personal use and is not going to be redistributed. But, disassembling code is a PITA, and you are not really able to get it into C -- especially not the original source. It is just not how things work.
The real question is, what is it that you are trying to do? A better solution might be to go with open source router firmware to replace that which can with the router. (OpenWRT, DD-WRT, etc...)
https://en.wikipedia.org/wiki/List_of_w … e_projects -
Converting bin files from LV 2 (on a Mac) to ASCII
I inherited a large number of data files that were collected on an Apple Quadra 950 using LV 2, and I need to convert them to an ASCII format. We've tried the Read Binary Files.vi that comes with LV, and found out that (in 1993), LV was in Big Endian format, but even with that, we don't get the data we expect. I don't have the .vi or the lab notebook this was collected on. We have installed LV 8 on a Mac running pre-OS X.
Thanx!
Dawn RAll is big endian. This is nice a simple!
You have:
21 byte text header (DATA:ADAMS 1.10\r****\r in this case)
2x I32, designating the 2D dimension of the data (13x12000 in this case)
I32 data starting at position 29. This needs to be reshaped to 2D according to (point 2).
(There are only 13 plots, so disregard the legend size )
Message Edited by altenbach on 11-20-2007 09:42 AM
LabVIEW Champion . Do more with less code and in less time .
Attachments:
LV2binary.png 52 KB -
Converting .bin (Binary) File to .bmp ( BMP ) File
Hi All,
I have a requirement to convert .bin file to .bmp file. The binary file is generated by the video frames and now i want to convert this binary file into the .bmp file. Can anybody help me how to do this and if possible then pls write the sample code.
-ThanksHow do you meen generated by the video frames?
Do you mean that the .bin file is created by an application in the event of a screen shot fo example?
If so then the big question is in what format did this application save the image data
Please elaborate.
Don't bank on the idea of us giving you code,
we will if possible point you into the right direction and help where required but thats about as far as we prefer to go. -
I need converter a .bin file to .wav files,
I need converter a .bin file to .wav files, I'm using Labwindows/cvi for adquire Data. This binary file have data received from DAQCard-AI-16E-4, but now I need listening it, or recorder a .wav files directly. I'm sampling three channels and send data to disk specificaly a .bin file current .
The .bin file is without format of audio o any known.
Somebody can help me ? How does make it ?
Answer is spanish if is possible my inglish isn't good.
Email [email protected]For a file to be a wave file it needs a specific header format and data structure as defined by microsoft. The following is a very good resource describing the WAV file format: http://ccrma-www.stanford.edu/CCRMA/Courses/422:1998/projects/WaveFormat/
Read this document carefully and it will tell you everything you need to know about formating your anolog input into a WAV file.
Good Luck
Amaury R.
Applications Engineer -
I keep getting this error code while trying to import a cd to my itunes: "Error occurred while converting the file. The disc you are attempting to use is full. removing files and emptying the recycle bin will free up additional space." What does this mean?
Well it probably means exactly what it says... How much free space is there on your hard drive where the iTunes Media folder resides? I believe there is also an obscure bug that can occur when software doesn't read the true value of the free space properly, and the workaround is, perversely, to duplicate some content so that with less actual free space the software in question perceives it as more. I've no idea if iTunes is affected by such a bug.
tt2 -
Error while converting class file to exp and jca file
error while converting *.class file to *.exp and *.jca file
=====================================================================================================================
linux-y60u:/home/admin/java_card_kit-2_2_1/samples/src # converter -exportpath "/home/admin/java_card_kit-2_2_1/lib/" com/sun/javacard/samples/HelloWorld 0x00:0x01:0x02:0x03:0x04:0x05:0x06:0x07:0x0b 1.0 -v -applet 0x00:0x01:0x02:0x03:0x04:0x05:0x06:0x07:0x0b:0x01 Identity
Java Card 2.2.1 Class File Converter, Version 1.3
Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
parsing /home/admin/java_card_kit-2_2_1/samples/src/com/sun/javacard/samples/HelloWorld/HelloWorld.class
parsing /home/admin/java_card_kit-2_2_1/samples/src/com/sun/javacard/samples/HelloWorld/Identity.class
error: com.sun.javacard.samples.HelloWorld.HelloWorld: unsupported class file format of version 50.0.
error: com.sun.javacard.samples.HelloWorld.Identity: unsupported class file format of version 50.0.
conversion completed with 2 errors and 0 warnings.
=====================================================================================================================i compile a file javacard use this command:
===
javac -source 1.3 -target 1.1 -g -classpath ./classes:../lib/api.jar:../lib/installer.jar src/com/sun/javacard/samples/Identity/Identity.java
===
and try to convert this class use this command
===
/home/xnuxerx/admin/java_card_kit-2_2_1/bin/converter -exportpath "/home/xnuxerx/admin/java_card_kit-2_2_1/lib/" com/sun/javacard/samples/Identity 0x00:0x01:0x02:0x03:0x04:0x05:0x06:0x07:0x0b 1.0 -v -applet 0x00:0x01:0x02:0x03:0x04:0x05:0x06:0x07:0x0b:0x01 Identity
===
result convert:
===
Java Card 2.2.1 Class File Converter, Version 1.3
Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
parsing /home/xnuxerx/admin/java_card_kit-2_2_1/samples/classes/com/sun/javacard/samples/Identity/Identity.class
converting com.sun.javacard.samples.Identity.Identity
error: export file framework.exp of package javacard.framework not found.
conversion completed with 1 errors and 0 warnings.
===
why ??
please your comment for this problem.
thank 4 all. -
Dear friends
For converting XML file to SAP, I used TEXT_CONVERT_XML_TO_SAP function module. In this I have some doubt. Pls clarify this.
1. I am getting run time error with type h.
2 I_FIELD_SEPERATOR = ';'
I_LINE_HEADER =
I_TAB_RAW_DATA =
I_FILENAME =
I_TOTALSIZE =
for the above parameter what are the value has to passed.
Thanks.Hi,
Take a look in this code:
*& Report z_xit_xml_check
REPORT z_xit_xml_check.
TYPE-POOLS: ixml.
DATA: BEGIN OF t_cabec OCCURS 0.
INCLUDE STRUCTURE zmmt2010.
DATA END OF t_cabec.
DATA: BEGIN OF t_item OCCURS 0.
INCLUDE STRUCTURE zmmt2011.
DATA END OF t_item.
DATA: BEGIN OF t_itemt OCCURS 0.
INCLUDE STRUCTURE zmmt2012.
DATA END OF t_itemt.
TYPES: BEGIN OF t_xml_line,
data(256) TYPE x,
END OF t_xml_line.
DATA check_item(1).
DATA check_itemt(1).
DATA: l_ixml TYPE REF TO if_ixml,
l_streamfactory TYPE REF TO if_ixml_stream_factory,
l_parser TYPE REF TO if_ixml_parser,
l_istream TYPE REF TO if_ixml_istream,
l_document TYPE REF TO if_ixml_document,
l_node TYPE REF TO if_ixml_node,
l_xmldata TYPE string.
DATA: l_elem TYPE REF TO if_ixml_element,
l_root_node TYPE REF TO if_ixml_node,
l_next_node TYPE REF TO if_ixml_node,
l_name TYPE string,
l_iterator TYPE REF TO if_ixml_node_iterator.
DATA: l_xml_table TYPE TABLE OF t_xml_line,
l_xml_line TYPE t_xml_line,
l_xml_table_size TYPE i.
DATA: l_filename TYPE string.
PARAMETERS: pa_file TYPE char1024 DEFAULT 'c:\xml.xml'.
START-OF-SELECTION.
PERFORM busca_xml.
PERFORM carrega_tabela.
*& Form get_xml_table
FORM get_xml_table CHANGING l_xml_table_size TYPE i
l_xml_table TYPE STANDARD TABLE.
Local variable declaration
DATA: l_len TYPE i,
l_len2 TYPE i,
l_tab TYPE tsfixml,
l_content TYPE string,
l_str1 TYPE string,
c_conv TYPE REF TO cl_abap_conv_in_ce,
l_itab TYPE TABLE OF string.
l_filename = pa_file.
upload a file from the client's workstation
CALL METHOD cl_gui_frontend_services=>gui_upload
EXPORTING
filename = l_filename
filetype = 'BIN'
IMPORTING
filelength = l_xml_table_size
CHANGING
data_tab = l_xml_table
EXCEPTIONS
OTHERS = 19.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. "get_xml_table
*& Form process_dom
FORM process_dom USING document TYPE REF TO if_ixml_document.
DATA: node TYPE REF TO if_ixml_node,
iterator TYPE REF TO if_ixml_node_iterator,
nodemap TYPE REF TO if_ixml_named_node_map,
attr TYPE REF TO if_ixml_node,
name TYPE string,
prefix TYPE string,
value TYPE string,
indent TYPE i,
count TYPE i,
index TYPE i.
DATA v_codcat TYPE zmmt2011-codcat.
DATA v_master_for TYPE zmmt2011-master_for.
node ?= document.
CHECK NOT node IS INITIAL.
IF node IS INITIAL. EXIT. ENDIF.
create a node iterator
iterator = node->create_iterator( ).
get current node
node = iterator->get_next( ).
loop over all nodes
WHILE NOT node IS INITIAL.
indent = node->get_height( ) * 2.
indent = indent + 20.
CASE node->get_type( ).
WHEN if_ixml_node=>co_node_element.
element node
name = node->get_name( ).
TRANSLATE name TO LOWER CASE.
IF name = 'iten'.
MOVE 'I' TO check_item.
ENDIF.
IF name = 'cabec'.
MOVE 'C' TO check_item.
ENDIF.
IF name = 'iten_texto'.
MOVE 'T' TO check_item.
ENDIF.
nodemap = node->get_attributes( ).
IF NOT nodemap IS INITIAL.
attributes
count = nodemap->get_length( ).
DO count TIMES.
index = sy-index - 1.
attr = nodemap->get_item( index ).
name = attr->get_name( ).
prefix = attr->get_namespace_prefix( ).
value = attr->get_value( ).
ENDDO.
ENDIF.
WHEN if_ixml_node=>co_node_text OR
if_ixml_node=>co_node_cdata_section.
text node
value = node->get_value( ).
IF check_item = 'C'.
TRANSLATE name TO LOWER CASE.
CASE name.
WHEN 'lifnr'. MOVE value TO t_cabec-lifnr.
WHEN 'codcat'.
MOVE value TO t_cabec-codcat.
MOVE value TO v_codcat.
WHEN 'bukrs'. MOVE value TO t_cabec-bukrs.
WHEN 'zterm'. MOVE value TO t_cabec-zterm.
WHEN 'waers'. MOVE value TO t_cabec-waers.
WHEN 'inco1'. MOVE value TO t_cabec-inco1.
WHEN 'inco2'. MOVE value TO t_cabec-inco2.
WHEN 'telf1'. MOVE value TO t_cabec-telf1.
WHEN 'verkf'. MOVE value TO t_cabec-verkf.
WHEN 'datav'.
MOVE value TO t_cabec-datav.
APPEND t_cabec.
ENDCASE.
ENDIF.
IF check_item = 'I'.
TRANSLATE name TO LOWER CASE.
CASE name.
WHEN 'master_for'.
MOVE value TO t_item-master_for.
MOVE value TO v_master_for.
WHEN 'werks'. MOVE value TO t_item-werks.
WHEN 'versao'. MOVE value TO t_item-versao.
WHEN 'matkl'. MOVE value TO t_item-matkl.
WHEN 'j_1bindus3'. MOVE value TO t_item-j_1bindus3.
WHEN 'j_1bmatuse'. MOVE value TO t_item-j_1bmatuse.
WHEN 'j_1bmatorg'. MOVE value TO t_item-j_1bmatorg.
WHEN 'j_1bnbmco1'. MOVE value TO t_item-j_1bnbmco1.
WHEN 'bsgru'. MOVE value TO t_item-bsgru.
WHEN 'ekgrp'. MOVE value TO t_item-ekgrp.
WHEN 'txz01'. MOVE value TO t_item-txz01.
WHEN 'epstp'. MOVE value TO t_item-epstp.
WHEN 'netpr'. MOVE value TO t_item-netpr.
WHEN 'peinh'. MOVE value TO t_item-peinh.
WHEN 'meins'. MOVE value TO t_item-meins.
WHEN 'plifz'. MOVE value TO t_item-plifz.
WHEN 'mwskz'. MOVE value TO t_item-mwskz.
WHEN 'steuc'.
MOVE value TO t_item-steuc.
MOVE v_codcat TO t_item-codcat.
APPEND t_item.
ENDCASE.
ENDIF.
IF check_item = 'T'.
TRANSLATE name TO LOWER CASE.
CASE name.
WHEN 'linha'. MOVE value TO t_itemt-linha.
WHEN 'txlng'. MOVE value TO t_itemt-txlng.
MOVE v_master_for TO t_itemt-master_for.
MOVE v_codcat TO t_itemt-codcat.
append t_itemt.
ENDCASE.
ENDIF.
ENDCASE.
advance to next node
node = iterator->get_next( ).
ENDWHILE.
ENDFORM. "process_dom
*& Form Busca_XML
text
--> p1 text
<-- p2 text
FORM busca_xml .
DATA: lc_mess(70) TYPE c,lv_tab.
TYPES: BEGIN OF ty_zvmsgorgtr.
INCLUDE STRUCTURE zmmt2011.
TYPES END OF ty_zvmsgorgtr.
Creating the main iXML factory
l_ixml = cl_ixml=>create( ).
Creating a stream factory
l_streamfactory = l_ixml->create_stream_factory( ).
PERFORM get_xml_table CHANGING l_xml_table_size l_xml_table.
wrap the table containing the file into a stream
l_istream = l_streamfactory->create_istream_itable( table =
l_xml_table size = l_xml_table_size ).
Creating a document
l_document = l_ixml->create_document( ).
Create a Parser
l_parser = l_ixml->create_parser( stream_factory = l_streamfactory
istream = l_istream
document = l_document ).
Parse the stream
IF l_parser->parse( ) NE 0.
IF l_parser->num_errors( ) NE 0.
DATA: parseerror TYPE REF TO if_ixml_parse_error,
str TYPE string,
i TYPE i,
count TYPE i,
index TYPE i.
count = l_parser->num_errors( ).
WRITE: count, ' parse errors have occured:'.
index = 0.
WHILE index < count.
parseerror = l_parser->get_error( index = index ).
i = parseerror->get_line( ).
WRITE: 'line: ', i.
i = parseerror->get_column( ).
WRITE: 'column: ', i.
str = parseerror->get_reason( ).
WRITE: str.
index = index + 1.
ENDWHILE.
ENDIF.
ENDIF.
ENDFORM. " Busca_XML
*& Form Carrega_Tabela
text
--> p1 text
<-- p2 text
FORM carrega_tabela .
Process the document
IF l_parser->is_dom_generating( ) EQ 'X'.
PERFORM process_dom USING l_document.
ENDIF.
ENDFORM. " Carrega_Tabela -
Converting Framemaker files into PDF progaramatically using publishing server
Hi All
Background:
We are going for upgrade of Frame maker 8 which is on unix system to FM 10 or 11. We are using Framemaker mainly for renditions, i.e to convert the fm documents to PDF. To convert fm document to PDF we are using the below mentioned command line utility available in FM 8.(on unix). /opt/app/frame8.0/bin/fmprint -i -p Sample.fm.fmtpl Sample.fm Currently the the fm file which need to converted to PDF and the FM 8(installed) are available on the same unix system ,so we were able to initiate/use the command line utility of FM 8. The rendition of the FM to PDF is On -Demand.( We are not running any batch activities/ bulk renditions).We are rendering the document as soon as the document is available.
Requirement:
As we are going to upgrade the FM to newer versions which would be installed on the Windows machine as Frame maker 10 or 11 will not support unix plat form, so can you please let us know which option is better to use i.e we want to convert fm file to PDF using java program without any manual intevention using publishing server/client version.
can any one help us as it is very urgent for us.
please let us know the ways to do and links for helpful documents .
thank you very much for your help in advance!!\
Best reagrds
Ramesh babuHi Ramesh...
Another alternative (if you need more control over the doument creation) is to use Leximation's AutoFM ..
http://leximation.com/tools/info/autofm.php
Cheers,
...scott
Scott Prentice
Leximation, Inc.
www.leximation.com -
How to install rpm.bin file with rpm
Have downloaded Java...rpm.bin for Linux. rpm doesn't recognize bin file. Can't find doc to explain what utility converts rpm.bin to simple rpm. What do I use? Thanks.
It took me some time to figure it out,
once you downloaded the j2sdk...rpm.bin file, it is a self installation file,
1) make sure the file is executable
#chmod 755 j2sdk1.4.0_01.rpm.bin
2) execute the file
#./j2sdk1.4.0_01.rpm.bin
this will install the package and inflate the rpm...
good luck. -
How to Convert binary file to s-records
Hi all,
can anybody help how to convert binary ".bin" files to s-record ".s" files
any idea or code snippets are very appreciated
best regards,
gebiThere is a ready-made converter: "BINARY to Motorola S-Record Conveter Utility" or BIN2MOT.
http://www.keil.com/download/docs/bin2mot.zip.asp
Other references:
http://www.cs.net/lucid/moto.htm
http://www.amelek.gda.pl/avr/uisp/srecord.htm
http://www.seattlerobotics.org/encoder/jun99/dougl.html
http://semmix.pl/mipc/specyf/filehex/mhexu.htm
http://pmon.groupbsd.org/Info/srec.htm -
Big Problem.......Converting PRC File to JAR
I have tried lot of things by setting classpaths for converting PRC file to JAR file ,but...............in vain.
Please help me to sort out the problem.
Regards
SunnyI have tried lot of things by setting classpaths for
converting PRC file to JAR file ,but...............in
vain.Do you really mean "converting PRC file to JAR file", or do you mean "converting JAR file to PRC file"? I suspect it's the latter. Make sure you are doing ALL these steps:
1) (*change this to match your own directory structure*)
set classpath=%classpath%;.;c:\J2ME_TOOLS\j2me_cldc\bin\api\classes;C:\J2ME_TOOLS\j2me_cldc\tools\palm\src
2)(*change this to match your own directory structure*)
set path=%path%;C:\J2ME_TOOLS\j2me_cldc\bin;C:\J2ME_TOOLS\j2me_cldc\tools\palm\src
3) cd to the directory where your "*.java" files are
4) compile:
javac *.java
dir...check to see if you have new "*.class" files
5) Make a directory to hold the class that will be generated by the preverifier:
md preverified_classes6) preverify the classes:
preverify -d ./preverified_classes myClass1 myClass2 myClass3 ...etc
7) cd to the new directory
cd preverified_classes
dir...should show another copy of each ".class" file - these are the preverified ones.
8) From these preverified class files, create your jar file:
jar -cf myJarFile.jar *.class
9) Now create PRC from jar:
java palm.database.MakePalmApp -v -JARtoPRC myJarFile.jar myMainClassName
...where
"myJarFile.jar" is the name of your jar file, and
"myMainClassName" is the name of the main class in the jar file
10) look at the directory listing
dirshould show myJarFile.prc
10) Load myJarFile.prc onto your Palm device or emultor and reset. Then you sould be good to go. -
Coverting java .class files to .bin files
Dear all :
I am in a need to convert a java .class files to binary format file (i.e.) bin i mean an executable files in Linux.
Is there any possibility using JNI or anyother method to achieve it.
Please post me your suggestions...
Thanks in advance
hope my problem will be solved.
regards
silviyaI can help on this subject, I heard about some
programs that can convert the .exe files to .bin
files, so you can go and search for such programs, if
you hava found them you should go to the following
URL:
http://www.ej-technologies.com/products/exe4j/overv
iew.html
so you can get the exe4j program which
can made exe files for Java programs then after
installing the program you must enter the license key
and the user name and the company name, user name and
company name can be anything you want, but the
license key must be a valid license key here I'm
giving you one of them and I hope it will work
successfully: ( A-XVK103616F-3jpbhxrlcljd )
after that you should declare a .exe file for your
project in java after that you must use the
exe2bin program to convert the .exe
file to a .bin file and I hope that you will be
successful in your target.
And I'm ready to help you anytime, cause you seems to
be a good girl trying hard to learn and be successful
person in this life.i did as u said n i got a problem after i convert jar file to exe....i can't find any program which can convert .exe file to .bin file can u give me any suggestion -
How to read *.bin file
We use PCI 6014 and labView 7.0 to save the signal as *.BIN file, I want to read it in Matlab, please tell me the head file and the resolution of the *.BIN file.
I'm not sure if I'm on the right track here, but if you're saving the file through LV, then a look at the code should reveal everything you need to know about the file. The easiest thing may be to write a VI to convert the data into a more Matlab-compatible format. This requires also that you already know the format of the file, in which case the problem is already solved. Ah Catch 22.....
Otherwise, if a *.bin is a standard filetype I have no experience with is, sorry.
Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2) -
i downloaded a zip file, but it was converted to a .bin file on completion of download. i am unable to extract the zip files from it now. Neither unarchiver nor stuffit is extracting the files.
Help please.Nope. Not the case. The file was listed as a zip. Downloaded. It was downloading as a zip, but as soon as download was completed it showed as a .bin file. Could not change to a .zip and could not open it. It was certainly not a Linux file. Am a bit confused by it.
Maybe you are looking for
-
How do i make an email pop up as an alert?
My couisn has a macbook pro and i just got one. She has an alert that has a new email she gets pop up on the top right side of her computer. I want to do that too but i can't figure it out.
-
I'm having a rather infuriating issue with Bounding Box resets. Image here: http://img848.imageshack.us/i/unled3j.jpg/ Sorry-I can't get it to show up in this message. The first row of the linked image shows a roughly isometric view of a machine deca
-
Processing in my application requires adding huge double values, for instance i am adding 36561584400629760 and 1152062986011661 and instead of getting 37713647386641421 I get 37713647386641424. Does somebody have a clue as to what the problem could
-
The unserlying connection was closed .and unexpected error was occured on send.
Dilip Patil..
-
Hi I am implementing funds management (EA-PS) 1.10 in SAP-4.7 version for one of my client. I am using the budget control system(BCS) for this FM functionality. My client wants to check the detailed list of documents which leads to the consumption am