|
||||
| ||||
|
|||||||
| FHM9 - General Discussion Talk about the latest & greatest FHM, officially licensed by the NHL! |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Major Leagues
Join Date: May 2020
Location: Murfreesboro, TN
Posts: 312
|
CSV to HTML?
Does anyone know of anything that would make my CSV info usable? I have no clue what I am looking at, and I had heard rumors that a CSV to HTML tool was in the works by someone.
|
|
|
|
|
|
#2 | |
|
Major Leagues
Join Date: Oct 2017
Location: I hate hackers!
Posts: 381
|
Quote:
|
|
|
|
|
|
|
#3 | |
|
Major Leagues
Join Date: May 2020
Location: Murfreesboro, TN
Posts: 312
|
Quote:
EDIT: Could not get it to work on FHM7 or 9. Last edited by reverist; 11-29-2022 at 02:20 PM. |
|
|
|
|
|
|
#4 |
|
Minors (Double A)
Join Date: Mar 2013
Posts: 134
|
Yes i have this tool and it works with FHM 7 buts its very limited. And if you changed the structure of your league you will miss a lot of stats....And i ask Landru for an update or something like this but he dont want to work on this tool anymore.
I hope to see in the future that kind of tool but with more information like Attributs - Salary - contract - Stats - Records - Standings - More information on the boxscore and lot more CSV to html or directly an export to html is a must. CSV are for people who know how to work with those files and need to know how work a database. html is more simple. Anyway i hope every year to see this tool add to the game..... |
|
|
|
|
|
#5 |
|
All Star Starter
Join Date: Jan 2021
Posts: 1,740
|
Even if you do have some experience with CSV files the ones dumped from the game are not that straight forward, firstly it's the entire universes info all in one disorganised go.
Also, the 'player_master' csv was a bit of a nightmare to work with for the following reasons: The output CSV appears to contain characters escaped in the format Code:
AmpersandHash123semicolon as {
Code:
; As a result, the CSV file is effectively invalid unless you first unescape these characters before trying to parse it as a CSV file. These characters either need to be unesecaped first, or offending fields need to be encapsulated in speech marks "". It's encoded as 'cp437' too which I've not worked with before which caused some issues too but yeah, it was not simple. Other games like Front Office Football have a very simple and readable dump of CSVs which make working with those a pleasure, I wish FHM could adopt some of that. I know Jeff mentioned to someone else that the CSV would need sufficient rewriting for it to include something like an interface allowing you to choose the leagues you want to be dumped so I'm not holding my breath for it to happen any time soon but it's a real shame, I wanted to mess with these CSVs and it was more frustrating than anything else even to do the most basic things. Last edited by tomkmb; 11-30-2022 at 06:47 AM. |
|
|
|
|
|
#6 | |||
|
Major Leagues
Join Date: Oct 2017
Location: I hate hackers!
Posts: 381
|
Quote:
I couldn't get the FHM7 one to work with FHM8. But I private messaged him and he emailed me one for FHM8 that supposedly also works with 9. I don't see that one actually listed anywhere here on the forums. Quote:
Is all that exported in the CSV now? Quote:
|
|||
|
|
|
|
|
#7 | |
|
Minors (Double A)
Join Date: Aug 2002
Location: Nova Scotia, Canada
Posts: 179
|
Quote:
I still had to code up all the HTML reports stuff but ran into this very issue you mention with the ampersands causing issues. |
|
|
|
|
|
|
#8 | |
|
All Star Starter
Join Date: Jan 2021
Posts: 1,740
|
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
|
|