Fitness.com
Advertisement

Go Back   Sports Forum > Community > Football Manager > Skinning Hideout

Skinning Hideout

Use this forum to help edit the cosmetic side of Football Manager.


» Site Navigation
 > Shop
» Current Poll
Best 5 club teams in history of Football:
Liverpool 1977-1978 - 100.00%
1 Vote
Real Madrid 1956-1960 - 0%
0 Votes
Juventus 1985 - 0%
0 Votes
Milan 1989-1990 - 100.00%
1 Vote
Ajax 1971-1973 - 0%
0 Votes
Santos 1962-1963 - 0%
0 Votes
Torinho 1940's - 100.00%
1 Vote
Ajax 1995 - 0%
0 Votes
Flamengo 1981 - 100.00%
1 Vote
Benfica 1961-1962 - 100.00%
1 Vote
Total Votes: 1
You may not vote on this poll.
» Stats
Members: 103,399
Threads: 84,986
Posts: 1,031,253
Top Poster: Karky (9,545)
Welcome to our newest member, cosmick
» Fitness Shop
If you register for free, you will be able to post threads, vote on polls and lots more. If you have problems with the registration or logging in, please contact the administrator.

Reply
 
LinkBack Thread Tools Display Modes
Old 10-12-2005, 11:20 AM   A little bit of editor writing knowledge needed Post #1
Joe Blow
 
Join Date: Mar 2008
Posts: 0
Rep Power: 0
retired_rockstar22 is an unknown quantity at this point
Default A little bit of editor writing knowledge needed

Hi all, Im hoping one of the editing gurus that hang out around here can help me with this problem.

I have messed around with artmoney and been able to change loads of stuff (before I registered on here and found all those lovely tables) Doh!

With that in mind I decided to write a quick program to edit the values I wanted. Now before you say, there are already editors out there, I know that, but Im a curious kind of guy, and I want to see if I could do this kind of thing.

Well Ive figured out how to attach to the process and read and write to and from the memory locations, the problem I have come across, is that I dont know where to jump in and start reading.

Does MCFM and other such editors search for a player ID sequentially through the whole of the memory space? I cant see this being the case, as it would take too long and return multiple results. So My question is...how do you know where to being the read and the length of the record, because they are variable lengths?

Really hoping someone can help satisfy my curiosity.

Thanks

Foxedup
retired_rockstar22 is offline   Reply With Quote
Old 10-12-2005, 12:17 PM   A little bit of editor writing knowledge needed Post #2
Newb
 
Join Date: Mar 2008
Posts: 0
Rep Power: 0
retired_plantsomethinggreen is an unknown quantity at this point
Default

As far as I know, MCFM works with pointers to certain blocks in memory. But if I knew how exactly, I'd write my own editor
retired_plantsomethinggreen is offline   Reply With Quote
Old 10-12-2005, 02:03 PM   A little bit of editor writing knowledge needed Post #3
Newb
 
Join Date: Oct 2007
Posts: 0
Rep Power: 0
borat123 is an unknown quantity at this point
Default

MCFM does indeed work by using pointers to memory blocks. I believe that FM Modifier uses id's. This method isn't the greatest as it means you first have to find out what id a player or team is first. With MCFM, you just type the name in.

Being knowledgable with Artmoney doesn't mean that you'll be able to create a fully functional editor as the interface for memory editing is already available in Artmoney.

Every year Mind Compression get together and determine the structure for the game using the usual tools (our proprietry hex editor mostly).

I think you'll find that if you get some decent hex editor (Hex Workshop is still the universal standard), then you can go a long way towards determining the structure of the game.
borat123 is offline   Reply With Quote
Old 10-12-2005, 02:20 PM   A little bit of editor writing knowledge needed Post #4
Joe Blow
 
Join Date: Mar 2008
Posts: 0
Rep Power: 0
retired_rockstar22 is an unknown quantity at this point
Default

Indeed I understand that using artmoney doesnt even begin to scratch the surface of the problem, but I have already written some code to do the memory editing bit, and have spent hours pouring over hex dumps. My problem is just that I cant seem phathom out the size and starting points of these memory blocks you talk about

Now Im not asking for a complete answer, but is it possible to get a few pointers?

Again I stress that this is only really for my curiosity, you guys at MC have the market pretty much sewn up with a great product, and I dont want to release an editor of my own, I just want to increase my knowledge about such matters.

Foxedup
retired_rockstar22 is offline   Reply With Quote
Old 10-12-2005, 02:56 PM   A little bit of editor writing knowledge needed Post #5
Newb
 
Join Date: Oct 2007
Posts: 0
Rep Power: 0
borat123 is an unknown quantity at this point
Default

You don't need to put a sig at the end of your post (not even mentioning that it's against forum rules) but I can already see your username at the left!

I can't divulge any source for MCFM (which, incidentally, is written in C#) but I can offer you some helpful pointers if you're looking to write something in C#. Time is limited right now and I'm busy tonight (Hull Fair) but I'll see what I can do tomorrow.

In the meantime. Try and look at PInvoke if you're interested in accessing Win32's from unmanaged API's in a .net environment (almost verbatim from http://www.pinvoke.net/).
borat123 is offline   Reply With Quote
Old 10-12-2005, 03:39 PM   A little bit of editor writing knowledge needed Post #6
Joe Blow
 
Join Date: Mar 2008
Posts: 0
Rep Power: 0
retired_rockstar22 is an unknown quantity at this point
Default

Fair enough about the signature, didnt mean to cause offense, but normally forum rules prevent those horrible big graphical banner style signatures not 7 characters

It would be awesome if you could give me some pointers and thanks for the link to pinvoke I hadnt seen that site before

I have put together my own declare statements (yes im using vb.net) using from the vb6 documentation to use the api's readprocessmemory and writeprocessmemory which seem to be working well, so that part is covered.

Look forward to hearing from you soon Dan
retired_rockstar22 is offline   Reply With Quote
Old 10-12-2005, 04:39 PM   A little bit of editor writing knowledge needed Post #7
Newb
 
Join Date: Oct 2007
Posts: 0
Rep Power: 0
borat123 is an unknown quantity at this point
Default

I won't ask you to reconsider your choice of VB.net but I'm well known (at least on the Programmers Oracle) for my extreme dislike of VB and BASIC in general. This is mostly due to my C64 days (which introduced me to BASIC) up to me VB6, macro and ASP based work with it (it's endless list of required DLL's for older versions of Windows didn't help either!).

PInvoke is good for VB.NET and .net languages in general. And, although the Nux and Nix heads in the population will tell you it's all rubbish and that Python is the king, they'll be sadly mistaken. Even more so, if they try and claim that it's actually a VHL language.

Ok... My childish qualms aside, lets see if I can help. I've got an hour before I need to leave for a haircut (it's 15:15 right now). If you can reply in enough time before then, then I should be able to help you today.

VB's process memory API's are generally ok and although I haven't written any programs which impliment them, there is plenty of info on the net regarding it. A lot of game development is done using VB and VB.net (mainly due to older lecturers still including it as a viable language). It's so popular in fact that, if you type readprocessmemory into Google, you're 90% certain to find a game dev related link within the first ten page results.

http://www.gamedev.net can help you a LOT more with that than I could.

What specifically do you want help with?

I can point you in the direction of places and what tools to look for but seeing as this is a programming question regarding pointers and help, it might be better suited to be in the Programmers Oracle (http://community.sigames.com/eve/ubb...rm/f/893197497) where members of SI post regularly. This forum is generally for the announcement of editors, bugs and other stuff that lower level users (people who just want to use the editor rather than discuss the inner workings of the readprocessmemory) would be.

If you wish to continue this discussion there as a new topic (perhaps referencing this one) then you're highly likely to get a good all round opinion from others and also the people who wrote the game in the first place!
borat123 is offline   Reply With Quote
Old 10-12-2005, 06:25 PM   A little bit of editor writing knowledge needed Post #8
Joe Blow
 
Join Date: Mar 2008
Posts: 0
Rep Power: 0
retired_rockstar22 is an unknown quantity at this point
Default

Looks like i missed you, I had to actually do some work

I think either we have our wires crossed or I am missing something. I can do the memory reading/writing stuff, thats not what I am asking about.

I am trying to get some help on the structure of the FM database when held in memory, ie how do people find the begining of the players section and or find the offset of a particular player.
retired_rockstar22 is offline   Reply With Quote
Reply

Go Back   Sports Forum > Community > Football Manager > Skinning Hideout

Bookmarks

Thread Tools
Display Modes


Similar threads to A little bit of editor writing knowledge needed
Thread Thread Starter Forum Replies Last Post
Someone with good computer knowledge needed
Someone with good computer knowledge needed: Hi, I turned off my laptop about a hour ago, but...
jonahno6 The Pub 12 11-22-2007 06:40 PM
Writing references?
Writing references?: An ex employee has asked me for a reference, but...
rosslarkin The Pub 30 09-05-2007 09:49 PM
writing-need help!!!! pls
writing-need help!!!! pls: Hi! How can i do text like there is in this...
Lukke General Photoshop Board 3 10-30-2006 06:15 PM
Writing a 'real time' editor for FM2006
Writing a 'real time' editor for FM2006: Nobody has made any details available. Just...
Dan Atkinson Skinning Hideout 0 02-02-2006 01:03 AM
Sky writing tutorials?
Sky writing tutorials?: i was wondering if any of the gurus here knew of...
Geoff General Photoshop Board 5 04-02-2003 04:29 AM

More threads of Foxedup
Thread Date Forum Replies Last Post
A little bit of editor writing knowledge needed
A little bit of editor writing knowledge needed: Hi all, Im hoping one of the editing gurus that...
10-12-2005 Skinning Hideout 7 10-12-2005 06:25 PM

Other threads in forum Skinning Hideout
Thread Date Thread Starter Replies Last Post
MLS Wage Cap
MLS Wage Cap: I know people have asked if they can remove it...
08-06-2007 Voratian 4 08-07-2007 05:15 AM
Saved Games/datbases & Scenarios
Saved Games/datbases & Scenarios: I am just wondering whether anyone has any great...
06-24-2007 pc123 0 06-24-2007 07:14 PM
Background (left/right) templates
Background (left/right) templates: Has any one got a template so i can create my own...
10-23-2006 j4yc3e 1 10-23-2006 07:22 PM
I need help with my images/logos
I need help with my images/logos: I downloaded some new logos and some new jersey...
07-25-2006 ArsenalHenry 4 07-29-2006 06:35 PM
Why is my edt file not working?
Why is my edt file not working?: Hi guys, I'd be really grateful if you could tell...
05-23-2006 Sam the Seagull 4 06-20-2006 01:58 AM

» Online Users: 23
0 members and 23 guests
No Members online
Most users ever online was 2,128, 07-21-2008 at 08:27 PM.

All times are GMT +1. The time now is 09:07 AM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Fitness.com | Weight Loss | Training & Fitness | BodyBuilding | Chinese | Spanish | French | Germany | Italian | Friend Codes |
You are viewing A little bit of editor writing knowledge needed.