Menu

Saving map data etc. as binary data files

Help
2002-11-15
2004-05-09
  • Guido Henkel

    Guido Henkel - 2002-11-15

    Is it possible to save the programmable output in binary files rather then as text includes?

     
    • Mike Wiering

      Mike Wiering - 2002-11-15

      No, this is not possible at the moment. A few poeple asked for binary output before, but I haven't thought of a good syntax for this. Maybe I'll add that in the future, but it's not such a high priority because there is usually a way to get a compiler/assembler to convert your output to a binary file.

      Mike

       
    • Guido Henkel

      Guido Henkel - 2002-11-16

      Mike,

      I understand the syntax issues but wouldn't you agree that a tool like Tile Studio should streamline the process of data creation in the first place? Having to export a source file that needs to be compiled into a datafile doesn't really fit that bill.

      It would be REALLY helpful to have binary output, even if it's somewhat limited. How about a syntax down the lines of this...

      #file gfx\\<ProjectName>Gfx.dat

      #tileset
      #map

      <MapWidth: %2b>  ... 2b would stand for 2 bytes binary
      <MapHeight: %2b>
      #mapdata 
      <TileNumber:%2b>
      #end mapdata

      #end map
      #end tileset

      #end file

      Seems simple enough because it's very close to what you already have and would absolutely do the job.

       
    • Elio Cuevas Gómez

      Yeah!, it would be very useful to have binary output that way you can separate the game engine from the game data.

       
    • Bryan Livingston

       
    • Arne Jans

      Arne Jans - 2004-05-09

      Please put in the support for binary format in the tsd-file. It is essential. Please.... or give me a hint at where the place in the sources is, then I do it myself, but please help with this.

      Regards,

      StingerAJ

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.