Jump to content

MVP2005 SavReader (PS2/PC/X-BOX)


RichK

Recommended Posts

  • Replies 122
  • Created
  • Last Reply

Will this program be able to adjust team salaries because that is my biggest problem in dynasty Mode.

Did you read the thread?

It's called a "SavReader", not a "SavWriter" or a "SavChanger"...what he is working on is a program that will extract all the data out of our season saves, and present it in a manner that can be easily read. Nothing to do with changing the data.

Link to comment
Share on other sites

Just a quick update.... I believe that I've completed all of the coding that I'm going to do for this release on the output pages. Yesterday I created both a team stats page (with or without player detail lines) and a team totals page at the league level. I've got to tweak the interface a little bit, and then I'm going to spend a little bit of time looking at the X-box files. Here's a little peek at my to-do list as it stands now (note that not all of this will be done for the beta release:

To do list:

Before Release:

X-Box

Move .ini vars to DB (GetVar Function)

Make sure all Roster imports work

Add league home link to Team navbar

Might do:

Add WHIP to pitcher stats

Zimmerman PIP problem

Index page

Future release(s):

Fix Manager data

Team translation table for career stats

Franchise/Spring/Budget for teams (probably on org or salaries page)

Postional Rankings

Organizational page (list each MLB team and info from minors)

Emails

Transactions

Standings Page (add wild-card for MLB, split season for minors)

Draft pages and info

DAT file saves

Export to Excel/Text file

Depending on how tough the X-Box import is, I might get the preview release out to the contributors at the end of the week.

- Rich

Link to comment
Share on other sites

Is Owner Mode on the list for future releases? Or is that going to be too hard, and you are just going to stick with Dynasty? Everything sounds great though!

Link to comment
Share on other sites

Yes, I forgot about owner mode. It will be in a future release.

X-Box imports are working now. I'm building an install package to test and will have a BETA release by the end of the week.

Link to comment
Share on other sites

Two thoughts:

1. Not sure where the 'export to Excel' funtion will be on your priority list for the V2 release, but I'd really like to see that cabability so that I could do my own sorting, filtering, and analysis on my Dynasty data and other teams. It'll make trade analysis extremely easy!! Imagine: sort / filter for AAA 1Bs under 26 with backup contracts less than $1M and batting over .250 and with 20+ steals. Boom-- I just found my late-game pinch runner to try and trade for!!! If this functionality is something you planned to build-in to the gui great, but most of us can handle it with some simple excel work!!!

2. My example above assumes the tool will read all teams, not just the majors. Is that correct?

I'll reiterate what others have said--this will be a great tool and one worth paying for.

Link to comment
Share on other sites

Two thoughts:

1. Not sure where the 'export to Excel' funtion will be on your priority list for the V2 release, but I'd really like to see that cabability so that I could do my own sorting, filtering, and analysis on my Dynasty data and other teams. It'll make trade analysis extremely easy!! Imagine: sort / filter for AAA 1Bs under 26 with backup contracts less than $1M and batting over .250 and with 20+ steals. Boom-- I just found my late-game pinch runner to try and trade for!!! If this functionality is something you planned to build-in to the gui great, but most of us can handle it with some simple excel work!!!

2. My example above assumes the tool will read all teams, not just the majors. Is that correct?

I'll reiterate what others have said--this will be a great tool and one worth paying for.

1. I absolutely plan on getting an Excel export into one of the first few non-beta releases. There will be no GUI viewing/sorting for the time being (don't want to bloat the application up too big... the install package is almost 4 MB right now with a ~ 1MB exe).

2. All teams are being read from MLB to A.

Just a small update... I believe that I've now got a working install package. I just need to test and make sure that it will work and run OK on a PC without Microsoft Access installed.

Link to comment
Share on other sites

I'm writing up the Readme file right now! Contributors will get an email with the first beta sometime in the next five hours!

Link to comment
Share on other sites

Contributors have been emailed the first beta version...

I'll be away from my PC until tomorrow morning, then I'll answer any questions or comments.

- Rich

Here's the readme.txt for anyone interested in what this can do:

---- BEGIN README.TXT

This is the readme file for the MVP Baseball 2005 SavReader Program, version 0.1.0

Notice: I am not responsible for any damage that this program or it's installation may do your you computer or it's peripherals. I have tested it and verify that it works as advertised for me. With PCs being unique and beautiful snowflakes, your mileage may vary.

Contents

--------

I. Installation

II. Setting up the .ini file

III. Getting a .sav file

IV. Opening the program and importing the .sav file

V. Creating HTML pages

VI. Known issues

VII. Revision history

Installation

--------------------------------------------------------

Unzip the files into a directory on your PC.

Run the SETUP.exe program

Click the Change Directory button to specify where to install the program or use the default location

Click the large button with the picture of the computer on it to start the installation. You may be prompted to replace files on your computer with newer versions. You should probably do so if you want this to work (you may want to backup any files being replaced just in case!)

Setting up the .ini file

---------------------------------------------------------

Before you can fully use the program, you must set some variables for the importing and output of files. These variables are located in the MVPSavRe.ini file which is located in the directory where you installed MVPSavReader.

The variabled are described below:

[Vars]

Cleanup=Y -- Set this to Y to keep the database size small between uses.

A value of N will skip this cleanup step (not recommended)

[Files] -- All input file locations are stored here

PS2Roster=C:Program FilesMVPSavReadertestps2r.sav - location of PS2 Roster file for import

PS2Dynasty=C:Program FilesMVPSavReadertestps2d.sav - location of PS2 Dynasty file for import

PCRoster=C:Program FilesMVPSavReadertestpcr.sav - location of PC Roster file for import

PCDynasty=C:Program FilesMVPSavReadertestpcd.sav - location of PC Dynasty file for import

XBoxRoster=C:Program FilesMVPSavReadertestxbr.dat - location of XBox Roster file for import

XBoxDynasty=C:Program FilesMVPSavReadertestxbd.dat - location of XBox Dynasty file for import

[OutputLocal] -- This is where all output files will be sent for display on a stand-alone PC (not web server)

StyleSheets=file:///C:/Program Files/MVPSavReader// - Where the style sheets (.css files) for all pages are

Players=C:Program FilesMVPSavReaderPlayers - where all player pages are

PlayerPics=C:Program FilesMVPSavReaderPlayerPics - any player pictures to be displayed are stored here (see below)

Rosters=C:Program FilesMVPSavReaderRosters - all team/league pages are stored here

Root=C:Program FilesMVPSavReaderHome - for future use

Images=C:Program FilesMVPSavReaderImages - images for scoreboard page and other misc stuff is here

Logos=C:Program FilesMVPSavReaderLogos - team logos may be stored here

[OutputServer] -- This is what web links will resolve to if Server output is chosen (structure should mirror OutputLocal above)

StyleSheets=http://www.geocities.com/mvpsavreader/

Players=http://www.geocities.com/mvpsavreader/Players/

PlayerPics=http://www.geocities.com/mvpsavreader/PlayerPics/

Rosters=http://www.geocities.com/mvpsavreader/Rosters/

Root=http://www.geocities.com/mvpsavreader/Home/

Schedules=http://www.geocities.com/mvpsavreader/Schedules/

Images=http://www.geocities.com/mvpsavreader/Images/

Logos=http://www.geocities.com/mvpsavreader/Logos/

[Records] -- DO NOT change these numbers -- they are used for data importing

Getting a .sav file

-------------------------------------------------------------

For the PS2, you will need a device capable of putting memory card saves on a PC or pen drive (Action Replay Max, Sharkport, etc) and the PS2SaveBuilder program (available at PS2Savetools.com).

I won't go into the details here, as instructions and tutorials for using the various devices are available (google is your friend)

PC and XBox sav files should be obtained similarly (I don't have either version, so I can't help you there!)

The end result should be the .sav file from either a roster or a dynasty save (no owner mode... yet)

Opening the program and importing the .sav file

---------------------------------------------------------------

Run the MVPSavReader.exe file from either the Start Menu, Windows Explorer, Start-->Run... etc

The program will open and if you have previously imported a sav file, it's information will be displayed

To import a sav file, select the source of the file (PS2, PC, XBox) and the type of save (Dynasty, Roster) and click the Import button

You may also use the import option under the File menu. If you set your .ini variables correctly and put the right .sav file in the right place, you will see the cursor turn into an hourglass and status messages will scroll across the bottom of the screen letting you know what is happening.

A message will be displayed when the import is complete and you should see the team and player data being filled in.

Creating HTML pages

-----------------------------------------------------------------

There are 5 important sections on the main screen for generating HTML output:

File/Report Date

Output

League

Team

Player

Each of these sections will be explained below.

-- File/Report Date --

This section will display the month and the date of the last played game in your imported file.

Note: If you are at the beginning of the season (no games played yet), it will display the latest first game scheduled for all levels (MLB->A)

This will be fixed in a future release.

You can change this date before generating pages and the data may change, depending on what you are creating.

Default date for any roster imports is 4/3/2005 (since there is no schedule data in a roster file)

-- Ouput --

Choose local to have any links in HTML pages refer to the Local ini directories

Choose server to have any links in HTML pages refer to the server ini directories (pages are still created in the local directories, but the links are based on what is in the OutputServer section of the .ini file)

-- League --

The drop down box is used to select the league to create pages for.

Each checkbox determines whether that page is generated when Create League Pages is pressed.

Home Page = The league home page with the day's (based on File/Report Date) schedule/results

= file is named by the league abbreviation (MLB, AAA, AA, A).html and placed in the Rosters directory named in the ini file

Standings = The league standings page as of the date of the imported file (not File/Report Date)

= file is named by the league abbreviation (MLB, AAA, AA, A)st.html and placed in the Rosters directory named in the ini file

Schedule = The league schedule page with results

= file is named by the league abbreviation (MLB, AAA, AA, A)s.html and placed in the Rosters directory named in the ini file

the second half schedule is named the same but with s1.html after the league

Salaries = The top n league salaries, n is determined by the number selected in the dropdown box to the right of the checkbox

= file is named by the league abbreviation (MLB, AAA, AA, A)sal.html and placed in the Rosters directory named in the ini file

Free Agents = The top n league salaries, n is determined by the number selected in the dropdown box to the right of the checkbox

= Currently, the only way to get to the free agents (Usually listed on the following 4 teams: MVP Legends, MVP Heroes, Burnaby Chimaera, Burnaby Argonauts), is by generating their team page from the team section or by using the team dropdown from another (real) team. This will be fixed later.

Leaders = The top n league leaders in the following stats (AVG, HR, RBI, R, SB, Wins, SV, ERA, SO),n is determined by the number selected in the dropdown box to the right of the checkbox

= file is named by the league abbreviation (MLB, AAA, AA, A)b.html and placed in the Rosters directory named in the ini file

Team Stats = Team totals for all teams in the league. Batting, pitching and fielding stat are included.

= file is named by the league abbreviation (MLB, AAA, AA, A)t.html and placed in the Rosters directory named in the ini file

-- Team --

The drop down box is used to select the league to create pages for (if needed).

The team dropdown box is used to generate only one team's pages (if needed).

The Select Teams section has 3 choices:

= Use team from above -- creates pages for the team selected in the team dropdown box

= All teams in above league -- creates pages for ALL teams in the selected league in the league dropdown box

= All teams -- all teams in file (caution: may take a while to generate all of the pages)

Each checkbox determines whether that page is generated when Create Team Pages is pressed.

Home Page = The team home page with team information:

= file is named by the team's ID in the imported file (0B87E1A2).html and placed in the Rosters directory named in the ini file

== Scoreboard -- This section shows the result's (or schedule) for the team on the day selected in the File/Report Date section

== Roster -- A list of that team's complete roster (including any players of the DL)

== Manager -- The team's manager and his jersey number (manager pages not yet available)

== Select Another Team dropdown -- You can pick another team from this league here and display it's page (if already generated)

== Schedule -- shows the team's last, current, and next full week of games and their results from the day selected in the File/Report Date section

== Standings -- That team's division standings (as of the import file's date)

== Team Leaders -- Stats leaders for that team in certain categories

== Salaries -- Top 10 salaries on that team

== Team History -- Current and previous year record for the team

Roster = Roster information for all players on the team. Some empirical data is computed at the bottom of the page.

= file is named by the team's ID in the imported file (0B87E1A2)r.html and placed in the Rosters directory named in the ini file

Salaries = The team salaries.

= file is named by the team's ID in the imported file (0B87E1A2)sal.html and placed in the Rosters directory named in the ini file

Team Stats = Stats for all players on the team. Batting, pitching and fielding stat are included.

== List Player Detail - Select Yes for all player stats, No for just team totals

= file is named by the team's ID in the imported file (0B87E1A2)b.html and placed in the Rosters directory named in the ini file

Schedule = The team schedule page with results

= file is named by the team's ID in the imported file (0B87E1A2)s.html and placed in the Rosters directory named in the ini file

the second half schedule is named the same but with s1.html after the team id

Lineups/Pitchers = All 4 lineups for the team and the pitching staff roles are shown here.

= file is named by the team's ID in the imported file (0B87E1A2)l.html and placed in the Rosters directory named in the ini file

-- Player --

You must select a team from the team section before generating player pages. Once you do so, that team's players will appear in the list.

You may select one or multiple players (by holding down CTRL or SHIFT while clicking on a name) from the list.

There are two checkboxes to the right of the list:

== Picture -- if present in the "PlayerPics" .ini directory, the player's picture will be shown in the player pages.

these files must be named PlayerID.jpg, where PlayerID is the game's hex id for that player (it will be the filename of that player's page as well) 90x135 pixels works best.

== Logo -- if present in the "Logos" .ini directory, the team's logo will be shown in the player pages.

these files must be named TeamID.gif, where TeamID is the game's hex id for that team (it will be the filename of that team's page as well) 80x80 pixels works best.

When you click "Create Player Pages", the selected player(s) pages will be created. All players will have batting and ratings pages, while only pitchers will have pitching pages (duh!)

Some data on the pages is based off of the File/Report Date. These are age and the stats in the small stats box (whitish color).

The roster dropdown will take you to another player's page (if you have generated it)

Known issues

-------------------------------------------------------------------------------------

Alt-tabbing may cause the program to appear hung up. Don't panic, it's working... I'm working on this.

No owner mode yet

File/Report Date isn't set to first day of season for MLB at beginning of year.

Some career stats from certain roster sets may have incorrect team names listed (this is a roster issue)

Revision history

---------------------------------------------------------------------------------------

0.1.0 Initial beta release to contributors

Send bug reports and comments, etc to MVPSavReader@yahoo.com

Visit www.geocities.com/mvpsavreader to make a donation

---- END README.TXT

Link to comment
Share on other sites

cant wait for you to release a stable BETA to the public RichK, im really greatful for your work and id love to give you some $$ for your work but im a little low in the pocket and i dont have a visa card so.....yeah......anyways good luck with this as it continues

Link to comment
Share on other sites

Is anyone else having problems with the pay pal system? I tried to make a donation using my account, but it kept coming up with an error page. So, I tried simply making a CC payment, but after entering in all of my information it just bumped me back to the front page as if I was starting over. I have received no notification that my payment has gone through, and I'm reluctant to try this again..

Link to comment
Share on other sites

wow this looks absolutely amazing! total geekout! :D

i skimmed the thread so forgive me:

is it straight html or does it require a db, say for putting it online?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...