Page 1 of 1

problem importing raw heightmap

PostPosted: Thu May 12, 2016 2:46 pm
by valheru
Hi there. This might be a problem on my side but maybe you can help? I try to import a RAW heightmap into L3DT but get an fseek error

CL3DTio_RAW_HF::LoadMapFile error:
- fseek failed for file 'C:\new1 big.raw'

Re: problem importing raw heightmap

PostPosted: Fri May 13, 2016 9:30 am
by Aaron
Hi Valheru,

Welcome to the forum, and sorry for this fault. Can you please tell me what the size of the raw file is?

Also, can you please send me the log file? (to aaron@bundysoft.com) You can get to it using the 'All programs->Bundysoft->L3DT [version]->L3DT logs' shortcut in the Windows start menu. That link will open a directory in which you will find a file called 'log.txt'. With the logfile, I will be able to work out what is going wrong. Please collect the log file after the fault occurs in L3DT, and before re-opening the program, as the log file is overwritten at the start of each session.

Best regards,
Aaron.

Re: problem importing raw heightmap

PostPosted: Fri May 13, 2016 1:31 pm
by Aaron
Hi Valheru,

Thanks for the log and the explanation. I was incorrectly using fseek instead of _fseeki64, which limited the RAW plugin to files of 4GB or less. I've fixed this in the next build, but you can get the updated plugin now from here:

http://www.bundysoft.com/L3DT/downloads/plugins/bin/L3DTio_RAW_HF-bin-x64.zip

Just extract it from the zip file, and copy it over the existing file at:

C:\program files\Bundysoft\L3DT [version]\Extensions\L3DTio_RAW_HF.x64.zeo

Please let me know if you find any further problems.

Best regards,
Aaron.

Re: problem importing raw heightmap

PostPosted: Fri May 13, 2016 5:48 pm
by valheru
thank you that did the trick, will let you know if any other problems occur