Where is User/Player data within Magic folder?
Continuing Development of MicroProse's Magic: The Gathering!
Moderators: BAgate, drool66, Aswan jaguar, gmzombie, stassy, CCGHQ Admins
Where is User/Player data within Magic folder?
by 0rion79 » 23 Feb 2012, 08:47
Hi, I'm experimenting a weird bug: it is a while that, when i build a new deck, I always have the "Name" and "e-mail" filled with default values (User & User e-mail).
I have cleaned all registry entries, re-installed the game and updated files with my backup copy. Still there must be something to fix not in the registry but among the files withing Magic the Gathering main directory. May you provide any clue? It is just a nuisance, not a real trouble but if I can fix it, it is better
I have cleaned all registry entries, re-installed the game and updated files with my backup copy. Still there must be something to fix not in the registry but among the files withing Magic the Gathering main directory. May you provide any clue? It is just a nuisance, not a real trouble but if I can fix it, it is better
-
0rion79 - Posts: 1520
- Joined: 24 Feb 2009, 18:33
- Location: Italy
- Has thanked: 94 times
- Been thanked: 61 times
Re: Where is User/Player data within Magic folder?
by stassy » 23 Feb 2012, 10:56
Did you try to modify you character face 1st before creating a deck?
- stassy
- Moderator
- Posts: 5274
- Joined: 25 Feb 2009, 07:06
- Has thanked: 471 times
- Been thanked: 337 times
Re: Where is User/Player data within Magic folder?
by 0rion79 » 23 Feb 2012, 11:12
Yes, nothing changes: still default values.
-
0rion79 - Posts: 1520
- Joined: 24 Feb 2009, 18:33
- Location: Italy
- Has thanked: 94 times
- Been thanked: 61 times
Re: Where is User/Player data within Magic folder?
by stassy » 23 Feb 2012, 13:06
Unfortunately, seems to be the default parameters are hardcoded in the DeckDll.dll, you can see that in the source code Deckdll.asm using a text editor, or maybe it can be possible to modify in the config file we have but we need the proper syntax.
Edit: In fact, you could recreate another DeckDll.dll with your own paramaters using the Mok source code and bat files
Edit: In fact, you could recreate another DeckDll.dll with your own paramaters using the Mok source code and bat files
Though I am still sure you can edit more easily in a config file, looking after that first.MakeDeckDll.bat will create fresh DeckDLL.dll.
- stassy
- Moderator
- Posts: 5274
- Joined: 25 Feb 2009, 07:06
- Has thanked: 471 times
- Been thanked: 337 times
Re: Where is User/Player data within Magic folder?
by 0rion79 » 23 Feb 2012, 14:13
There nis a DeckDLL ASM file which I can edit with Notepad++ but it doesn't affect the game. I have no idea about how to edit the DDL, anyway!
-
0rion79 - Posts: 1520
- Joined: 24 Feb 2009, 18:33
- Location: Italy
- Has thanked: 94 times
- Been thanked: 61 times
Re: Where is User/Player data within Magic folder?
by stassy » 23 Feb 2012, 15:32
You don't have to edit dll file, just go to the folder srcmok, open the file DeckDll.asm with Notepad++ , find the lines below :
Then execute MakeDeckDll.bat and it should create for you a new Deckdll.dll with your new default data...
- Code: Select all
UserTxt db 'User',0 ;default name
UserEMailTxt db 'User E-Mail',0 ;default e-mail
Then execute MakeDeckDll.bat and it should create for you a new Deckdll.dll with your new default data...
- stassy
- Moderator
- Posts: 5274
- Joined: 25 Feb 2009, 07:06
- Has thanked: 471 times
- Been thanked: 337 times
Re: Where is User/Player data within Magic folder?
by 0rion79 » 23 Feb 2012, 17:29
At last, it worked! At first, I was editing a file in the main MtG root, that's why it was not working! There would really be the need of a clean ISO or a file cleaner utility... thank you!
-
0rion79 - Posts: 1520
- Joined: 24 Feb 2009, 18:33
- Location: Italy
- Has thanked: 94 times
- Been thanked: 61 times
Re: Where is User/Player data within Magic folder?
by stassy » 23 Feb 2012, 20:55
Well, we have Gargaroz version which is supposed to be the clean version, but somehow a bit more difficult to setup :p
- stassy
- Moderator
- Posts: 5274
- Joined: 25 Feb 2009, 07:06
- Has thanked: 471 times
- Been thanked: 337 times
Re: Where is User/Player data within Magic folder?
by 0rion79 » 23 Feb 2012, 22:25
Really, don't want to complicate my life
-
0rion79 - Posts: 1520
- Joined: 24 Feb 2009, 18:33
- Location: Italy
- Has thanked: 94 times
- Been thanked: 61 times
Re: Where is User/Player data within Magic folder?
by gmzombie » 24 Feb 2012, 12:43
and you did try to use the deck info button on the deck builder so that you can change things like name and comments about the deck?
can I maze of ith your snowstorm?
http://home.comcast.net/~gmzombie/index.html old stuff in here. don't use this stuff right now till I get time to get back into it and readjust.
http://home.comcast.net/~gmzombie/index.html old stuff in here. don't use this stuff right now till I get time to get back into it and readjust.
- gmzombie
- Posts: 857
- Joined: 26 Feb 2009, 01:05
- Location: Wyoming, Mi
- Has thanked: 200 times
- Been thanked: 51 times
Re: Where is User/Player data within Magic folder?
by stassy » 24 Feb 2012, 14:07
No, he meant he wanted to change data from the default name and email in the Deckbuilder, because when he create a deck he don't want everytime to change from User to Orion79.
It seems to be the default options cannot be easily changed (or we don't know the syntax to change it in Manalink.ini or whatever config file), so he had to recompile the DeckDll.dll source kindly provided by Mok...
It seems to be the default options cannot be easily changed (or we don't know the syntax to change it in Manalink.ini or whatever config file), so he had to recompile the DeckDll.dll source kindly provided by Mok...
- stassy
- Moderator
- Posts: 5274
- Joined: 25 Feb 2009, 07:06
- Has thanked: 471 times
- Been thanked: 337 times
Re: Where is User/Player data within Magic folder?
by 0rion79 » 24 Feb 2012, 15:37
Thank you Stassy! You can read my mind!
-
0rion79 - Posts: 1520
- Joined: 24 Feb 2009, 18:33
- Location: Italy
- Has thanked: 94 times
- Been thanked: 61 times
Re: Where is User/Player data within Magic folder?
by stassy » 24 Feb 2012, 19:10
Well, before mok ML3 rewrite it was possible to do that in the registry, but seems to be it's now hardcoded in the dll, will have to carefully check for new patch if some modifications were made to it, in that case a rebuild will be necessary but thanks mok we have the tools to do that now.
- stassy
- Moderator
- Posts: 5274
- Joined: 25 Feb 2009, 07:06
- Has thanked: 471 times
- Been thanked: 337 times
Re: Where is User/Player data within Magic folder?
by 0rion79 » 24 Feb 2012, 21:42
Yes, true. In fact my first attempt has been to clean the whole registry and re-install the game to fix the trouble, but with no success!
-
0rion79 - Posts: 1520
- Joined: 24 Feb 2009, 18:33
- Location: Italy
- Has thanked: 94 times
- Been thanked: 61 times
14 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 33 guests