Latest News: OOTP PATCH 9.1.6 released! - OOTP 9 RELEASED! - Title Bout Championship Boxing 2.5 released! - OOTP 2007 receives Editors Choice Award from PC Gamer - Inside the Park Baseball Patch 1.03 released, DEMO now available

Click here to download Out of the Park Baseball 9!

Go Back   OOTP Developments Forums > OUT OF THE PARK BASEBALL 9 > OOTP 9 - Mods > Database Tools
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 06-03-2006, 06:15 PM   #1 (permalink)
Minors (Double A)
 
Join Date: Dec 2001
Posts: 153
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, 09:20 AM   #2 (permalink)
Hall Of Famer
 
Comedian2004's Avatar
 
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 6,378
Markus.dat files.

Without looking, I remember he said it was a binary save, which means you ain't gonna figure it out.
__________________
Visit www.planetootp.com for my MODS. Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF!
Comedian2004 is offline   Reply With Quote
Old 06-05-2006, 10:31 AM   #3 (permalink)
All Star Starter
 
DaveHorn's Avatar
 
Join Date: Aug 2003
Posts: 1,110
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, 10:39 AM   #4 (permalink)
Hall Of Famer
 
Comedian2004's Avatar
 
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 6,378
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..
__________________
Visit www.planetootp.com for my MODS. Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF!
Comedian2004 is offline   Reply With Quote
Old 06-05-2006, 08:03 PM   #5 (permalink)
Minors (Double A)
 
Join Date: Dec 2001
Posts: 153
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, 09:54 PM   #6 (permalink)
Minors (Rookie Ball)
 
Join Date: Dec 2002
Location: Minneapolis, MN
Posts: 31
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 04:05 AM.
fearofmimes is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

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



All times are GMT -4. The time now is 07:18 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 Out of the Park Developments