I am working on a small roguelike game, and need some help with creating save games. I have tried several ways of saving games, but the load always fails, because I am not exactly sure what is a good way to mark the beginning of different sections for the player, entities, and the map.
What would be a good way of marking the beginning ...
Hello,
I've been handed a file which appears to me to be a Sybase database file from some older Sybase version. I have d-loaded the latest sybase package from sybase and tried using that to connect to the contents but failed. Can someone suggest to me how to determine which version of sybase (and perhaps even which sybase db product) my...
To reduce the download size of an iPhone application I'm compressing some audio files. Specifically I'm using afconvert on the command line to change .wav format to .caf format w/ ima4 compression.
I've read this (wooji-juice.com) awesome post about this exact topic. I'm having trouble w/ the "decoding ima4 packets" step. I've looked...
I'm trying to describe the shape of a rabbit heart in order for simulations to be visualised with ParaView.
The problem I'm having is that ParaView would like the geometry to be described in PLOT3D format, a clear description of which I'm struggling to find online.
The geometry I have consists of a regular 3D mesh, from which only some...
I work with satellite radar, and have been provided with a (very) large TIFF file containing 32 bpp greyscale data. Unfortunately, libtiff, the standard Linux library for working with TIFF files, doesn't support SampleFormat TIFF files, which means no support for high bit depth greyscale images or floating-point images.
Does anyone know...
hi,
i'm working with a shapefile (.shp, .dbf, etc) and would like to convert it to xml. i'm on a mac, and am having trouble finding an application that will help me with the conversion. does anyone know of a method for converting this file format into an xml file?
thanks
...
Is there an universally acknowledged format for exchange information about 'a person'? I mean stuff like first name, last name, address, contact_address + some custom additional information. Is it better to define an ad-hoc schema or to use some ready made namespace. Thanks!
...
I'm running a query from SQL Server Management Studio 2005 that has an HTML file stored as a a string, e.g.:
SELECT html
FROM table
This query displays in the "Results" window nicely, i.e., each row contains a string of the whole HTML file, with one record per row.
However, when I use the "Results to file" option, it exports it a...
I got a Nokia backup file (.cdb) - it's kindof database file. The first four bytes of the file are "DBFL".
Is it a well-known database file?
...
Is there any difference between exporting a jar file through JAR and Archive File options in eclipse?
I am maintaining proper folder structure for a jar file (package structures) during export through Archive file option and I do not need any manifest file.
...
I have a few questions:
Why was a.out replaced by ELF?
What were the major flaws in the a.out format that led to the raise of ELF file format?
Earlier core dumps were based on a.out, but now they are based on ELF. What are the various advantages provided by ELF?
...
I process a lot of text/data that I exchange between Python, R, and sometimes Matlab.
My go-to is the flat text file, but also use SQLite occasionally to store the data and access from each program (not Matlab yet though). I don't use GROUPBY, AVG, etc. in SQL as much as I do these operations in R, so I don't necessarily require the dat...
Basically this question except i am using ASP.NET. How do i take a given file and check if it is
image (all formats except bitmap including photoshop)
archive (7z, rar, zip, etc). NOTE: I know a file can be both an image and zip. I can check if its both in code.
sound (most such as m4a, flac, ogg, but not wav)
model (3ds, X, B3D, etc)
...
I've found a PPM image with the header starting with PF (instead of standard P6, P5, P4, ... signatures).
The resolution number is stored in floating point (-1.000).
No comments are inserted to get how it was produced.
Because the resolution, I derived that each pixel is composed by 12 bytes (4 bytes per component)... I suppose they are...
I need to convert tons of pictures, coming from all kinds of sources, in all kind of file formats. I want to store them all in the PNG file format (even if it means losing e.g. layer data from ESP's).
I'm looking for a library that is preferably open source and has a Java or Groovy API (on top of JNI/JNA, if necessary).
...
I am looking for an economically sound solution to store pictures long time. I read about the PNG file format that it has superior characteristics compared to JPEG, namely in these categories:
no patents, no licenses, no royalities
no quality loss
yet compressed
I have a lot of big ESP's from PhotoShop that contain tons of metadata,...
I am creating screenshots under Windows and using the LockBits function from GDI+ to extract the pixel data, which will then be written to a file.
To maximise performance I am also:
Using the same PixelFormat as the source bitmap, to avoid format conversion
Using the ImageLockModeUserInputBuf flag to extract the pixel data into a pre-...
I am working on a light weight Java client library for Android mobile platform that can read and write to Excel files in .xls(BIFF) and Office 2003 XML format.
No sooner we decided to start than we got stuck with a basic question. How do we determine the format of the excel files in Java?
Please help.
Thanks.
...
In the project I'm currently working on there is a need to save a sizable data structure to disk (edit: think dozens of MB's). Being an optimist, I thought that there must be a standard solution for such a problem; however, up to now I haven't found a solution that satisfies the following requirements:
.NET 2.0 support, preferably with...
Is the format of compiled pixel and vertex shader object files as produced by fxc.exe documented anywhere either officially or unofficially?
I'd like to be able to read the constant name to register assignments from the shader files. I know that the effects framework in D3DX can do this, but I need to avoid using D3DX as it may not be i...