Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Accessing the OJP Source (Pre-SVN Posts)

Page: 3 of 3
 razorace
07-03-2006, 12:42 PM
#101
mmm, I think most of the lastest code is already on the repository, including the run penalties. Let me check into that.

As for compiling, you should probably be able to use the included instructions, but I haven't looked at them in ages.
 JRHockney*
07-04-2006, 4:20 AM
#102
OK, I think I found the old "make a mod" directions, but I dont know what many of the directions mean. how do I do the following:

2. Set the "game" project as the active project.

8. Set your configuration to Final and perform a "Build Solution" command to build a DLL for the game.

1. compile the dll as noted above
This produces a 'jampgamex86.dll' in the codemp\Final\ path.

3. Zip 'jampgamex86.dll' to TestMod.pk3

Question: After I create a new jampgames86.dll, can I just replace one of them in my existing Enhanced folder to make it work or will a pk3 of this override the existing ones? If I have to replace one, which one? Hopefully this will be the end of my questions on this, but this literal mod creating stuff is very new to me when it comes to code.

Oh yeah, and HAPPY 4TH OF JULY EVERYBODY!!!!!
 razorace
07-04-2006, 1:39 PM
#103
The new pk3 will override the old one as long as it's in lower alphabetical order. For example, the ojp_enhanceddlls_009.pk3 would be overridden by ojp_enhanceddlls_009a.pk3
 JRHockney*
07-05-2006, 7:51 PM
#104
Well Razor, I think I just figured out what the problem is about why I cant compile or build a dll: Apparently Visual C++ Express doesnt have that capability! :( (Unless I'm missing something that is). Ha, no wonder its free. THats what I get for being an amature coder. Does anybody know of a cheap or free way to compile and create dlls so I can patch the Enhanced code?
 JRHockney*
07-07-2006, 11:34 AM
#105
Does anybody know how to use Dev-C++ to create DLL code patches or changes that work on JKA?

Dev-C++ allows the creation of DLL's but you have label the project in the beginning as a DLL. I tried creating a DLL project and then copying and pasting my new code, but it wont compile right because many of the other files in the Enhanced code are referenced and I get a zillion errors when I try. Does this mean I have to import every other file into this project before it will compile? If so, is there a way I can just drag the entire folder of all of them into the project without manually dragging each file?

Any help I could get in this would be greatly appreciated. I'd really like to start to do my own tweaking of Enhanced so I can help balance things out that need balancing out. I cant afford a real version of visual C++ right now so I'm stuck with trying to figure out Dev-C++ (which is a free download btw).
 razorace
07-07-2006, 1:59 PM
#106
Have you tried compiling it without making any changes? That might be easier to figure out.
 Sushi_CW
07-10-2006, 12:35 PM
#107
Actually, Visual C++ Express DOES work. I was able to get OJP Enhanced to compile using it. However, you need to make sure that you have the very latest version of the Microsoft Platform SDK in order to get everything to work right (Microsoft® Windows Server 2003 R2 Platform SDK - March 2006 Edition).

Link to the platform SDK web install:
http://www.microsoft.com/downloads/details.aspx?FamilyId=0BAF2B35-C656-4969-ACE8-E4C0C0716ADB&displaylang=en)

Note that I wasn't able to get the web install working myself: it would always fail about 2/3 of the way through. What I ended up doing was downloading the SDK as an ISO image and installing from that.

Also, don't forget to change the include paths in your Visual C++ settings to include the platform SDK.
 ensiform
07-12-2006, 12:26 AM
#108
just so you know razor...

I have found a cvs2svn utility and its by the guys who made tortoise cvs/svn.

http://cvs2svn.tigris.org/)
 Sushi_CW
07-12-2006, 1:42 AM
#109
Just my 2 cents... I use subversion with TortoiseSVN at work and like it a whole lot better than CVS.
 ensiform
07-12-2006, 1:30 PM
#110
as do i, razor is just affraid to lose all of his precious cvs data, which the web version doesnt even show anyway until you start digging in. the log is broken for web.

I personally have my mod setup at opensvn with trac and it runs very nicely.

I started ojp there but havent really done anything as i don't think i can run a python script on it. and plus i cba to run python on my comp.

cvs really stinks especially from a client's pov. svn is much much nicer and and has support for 3rd party diff/merge apps or you can use the built-in one, which is plenty good. and btw razor, svn does have branch support.
 razorace
07-12-2006, 2:34 PM
#111
We will see, I'll check it out. :)
 razorace
10-02-2006, 12:30 AM
#112
Apprenently freepository has changed the access privilagies for new users. Right now, you can't get direct access to the OJP repository if you're a new user. :(

I'm looking in to solutions and am considering switching to Subversion.
 razorace
10-04-2006, 6:02 AM
#113
The new SVN repository is up. I'm still in the process of getting all the files transfered from the CVS repository but the important files are in place.

The repository is located @ https://opensvn.csie.org/ojp/). I've allowed anonymous checkout so people can start using it immediate.

Plus, as an added feature, we now also have a fancy bug/enhancements/etc tracker @ https://opensvn.csie.org/traccgi/ojp/wiki). You're welcome to submit things to the tracker.

This new setup is MUCH easier to understand and use. I haven't done any tutorials yet but some of you might be able to figure out TortoiseSVN (tortoisesvn.tigris.org).

Also, a special thanks to Ensiform for hassling me to make the change. :)

UPDATE: Finished the port of all the files from the CVS repository. WOoh!
Well, that's not entirely true. I've not ported the older, unused branches. If anyone needs them, I can port them over.
 Sushi_CW
10-05-2006, 12:18 AM
#114
Here's a quick tutorial:

1. Download and install TortoiseSVN.
2. Go to where you want to checkout the repository, right click, select "SVN Checkout", then input the URL https://opensvn.csie.org/ojp) .
3. Hit checkout, accept the security certificate, and wait.

This is so much easier. Thanks Razor!
 darthgrizavy
12-10-2006, 4:01 PM
#115
I had to use the force but I finally got it to download, nice.
Page: 3 of 3