Archive

Archive for the ‘Mac Os’ Category

Warcraft 3 Running on Mac OS X Mountain Lion

December 26, 2012 1 comment

This is step2 that i did to run Warcraft 3 on Mac OS X Mountain Lion (10.8).  It need Snow Leopard or below version of Mac OS X with Intel x86 processor in order to install warcraft 3. and then copy installed warcraft 3  to mountain lion. I did the following step:

  1. Install VMWare (Virtual Machine) Fusion 5.0.1 on Mountain Lion
  2. Install Snow Leopard with VMWare, you need:
  3. Install warcraft 3 Reign of Chaos on Snow Leopard
  4. Install Frozen Throne expansion pack on Snow Leopard
  5. Install warcraft 3 latest patch from : http://ftp.blizzard.com/pub/war3x/patches/Mac/
    • In my case i use War3TFT_1xx-126a_English.zip
  6. Zip installed Warcraft 3 from Snow Leopard and copy to Mountain Lion
  7. Unzip it in the /Applications/ folder of Mountain Lion
  8. In the mountain lion : Under the /Applications/warcraft3 folder, Right click “The Frozen Throne.app”, then select “Show Package Contents”
  9. Under the directory “MacOS” double click “The Frozen Throne” to run the game.
  10. Good Luck and Have Fun!

This is The Result

Advertisements
Categories: Game and CG, Mac Os

Downgrade from ios 5 to ios 4.2.1 (Untethered)

November 3, 2011 1 comment

Things need to be prepared :

  1. Tiny Umbrella 5.00.12
  2. GreenPois0n 1.0 RC6.1
  3. fixrecovery-osx for 4.2.1
  4. ios 4.2.1 ipsw

Follow this step :

  1. Make sure that you have backup SHSHs before
  2. Open TinyUmbrella, and start TSS Server
  3. Make sure that you see SHSHs for ios 4.2.1 in List “All saved SHSHs”
  4. Enter DFU Mode
  5. Start iTunes 10.1
  6. Restore ios 4.2.1 by pressing alt button and click Restore button
  7. Find and Select ios 4.2.1 ipsw
  8. Wait until iTunes finish the process
  9. Maybe there will be an error
  10. Enter DFU mode
  11. Run FixRecovery
  12. Wait until iPhone successfully Reboot
  13. run GreenPois0n
  14. Done

Good Luck

Categories: Iphone, Mac Os

IPhone App Dev. Tutorial 1 : Simple Interaction with Button and Text

August 21, 2011 2 comments

This tutorial show simple interaction with button and text. I used XCode 4.

1. Create New Project > View-based Application

2. Type Product Name, here i typed “ButtonAndText”

3. Click file “ButtonAndTextViewController.xib”

4. Drag and Drop UIButton from Object Library to View, and Type button title, for example “OK”

5. Open header file “ButtonAndTextViewController.h”, and add following code (just add the bold text) :

#import <UIKit/UIKit.h>

@interface ButtonAndTextViewController : UIViewController {
}
-(IBAction) btnClicked:(id) sender;
@end

6. Open implementation file “ButtonAndTextViewController.m” and type following code after “@implementation ButtonAndTextViewController” :

-(IBAction) btnClicked:(id) sender {
 NSString *str = [[NSString alloc] 
           initWithFormat:@"Welcome Mr. %@ ", textName.text];
 UIAlertView *alert = [[UIAlertView alloc]
                      initWithTitle:@"Welcome"
                      message:@"Welcome Mr. Tonny"
                      delegate:self cancelButtonTitle:@"OK"
                      otherButtonTitles:nil];
 [alert show];
 [alert release];
}

7. Click file “ButtonAndTextViewController.xib”

8. While pressing Control-Key, Click on the “OK” Button and drag to the “File’s Owner”, then select “btnClicked”

9. Then try running the program, the output should like this :

10. Let’s add  Label and Text Field to View by drag and drop them from Objects Library, then add :

#import <UIKit/UIKit.h>

@interface ButtonAndTextViewController : UIViewController {

   IBOutlet UITextField *textName;

}

@property (nonatomic,retain) UITextField *textName;

-(IBAction) btnClicked:(id) sender;
@end

11. Open implementation file “ButtonAndTextViewController.m” and type following code after “@implementation ButtonAndTextViewController” :

@synthesize textName;

12. Change code for function “-(IBAction) btnClicked:(id) sender”

-(IBAction) btnClicked:(id) sender
{
NSString *str = [[NSString alloc] initWithFormat:@"Welcome Mr. %@ ", textName.text];
UIAlertView *alert = [[UIAlertView alloc]
                          initWithTitle:@"Welcome"
                          message:str
                          delegate:self
                          cancelButtonTitle:@"OK"
                          otherButtonTitles:nil];
    [alert show];
    [alert release];
    [str release];
 }

13. While pressing Control-Key, Click on the “File’s Owner”  and drag to the UITextField, then select “textName”

14. Run the program, Try to type something in UITextField then click “OK” button to test. The output should like this :

Note :

  • “@property (nonatomic, retain) UITextField *textName;” means that you want the textName outlet to be expose as a property
  • IBAction Identifier is used to synchronize action methods
  • @synthesize keyword indicate that compiler will create getter and setter for the specific property.
  • The nonatomic keyword indicate that there is no need to ensure that the property is used in a thread-safe manner because it is not used in multiple threads.

I Also include the video how to do this in my facebook.

Categories: Iphone, Mac Os, Programming

Booting Mac Os X from iBoot (USB Flash Drive), instead of using GRUB 2

June 11, 2011 17 comments

Although GRUB 2 (Boot loader that support multiple operating system) has supported Mac Os X, there are several problems for user that use ..x86. For example : on graphics functionality, maybe you can’t detect multiple display, and for some other functionality you have to use third party software to enable keyboard, mouse, and sound. And perhaps you still can’t get the Trackpad to work ^^.

By using iBoot you don’t have to be worry with that problems. You can burn iBoot loader iso file into CD and use it to boot Mac Os X. but Instead of using CD, there is alternative way, you can use USB Flash Drive. So this is the guide :

  1. Prepare usb flash drive (128MB is more than enough)
  2. Format it using GUID partition table with Disk Utility
  3. Download iBoot.iso and (chameleon or multibeast)
  4. Run multibeast (Assume that you use multibeast)
    1. Select EasyBeast Install
    2. Change Install Location to Flash Drive
    3. Finish Installation
  5. Mount iBoot.iso with disk mounter
  6. Copy all files in iBoot to Flash Drive
    • For example using command line :
      bash-3.2# cp -R /Volume/iBoot/* /Volume/PathToYourFlashDrive
  7. Reboot, and test

Good Luck ^^

Categories: Mac Os

Disable Code Signing in XCode 4

May 11, 2011 12 comments

Before you distribute Application on App Store, you may want to Test your application in Simulator or Iphone Device via XCode. This is no problem if you have enrolled IOS developer program and pay 99$/year,  generate a Certificate Signing Request and doing some other stuff. read this post.

But if you just want to test your Application on Iphone, and don’t intend to sell it in App Store, actually you don’t need to enrolled IOS developer program or pay 99$/year. Just just need to bypass the code signing. (Oops) it maybe only worked on Cydia-Installed Iphone.

So, first of all you have to Edit SDKSettings.plist. In this case I use XCode 4. you can find it in the /Developer/Platforms/iPhoneOS.platform/SDKs/iPhoneOS4.3.sdk/Developer. In the Default properties key change the CODE_SIGNING_REQUIRED parameter value form “YES” to “NO”, then Restart XCode if you running it.

And in your XCode project setting change the parameter value of  “Code Signing Identity” from “Iphone Developer” to “Don’t Code sign”

If you still have problem then open your browser,  and find the solution with google search engine. Good Luck 🙂

Categories: Iphone, Mac Os

Setting VPN Client Mac Os X 10.6

April 23, 2011 Leave a comment

This is simple guide to setting VPN client on Mac OS X 1o.6

  1. Open “Application” and choose “System Preferences”
  2. Choose “Network” in the “Internet & wireless” category
  3. Click “+” button in the left bottom of the window to create new service
  4. Choose “VPN” in the “Interface”, “PPTP” for the “VPN Type”, edit “Service Name” (optional) , and click “create”  button
  5. Choose service name that you have created
  6. Enter the server address (ex: abc.company.com or with IP address), and account name (user name)
  7. Then click “Authentication Settings …”  button
  8. Enter the password and click “OK” button
  9. Check “show vpn status in menu bar”
  10. Click “Advanced …” button
  11. Check the “Send all traffic over VPN connection” and click “OK” button
  12. Click “Apply” button
  13. Click “Connect”
  14. Test

Good Luck 🙂

Categories: Mac Os

TRIPLE BOOT WINDOWS 7/MAC OS 10.6/DEBIAN 6

March 21, 2011 3 comments

Berikut Langkah-langkahnya :

  1. Backup semua data
  2. Create GUID Partition Table (GPT) dengan Mac OS 10.6 DVD
    1. create partisi windows 7 (MS-DOS)
    2. create partisi mac os 10.6 (MacOS Extended Journaled)
    3. create partisi Debian 6 (FREE SPACE)
    4. create partisi data (MS-DOS)
    5. create partisi swap (FREE SPACE)
  3. Install MAC OS 10.6
    1. Install Mac OS base system
    2. Install Combo Fix Update
    3. Install Multibeast (Easy Beast+VoodoHDA 0.21+VoodooPS2Controller)
    4. Install gpt-sync
  4. Create Hybrid GPT/MBR dengan gpt-sync
  5. Install Debian 6 beserta paket2nya
  6. Install Windows beserta program-program aplikasinya
  7. Install EasyBCD dan Edit Konfigurasi Bootloader
  8. Testing
Categories: Linux, Mac Os, Windows