PDA

View Full Version : VMware and MapleStory: How To



doctorx
2008-07-07, 07:55 AM
For starters... a bit of background information...

VMware Workstation (from Wikipedia.org): VMware Workstation is a virtual machine software suite for x86 and x86-64 computers from VMware, a division of EMC Corporation. This software suite allows users to set up multiple x86 and x86-64 virtual computers and to use one or more of these virtual machines simultaneously with the hosting operating system. Each virtual machine instance can execute its own guest operating system, such as Windows, Linux, BSD variants, or others. In simple terms, VMware Workstation allows one physical machine to run multiple operating systems simultaneously.

MapleStory (from Wikipedia.org): MapleStory is a free-of-charge, 2D, side-scrolling Massively Multiplayer Online Role Playing Game developed by the South Korean company Wizet. Several versions of the game are available for specific countries or regions, and each is published by various companies such as Wizet and Nexon. Although playing the game is free, many player appearances and gameplay enhancements can be purchased from the "Cash Shop" using real money. MapleStory has a combined total of over 50 million subscriber accounts in all of its versions. MapleStory North America (Global), for players mainly in North America and outside of East Asia, Southeast Asia and Europe, has over three million players.


Now on to the main subject...

I decided to take some time and do some research about the possibility to have multiple "legit" MapleStory applications running simultaneously, on one physical machine. Of course, there are hacks to do that, but, I'm no sponsor of them. So, this topic is not about hacking MapleStory to open several instances at once. I am gonna post about how virtualization can give you more legit advantages for your own educational purposes.

I work with a local company that gives services at enterprise level. We provide server and network configuration, migration, and virtualization, among other things. So, based off the experience I have gained at work, I decided to practice some at home. Recently, I build a new computer setup.

I'm showing off my rig so you can use it as a reference for mileage comparison
Motherboard: Intel DX48BT2
CPU: Intel Core 2 Quad @ 2.4 GHz (Overclocked to 3.0 GHz)
RAM: 4 GB DDR3 @ 1333 MHz (Dual Channel)
HDD: Hitachi 320 GB 7200 RPM SATA-II
Video Card: ATI Radeon HD 3870 PCI Express 2.0
OS: Windows XP Professional x64 Edition SP2

MapleStory uses very, very few resources of this computer, thus giving me a fair advantage here for what I wanted to do.

I did some research about Direct3D compatibility inside a virtual "guest" operating system environment and, VMware 6.x has experimental support for Direct3D, making it my first (and, so far, the only) option for what I wanted to do. I know that there are other virtualization/emulation programs with Direct3D support but, being VMware what I'm most used to work with, it became my first choice.

I grabbed a copy of VMware Workstation 6.0.4 (latest build) and installed it in this computer. Now, once installed, you'll need to install a new virtual machine (duh!) and, the OS I used is Windows XP Professional Edition SP3 (32 bit). I reserved 512 MB of physical RAM to the virtual machine, since MapleStory does take a big chunk of RAM. I decided to tweak the legit retail disk using nLite. nLite is a customizing application for Windows XP retail discs allowing you to delete unnecessary setup software, and to add drivers for your devices, so you can create a copy of your Windows XP retail disc with all of your drivers included. This greatly reduces time to reinstall Windows by having all of the drivers and apps already installed and customized in one step. So, I took my copy and removed pretty much all of the unnecessary crap but, left DirectX 9.0c, as it is required for Direct3D to work.

Once you have your cleaned XP installation disc, use it to install XP in your virtual machine. Voila! Now you have your first "guest" OS installed. Use Windows Update and update everything, install VMware Tools, and set up anything else you need. Now, by default, you can't run Direct3D applications. To enable Direct3D application support, you must manually edit the *.vmx from your virtual machine to add Direct3D support lines. Once set, Power Up the virtual machine and, if you haven't already, copy your Nexon/MapleStory folder over to the virtual machine's HD by drag and dropping onto the guest VM window. Now, you should be able to play MapleStory on your virtual machine. If you got a computer build similar to my specs, you can even clone that virtual machine, so you can have a 2nd virtual machine that will also have Direct3D support and can be running simultaneously with all other virtual machines running. So far, I only cloned the virtual machine once, and with both VMs running MapleStory, including the host PC MapleStory (making it 3 MapleStorys running at the same time), I still am running at 50%~60% of total CPU usage, and 2.2 GB of RAM consumed. I can probably make a 3rd VM and launch MapleStory and run the 4 of them, including the host PC MS, at full speed.

So, you might be wondering, what's the point of this? Well, it's basically for my own practicing. I wanted to get the most of my new PC, so I started thinking ways to do it, and this was one of them. And, yes, I used to have 2 PCs, and one of them was my HB mule, and sometimes my FM mule. But now, with VMware, you can do it all with one physical PC, assuming yours has enough horsepower to load virtual machines without lagging your host application.

Advantages? Less power consumption (you're only using ONE PC). Less space occupied in your room with multiple physical PCs (again, you're only using ONE PC). Less real-world money waste (Building a good/decent computer is cheaper/faster/better than building 2 POS PCs). It's legal (you're not hacking, you're using several virtual PCs, which is legit).

Step-by-Step Procedure:

In Progress... Coming Soon!

Deity
2008-07-07, 05:43 PM
Thanks for posting this. When I get around to training my Sniper up to MM, I'll reference this to make a SE mule =P
*hands cookie*

Conciente
2008-07-07, 05:46 PM
Don't you think 512mb virtual memory is too little? When I was doing Linux From Scratch, I had to give my virtual machine at least 1GB for it to run properly.

doctorx
2008-07-07, 10:06 PM
Don't you think 512mb virtual memory is too little? When I was doing Linux From Scratch, I had to give my virtual machine at least 1GB for it to run properly.

You assign as much PHYSICAL RAM as you want to your VM. Your limit is your total PHYSICAL RAM. If you have a 4 GB of RAM like me, and you're only planning to use only ONE VM, then you can give it 1 GB and it will be even smoother. VMware has plenty of options, just be sure to know what you're doing. I barely made a draft here. If people needs a full guide, I can do it. So far, no one asked for it.

Then again, if you're using your VM for MS, 512 MB of PHYSICAL RAM is enough for a mule. You're not actually gonna use it for playing and such so, you don't need 500 fps on a mule, do you?

Tikey
2008-07-07, 10:57 PM
I've been trying to get VMware to work running two MapleStory clients, but everytime I have MapleStory running on the host computer, the virtual computer crashes. I've tried switching up the RAM and amount of disk memory is has, but nothing works. Any way to fix this?

Idiotversion
2008-07-08, 03:44 AM
I think you should add a warning or something in there about Vista users. I use Windows Vista Home Premium SP1 and I tried to use VMware to run a copy of Ubuntu, and to my amazement it actually worked fine. The problem, though, is when I restarted. I got a BSoD during the loading of the operating system. After searching the Internet on a different computer I found that VMware messed with the USB drivers and loading the operating system with anything plugged into a USB port will result in a BSoD. I removed all my USB devices and Vista then loaded fine. An uninstallation of VMware fixed the problem.

Anyway, I don't know if it is a problem with all copies of Vista or if it's random, but the fact that others had the same problem proves that it is not just my computer.

Edit - Then again, I was doing all this about a month ago, so maybe the problem has been fixed.

doctorx
2008-07-08, 08:56 AM
I've been trying to get VMware to work running two MapleStory clients, but everytime I have MapleStory running on the host computer, the virtual computer crashes. I've tried switching up the RAM and amount of disk memory is has, but nothing works. Any way to fix this?

This happened in a friend of mine's PC that has an AMD Sempron Processor, and a NVIDIA GeForce FX 5200. I guess this method requires a heavy setup and won't simply work in every computer out there. Can you post your PC specs so I can properly help you?

doctorx
2008-07-08, 09:03 AM
I think you should add a warning or something in there about Vista users. I use Windows Vista Home Premium SP1 and I tried to use VMware to run a copy of Ubuntu, and to my amazement it actually worked fine. The problem, though, is when I restarted. I got a BSoD during the loading of the operating system. After searching the Internet on a different computer I found that VMware messed with the USB drivers and loading the operating system with anything plugged into a USB port will result in a BSoD. I removed all my USB devices and Vista then loaded fine. An uninstallation of VMware fixed the problem.

Anyway, I don't know if it is a problem with all copies of Vista or if it's random, but the fact that others had the same problem proves that it is not just my computer.

Edit - Then again, I was doing all this about a month ago, so maybe the problem has been fixed.

VMware has plenty of options you can eliminate from VMs. Who wants sound, DVD, Floppy, USB, on a compy you'll only use for MS? Just disable everything that you won't need so it won't conflict with your host machine. The purpose of this topic is to help people use VMware for their mules, instead of using a 2nd PC. Of course, this can only be done on a performance PC, not on some single core family PC for browsing the internet only.

At least, you must have a Multi-Core system, like Intel Core 2 Duo/Quad/Extreme (haven't tested using AMDs), a good AGP/PCI-Ex graphics card (not on-board), and 2 GB of RAM. It might work in anything lower but at the cost of severe performance drop.

Tikey
2008-07-08, 10:36 PM
This happened in a friend of mine's PC that has an AMD Sempron Processor, and a NVIDIA GeForce FX 5200. I guess this method requires a heavy setup and won't simply work in every computer out there. Can you post your PC specs so I can properly help you?

I'm running a 3200+ AMD Sempron Processor, 1.25 GB of RAM, running Windows XP SP2, with an integrated graphics and video card.

doctorx
2008-07-08, 10:49 PM
I'm running a 3200+ AMD Sempron Processor, 1.25 GB of RAM, running Windows XP SP2, with an integrated graphics and video card.

Hmm... AMD Sempron 3200+ Processor, it's not good enough. I haven't tested carefully using an AMD setup. I'm gonna try to see what's wrong in my friend's AMD setup (which has a AMD Sempron 3000), then I'll help you a little more with this. But so far, having an integrated graphics adapter is gonna lag your gameplay a lot.

Tikey
2008-07-09, 05:05 AM
Hmm... AMD Sempron 3200+ Processor, it's not good enough. I haven't tested carefully using an AMD setup. I'm gonna try to see what's wrong in my friend's AMD setup (which has a AMD Sempron 3000), then I'll help you a little more with this. But so far, having an integrated graphics adapter is gonna lag your gameplay a lot.

I noticed the lag also when I was running MS on it (w/o running MS on the host). Though I would only use this for "mule-ing" purposes, not for major gameplay.

chosenpan
2008-07-09, 09:13 AM
can you add a full guide on how to use this
thanks:)

Migrant
2008-07-09, 11:56 AM
WandererWillow says:
-Post deleted due to regulations against discussion about hacking-

doctorx
2008-07-10, 08:12 AM
WandererWillow says:
-Post deleted due to regulations against discussion about hacking-.
Uh... why hackers in particular? VMware is available for Linux as well, regardless of who's using it. This thread is for the discussion using Windows XP as the host operating system. Don't drag this topic from its original discussion, and your post is completely unnecessary.