Home | Webstore
Latest News: OOTP 26 Available - FHM 12 Available - OOTP Go! Available

Out of the Park Baseball 26 Buy Now!

  

Go Back   OOTP Developments Forums > Prior Versions of Our Games > Earlier versions of Out of the Park Baseball > Earlier versions of OOTP: Mods

 
 
Thread Tools
Old 07-16-2006, 12:10 PM   #1
doug melvin
Minors (Single A)
 
Join Date: Jul 2003
Posts: 91
Wanted: Some help creating a draft pick editor

Pierre's utilities used to be fantastic for this in 6.12, but there's nothing for 6.5. I know the layout of the tradedpicks.dat file, but have little experience coding outside of perl and bash scripts.


The anatomy of tradedpicks.dat is as follows:

Each 'line' contains 20 hexadecimal pairs.
1st line:
1st pair: total number of entries
remaining 18 pairs: 00

2nd line (and subsequent lines):
1st pair: rd of pick traded
next 7 pairs: 00
next pair: team no. of team that gives up the pick
next 3 pairs: 00
next pair: team no. of team that gets the pick
next 3 pairs: 00
next pair: entry number
next 3 pairs: 00


So, if the Yankees (Team 1) traded their 1st rd pick to Boston (Team 2), and the A's (Team 6) traded their 3rd rd pick to Pitt (Team 15):
02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
01 00 00 00 00 00 00 00 01 00 00 00 02 00 00 00 01 00 00 00
03 00 00 00 00 00 00 00 06 00 00 00 0f 00 00 00 02 00 00 00

You can associate team names with their numbers from the Teams.dat file.
Entry 0x0bb8-0x0be9 is Team Name 1
Entry 0x1770-0x17a1 is Team Name 2
Entry n*0xbb8 to n*0xbb8+31 is Team Name n

The last detail I'm a little less sure of. You can figure out the draft order from draft.dat. The beginning of that file consists of sets of 4 hexadecimal pairs:
line 1:
1st pair: team no. of team with 1st pick in the draft under normal circumstances
remaining 3 pairs: 00

Line 2: repeat until you get to end of a typical draft round.
__________________
http://cpl.shulermisra.org
doug melvin is offline  
Old 07-16-2006, 12:17 PM   #2
sporr
Global Moderator
 
sporr's Avatar
 
Join Date: Dec 2001
Location: Muscatine, IA
Posts: 8,277
You can still use Pierre's utility for 6.5. All you have to do is copy your league file from 6.5 over to v6, edit with Pierre's utility, do the draft in v6, and then copy the league folder back over to 6.5
sporr is offline  
Old 07-16-2006, 12:39 PM   #3
doug melvin
Minors (Single A)
 
Join Date: Jul 2003
Posts: 91
I used to do that myself, but then started just editing the tradedpicks.dat file by hand-- it saves me a lot of time.

However, a few of my fellow commishes are having troubles with the hoops involved in going back to 6. I thought I'd at least toss the info I know out there, as the code should be relatively easy to pound out (heck, if I had Visual Studio for Windows, I'd do it myself).
__________________
http://cpl.shulermisra.org
doug melvin is offline  
 

Bookmarks


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

Forum Jump


All times are GMT -4. The time now is 02:25 PM.

 

Major League and Minor League Baseball trademarks and copyrights are used with permission of Major League Baseball. Visit MLB.com and MiLB.com.

Officially Licensed Product – MLB Players, Inc.

Out of the Park Baseball is a registered trademark of Out of the Park Developments GmbH & Co. KG

Google Play is a trademark of Google Inc.

Apple, iPhone, iPod touch and iPad are trademarks of Apple Inc., registered in the U.S. and other countries.

COPYRIGHT © 2023 OUT OF THE PARK DEVELOPMENTS. ALL RIGHTS RESERVED.

 

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Copyright © 2024 Out of the Park Developments