How is modding done?

Got something to share about your favorite games? Strategies? Game codes? Discuss gaming topics here!

How is modding done?

Post by VvGHOSTvV on Tue Jul 24, 2012 7:40 pm
([msg=68288]see How is modding done?[/msg])

How is it possible? What does it require?
MAY THE FORCE BE WITH YOU
User avatar
VvGHOSTvV
New User
New User
 
Posts: 33
Joined: Thu Jul 19, 2012 7:09 pm
Location: Oklahoma
Blog: View Blog (0)


Re: How is modding done?

Post by centip3de on Tue Jul 24, 2012 11:48 pm
([msg=68291]see Re: How is modding done?[/msg])

VvGHOSTvV wrote:How is it possible? What does it require?


There are two main ways of going about this, one is legal, one is not.

1. A company provides an SDK to the public to develop mods/add-ons. For instance, World of Warcraft, and games made with the Half-Life 2 engine.
Requires: Game development knowledge, SDK knowledge, and (generally) C++/C knowledge


2. A game is disassembled, and understood completely. The programmer then will include his file into the disassembled code, linking to his own modification.
Requires: Game development knowledge, (generally) C/C++ knowledge, ASM knowledge, OllyDBG (or IDA Pro, GDB, or another disassembler) knowledge, Computer Science theory, lots and lots of patience.
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. -Rick Cook
User avatar
centip3de
Moderator
Moderator
 
Posts: 1449
Joined: Fri Aug 20, 2010 5:46 pm
Blog: View Blog (0)


Re: How is modding done?

Post by mShred on Wed Jul 25, 2012 2:18 am
([msg=68292]see Re: How is modding done?[/msg])

3. Let someone else do the hard work and role with it once they release it.
Profit.
Image

For those about to rock.
User avatar
mShred
Administrator
Administrator
 
Posts: 1766
Joined: Tue Jun 22, 2010 4:22 pm
Blog: View Blog (2)


Re: How is modding done?

Post by MNP_Hikaru on Wed Jul 25, 2012 10:24 am
([msg=68296]see Re: How is modding done?[/msg])

mShred wrote:3. Let someone else do the hard work and role with it once they release it.


Well... Depends on who's doing the designing.[X]
One of these days there's gonna be a real profound quote down here.
User avatar
MNP_Hikaru
Experienced User
Experienced User
 
Posts: 70
Joined: Tue Oct 05, 2010 9:22 pm
Blog: View Blog (0)


Re: How is modding done?

Post by tremor77 on Tue Jul 31, 2012 1:13 pm
([msg=68436]see Re: How is modding done?[/msg])

To add to above: Some games will have closed source code for the game itself, but provide an API with decent documentation for additional modding purposes rather a full blown SDK. In this instance all you need to do is learn the API, the docs (and general knowledge of whatever language is being used) and hack away.. best bet, grap someone else's open source mod and play around with that to get familiarized before diving into your own mods.
Image
User avatar
tremor77
Contributor
Contributor
 
Posts: 899
Joined: Wed Mar 31, 2010 12:00 pm
Location: New York
Blog: View Blog (0)


Re: How is bacon done?

Post by WallShadow on Tue Jul 31, 2012 8:15 pm
([msg=68440]see Re: How is bacon done?[/msg])

To add to the above: some games have a closed source and no API, but some people develop useful internal API's which you install as mods, and then develop your own mods to use the API externally. An example of this is the ModLoader mod for minecraft, which does nothing to the gameplay, but acts as an API for other people's mods so that conflicting mods won't overwrite each others files.
User avatar
WallShadow
Contributor
Contributor
 
Posts: 614
Joined: Tue Mar 06, 2012 9:37 pm
Blog: View Blog (0)


Re: How is modding done?

Post by ghost107 on Tue Jul 31, 2012 8:40 pm
([msg=68441]see Re: How is modding done?[/msg])

Adding above, similar to sdk(white box mods) some engines have incorporated an script engine(lua, lisp etc), or a plugin interface that will allow the end user to modify the behavior of the engine.

For a black box mods(not legal, in some cases), injecting a script/plugin engine into a game engine I think its much easier to mod then modding it entirely into a low level language.
ghost107
Poster
Poster
 
Posts: 132
Joined: Wed Jul 02, 2008 7:57 am
Blog: View Blog (0)


Re: How is modding done?

Post by WallShadow on Tue Jul 31, 2012 9:21 pm
([msg=68444]see Re: How is modding done?[/msg])

ghost107 wrote:For a black box mods(not legal, in some cases), injecting a script/plugin engine into a game engine I think its much easier to mod then modding it entirely into a low level language.


An example of this being the cheat mods that script kiddies install into their half-life 2 based game engine to speed hack and all that what-not.




And lastly, you can mod the game by using wrappers. Wrappers don't change the game files in any way, they simply act as a man-in-the-middle type of thing where they can make scripted pistols, radars which show you where and what other shit is, and just some chat based functionality. (in fact, this can be done with both / either the client or the server, servers with wrappers tend to have additional text functionality as well)
User avatar
WallShadow
Contributor
Contributor
 
Posts: 614
Joined: Tue Mar 06, 2012 9:37 pm
Blog: View Blog (0)


Re: How is modding done?

Post by cyberdrain on Sat Aug 04, 2012 3:25 pm
([msg=68514]see Re: How is modding done?[/msg])

And some mods are just as easy as changing or overwriting a few variables or images. Don't forget some games are made to be modable, even though the SDK might not be released. Then it could be as easy as opening an ini file and changing some variables. If you can get to the resources (images, sounds etc.), you can already mod a lot. The best way to learn: try something simple yourself, get into a team with an already done mod (as suggested) and then learn until you can do it yourself.

As you can see and probably tell, there can be a large difference between how difficult it is to mod one game compared to the next. Learning C++ is almost always required, as most professional games use that. It can be done without, but such a mod usually won't have the potential of one done with knowledge of programming and the game itself. That being said: it's almost always a better idea to mod than to create your own game from scratch. The framework being there already and all....
Free your mind / Think clearly
User avatar
cyberdrain
Addict
Addict
 
Posts: 1389
Joined: Sun Nov 27, 2011 1:58 pm
Blog: View Blog (0)


Re: How is modding done?

Post by VvGHOSTvV on Sun Aug 05, 2012 1:49 pm
([msg=68555]see Re: How is modding done?[/msg])

Thanx
MAY THE FORCE BE WITH YOU
User avatar
VvGHOSTvV
New User
New User
 
Posts: 33
Joined: Thu Jul 19, 2012 7:09 pm
Location: Oklahoma
Blog: View Blog (0)


Next

Return to Gaming

Who is online

Users browsing this forum: No registered users and 0 guests