PCM.daily banner
23-11-2024 21:47
PCM.daily
Users Online
· Guests Online: 85

· Members Online: 1
matfield

· Total Members: 161,796
· Newest Member: PogPatrol23
View Thread
PCM.daily » Pro Cycling Manager 2006-2020 » Pro Cycling Manager 2011
 Print Thread
Excel Editor (Version 5, July 1st)
Ad Bot
Posted on 23-11-2024 21:47
Bot Agent

Posts: Countless
Joined: 23.11.09

IP: None  
Lachi
I made a new "editor".
You can use it to extract the DB into excel.

This is a very basic tool but it should be faster than the full editor.

You can select which tables to open in excel because it can take quite some time to import bigger tables into an excel sheet.

Also you can select which tables you want to export back to the database.

I only tested it with Excel 2010. It should work with Excel 2007 for sure and maybe even with Excel 2003. It does not work with earlier versions due to missing XML functionality.

Version 5 allows to open additional tables at any time once you extracted the database.
Lachi attached the following file:
excel_v05.rar [116.94kB / 251 Downloads]

Edited by Lachi on 01-07-2011 22:36
 
CrueTrue
I get a "Path not found" error in Excel 2007.

Debugging highlights a "ChDir strPath" in modCDB.
 
http://www.pcmdaily.com
roturn
Same here with Excel 2007.
 
Lachi
I uploaded another version, please try again.
 
CrueTrue
Same problem as before.
 
http://www.pcmdaily.com
Lachi
Did you extract all three files from the RAR into the same folder?
 
roturn
Still the problem. Exactly the one CT described above.
All 3 files are in the same folder.
 
Lachi
What does happen after you clicked the button and selected the cdb?
Do you see a window like the one on the attached picture?
If yes, is there a folder called Data which contains another folder with the xml files?

BTW: I uploaded another version, please try that if you can answer both questions with yes.
Lachi attached the following image:
excelexporter.jpg

Edited by Lachi on 29-06-2011 22:47
 
roturn
No, it immediately says path not found and then the window with the debugging and help buttons.
Clicking on debugging will open some files with the "ChDir strPath" being marked yellow.
 
Lachi
OK, I think I found the error. Try version 4 please.
 
roturn
It`s working now I think and looks pretty good.
 
Pierre-Rolland
It's strange, Every time I need open another table, I need to extract again a DB and open the table....
Pierre-Rolland ==> Mista-Flo

sd-5.archive-host.com/membres/images/c0d9dfa4e1319c8069e1aa1099e12cb958ea1c18/wordpress.png sd-5.archive-host.com/membres/images/c0d9dfa4e1319c8069e1aa1099e12cb958ea1c18/twitter.png
sd-5.archive-host.com/membres/images/c0d9dfa4e1319c8069e1aa1099e12cb958ea1c18/facebook.png sd-5.archive-host.com/membres/images/c0d9dfa4e1319c8069e1aa1099e12cb958ea1c18/youtube2.png
sd-5.archive-host.com/membres/images/c0d9dfa4e1319c8069e1aa1099e12cb958ea1c18/pcmf.png
 
http://pcmfrance.com/
Lachi
No, you don't have to:
1. Select the DB
2.a Select all tables you want to open (use CTRL to select multiple tables)
2.b Select no tables and click Cancel instead. This will open all tables.
3. Select the sheet of the table you want to edit

But I will add another button to select a table without extracting again in version 5.
 
titleist82
v04 works fine for me (office 2003)

nice job!
 
pjstvv
How do you read .cdb file? I can't manage to do that...
 
Lachi
There are 4 buttons in the excel file.
None of them is labeled "read .cdb file".

First button "Extract CDB":
You have to select a database file or a save, then wait until the tables have been extracted.
(Now you have to select the tables, see next button. Or you click on CANCEL to open all)

Second button "Open table"
You have to select the table(s) you want to open, then wait until the selected tables have been imported into excel.

Third button "Build CDB"
Does the opposite as the first button

Fourth button "Clear all"
Never click this button unless you know what you are doing. You have been warned.

So what exactly is your question?

Also I am really wondering why you would want to use this tool as it is the "worst" editor for people without a clue. Excel is excellent for mass changes but it has none of the good features of the Fast Editor or my editor.
Edited by Lachi on 06-07-2011 00:57
 
cunego59
Just a quick question? Is there any way to make this editor work with Open Office? Because although I activate Macros, nothing happens when I click the Extract CDB button.
 
Lachi
I don't have OO but I was told that it works well. Maybe download the latest version of OO if you don't have it already.
BTW: Did you extract all the files into a folder?
 
cunego59
I will try it with the newest version. Yes, all three files are in one folder. I guess I don't need to put the savegame I want to edit in any specific place?
 
Lachi
No, you don't have to move the save game.

 
Jump to Forum:
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Latest content
Screenshots
On request: Maxbo Bianchi
On request: Maxbo Bianchi
PCM 07: PCM-Spain DB
Fantasy Betting
Current bets:
No bets available.
Best gamblers:
bullet fighti... 18,376 PCM$
bullet df_Trek 17,374 PCM$
bullet Marcovdw 15,345 PCM$
bullet jseadog1 13,552 PCM$
bullet baseba... 10,439 PCM$

bullet Main Fantasy Betting page
bullet Rankings: Top 100
ManGame Betting
Current bets:
No bets available.
Best gamblers:
bullet Ollfardh 21,890 PCM$
bullet df_Trek 15,520 PCM$
bullet Marcovdw 14,800 PCM$
bullet jseadog1 13,500 PCM$
bullet baseball... 7,332 PCM$

bullet Main MG Betting page
bullet Get weekly MG PCM$
bullet Rankings: Top 100
Render time: 0.34 seconds