Results 1 to 10 of 10
  1. #1
    how to make a patch ?

    Member Since
    Aug 29, 2012
    Posts
    5
    Question how to make a patch ?
    Hey guys,

    Hopefully someone may know the answer to my question
    I want to create a patch for a application I developed.
    Basically, I have the old application that is 100mb, and the new one that is 105mb.
    A patch would be a small file that would probably be around 5mb, that we run on top of the old application to transform it into a new application.
    People familiar with games know what I'm talking about.

    In windows there's a lot of solutions for this , in Mac I'm having a hard time finding anything.
    The only one I found is Ipatch, but it's old (2007) and crashes when I apply the patch.
    Can you guys recommend anything ?

    Thanks a lot,
    Bruno

  2. #2
    how to make a patch ?
    TattooedMac's Avatar
    Member Since
    May 19, 2009
    Location
    Waiting for a mate . . .
    Posts
    8,379
    Specs:
    21" iMac 2.9Ghz 16GB RAM & 13"MBP 2.9Ghz i7 8GB RAM 10.10.3, iPhone5 & iPad Air 2 iOS 8.3, ATV3
    Quote Originally Posted by bubu2012 View Post
    Hey guys,

    Hopefully someone may know the answer to my question
    I want to create a patch for a application I developed.
    Basically, I have the old application that is 100mb, and the new one that is 105mb.
    A patch would be a small file that would probably be around 5mb, that we run on top of the old application to transform it into a new application.
    People familiar with games know what I'm talking about.

    In windows there's a lot of solutions for this , in Mac I'm having a hard time finding anything.
    The only one I found is Ipatch, but it's old (2007) and crashes when I apply the patch.
    Can you guys recommend anything ?

    Thanks a lot,
    Bruno
    Cant help you as such, but FYI you said "In windows there's a lot of solutions for this , in Mac I'm having a hard time finding anything."

    Windows is Software, not hardware, Mac is Hardware not software. So the correct terminology is "In Windows there's a lot of solutions for this , in OS X I'm having a hard time finding anything."

    Just saying So in future if you go somewhere else looking for solutions you have the right Terminology

    Cheers
    Dont forget to use the Reputation System if someone has helped you out !!!
    Arguing with a zealot is only slightly easier than tunneling through a mountain with your forehead!!!!!
    MoTM ☆☆☆

  3. #3
    how to make a patch ?
    Raz0rEdge's Avatar
    Member Since
    Jul 17, 2009
    Location
    MA
    Posts
    8,184
    Specs:
    27" i7 iMac, 24" iMac, 13" Macbook Air, iPhone 5 & 5S, iPod Nano 7th Gen, iPad 2 16GB WiFi, iPad 3
    Most game "patches" are actually replacing old files with new files, they aren't usually going in and modifying the binaries to make it the new one. Why cant you provide an update that will just replace your application binaries?
    --
    Regards
    ...Ashwin



    Be sure to read the Community Guidelines | The more information you provide, the better answers you get, remember GIGO.

  4. #4
    how to make a patch ?
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,395
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Moved to a more appropriate forum - this is a development question.

    Learn to love the patch tool. That of course is only helpful if you're recompiling from source. Is this patch to be applied by you/an end user with access to the source or an end user who only has access to the binaries?
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  5. #5
    how to make a patch ?

    Member Since
    Aug 29, 2012
    Posts
    5
    Quote Originally Posted by Raz0rEdge View Post
    Most game "patches" are actually replacing old files with new files, they aren't usually going in and modifying the binaries to make it the new one. Why cant you provide an update that will just replace your application binaries?
    Well, I'm using Unity Engine, and Unity binary is always the same, what changes is the content of the packages inside Unity, this packages work like a Zip file.
    So, if I exchange a 1 for a 2 in a game, the entire package will change, so I would need to replace a 500mb file with another 500mb file just because of a small change.
    I found in Windows programs that compare binary both files, the old and the new, and are able to make patches (in this case) of size 1kb, because not much in the file has changed.

  6. #6
    how to make a patch ?

    Member Since
    Aug 29, 2012
    Posts
    5
    Quote Originally Posted by vansmith View Post
    Moved to a more appropriate forum - this is a development question.

    Learn to love the patch tool. That of course is only helpful if you're recompiling from source. Is this patch to be applied by you/an end user with access to the source or an end user who only has access to the binaries?

    Only access to the binaries, I don't think the Patch tool will work in this case.
    As stated above, it's a game I need to update, and a game made in the Unity engine, so it's actually the Unity packages that need updating.

  7. #7
    how to make a patch ?
    Raz0rEdge's Avatar
    Member Since
    Jul 17, 2009
    Location
    MA
    Posts
    8,184
    Specs:
    27" i7 iMac, 24" iMac, 13" Macbook Air, iPhone 5 & 5S, iPod Nano 7th Gen, iPad 2 16GB WiFi, iPad 3
    Take a look at this and see if it fits: M2HPatcher - The Unity patching solution

    If it doesn't, you'll find a lot more useful responses from other developers on the Unity forums..
    --
    Regards
    ...Ashwin



    Be sure to read the Community Guidelines | The more information you provide, the better answers you get, remember GIGO.

  8. #8
    how to make a patch ?

    Member Since
    Aug 29, 2012
    Posts
    5
    Quote Originally Posted by Raz0rEdge View Post
    Take a look at this and see if it fits: M2HPatcher - The Unity patching solution
    It doens't , M2HPatcher doesn't work with files bigger than 500mb

  9. #9
    how to make a patch ?
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,395
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    This is going to be a problem if you're trying to patch a monolithic file. Your best bet is to provide an application to do the patching on the end user's system.

    I'm not familiar with the way that Unity creates applications but it sounds like it creates binaries similar to "traditional" OS X ones - it's a binary that's actually contained in an elaborate container (archive for Unity, folder for OS X). If this is indeed the case, can you not simply create an application that patches the end user's copy by decompressing their copy of the Unity package, replacing the necessary files and recompressing it?
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  10. #10
    how to make a patch ?

    Member Since
    Aug 29, 2012
    Posts
    5
    Quote Originally Posted by vansmith View Post
    This is going to be a problem if you're trying to patch a monolithic file. Your best bet is to provide an application to do the patching on the end user's system.

    I'm not familiar with the way that Unity creates applications but it sounds like it creates binaries similar to "traditional" OS X ones - it's a binary that's actually contained in an elaborate container (archive for Unity, folder for OS X). If this is indeed the case, can you not simply create an application that patches the end user's copy by decompressing their copy of the Unity package, replacing the necessary files and recompressing it?
    Yes, I can simply replace the files, but then the size of the game will be mostly the same, and not an actual patch.
    But it seems what I'm trying to find doesn't exist in OS X, I don't get why.
    The closest I found was Ipatch( iPatch.org ) , but it's old, and crashes.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. No CD patch?
    By jayluna in forum OS X - Apps and Games
    Replies: 1
    Last Post: 03-08-2012, 01:45 PM
  2. how to download a patch
    By bare spot in forum OS X - Operating System
    Replies: 3
    Last Post: 12-18-2008, 11:13 PM
  3. Is there a firewire patch...
    By digitalfstop in forum OS X - Operating System
    Replies: 2
    Last Post: 08-02-2007, 09:16 PM
  4. Warcraft Patch
    By bartleby in forum OS X - Apps and Games
    Replies: 0
    Last Post: 01-22-2007, 10:18 PM
  5. Dvd Patch?
    By chasincharpchui in forum Switcher Hangout
    Replies: 6
    Last Post: 10-09-2006, 01:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •