Latest News: OOTP PATCH 9.1.2 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 > Logos, Graphics, and HTML
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 03-31-2007, 04:44 PM   #1 (permalink)
Hall Of Famer
 
robster1225's Avatar
 
Join Date: Jun 2006
Location: Long Branch, NJ
Posts: 2,524
HTML Customization Guide

This will eventually be in the Game Guide, but until then, here ya go.

If you find something is inaccurate, please let me know, and if you have questions, please post here.

http://www.robster1225.com/htmlguide.pdf

Here's an example of what you can do if you follow these steps:
http://ootp.oldredboat.com/news/html..._100_home.html
__________________

Total Sports World - The Place To Get Your Sports Fix!

eMLB - New York Mets
2013 - 30-23
2014 - 93-69 (First ever post season appearance for the Mets)



BLB - Los Lunas Javelinas
robster1225 is offline   Reply With Quote
Old 03-31-2007, 07:18 PM   #2 (permalink)
All Star Reserve
 
PadresFan's Avatar
 
Join Date: Dec 2001
Location: Carlsbad, CA
Posts: 660
I love that example! Damn you, I was about to start playing the game and stop tweaking, but now I want to do this for my association!
__________________
XBL/PSN: Leadfoot5
Everywhere else: PadresFan104

PadresFan Adds-On Central Info:http://www.ootpdevelopments.com/boar...od-thread.html
Text Sim Mod-File Website: http://www.padresfanmods.net
PadresFan is offline   Reply With Quote
Old 03-31-2007, 08:20 PM   #3 (permalink)
Hall Of Famer
 
robster1225's Avatar
 
Join Date: Jun 2006
Location: Long Branch, NJ
Posts: 2,524
haha! If you need any help, let me know. The guide isn't ALL inclusive, but it should point you in the right direction.
__________________

Total Sports World - The Place To Get Your Sports Fix!

eMLB - New York Mets
2013 - 30-23
2014 - 93-69 (First ever post season appearance for the Mets)



BLB - Los Lunas Javelinas
robster1225 is offline   Reply With Quote
Old 04-01-2007, 11:57 PM   #4 (permalink)
All Star Reserve
 
PadresFan's Avatar
 
Join Date: Dec 2001
Location: Carlsbad, CA
Posts: 660
Ok, I'm running up a bizarre problem. I have created new .jpg images for the following files:

- menu.jpg
- menu_wide.jpg
- si_logo_bottom.jpg

If I put them in the ...\news\html\images folder for my league before launching the game, or the saved game, OOTP overwrites the files as it's loading the league. I can actually see it happening if I watch the directory... They are overwritten with the original images.

Now, if I wait until the game is loaded, and then put the images in place, the game will use them. However, next time I run the game, they get overwritten again... Any ideas????
__________________
XBL/PSN: Leadfoot5
Everywhere else: PadresFan104

PadresFan Adds-On Central Info:http://www.ootpdevelopments.com/boar...od-thread.html
Text Sim Mod-File Website: http://www.padresfanmods.net
PadresFan is offline   Reply With Quote
Old 04-02-2007, 12:00 AM   #5 (permalink)
Hall Of Famer
 
robster1225's Avatar
 
Join Date: Jun 2006
Location: Long Branch, NJ
Posts: 2,524
try this.

copy the templates folder that is found in data/
place that folder into your league folder. Then, put your edited images in to league.lg/templates/images

that should fix your issue.
If not, I'm on AIM, and we can try to hash this out if you want. (RobbyRuggles)
__________________

Total Sports World - The Place To Get Your Sports Fix!

eMLB - New York Mets
2013 - 30-23
2014 - 93-69 (First ever post season appearance for the Mets)



BLB - Los Lunas Javelinas
robster1225 is offline   Reply With Quote
Old 04-02-2007, 12:11 AM   #6 (permalink)
All Star Reserve
 
PadresFan's Avatar
 
Join Date: Dec 2001
Location: Carlsbad, CA
Posts: 660
Thanks! I'll let you know...
__________________
XBL/PSN: Leadfoot5
Everywhere else: PadresFan104

PadresFan Adds-On Central Info:http://www.ootpdevelopments.com/boar...od-thread.html
Text Sim Mod-File Website: http://www.padresfanmods.net
PadresFan is offline   Reply With Quote
Old 04-02-2007, 12:29 AM   #7 (permalink)
All Star Reserve
 
PadresFan's Avatar
 
Join Date: Dec 2001
Location: Carlsbad, CA
Posts: 660
Still not working, will IM you. I'm opus10538
__________________
XBL/PSN: Leadfoot5
Everywhere else: PadresFan104

PadresFan Adds-On Central Info:http://www.ootpdevelopments.com/boar...od-thread.html
Text Sim Mod-File Website: http://www.padresfanmods.net
PadresFan is offline   Reply With Quote
Old 04-02-2007, 01:05 AM   #8 (permalink)
All Star Reserve
 
PadresFan's Avatar
 
Join Date: Dec 2001
Location: Carlsbad, CA
Posts: 660
Thanks for the help Rob. Here's a shot of a screen that shows all three image mods...
__________________
XBL/PSN: Leadfoot5
Everywhere else: PadresFan104

PadresFan Adds-On Central Info:http://www.ootpdevelopments.com/boar...od-thread.html
Text Sim Mod-File Website: http://www.padresfanmods.net

Last edited by PadresFan : 07-06-2007 at 12:19 AM.
PadresFan is offline   Reply With Quote
Old 04-02-2007, 09:48 PM   #9 (permalink)
All Star Reserve
 
Kyros's Avatar
 
Join Date: May 2006
Posts: 981
robster1225,

Thanks for releasing this. This will be a huge help in my attempts to give OOTPBB2007 that customized look.
Kyros is offline   Reply With Quote
Old 04-05-2007, 10:22 AM   #10 (permalink)
Moderator*
 
sporr's Avatar
 
Join Date: Dec 2001
Location: Muscatine, IA
Posts: 8,180
Quote:
Originally Posted by PadresFan View Post
Ok, I'm running up a bizarre problem. I have created new .jpg images for the following files:

- menu.jpg
- menu_wide.jpg
- si_logo_bottom.jpg

If I put them in the ...\news\html\images folder for my league before launching the game, or the saved game, OOTP overwrites the files as it's loading the league. I can actually see it happening if I watch the directory... They are overwritten with the original images.

Now, if I wait until the game is loaded, and then put the images in place, the game will use them. However, next time I run the game, they get overwritten again... Any ideas????
I'm having the same issue. Did you guys figure out how to fix it?
__________________


Baseball Maelstrom - Commish/ St Louis Cardinals
USBA - Las Vegas Scorpions

sporr is offline   Reply With Quote
Old 04-05-2007, 12:00 PM   #11 (permalink)
All Star Reserve
 
PadresFan's Avatar
 
Join Date: Dec 2001
Location: Carlsbad, CA
Posts: 660
sporr - no, but I did send my league file to rob so he could see if he could find the issue I was having.... For now, I put the image files out in the main templates directory and it is working, although my custom images are now used for any league I create...
__________________
XBL/PSN: Leadfoot5
Everywhere else: PadresFan104

PadresFan Adds-On Central Info:http://www.ootpdevelopments.com/boar...od-thread.html
Text Sim Mod-File Website: http://www.padresfanmods.net
PadresFan is offline   Reply With Quote
Old 04-05-2007, 12:45 PM   #12 (permalink)
Moderator*
 
sporr's Avatar
 
Join Date: Dec 2001
Location: Muscatine, IA
Posts: 8,180
Quote:
Originally Posted by PadresFan View Post
sporr - no, but I did send my league file to rob so he could see if he could find the issue I was having.... For now, I put the image files out in the main templates directory and it is working, although my custom images are now used for any league I create...
Thanks. I'll do it that way.
__________________


Baseball Maelstrom - Commish/ St Louis Cardinals
USBA - Las Vegas Scorpions

sporr is offline   Reply With Quote
Old 04-05-2007, 04:49 PM   #13 (permalink)
Hall Of Famer
 
robster1225's Avatar
 
Join Date: Jun 2006
Location: Long Branch, NJ
Posts: 2,524
Sorry, I haven't had a chance to look at that league file, but I will do so tonight. I'm sorry to keep you guys waiting on this.
__________________

Total Sports World - The Place To Get Your Sports Fix!

eMLB - New York Mets
2013 - 30-23
2014 - 93-69 (First ever post season appearance for the Mets)



BLB - Los Lunas Javelinas
robster1225 is offline   Reply With Quote
Old 04-05-2007, 11:26 PM   #14 (permalink)
Hall Of Famer
 
robster1225's Avatar
 
Join Date: Jun 2006
Location: Long Branch, NJ
Posts: 2,524
After looking at your file, I'm officially stumped. I tested this in one of my leagues, and I got the same thing.

So, I'll TT this for Andreas to look at, but until then, custom editing the templates, as outlined in my guide, as well as putting your images in the main DATA templates folder will get the job done. I recommend custom editing the templates, as it gives you more flexibility. If you look at the reports I linked to, you should notice that I made the images bigger on the team pages by messing around with some HTML. If the reports aren't updated yet with that change, I'll get a screen shot up. It's quite amazing how much you can edit, honestly.

TT: 3301
__________________

Total Sports World - The Place To Get Your Sports Fix!

eMLB - New York Mets
2013 - 30-23
2014 - 93-69 (First ever post season appearance for the Mets)



BLB - Los Lunas Javelinas
robster1225 is offline   Reply With Quote
Old 04-11-2007, 06:07 AM   #15 (permalink)
Administrator
 
Andreas Raht's Avatar
 
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 4,172
Sorry guys, that's been a bug! The files have been copied each time when you load a game. Will be fixed in patch #2. They will only be copied if they don't exist.
Andreas Raht is offline   Reply With Quote
Old 04-12-2007, 01:48 PM   #16 (permalink)
Hall Of Famer
 
robster1225's Avatar
 
Join Date: Jun 2006
Location: Long Branch, NJ
Posts: 2,524
Thanks, Andreas! I know I for one love the customization of these HTML pages, so I'm glad your fixing this issue.
__________________

Total Sports World - The Place To Get Your Sports Fix!

eMLB - New York Mets
2013 - 30-23
2014 - 93-69 (First ever post season appearance for the Mets)



BLB - Los Lunas Javelinas
robster1225 is offline   Reply With Quote
Old 04-12-2007, 01:57 PM   #17 (permalink)
Administrator
 
Andreas Raht's Avatar
 
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 4,172
Quote:
Originally Posted by robster1225 View Post
This will eventually be in the Game Guide, but until then, here ya go.

If you find something is inaccurate, please let me know, and if you have questions, please post here.

http://www.robster1225.com/htmlguide.pdf

Here's an example of what you can do if you follow these steps:
http://ootp.oldredboat.com/news/html..._100_home.html
First let me thank you for that guide! Nice one!

Now what I've found:

Quote:

The wonderful people at SI were kind enough to include .psd files of the images used in the HTML
reports. You can find this folder inside templates/images. These files can be edited with photoshop or a
free program called The Gimp. If you don't have either of those programs, you can still create images
using which ever program you choose. After creating the images either name them the same as the
default image and then replace it in the “template” folder you are working in, or you can edit the template
with the correct name of the image. Remember, if you overwrite an image in that “master” template file,
you are replacing the image throughout the entire game, so backup that folder.
We didn't include the .psd files AFAIK

Images are always taken from /league folder.lg/news/html/images. They are copied into this folder when you create a league. The "master" folder where they come from is /data/templates/images, that's right.

The styles.css will be copied to /league folder.lg/news/html/ when you create a league database. Each database always has it's own styles.css.

So, changes to the master images folder or to the master styles.css will have effect when you create a league database next time, but not for existing league databases.
Andreas Raht is offline   Reply With Quote
Old 04-12-2007, 02:02 PM   #18 (permalink)
Administrator
 
Andreas Raht's Avatar
 
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 4,172
dola,

Feel free to redesign complete pages!

If you for example want to remove anything from a pages, you can do that. OOTP will not crash when it tries to replace a token and doesn't find it in the template. Just adding tokens will not work because their needs to be the code in OOTP to replace the token with a value.

Tokens? A token is a placeholder in the template, which is being replaced with a value by OOTP when OOTP builds the report. Looks like this:
[%VORP]. Must not be changed!

If you edit HTML, please keep in mind that OOTP's in-game browser has limited capabilities
Andreas Raht is offline   Reply With Quote
Old 04-12-2007, 02:09 PM   #19 (permalink)
Hall Of Famer
 
robster1225's Avatar
 
Join Date: Jun 2006
Location: Long Branch, NJ
Posts: 2,524
Quote:
Originally Posted by Andreas Raht View Post
We didn't include the .psd files AFAIK

Images are always taken from /league folder.lg/news/html/images. They are copied into this folder when you create a league. The "master" folder where they come from is /data/templates/images, that's right.

The styles.css will be copied to /league folder.lg/news/html/ when you create a league database. Each database always has it's own styles.css.

So, changes to the master images folder or to the master styles.css will have effect when you create a league database next time, but not for existing league databases.
Andreas, the .psd files are in data/templates/images. Thanks for clarifying the rest, I tried to in the guide, but it may not have come out correctly. Anything in data/templates is the "master" file, but each save (database) can have it's own template and images.
__________________

Total Sports World - The Place To Get Your Sports Fix!

eMLB - New York Mets
2013 - 30-23
2014 - 93-69 (First ever post season appearance for the Mets)



BLB - Los Lunas Javelinas
robster1225 is offline   Reply With Quote
Old 04-22-2007, 03:00 PM   #20 (permalink)
Hall Of Famer
 
magnet's Avatar
 
Join Date: Jun 2003
Location: Twins Territory
Posts: 4,889
Quote:
Originally Posted by Andreas Raht View Post
dola,

Feel free to redesign complete pages!

If you for example want to remove anything from a pages, you can do that. OOTP will not crash when it tries to replace a token and doesn't find it in the template. Just adding tokens will not work because their needs to be the code in OOTP to replace the token with a value.

Tokens? A token is a placeholder in the template, which is being replaced with a value by OOTP when OOTP builds the report. Looks like this:
[%VORP]. Must not be changed!

If you edit HTML, please keep in mind that OOTP's in-game browser has limited capabilities
What kinds of limited capabilites? I'm not going to attempt to imbed flash or java or anything, but I am a little curious.
__________________
-Jeff

Avatar - Harry Stovey
OTBA - Minneapolis Beermen (2017 - )
Clinton League - Kansas City Royals (1993 - ) AL Central Champs: 1994
LNB - Commissioner/Minneapolis Madness (2007 - ) AL Champs: 2009


Six Pitchers - 2007 WINNER! 103-56, 3.25 ERA

Twin City Long Ball
magnet 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 06:00 PM.


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