Blitz3D - BlitzMax Bank Compatibility?
BlitzMax Forums/BlitzMax Beginners Area/Blitz3D - BlitzMax Bank Compatibility?
| ||
Hi, Can banks saved using Blitz3D be read by BlitzMax's LoadBank function? Cheers. |
| ||
I don't understand. |
| ||
Yes there are possible ways. But you would need to save it as a file. Edit} You could create a blitz3d function to save a bank look in the mod folder under brl.bank might help you out |
| ||
Noel - if I use CreateBank() in Blitz3D to create a memory bank for storing data, and save it to a file using WriteBytes(), is it possible to then read that created file into BlitzMax without any loss of data? |
| ||
test it, try writing a text file via a bank and load it with BMax and see if it's the same. |
| ||
I would if I had BlitzMax... |
| ||
Yes it can. The TEST.bnk created from the WriteBytes example in B3D is loaded into BMax using the bmx Openfile example (changed to ReadBytes. |
| ||
why wouldn't it really loading a file into memory is the same on all OS's you just have to make sure if the OS uses Little or Big eridan. |
| ||
Cheers. I know nothing of file formats and stuff like that. I just wanted to cover my bases - my current project has a 49MB data file created which needs to be loaded into a bank, and I would like to port it to BlitzMax when it is released for Windows. |