Pr0 n00b Posted November 27, 2015 Posted November 27, 2015 So im new to Jedi knight jedi academy and found out that you can put all the iconic charachters so i downloaded a lot of them and put them into the game but i put to many of them and now its says i need to get the files smaller to work.i was reading about a OpenJk that can make all of the npc usable at once but i dont know how do i use it if someone could help me that would be great !
Asgarath83 Posted November 29, 2015 Posted November 29, 2015 You need to use microsoft visual studio 2010\2012 + cmake.cmake for making the solution, microsoft visual studio for building the exe of Openjk.Here the tutorial:http://jkhub.org/tutorials/article/145-compiling-openjk-win32-must-read-for-new-coders/you can download here on github
Pr0 n00b Posted November 29, 2015 Author Posted November 29, 2015 You need to use microsoft visual studio 2010\2012 + cmake.cmake for making the solution, microsoft visual studio for building the exe of Openjk.Here the tutorial:http://jkhub.org/tutorials/article/145-compiling-openjk-win32-must-read-for-new-coders/you can download here on github so if i do this i can put more NPCs ?
Asgarath83 Posted November 30, 2015 Posted November 30, 2015 so if i do this i can put more NPCs ?it's necessary to change a little line of code on SP client for expand the buffer on NPC. Openjk however not get more the error of npc file too big.simply, if you put too many NPCs, they aren't read, but you can edit the code about this.go do npcs_stats.cppand change this: // NPC parameters file : ext_data/NPCs/*.npc* // #define MAX_NPC_DATA_SIZE 0x40000 to // NPC parameters file : ext_data/NPCs/*.npc* // #define MAX_NPC_DATA_SIZE 0x80000 // original is 0x40000 so you can get a double value of NPC files before overload the allocating buffer memory. Pr0 n00b likes this
Pr0 n00b Posted November 30, 2015 Author Posted November 30, 2015 it's necessary to change a little line of code on SP client for expand the buffer on NPC. Openjk however not get more the error of npc file too big.simply, if you put too many NPCs, they aren't read, but you can edit the code about this.go do npcs_stats.cppand change this: // NPC parameters file : ext_data/NPCs/*.npc* // #define MAX_NPC_DATA_SIZE 0x40000 to // NPC parameters file : ext_data/NPCs/*.npc* // #define MAX_NPC_DATA_SIZE 0x80000 // original is 0x40000 so you can get a double value of NPC files before overload the allocating buffer memory.I think i get it but just to be sure first download openjk then i find those values and change them
Asgarath83 Posted November 30, 2015 Posted November 30, 2015 I think i get it but just to be sure first download openjk then i find those values and change them yes,0: install microsoft visual studio 2012 or superior.1: download openjk2: download cmake3: make your solution with cmake following eezstreet tutorial.4: locate and edit what i told.5: build the SP client and SP dll.6: put into gamedata (back up your dll and Jasp exe before) Pr0 n00b likes this
Pr0 n00b Posted November 30, 2015 Author Posted November 30, 2015 (edited) yes,0: install microsoft visual studio 2012 or superior.1: download openjk2: download cmake3: make your solution with cmake following eezstreet tutorial.4: locate and edit what i told.5: build the SP client and SP dll.6: put into gamedata (back up your dll and Jasp exe before)Thanks friend you are really helpfulledit: where can i find the tutorial for cmakeMay the force be with you! Edited November 30, 2015 by Pr0 n00b
Asgarath83 Posted December 1, 2015 Posted December 1, 2015 http://jkhub.org/tutorials/article/145-compiling-openjk-win32-must-read-for-new-coders/ Follow these istruction for build your solution.after, open with visual studio and good job with coding. Thanks man, maybe the force be with you too
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