CPW or Spatch ?

Results 1 to 8 of 8
  1. #1
    Account Upgraded | Title Enabled! crucifix is offline
    MemberRank
    Jan 2012 Join Date
    204Posts

    CPW or Spatch ?

    Ok I would like to be directed to a good guide for setting these up. This was the one step I never got to in my previous endeavors and the guides I have managed to find and try seem to be outdated our missing key information. Any help in this regard would be much appreciated. I want to learn this so I can put it in my guide.


  2. #2
    Account Upgraded | Title Enabled! crucifix is offline
    MemberRank
    Jan 2012 Join Date
    204Posts

    Re: CPW or Spatch ?

    Ok I have all of cpw configured until the initial build now I am getting what I think is a heap size error but increasing it didn't work maybe i am increasing it wrong or misreading the error here is the error

    [INFO 2015-01-10 03-11-29] Creating initial patch data.
    [INFO 2015-01-10 03-11-29] Using new files location = files/new/
    [INFO 2015-01-10 03-11-29] Using patch output folder = files/CPW/
    [INFO 2015-01-10 03-11-29] Updating...
    [INFO 2015-01-10 03-11-29] Updating element...
    Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
    at com.pwemu.clientupdater.CPWCreator.pack(CPWCreator.java:454)
    at com.pwemu.clientupdater.CPWCreator.update(CPWCreator.java:419)
    at com.pwemu.clientupdater.CPWCreator.update(CPWCreator.java:390)
    at com.pwemu.clientupdater.CPWCreator.revision(CPWCreator.java:148)
    at com.pwemu.clientupdater.CPWCreator.initial(CPWCreator.java:135)
    at com.pwemu.clientupdater.CPW.initial(CPW.java:155)
    at com.pwemu.clientupdater.CPW.main(CPW.java:73)
    anyone got a fix?

  3. #3
    Developer - JS Ben is offline
    MemberRank
    Jul 2013 Join Date
    BelguimLocation
    1,244Posts

    Re: CPW or Spatch ?

    Open the bat file with notepad standard cpw is set to somewhere near 500mb memory you can give it 1024 and itll run smooth

  4. #4
    Account Upgraded | Title Enabled! crucifix is offline
    MemberRank
    Jan 2012 Join Date
    204Posts

    Re: CPW or Spatch ?

    well im getting that error on initial build when you ./cpw initial

    - - - Updated - - -

    lol got it thanks man opened cpw .. staring at the string ive been trying to add server side rofl

    - - - Updated - - -

    hmm one more .. maybe i havent unpacked properly
    [INFO 2015-01-10 03-48-03] Updating...
    [INFO 2015-01-10 03-48-03] Updating element...
    [ERROR 2015-01-10 03-49-33] Error while creating
    java.io.FileNotFoundException: /home/var/www/cpw/files/new/element/Shaders/�ʢ�.sdr (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:140)
    at com.pwemu.clientupdater.CPWCreator.pack(CPWCreator.java:451)
    at com.pwemu.clientupdater.CPWCreator.update(CPWCreator.java:419)
    at com.pwemu.clientupdater.CPWCreator.update(CPWCreator.java:412)
    at com.pwemu.clientupdater.CPWCreator.update(CPWCreator.java:390)
    at com.pwemu.clientupdater.CPWCreator.revision(CPWCreator.java:148)
    at com.pwemu.clientupdater.CPWCreator.initial(CPWCreator.java:135)
    at com.pwemu.clientupdater.CPW.initial(CPW.java:155)
    at com.pwemu.clientupdater.CPW.main(CPW.java:73)

    - - - Updated - - -

    Do i need to unpack the .pck files or something?

  5. #5
    Psy Sins Psytrac is online now
    MemberRank
    Jul 2011 Join Date
    Hammond, INLocation
    2,015Posts

    Re: CPW or Spatch ?

    read the user guide for cpw?

  6. #6
    Account Upgraded | Title Enabled! crucifix is offline
    MemberRank
    Jan 2012 Join Date
    204Posts

    Re: CPW or Spatch ?

    I have been i have tried spatch too but cant seem to make the xup file when i drag and drop the folder in the tool nothing happens. I am just trying to find anyway i can patch my client and this seems to be the hardest thing yet.

    - - - Updated - - -

    Also everything ive tried fails with models.pck I was wondering if there is a way to unpack the .pck files via ssh on my server. I have been googling all night I have a slow home connection so it will take me 24 hours to upload all .pck files unpacked if i gotta do it by hand.

  7. #7
    Developer - JS Ben is offline
    MemberRank
    Jul 2013 Join Date
    BelguimLocation
    1,244Posts

    Re: CPW or Spatch ?

    Quote Originally Posted by crucifix View Post
    I have been i have tried spatch too but cant seem to make the xup file when i drag and drop the folder in the tool nothing happens. I am just trying to find anyway i can patch my client and this seems to be the hardest thing yet.

    - - - Updated - - -

    Also everything ive tried fails with models.pck I was wondering if there is a way to unpack the .pck files via ssh on my server. I have been googling all night I have a slow home connection so it will take me 24 hours to upload all .pck files unpacked if i gotta do it by hand.

    https://www.youtube.com/watch?v=b2I2ecTPL-c Check this

  8. #8
    Account Upgraded | Title Enabled! crucifix is offline
    MemberRank
    Jan 2012 Join Date
    204Posts

    Re: CPW or Spatch ?

    Ok nm on spatch i got the xup now let me try this it seems my download somehow corrupted itself. I downloaded pwi tools again and bam

    - - - Updated - - -

    Ok seems now I am getting somewhere some data got corrupted on my server the cause of most of these issues. I have spatch configured now when i click patcher it comes up says it checked but under current version available it doesnt show my new patch. I am assuming this has to do with my version? I edited it according to the guide I was following.

    - - - Updated - - -

    problem solved ill be putting out a spatch tutorial later today with a finished gshop tutorial



Advertisement