eezstreet Posted October 11, 2012 Posted October 11, 2012 What is it?The JAMod system is a series of DLL files and such that allow for simple, yet oft-requested fixes. This just keeps all the reverse engineering in one place where it isn't going to be a pain in the ass to make DLLs for every single mod out there. When will it be finished?No clue. The base system should be done relatively quick. Plug-ins may take longer. What plug-ins will be available?The community can make plugins via the SDK. It's nothing like the MP sdk though. More reverse engineering is required.As far as plugins I'm planning on making:- JK2->JKA fixes (may require additional softcoded fixes such as map recompiles!)- HDR via JAVisPlus- Ghoul2 Transform Fix (they doubled a certain model limit between SP and MP. as a result, some models don't work in SP, while they work in MP). @@Inyri's gun should work with this plugin Other things that are possibilities:- Weapon extender (at some point)- HUD jailbreak (treats the hud.menu as an actual .menu, loading extra crap)- Support for other video/audio formats Installation into your mod The idea is that this is purely modular code, released with an SDK. You will need some extensive modifications to make it work on your mod system:Copied jagamex86.dll to base, renamed existing one to ProxyDLL.dllAdded JAMod.dll to your mod folder of choice (does NOT go in a PK3!)New jagamex86.dll in Gamedata to replace the (now renamed old one)Uninstallation is pretty simple:Remove the mod folder, .bat, and whatever else comes with the modOr if you want to just remove JAMod:Remove JAMod.dll, JAMod.ini, and all associated plugins that you have downloaded.Of if you want to revert to a pure version of SP (no difference as far as I know. feel free to correct me! some hooks may be left over from JK2: Unlimited days):Remove the jagamex86.dll from Gamedata Rename ProxyDLL.dll in your Gamedata to jagamex86.dll Remove the jagamex86.dll from base folder Remove mod folder and other mod files Shusumi, Delta_135, therfiles and 1 other like this
therfiles Posted October 11, 2012 Posted October 11, 2012 Hmmm...sounds really cool! Is this Odysseus? Can't wait for some of these features! "Hud jailbreak" will open up so many possibilities. Is it possible, however, to have all elements in the HUD? How would a button work, because the mouse movement is tied to the game atm. But, even adding show/hide stuff and cvar displays will simply be epic. Is weapon extender just adding more weapons? What exactly is this implying? Good work, as always, Eez!
eezstreet Posted October 11, 2012 Author Posted October 11, 2012 Hmmm...sounds really cool! Is this Odysseus?No.Can't wait for some of these features! "Hud jailbreak" will open up so many possibilities.I prefer the term "plugins". Is it possible, however, to have all elements in the HUD? How would a button work, because the mouse movement is tied to the game atm. But, even adding show/hide stuff and cvar displays will simply be epic.I think only stuff involving clickable elements wouldn't work.Is weapon extender just adding more weapons? What exactly is this implying?Extends virtually everything about weapons (including damage), but does not raise the cap. therfiles likes this
eezstreet Posted October 11, 2012 Author Posted October 11, 2012 Today's progress:Rewrote most of JAMod.dll, the old proxy system is just plain ugly and wrong and evilAdded the .ini loaderStarted on plugin discovery (all you have to do to make a plugin in JAMod is call it JAMod<YourPluginNameHere>.dll, make a section titled "[<your plugin name here>]", and in that section do: Active<YourPluginNameHere>=true; So if I made a plugin, titled "KillRosh" that killed all instances of Rosh after 5 minutes, I would make a JAModKillRosh.dll, and then add this to JAMod.ini: [KillRosh] ActiveKillRosh=true; My code would automatically be executed on startup, along with JAMod's other plugins. Note, some plugins can conflict. Also, there will be a slight hooking API done for you that calls some functions either before or after vmMain functions (such as DrawActiveFrame...note this does NOT hook the serverside stuff! SP is really weirdly handled like you would not believe) therfiles and Tempust85 like this
Delta_135 Posted October 11, 2012 Posted October 11, 2012 Sounds awesome so fari've always hated how "locked" sp was when it came to modding - Ghoul2 Transform Fix (they doubled a certain model limit between SP and MP. as a result, some models don't work in SP, while they work in MP). @@Inyri's gun should work with this plugin you mean the SV_SpawnServer (or whatever) size?
eezstreet Posted October 11, 2012 Author Posted October 11, 2012 you mean the SV_SpawnServer (or whatever) size?Yes. Or to be more precise:Ran out of transform space for Ghoul2 Models. Adjust MiniHeapSize in SV_SpawnServer.
eezstreet Posted October 11, 2012 Author Posted October 11, 2012 The core system is pretty much done. All I gotta do is make a decent API for hooking and make a few initial plugins. Morabis, therfiles and Delta_135 like this
Delta_135 Posted October 12, 2012 Posted October 12, 2012 Yes. Awesome, just one questionhow much are you gonna increase the size?
eezstreet Posted October 12, 2012 Author Posted October 12, 2012 Probably double it just like MP did, or make it into a user setting.
Dusty Posted October 20, 2012 Posted October 20, 2012 So how's this coming? I personally wish I could change how g_debugmelee works in Single Player. The problem is that I want to give melee katas and kicks etc. to the player without it being extremely overpowered. I'd like to make it something like this:g_debugmelee 1 - Gives you kicks and katas in addition to punches in melee. Katas can be broken out of by some stronger enemies (like Reborn/bosses etc.)g_debugmelee 2 - Gives you all the normal abilities. Katas can't be broken, and you can hold use to lean in every direction, you get the flip kicks, can stick to walls infintely etc. therfiles likes this
eezstreet Posted October 22, 2012 Author Posted October 22, 2012 Haven't been working on it because of master server code + JKG. Also have been missing out on working on Odysseus.If only I had an extra pair of hands or three... therfiles likes this
AshuraDX Posted October 22, 2012 Posted October 22, 2012 so you're messing with the SV_SpawnServer related error ?if vso did you find out what exactly causes it ?I currently get the error with one of my models , but another model with a higher vert count doesnt get it which is pretty confusing to me because so far I thought it was the vert count causing this
eezstreet Posted October 22, 2012 Author Posted October 22, 2012 It's a memory limit. Your ghoul2 model has too high of a filesize or something.
ChalklYne Posted October 23, 2012 Posted October 23, 2012 hey ashura, i got that error with proxy and started removing the meshes one by one until i found the problem peice which in this case was his head, i then deleted it and rebuilt the head with a lower polycount and it worked. i tried to just remove some edge loops on the head at first but removed em all the way to a box and it didnt work so i had to rebuild it. maybe a certain peice is causing it like in my case try it and see. just delete a part of the mesh startin with the head and recompile and see if the model gives the error, if it does, replace the head and move on to the arms or whatever u know? in my case it was 1 funky peice of geometry
AshuraDX Posted October 23, 2012 Posted October 23, 2012 in my case it was the combination of character model and hilt , chopping down both a little fixed it
Dusty Posted November 20, 2012 Posted November 20, 2012 So, for someone without any actual C programming knowledge, would it still be possible to use this at all? Obviously you couldn't do anything major, but just some basic tinkering or fiddling perhaps? Also, out of curiousity, is JA sp coded in C or C++?
Raz0r Posted November 21, 2012 Posted November 21, 2012 JA SP is coded in C++, with a lot of C style code. Ghoul2, EFX, weather(?) and such are in C++, a lot of the game logic itself is mostly C style.
Dusty Posted November 23, 2012 Posted November 23, 2012 Good to know. There are several things I'd like to do with the SP code which would all probably be over my head. Like:1. Make saber offense increase your ability to break parries slightly with each level (currently it only affects saber lock strength)2. Revamp saber defense slightly to reflect the changes in offense3. Make strong style slightly blockable while making it slightly faster and more comboable4. Make saber throw and kicking possible on the same saber (say default: altattack - saberthrow, while holding down use, altattack - kick, or something like that)
eezstreet Posted November 25, 2012 Author Posted November 25, 2012 JAMod has an API which allows for external DLLs to be loaded, but the code won't really be accessible unless you have some reverse engineering experience.
eezstreet Posted December 2, 2012 Author Posted December 2, 2012 Source code repo:http://code.google.com/p/jamod-plus-plugins/ All works, except for plugins, which currently aren't working (would appreciate some help as it pertains to a secret santa thing :!: )
Dusty Posted December 2, 2012 Posted December 2, 2012 When I go on that page I have trouble figuring out what I'm looking at! Anywhoo, I guess I'm out, as considering I'm not a programmer, reverse engineering is out of my range.
Fighter Posted December 3, 2012 Posted December 3, 2012 Source code repo:http://code.google.c...d-plus-plugins/ All works, except for plugins, which currently aren't working (would appreciate some help as it pertains to a secret santa thing :!: )Can you provide any specifics on the issue? therfiles likes this
eezstreet Posted December 3, 2012 Author Posted December 3, 2012 It just fails to load the DLL outright. which doesn't make any sense considering:the DLL is loaded the exact same way as JAMod.dllthe DLL has only one function, which basically just does math
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now