How does "gedt" files work?

Game Editor comments and discussion.

How does "gedt" files work?

Postby asmodeus » Fri Feb 27, 2009 3:47 pm

Does anybody know here how a gedt file worked? I mean how to "read" such a file, or is there a program to make/edit these files? I just like to have information like this:
Offset |Length |Description
0000h | 3 |Signature
0004h | 4 | file size
etc.
User avatar
asmodeus
 
Posts: 483
Joined: Thu Oct 11, 2007 5:04 pm
Location: Germany
Score: 43 Give a positive score

Re: How does "gedt" files work?

Postby makslane » Fri Feb 27, 2009 5:48 pm

Is the format used to save the tutorias.
Look the Tutorial.cpp file, Save function:

http://code.game-editor.com/browser/tru ... l.cpp#L223
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: How does "gedt" files work?

Postby asmodeus » Fri Feb 27, 2009 8:47 pm

makslane wrote:Is the format used to save the tutorias.
Look the Tutorial.cpp file, Save function:

http://code.game-editor.com/browser/tru ... l.cpp#L223

I knew that these are tutorial files. What I found out so far is that:
what-I-found-out.gif

It's quite hard to work along your code. Can you complete the list or is there already one? I also like to know what "events" there exist and how they work.
Attachments
gedt-format.zip
rtf file with unicode symbols, can be opened with WordPad
(779 Bytes) Downloaded 73 times
User avatar
asmodeus
 
Posts: 483
Joined: Thu Oct 11, 2007 5:04 pm
Location: Germany
Score: 43 Give a positive score

Re: How does "gedt" files work?

Postby makslane » Fri Feb 27, 2009 9:45 pm

The events are the SDL events (like SDL_KEYDOWN, SDL_KEYUP, SDL_MOUSEBUTTONDOWN...)

The right line to look the save is (Tutorial::Save:
http://code.game-editor.com/browser/tru ... l.cpp#L782

Look this function to see how the file is saved.
The file is compressed, so I can't tell you the right byte places of the final file.
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron