[Tutorial] How to compile the source

Status
Not open for further replies.
Joined
Jan 22, 2009
Messages
1,191
Reaction score
543
Requeriments:
Source Code:
Visual Studio 2005: (Google / Thepiratebay)
Visual Studio 2005 SP1:
Hotfix (Client, for fix error: Fatal error LNK1103: debugging information corrupt):
DirectX SDK (for Client):
Gamebryo 2.6 SDK: Don't necessary, incluse with source
Database + Script (I'm not sure if it works correctly):

Installing:

Follows the order:
- Install VS2005
- Install VS2005 SP1
- Install Hotfix
- Install DirectX SDK
- Enjoy (:

Adding DirectX SDK:
Tools > Options > Projects and Solutions > VC++ Directories
Viserion - [Tutorial] How to compile the source - RaGEZONE Forums

In Show directories for change for Include files
Click in New Line (Ctrl + Insert) and add directory from DirectX Include.

Example: C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Include

Put the line in last line.
Viserion - [Tutorial] How to compile the source - RaGEZONE Forums

Now, go in Show directories and change for Library files
- New Line and add directory from DirectX Lib.

Example: C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Lib\x86

Viserion - [Tutorial] How to compile the source - RaGEZONE Forums

Compiling:
Go in folder your Source Code.
For example, I will choose Client code for compile. ..\IRIS_CODE\Client

Open file Client.sln
Viserion - [Tutorial] How to compile the source - RaGEZONE Forums

Client.sln opened, now let's compile.

Right click on Solution 'Client and click in Rebuild Solution.
Viserion - [Tutorial] How to compile the source - RaGEZONE Forums

Do the same procedure with the others projects.

PS: Sorry, I don't know how compile "Patcher". Give 51~57 errors with *.obj and sorry my English.

Hmm, I don't have Client for this ServerFiles. I need help.
 
Last edited by a moderator:
PM'd you.
I'll need a couple days before I can dig through this code. It takes me longer with Japanese code than it does with Chinese. My systems are all configured for working with Vietnamese, Taiwanese, Korean and Chinese. Have language packs installed for Japanese, just not configured.

Will let you know how I fare soon.
Cheers.
 
Thanks holchan.
I've had bad storms yesterday and they're coming through again.
Downloaded the files to the laptop in case I lose power again.
Wont be able to compile on it, but I can sift through it at least.
-----------

When I refer to cHiPiDle's thread, I mean this one: http://forum.ragezone.com/f640/release-iris-1-18-server-920390/
When I refer to holchan's thread, I mean this one: http://forum.ragezone.com/f641/tutorial-compile-source-920921/

Adding this note here as well:
-----------------------------
STL seems to be an issue with both releases of source code cHiPiDle's and holchan's.
I can get holchan's Code to successfully compile, all but the patcher.

----------------------------------------
Update 4 AM 4/1/2003
----------------------------------------
Key = Build type (Note: Always make sure HttpDownLoader is set to <R>)
----------------
<D> = <Debug>
<R> = <Release>
<S> = <Release_Selling>
<U> = <Release_Unicode>
----------------
***Successful builds using the following Build Types***
<D> DummyClient
<R> AgentDemon
<S> Client
<R> GameServ
<R> HttpDownLoader
<R> Launcher
<R> LogDemon
<R> LoginSrv
<R> MapEditor
<R> ModelViewer
<R> PatchBackupMaker
<R> PatchMaker
<R> RC5Crypto
<R> ResourceChecker
<D> ServerTool
<D> UnPackTool
<U> ZipArchive
***Unsuccessful Build due to STL incompatability***
<Any build type> Patcher *Fail*

VS2005 <Includes>
------------------
ThirdParty\MilesWin\include <-- from cHiPiDle's post
ThirdParty\curl-7.21.3\include\curl <-- from cHiPiDle's post
IRIS_Code\RC5Crypto <-- from holchan's post
STLport-5.1.5\stlport <-- from cHiPiDle's post
C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Include <-- as mentioned in holchan's post

VS2005 <Libraries>
------------------
ThirdParty\MilesWin\lib <-- from cHiPiDle's post
ThirdParty\curl-7.21.3\lib\LIB-Release <-- from cHiPiDle's post
STLport-5.1.5\lib <-- from cHiPiDle's post
C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Lib\x86 <-- as mentioned in holchan's post

Build Order was same as listed above. It truly didn't matter when I built it this way.
Still looking into the Patcher issue with STLport-5.1.5 (this version is listed through out the source code, so it must have been a machine dependency based on architecture that allowed them to bypass this issue. would not surprise me if the code was originally compiled on either Sun Sparc, AIX, or HP-UX Mid-Range Servers; as this is the typical architecture for STLport development.)


Keeping notes in both threads kinda suxxors, but it is the only way I can guarantee I don't have to wonder who read what. ;-)
 
Last edited:
please reUpload Source Code,, thanks
 
So anyhow, successful built files:
--------------------------------
DummyClient.exe
IrisAgentDemon.exe
IrisClient.exe
IrisGameSrv.exe
IrisLauncher.exe
IrisLogDemon.exe
IrisLoginSrv.exe
IrisMapEditor.exe
ModelView.exe
RegenTool.exe
ServerTool.exe

Did not modify the Client password from your previous post, in case your curious.
Code:
Still the same:
#define PACK_PASSWORD	_T("dkdlfltmehdwjq10aks")

What I may do:
For STLport issues not recognizing some commands:
Just not going to fight this patcher right now.
It may very well be better to take what is there for the patcher and re-write it properly.
 
Last edited:
@holchan: POKE, look two posts above your question. ;-)
I uploaded the binaries :P Yes, it worked. Only patcher not work.

DummyClient.exe
IrisAgentDemon.exe
IrisClient.exe
IrisGameSrv.exe
IrisLauncher.exe
IrisLogDemon.exe
IrisLoginSrv.exe
IrisMapEditor.exe
ModelView.exe
RegenTool.exe
ServerTool.exe

Been playing on this client. I have the server off in this screen shot. I'm tied up working or I'd take more time to get you a screenie in game.
Cheers

Not sure which Iris_118.7z believe same as IRIS1.18.rar files I grabbed the databases n scripts from.
Forgive being tired and not recalling where I got both. I'll look through notes later tomorrow. I still have more Mid Terms to complete :-(
 

Attachments

  • JustShowingItWorked - [Tutorial] How to compile the source - RaGEZONE Forums
    JustShowingItWorked.webp
    43.3 KB · Views: 341
Last edited:
Question:
Why is it not recommended? It works. I see no benefit from writing something that is not being used regularly. No one is going to be "packing" files on a daily or even weekly basis, I'd be surprised if monthly packing was needed.

But this is not a PackTool. He only used winrar to open the file, type the password in, open file, extract what you want, and edit.
Reverse is open file with winrar (may have to use password), drag file from folder into proper location into winrar, and close winrar.

EDIT:
Yes, same exact process with these .pack files as used in the thread you mentioned.
Why write a tool or re-invent a process that is not needed?
The files may be packed, what once a week?
Useless to make code that doesn't need written for packing files when you just use the correct password to extract and then edit and then drag file back inside the .pack file while open inside winrar.
;-)

The format would be compress as "good" not higher if making a new one altogether. Going above good, makes it break the client reading .pack file.


---If I missed something about the "not recommended" please let me know, but I just tested and it worked on 2ddata.pack in the data folder.---
 
Last edited:
All the code I've ran across from holchan's post here is Korean and Chinese, same with cHiPiDle's release of source in this thread:
http://forum.ragezone.com/f640/release-iris-1-18-server-920390/

Small off topic update: :-D
Running up town for groceries and some take out. I'll check back to see if you had any further questions or shoot me a PM.
Cheers
:lol:
 
Last edited:
:-(
Yep, I know that word and exactly how you feel. I was like /pout /cry lolol
At least it isn't Korean, Chinese and Japanese. I don't mind (couldn't resist the play on words here) multi-multilingual code, but for goodness sake, don't go above 2 at a time he he.

Haha, well i still got it easy as i won't be having to use a translator

Send from phone with Tapatalk
 
Status
Not open for further replies.
Back