It is currently 27 Apr 2024, 10:13
   
Text Size

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?

Postby 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 :)
User avatar
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?

Postby 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?

Postby 0rion79 » 23 Feb 2012, 11:12

Yes, nothing changes: still default values.
User avatar
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?

Postby 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

MakeDeckDll.bat will create fresh DeckDLL.dll.
Though I am still sure you can edit more easily in a config file, looking after that first.
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?

Postby 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!
User avatar
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?

Postby 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 :
Code: Select all
UserTxt         db   'User',0   ;default name
UserEMailTxt      db   'User E-Mail',0   ;default e-mail
Change User and User E-Mail to your liking, save and exit

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?

Postby 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!
User avatar
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?

Postby 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?

Postby 0rion79 » 23 Feb 2012, 22:25

Really, don't want to complicate my life :)
User avatar
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?

Postby 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.
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?

Postby 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...
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?

Postby 0rion79 » 24 Feb 2012, 15:37

Thank you Stassy! You can read my mind! :)
User avatar
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?

Postby 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?

Postby 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!
User avatar
0rion79
 
Posts: 1520
Joined: 24 Feb 2009, 18:33
Location: Italy
Has thanked: 94 times
Been thanked: 61 times


Return to ManaLink 3.0

Who is online

Users browsing this forum: No registered users and 52 guests


Who is online

In total there are 52 users online :: 0 registered, 0 hidden and 52 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 52 guests

Login Form