Latest News: OOTP 13 Announced with Screenshots & Feature List! Pre-Order Now! - OOTP Baseball 12 Available! - iOOTP Baseball 2011 Available! - Title Bout Championship Boxing 2.5 released! - Inside the Park Baseball Patch 1.03 released, DEMO now available

Pre-Order OOTP 13, Save & Win! | OOTP 12 Off-Season Special, just $19.99!

Go Back   OOTP Developments Forums > Out of the Park Baseball 12 > OOTP Mods > OOTP Mods - Database Tools

OOTP Mods - Database Tools Do you need to take a dump? SQL gurus welcome

Reply
 
LinkBack Thread Tools Display Modes
Old 06-03-2006, 07:15 PM   #1 (permalink)
Minors (Double A)
 
Join Date: Dec 2001
Posts: 157
Thanks: 0
Thanked 0x in 0 posts
Ootp 2006 Db Format?

Hi..

What is the file format of the OOTP Data files? I would love to try my hand at making some utilities but figure this is an important first piece of the puzzle.

Rich
rwmorey is offline   Reply With Quote
Old 06-05-2006, 10:20 AM   #2 (permalink)
Hall Of Famer
 
Comedian2004's Avatar
 
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 6,870
Thanks: 0
Thanked 22x in 14 posts
Markus.dat files.

Without looking, I remember he said it was a binary save, which means you ain't gonna figure it out.
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
Comedian2004 is offline   Reply With Quote
Old 06-05-2006, 11:31 AM   #3 (permalink)
All Star Starter
 
DaveHorn's Avatar
 
Join Date: Aug 2003
Posts: 1,140
Thanks: 1
Thanked 1x in 1 post
You don't need to figure it out, that is the point of the SQL Dump features of OOTP 2006.
__________________
Dave
HFTC Commish
DaveHorn is offline   Reply With Quote
Old 06-05-2006, 11:39 AM   #4 (permalink)
Hall Of Famer
 
Comedian2004's Avatar
 
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 6,870
Thanks: 0
Thanked 22x in 14 posts
Quote:
Originally Posted by DaveHorn
You don't need to figure it out, that is the point of the SQL Dump features of OOTP 2006.
Yeah, I know, but SQL dump don't write back to the dat files..
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
Comedian2004 is offline   Reply With Quote
Old 06-05-2006, 09:03 PM   #5 (permalink)
Minors (Double A)
 
Join Date: Dec 2001
Posts: 157
Thanks: 0
Thanked 0x in 0 posts
Yeah.. I'd like to be able to view mostly, but maybe edit, the data directly.
rwmorey is offline   Reply With Quote
Old 06-23-2006, 10:54 PM   #6 (permalink)
Minors (Rookie Ball)
 
Join Date: Dec 2002
Location: Minneapolis, MN
Posts: 31
Thanks: 0
Thanked 0x in 0 posts
Reverse engineering the database file structures

It's a pretty simple database format at the binary level, but there is a new twist that wasn't present in the database for previous versions: variable-length fields for strings. I've been analyzing the data files to try to find a way to parse them effectively and I have a pretty good handle on the general contours of the files (I'm working updating some code I wrote previously to manage schedules). Right now I'm working to resolve a final issue with Teams.dat where it appears that there is an additional variable-text field somewhere in addition to the city, abbreviation, nickname, and logo fields.

I suspect that others have been doing the same thing, so it might make sense to describe our results so the database format can be documented by the community.

Correction: There are only 4 variable-length fields in Teams.dat (the table I used to calculate field characteristics was wrong) and the code is working.

Last edited by fearofmimes; 06-24-2006 at 05:05 AM.
fearofmimes is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 06:48 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0
Copyright © 2009 Out of the Park Developments