SWGEMU: How to Compile and Run A Server!

Part 1: Getting the Goods

1.) Download all of these files:

http://tortoisesvn.sourceforge.net/downloads
http://msdn.microsoft.com/vstudio/express/visualc/download/
http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en
http://dev.mysql.com/downloads/mysql/5.0.html
http://www.navicat.com/
http://www.emukettemoor.com/swgemu_client.zip

Code:
NOTE! YOU ONLY NEED THESE IF YOU DON’T HAVE THIS IN YOUR ROOT SWG DIRECTORY!http://patch.starwarsgalaxies.com:7040/patch/swg/main/patch_00.tre
http://patch.starwarsgalaxies.com:7040/patch/swg/main/patch_01.tre
http://patch.starwarsgalaxies.com:7040/patch/swg/main/patch_02.tre
http://patch.starwarsgalaxies.com:7040/patch/swg/main/patch_03.tre
http://patch.starwarsgalaxies.com:7040/patch/swg/main/patch_04.tre
http://patch.starwarsgalaxies.com:7040/patch/swg/main/patch_05.tre
http://patch.starwarsgalaxies.com:7040/patch/swg/main/patch_06.tre
http://patch.starwarsgalaxies.com:7040/patch/swg/main/patch_07.tre
http://patch.starwarsgalaxies.com:7040/patch/swg/main/patch_08.tre
http://patch.starwarsgalaxies.com:7040/patch/swg/main/patch_09.tre
http://patch.starwarsgalaxies.com:7040/patch/swg/main/patch_10.tre
http://patch.starwarsgalaxies.com:7040/patch/swg/main/patch_11_00.tre
http://patch.starwarsgalaxies.com:7040/patch/swg/main/patch_11_01.tre
http://patch.starwarsgalaxies.com:7040/patch/swg/main/patch_11_02.tre
http://patch.starwarsgalaxies.com:7040/patch/swg/main/patch_11_03.tre
http://patch.starwarsgalaxies.com:7040/patch/swg/main/patch_12_00.tre
http://patch.starwarsgalaxies.com:7040/patch/swg/main/patch_13_00.tre

(You must have Windows SP 2 to install the SDK!)

2.) After downloading all of the files, install them in this order (RECOMMENDED):

Service Pack 2
Windows® Server 2003 Platform SDK Web Install
Tortoise SVN
VStudio 2005
MySQL We will be running this from the auto install! We will also be installing it into the C:\MySQL folder. Don’t forget when installing to choose customize, and install EVERYTHING. That way there cannot be any missing folders. This step is probably vital to not getting any errors.
Navicat

Part 2: Compiling the Core

1.) Create a new folder on your desktop. The name doesn’t matter, but I named mine SWGEmu.

2.) Right click that folder, and press SVN Checkout. When a window comes up, for the “URL of repository box”, paste in: http://opensvn.csie.org/SWGEmuPub/ Next, for revision, make sure head is selected.

3.) After the files are done downloading, run VStudio Compiler. It’s located under Start->All Programs->Visual C++ 2005 Express Edition.

4.) When it opens, go to Tools->Options->Projects and Solutions-> VC++ Directories. Open the dropdown menu under Show Directories for, and select include files.

5.) Under $(VCInstallDir)include add a new line by clicking the folder or pressing Ctrl + Insert. In that line, type C:\MySQL\include

6.) Next, select Library Files from the same dropdown menu, and for the new line, add in C:\MySQL\lib\opt

7.) Go back to the main Visual C++ screen. Go to file -> open -> project / solution.

8.) Browse to the SWGEmu root directory (The folder you Tortoise SVN-d) and then go to Win32. Open up swgemu-vc8.sln

9.) Press F7 or go to the Build menu, then build solution.

10.) If there are ANY errors, here are the solutions (Thanks ramsey and users!)

Q) fatal error LNK1104: cannot open file ‘libmysql.lib’
A) Tools -> Options -> Projects and Solutions -> VC++ Directorys
Then at the top right, click on library files
Add a path to the library which should be here: C:\MySQL\MySQL Server 5.0\lib\opt
If you installed it in the default path, it should be here:
C:\Program Files\MySQL\MySQL Server 5.0\lib\opt

~~~~~~~~~~~~

Q) mysql.h couldnt be found.
A) Tools -> Options -> Projects and Solutions -> VC++ Directorys
Then at the top right, click on include files
Add a path to the library which should be here: C:\MySQL\MySQL Server 5.0\include
If you installed it in the default path, it should be here:
C:\Program Files\MySQL\MySQL Server 5.0\include

Still getting the error? Go to Database_Mysql.h. Find: #include
Replace with: #include

~~~~~~~~~~~~

Q) winsock2.h missing
A) Make sure you install the platform sdk which can be found here:
http://forums.swgemu.com/viewtopic.php?t=2701

~~~~~~~~~~~~

Q) libmysql.dll is missing when i try to run the server.
A) \MySQL\MySQL Server 5.0\lib\opt
There should be a libmysql.dll. Drag that to your C:\WINDOWS\system folder. NOT system32. system.

~~~~~~~~~~~~

Part 3: MySQL and you!

1.) The first thing you want to do, is take note of the password you entered in when you were installing MySQL. If you didn’t enter one that’s fine, but if you did you WILL have to use that.

2.) Okay, you’re server should be up, since the MySQL should be the autoinstaller version.

3.) Open up Navicat, which is in the Premiumsoft folder in All Programs.

4.) Click the connections button in the semi-top left hand part of the screen. The connection name doesn’t matter too much, but I set mine as SWGEmu. Leave the hostname to localhost and the port to default (3306). The username will be root, (Unless you entered in a username for your mysql, which I’m not sure is possible since I can’t remember Smile ) and the password will be blank or the password you entered in whilst installing MySQL. Press test connection. If it doesn’t connect, you either have a firewall messing stuff up, or you typed the username and password wrong.

5.) A new server should show up! Yay! Now, right click on it and press new database. You’ll want to name it swgemu (I believe it’s case-sensitive) and leave the character set to default.

6.) On the new database, you want to right click, then press execute batch file. Select swgemu.sql from MySQL in your SWGEmu folder.

7.) Go do debug, then config in your SWGEmu folder, edit config and enter in the information listed. If you’re running on your home PC you probably only need to change the password that you entered in when you installed MySQL.

8.) With the unused zip, currently named as swgemu_client.zip you have sitting on your computer, it is now time to finally get into the game! Open up that zip and copy it into your LEGIT (I hope Smile ) SWG directory. Mine is C:\Program Files\StarWarsGalaxies. Copy all the files located in that zip to your directory. Now, if you are up to date on the patches, or have at least patch 13 installed, you’ll be set. If you don’t have any patches or something under 13, you’ll have to get them off the SWG website. If you’re OVER, take out ANY file with the prefix patch. Don’t delete them if you plan on going back into NGE. (If you even wanted to Smile ). It’s pretty sad that a game that only has the function of walking around the environment is more compelling to play than the NGE.

9.) If you’ve played the NGE or any other version of SWG lately, you can just take out anything but the files patch_00.tre – patch_13_00.tre. Take all the other patch files out.

10.) Make a shortcut of SWGEmu.exe somewhere. Right click it, then choose properties. After that, add this to the target field.

Code:
— -s Station subscriptionFeatures=1 gameFeatures=255

11.) Run SWGEmu_Setup.exe to set up your screen resolution, etc. After you’re done, press okay and get out of that. Now, run the SWGEmu.exe in your emu folder under debug. Then, open the SWGEmu shortcut you modified the target of. Wait till the login screen shows, then log in under test. The password will be test. You can now run around. Yay! Or in a better looking phrase

YOU CAN NOW PLAY PRE-CU SWG! Yay! Oh…and just incase you didn’t notice…YOU CAN ALSO STOP SPAMMING “I NEED HELP ZOMG!!1” IN THE IRC. thx.

Have fun, please, read this before you ask any questions.

Troubleshooting:

Compiling Errors:
If you are getting errors such as winsock.h/windows.h and have reinstalled the SDK, follow the steps on this link:

http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/

Ignore step 5.

Next, You need to copy the files in the SDK’s include folder into VC’s include folder and copy the files in SDK’s lib folder into VC’s lib-folder.

The SDK’s director is C:\Program Files\Microsoft Platform SDK\

-------------------------------------------------------------------------
SWGEmu - Setting up and running the Publish 12.1/13 Client. By Ultyma.
(c)2006 SWGEmu Team. www.swgemu.com
-------------------------------------------------------------------------

1) Download the client from somewhere....

SWG TRES IF YOU NEED THEM
-------------------------
http://forums.station.sony.com/swg/board/message?board.id=Techsupport&message.id=295177

2) Extract the archive to your SWG directory. (Usually c:program filesStarWarsGalaxies)

3) Open up swgemu_login.cfg in notepad, and change the loginServerAddress0 IP address
to the server address that you would like to play on. (Or leave it at 127.0.0.1 for local).

4) Right click swgemu.exe and create a shortcut to it.

5) Right click the newly created shortcut, and change the Target field to the following:
"C:Program FilesStarWarsGalaxiesSWGEmu.exe" -- -s Station  subscriptionFeatures=1 gameFeatures=255

Note: If your SWG directory is different just modify that to the correct path. Leave the quotes on!

6) To run the game, just double click the shortcut. Voila. That simple. Login, and have fun.

NOTE:
If you are having problems getting the skill/emote/mood list to show up, its because its an error
between publish 12.1 and publish 13.

If you have SWG Explorer, open up the patch_12_00.tre. And extra ui_skill.inc from /ui to /ui in your
StarWarsGalaxies directory.

That SHOULD fix the skills/emotes not showing up in the command browser.

CRASHES
--------------
ERROR: unknown location : FATAL 82674e4e: unsupported SlotIdManager file format [0004]
CAUSE: You dont have all of the patches.
SOLUTION: Patch your SWG installation to AT LEAST publish 13.

-------------------------------------------------------------------------------------------------------
www.swgemu.com

1,342 Responses to “SWGEMU: How to Compile and Run A Server!”

  1. After I originally left a comment I seem to have clicked on the -Notify
    me when new comments are added- checkbox and now every time a comment is added I get four emails with
    the same comment. There has to be a way you are able to remove me from that service?
    Appreciate it!

  2. Sharyn says:

    Inspiring qusst there. What occurred after? Good luck!

    main bersamadaftar bandar terpercaya

  3. What i don’t realize is in fact how you’re not actually much more smartly-appreciated than you may
    be right now. You are so intelligent. You know therefore
    significantly in relation to this matter, produced me personally believe it
    from so many numerous angles. Its like men and women are not interested
    except it is something to accomplish with Girl gaga!
    Your personal stuffs nice. Always deal with it up!

  4. custom shirt says:

    I think that everything posted made a ton of sense.
    However, think on this, what if you were to create a killer title?

    I am not saying your content isn’t solid., however suppose you added a headline to maybe grab people’s
    attention? I mean SWGEMU: How to Compile and Run A Server!
    « ALEXCELI.ORG is a little boring. You should look
    at Yahoo’s home page and watch how they create news titles to get viewers interested.
    You might try adding a video or a related picture or two to get people excited about
    what you’ve written. In my opinion, it would make your website a little livelier.

  5. Slot Online says:

    29:02 don’t mind me, just a note to myself.

  6. Quality posts is the main to invite the viewers to go to see the website,
    that’s what this web site is providing.
    main didaftar bandar taruhan

  7. bioglass says:

    If you want to take much from this paragraph then you have to apply these techniques to your won website.

  8. w88 says:

    Wonderful goods from you, man. I’ve understand your stuff
    previous to and you are just extremely excellent.
    I really like what you’ve acquired here, certainly like what you are
    stating and the way in which you say it. You make it
    enjoyable and you still take care of to keep it smart.
    I can not wait to read far more from you. This is really a terrific web site.

    My site … w88

  9. Pretty section of content. I just stumbled upon your site and in accession capital to
    assert that I get in fact enjoyed account your blog posts. Anyway I’ll be subscribing to your feeds and even I achievement you access
    consistently quickly.

  10. Howdy! This post couldn’t be written much better!

    Looking at this post reminds me of my previous roommate!
    He always kept talking about this. I’ll forward this article to him.
    Fairly certain he’s going to have a good read.
    Thanks for sharing! https://www.artfire.com/ext/people/barron8965602329679

  11. m88cvf says:

    It’s amazing to visit this site and reading the views of
    all mates concerning this paragraph, while I am also eager of getting familiarity.

  12. Hey I am so grateful I found your web site, I really found you by accident,
    while I was researching on Digg for something else, Anyhow I am here now and would just like to say cheers for a incredible post and a all round
    entertaining blog (I also love the theme/design), I
    don’t have time to browse it all at the moment but I have bookmarked it and also included your RSS feeds, so when I
    have time I will be back to read a great deal more, Please do
    keep up the awesome work.

  13. Slot Online says:

    This is why u play on console

  14. Myra says:

    This is my first time pay a visit at here and i am actually impressed to read everthing at alone place.

    Here is my website … basalam (Myra)

  15. Slot Online says:

    Y ennnnnnnconnnnntraaaaaarooooooonlaaaaaaressssssssspueeeeeeestaaaaaa

  16. Judi Slot says:

    Danirep cuando termina la cuarentena vasa jugar con no se tu amigo FrannMosz.
    Adios

  17. Hmm is anyone else experiencing problems with the
    images on this blog loading? I’m trying to figure
    out if its a problem on my end or if it’s the blog.
    Any feedback would be greatly appreciated.

  18. I do not know if it’s just me or if perhaps everybody else encountering problems with
    your blog. It seems like some of the written text in your content are
    running off the screen. Can someone else
    please provide feedback and let me know if this is happening to them as well?
    This might be a problem with my internet browser because I’ve had this happen before.
    Thank you https://clyp.it/user/ighocrjw

  19. Janicecox says:

    [url=https://jeffdunham.kgcold.info/some-of/lpxidq3HnYmAZ6Q][img]https://i.ytimg.com/vi/3j-FKbhQM1s/hqdefault.jpg[/img][/url]

    Some of the Best of Bubba [url=https://jeffdunham.kgcold.info/some-of/lpxidq3HnYmAZ6Q]JJEFF[/url] DUNHAM

  20. This site was… how do you say it? Relevant!! Finally I’ve found something that
    helped me. Thanks!

  21. webpage says:

    Woah! I’m relly enjoying the template/theme of this site. It’s simple, yet effective.
    A lot of times it’s difficulot to get thyat “perfect balance” between superb usabiluty and visual appeal.
    Imust say that you’ve done a excellent job with this.
    Also, tthe blog loads exttemely quuick for mme on Internet explorer.

    Outstanding Blog!
    webpage

  22. agen Bandarq says:

    This piece of writing will help the internet users for creating new weblog or even a weblog from start to end.

    My page; agen Bandarq

  23. Marta says:

    Woah! I’m really loving the template/theme of this blog.

    It’s simple, yet effective. A lot of times it’s very difficult to get that “perfect balance” between superb usability
    and visual appeal. I must say that you’ve done a
    great job with this. In addition, the blog loads very fast for me
    on Safari. Excellent Blog!

  24. I am really enjoying the theme/design of your website.
    Do you ever run into any internet browser compatibility issues?
    A number of my blog audience have complained about my website not working
    correctly in Explorer but looks great in Chrome.

    Do you have any solutions to help fix this issue? https://community.hpe.com/t5/user/ViewProfilePage/user-id/2023884

  25. Judi Slot says:

    Makes me sad… Such happy memories of desperado…

    Hope to ride again soon ❤️

  26. w88 says:

    I have been browsing online more than three hours nowadays,
    but I by no means found any interesting article like yours.
    It is lovely worth sufficient for me. In my opinion, if all web owners and
    bloggers made just right content as you did, the net might be a
    lot more helpful than ever before.

    Also visit my web site w88

  27. Poker qq says:

    I really like what you guys are usually up too. This kind of
    clever work and exposure! Keep up the amazing works guys I’ve included you
    guys to my blogroll.

    Here is my web-site Poker qq

  28. سيو says:

    Hi i am kavin, its my first occasion to commenting anyplace, when i read this post i thought
    i could also make comment due to this sensible paragraph. https://hackerone.com/barron8965?type=user

  29. Amazing! This blog looks just like my old one!

    It’s on a totally different topic but it has pretty much the
    same layout and design. Superb choice of colors!

  30. Thank you for the auspicious writeup. It if truth be told used to
    be a amusement account it. Look complicated to more delivered agreeable
    from you! By the way, how can we keep up a correspondence?

  31. more info says:

    I pay a visit daily a few web sites and websites to read content,
    but this blog presents quality based articles.

  32. I am now not sure the place you’re getting your information, but
    good topic. I needs to spend a while learning much more or figuring out more.
    Thanks for magnificent info I used to be searching for this info
    for my mission.

  33. 먹튀사이트 검증사이트 먹튀폴리스입니다.

    먹튀폴리스는 신규는 물론 오픈된 먹튀사이트를 철저히 먹튀검증하여 먹튀없는 시대를 만들어가고 있습니다.
    먹튀폴리스를 사랑하는 여러분의 많은 호응바랍니다.
    여러분의 충실한 먹튀검증 사이트가 되도록 노력하겠습니다.

  34. poker Qq says:

    I am really enjoying the theme/design of your weblog.
    Do you ever run into any browser compatibility problems?
    A number of my blog readers have complained about my site not
    operating correctly in Explorer but looks great in Opera.
    Do you have any ideas to help fix this problem?

    Review my web blog … poker Qq

  35. This website was… how do I say it? Relevant!!
    Finally I have found something that helped me.
    Thank you!

  36. Hello! I’ve been following your website for some time now and finally got the courage to go ahead and give you a shout out from Humble Texas!
    Just wanted to tell you keep up the excellent job!

    Also visit my web page: Poker online (anunciosland.Com)

  37. poker online says:

    I like the valuable information you provide in your articles.
    I’ll bookmark your blog and check again here frequently.
    I’m quite sure I will learn many new stuff right here!
    Good luck for the next!

    My webpage: poker online

  38. If some one wishes to be updated with hottest technologies then he must be
    pay a quick visit this web page and be up to date everyday.

    Here is my web site … Perang baccarat

  39. Slot Online says:

    17:40 jajaja a chuparla calvo!!

  40. situs domino says:

    It’s awesome in support of me to have a site, which is good in favor of my
    know-how. thanks admin

    Also visit my homepage :: situs domino

  41. Cloud PBX says:

    Hmm it appears like your website ate my first
    comment (it was extremely long) so I guess I’ll just sum it up what I submitted and say, I’m thoroughly
    enjoying your blog. I as well am an aspiring blog writer but I’m still new to everything.
    Do you have any recommendations for beginner blog writers?
    I’d definitely appreciate it.

Leave a Reply