News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

large data in executable files

Started by ToutEnMasm, July 07, 2005, 04:09:34 PM

Previous topic - Next topic

ToutEnMasm

Hello,
i have data to compile with a file like that, size  of the data is 920k
ML don't accept to make un .obj because it is to big
Is there another way than cutting it in small piece ?
                            ToutEnMasm


   MesWin DD    TRUE
         DB "TRUE",0
         DD FALSE
         DB "FALSE",0
         DD NULL
                        /////////////   and so on /////////////////////
                 

Vortex

Salut ToutEnMasm,

You can try Hutch's File Data Assembler ( FDA ) to convert your binary data to an object module.

http://www.masmforum.com/simple/index.php?topic=1720.msg13242#msg13242

Rifleman

Erol,
That may build an absolutely huge source file....

ToutEnMasm,
I would recommend compressing the data.  ASCII data will compress very small.  You could use download and use aPLib by Jibz at http://www.ibsensoftware.com/.

PBrennick


ToutEnMasm

Hello,
I can't see how the both soluce can resolve my problem.

The data must be compiled and if i use the fdata , it create only an ascii file (.obj) without compilation and a compressed file couldn't be compiled.
            perhaps I don't understand how to use this tools ?
                                         ToutEnMasm

hutch--

ToutEnMasm,

The tool is designed for ANY binary data, it is primarily for storing an existing binary file directly in an object module but is not limited to that, if you can make a file of the data you want, it will create the object module. Is the data of a type that you can write directly to a file ?
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

ToutEnMasm

Hello,
Yes , to arrange myself ,i have cut the big data in two pieces,then i have made two executable files and make the program saves the compiled data in two differents files.Then i have added the two files.
And now i have a big binary files that i can read as a file not as data.
But if it is possible to integrate it in an executable ,it is prefered (only one file instead of two)
                     ToutEnMasm