Forum > Software Development

Understanding the DBC Format

<< < (4/6) > >>

iindigo:
Perhaps a better way to phrase my question is, "What part of the code changes the returned column?" I've tried figuring this out by tinkering with different aspects but nothing seems to work.

Though this is an editor for 3.3.5 (at least initially) I plan to allow adding, removal, and editing of profiles. The core profiles will be included as defaults that can be reverted to at any point (really easy to do with NSUserDefaults).

Steff, this is what my profile editor looks like so far. What's missing? Going by the list you've provided perhaps this is too simple.



EDIT: After more tinkering, I figured it out! You just increment by the length of an int. Very simple.



My next question, then, is what do flags count as? They're not ints or strings as far as I can tell

EDIT 2: Nevermind, it's just an int in hex format

Steff:
I use an open and external format to:

1 Change it fast if new stuff is invented.
2 Other people can help me to create the definitions.

I also use them just to import the dbcs into mysql and edit them then there.

iindigo:

--- Quote from: "Steff" ---I use an open and external format to:

1 Change it fast if new stuff is invented.
2 Other people can help me to create the definitions.

I also use them just to import the dbcs into mysql and edit them then there.
--- End quote ---

I'm planning to allow importing and exporting of profiles in XML format, does that sound good?

Ascathos:

--- Quote from: "iindigo" ---
--- Quote from: "Steff" ---I use an open and external format to:

1 Change it fast if new stuff is invented.
2 Other people can help me to create the definitions.

I also use them just to import the dbcs into mysql and edit them then there.
--- End quote ---

I'm planning to allow importing and exporting of profiles in XML format, does that sound good?
--- End quote ---
Use .txt or .ini - it is not a special format like XML and does not require overly complicated instructions to form proper tables.

iindigo:

--- Quote from: "Ascathos" ---
--- Quote from: "iindigo" ---
--- Quote from: "Steff" ---I use an open and external format to:

1 Change it fast if new stuff is invented.
2 Other people can help me to create the definitions.

I also use them just to import the dbcs into mysql and edit them then there.
--- End quote ---

I'm planning to allow importing and exporting of profiles in XML format, does that sound good?
--- End quote ---
Use .txt or .ini - it is not a special format like XML and does not require overly complicated instructions to form proper tables.
--- End quote ---

I see your point. I might do multiple formats. Text will actually take me more time to write since there's built-in functions for reading and writing XML.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version