View Full Version : Prices of Sponsors


qu1nch0
15-12-2006, 05:18:PM
Does anyone know how to edit them?

socter
16-12-2006, 03:09:AM
please lower sig size to 300 x 100

bob_ng_1989
16-12-2006, 07:50:AM
had tis problem for a long time......
http://xs110.xs.to/xs110/06506/sponsor....JPG (http://xs.to)

any help would be greatly appreciated.....

StevePitts
16-12-2006, 10:54:AM
had tis problem for a long time......
Presumably this has been going on for several seasons?? How much money do you get after each game?? Does it differ when you win??

If you are playing on the PC is there any chance that you could email me your manager mode data file so that I can have a look at see what is in the career_sponsor_info table?? If so, drop me a PM and I'll let you have my email address

bob_ng_1989
16-12-2006, 03:59:PM
Steve Pitts.....i get 1230000000....after winnin a match....if i did not win , i will juz get 100000....(forgotten how many zero there is excatly) i haf send u a pm too

StevePitts
16-12-2006, 08:29:PM
i get 1230000000....after winnin a match....if i did not win , i will juz get 100000
Not wishing to be rude or anything, but have you done anything to hack your game (like a money patch, or ticket price changer, or just plain messing with the data files)?? I only ask because I'd like to understand whether this is a bug that anyone might stumble upon during normal play or whether it is triggered by some other numbers that are larger than the game can cope with.

Anyway, it turns out that the underlying problem here is really simple. If the number that represents the per game funding is larger than will fit in the space next to the 'Funding Per Game' text then you don't see a number there at all (this also seems to be more than possible with the 'Domestic Cup Bonus' line too). The game still holds a value, and awards you that amount of money, it just doesn't show up in the sponsor screen.

The simple answer is to change the two strings that define the header text, which are textids 12001 and 12004. I hacked my ENG.DB using a hex editor, but the easiest way to do it is to use DB Master and open the language database (which you will find in data\cmn\fe). Find the table records for textids 12001 and 12004 and shorten the associated text (I used 'Per Game' and 'Cup Bonus'), save the database file and then start the game. You should now see the correct values next to the shortened headings.

bob_ng_1989
17-12-2006, 04:15:AM
Steve Pitts , it did not solve my problem...
http://xs310.xs.to/xs310/06500/untitled111.JPG (http://xs.to)

the 123000% win bonus is still there.....i had previously used a $ trainer n things became a mess.....b4 i use the trainer, the win bonus was oni 40%, is there any way to change the win bonus back to 40%?
http://xs310.xs.to/xs310/06500/123000.JPG (http://xs.to)

StevePitts
17-12-2006, 04:22:PM
it did not solve my problem...Sorry old son, I'm afraid my psychic powers failed me. The only problem I could see in the screenshot was a lack of detail for the funding per game and cup bonus.

the 123000% win bonus is still there.....i had previously used a $ trainer n things became a mess.....b4 i use the trainer, the win bonus was oni 40%, is there any way to change the win bonus back to 40%?
Of course, but you will need to be able to use a hex editor to modify your manager mode data file (which you will find in your My Documents, under 'FIFA 07\B. Manager - blah', where blah is the name you chose when starting the career, or FIFA07 if you just hit Enter). Navigate to offset 0x1B08DC where you should find 20 bytes that (in hex) look like:

04000000 34000000 38000000 01000000 F4220000

If that isn't what you find at that offset, then DO NOT CHANGE ANYTHING because your manager mode data file is a different layout to mine and you'll end up damaging something. If it is what you find, then the next four bytes should be 19000000 (hex), which is the sponsor id of 'Maty' (so might well be different for others following these notes). I'm not sure what the next four bytes will be exactly, because you are playing in dollars and the conversion rate is 1.23 which produces some very odd values in euros (which is what the game uses internally) but it will be something like 007D4649 (which is your $1,000,000 per game funding, converted to euros and held as a floating point value).

It is the next four bytes (which are at offset 0x1B08F8 within the file) which represent the win bonus, and should currently be 286B6E4E (hex) which is the floating point value for 1,000,000,000 euros. This is the value that you want to change, and to get your original 40% you will need to replace it with (something like) 68CA9E48 (hex) which is the rough equivalent of $400,000 in euros.

If all of this frightens the life out of you, then you'll either have to live with what you have now or find a 'reverse trainer' that will put things back.

Oh, and for those trying to figure out these values for yourself, you may find the following site useful - http://babbage.cs.qc.edu/IEEE-754/Decimal.html - since it provides a means of converting from floating point to human-readable decimal notation and back again (use the 32 bit area for FIFA 07 values). However, bear in mind that the Intel processor stores numbers in a strange format (known as little-endian) where the bytes within each group of four are reversed, so if the page above shows a hex value of 489ECA68 then that actually needs to be input as 68CA9E48 (as shown earlier) and if you are looking to convert values that you find in the manager mode data file you'll need to reverse the bytes before entering them into the relevant boxes.

I hope that helps you (and anyone else with a similar problem) but I do realise it is frighteningly technical for the non-programmer, but I see no other way of explaining it all, and have no intention of producing a program to edit manager mode data files (although I am working on a 'schedule decongestant' to reduce the clutter of games generated by the game in manager mode)

bob_ng_1989
18-12-2006, 04:59:AM
thx Steve Pitts, everything backs to normal and now my win bonuses are back to 40%...thx alot

Comma
12-01-2007, 07:18:AM
Hello stevepitts,

I'm have a question. I have a situation where I am making to much money for the team and would like to decrease my percent increase without starting over my career. After following your directions, nothing changed. Is it possible that the american version is different or am i doing something wrong? Also, Since its possible to essentially take out the win increase, would it be possible to insert one into a career? Also, I dont know if its important, but at offset 0x1B08DC, the next 20 bytes don't look anything like that.

Thanks
,



EDIT:

I actually found the string you were talking about above. It was at offset 0x1b0984. But now i have another question. Does the manager mode file save in euros only? So say im playing in dollars, i would have to convert to euros to then edit the file correctly? The weird thing is, I am making $1,200,000 with my sponsor per game with a 32% increase which comes to about $1,590,000. But when I edited the place you said with the string you said for 400,000 euros my % increase only went up 1% and my total for a win was $1,600,000. When I try to edit the per game funding, I end up with the per game funding of $0 with an increase of I just dont understand what needs to be converted and what doesnt. I guess what I'm asking is, If what should i put in the converter you linked too in order to get the correct amount in dollars in my game? Should it be in euros or dollars? Sorry if its so confusing but i appreciate your help!

Cheers
,



EDIT EDIT:

After reading through your WHOLE post with great detail, I have answered my own question. I wasnt reversing the hex values. Thanks again

,