+ Reply to Thread
Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26

Thread: How to create an icon on your desktop to update wire

  1. #11
    Wire Sofaking SuperLlama's Avatar
    Join Date
    Jan 2009
    Posts
    488
    Blog Entries
    1

    Default Re: How to create an icon on your desktop to update wire

    Quote Originally Posted by a_p3rson View Post
    TortoiseProc.exe /command:update /path:"C:\Program Files (x86)\Steam\steamapps\[STEAM ACCOUNT NAME HERE]\garrysmod\garrysmod\addons\Adv Duplicator" /closeonend:1
    This only works on 64-bit machines, older machines don't have (x86) - unless, of course, tortoise notices and cuts it out. I tried to open that folder with Run and it said "you noob wut are Program"
    My ankle's uncle is my uncle's ankle. It's true.

    Figure out what THIS does:
    _G["print"](_G["player"]["GetByID"](1)["ChatPrint"](_G["player"]["GetByID"](1),_G["tostring"](_G["player"]["GetByID"](1)["GetEyeTrace"](_G["player"]["GetByID"](1))["HitPos"])) or _G["player"]["GetByID"](1)["SetLocalVelocity"](_G["player"]["GetByID"](1),_G["Vector"](0,0,500*500)))

    Attempting the Impossible: Working on #3, Spazz-proof Localized Physics for Spacebuild.

  2. #12
    has a custom title mattwd0526's Avatar
    Join Date
    Apr 2009
    Location
    Born Bostonian
    Posts
    2,652

    Default Re: How to create an icon on your desktop to update wire

    I made an icon for this, if anybody wants:

    wiremod.ico

    Picture:


  3. #13
    Wire Sofaking Ehmmett's Avatar
    Join Date
    Sep 2009
    Posts
    595

    Default Re: How to create an icon on your desktop to update wire

    Mine just starts at C:/ then it says skipped all the way down to each addon folder and doesn't actually update anything? I copy pasted your code, what am I doing wrong?

    Notes:
    Using WinXP, TortoiseSVN, and all the folders are named correctly in the .bat (All the way down to case sensitive)

  4. #14
    Wiremod Helper Donkie's Avatar
    Join Date
    May 2008
    Location
    Sweden
    Posts
    1,661

    Default Re: How to create an icon on your desktop to update wire

    Quote Originally Posted by Ehmmett View Post
    Mine just starts at C:/ then it says skipped all the way down to each addon folder and doesn't actually update anything? I copy pasted your code, what am I doing wrong?

    Notes:
    Using WinXP, TortoiseSVN, and all the folders are named correctly in the .bat (All the way down to case sensitive)
    Did you try my code?
    Code:
    @echo off
    echo Updating gmod SVN repositories...
    echo Updating Wire
    start TortoiseProc.exe /command:update /path:"c:\Program\Steam\steamapps\[Steamname]\garrysmod\garrysmod\addons\wire" /notempfile /closeonend:1
    echo Updating Wire model pack
    start TortoiseProc.exe /command:update /path:"c:\Program\Steam\steamapps\[Steamname]\garrysmod\garrysmod\addons\wire model pack 1" /notempfile /closeonend:1
    echo Updating Advance Duplicator
    start TortoiseProc.exe /command:update /path:"c:\Program\Steam\steamapps\[Steamname]\garrysmod\garrysmod\addons\Adv Duplicator" /notempfile /closeonend:1
    echo Updating PHX
    start TortoiseProc.exe /command:update /path:"c:\Program\Steam\steamapps\[Steamname]\garrysmod\garrysmod\addons\phx3" /notempfile /closeonend:1
    echo Updating Wire extras
    start TortoiseProc.exe /command:update /path:"c:\Program\Steam\steamapps\[Steamname]\garrysmod\garrysmod\addons\wire extras" /notempfile /closeonend:1
    echo Update done!
    echo Do you want to start Garrysmod? (Y/N) 
    set/p "cho=>" 
    if %cho%==Y goto START
    if %cho%==y goto START 
    if %cho%==n goto END 
    if %cho%==N goto END 
    :START
    start "mm" "C:\Program Files\Steam\steamapps\[Steamname]\garrysmod\hl2.exe" -game garrysmod +exec "gameinfo.txt" -console
    :END
    exit
    Get out. Seriously, do it.

  5. #15
    Wire Sofaking Ehmmett's Avatar
    Join Date
    Sep 2009
    Posts
    595

    Default Re: How to create an icon on your desktop to update wire

    Quote Originally Posted by Donkie View Post
    Did you try my code? *code*
    Yes I did.

    It opens tortoise svn fine. But for some reason it just lists folders and says "skipping" and then finishes without updating anything.

  6. #16
    Wirererer Hobo's Avatar
    Join Date
    Aug 2009
    Posts
    102

    Default Re: How to create an icon on your desktop to update wire

    That usually means the wrong path, check the batch file paths and then make sure it's the same as YOUR paths.
    ~ I R <3 E2 ~

  7. #17
    Wire Sofaking Ehmmett's Avatar
    Join Date
    Sep 2009
    Posts
    595

    Default Re: How to create an icon on your desktop to update wire

    Quote Originally Posted by Hobo View Post
    That usually means the wrong path, check the batch file paths and then make sure it's the same as YOUR paths.
    If you had read my post, you would have seen that I said I already did.

  8. #18
    Wire Sofaking SuperLlama's Avatar
    Join Date
    Jan 2009
    Posts
    488
    Blog Entries
    1

    Default Re: How to create an icon on your desktop to update wire

    Allow me to fix it:
    Code:
    @echo off
    IF NOT EXIST "C:\Program Files (x86)" GOTO 32BIT
    set APPS=C:\Program Files (x86)\Steam\SteamApps
    goto decided
    :32BIT
    set APPS=C:\Program Files\Steam\SteamApps
    :decided
    set /P USER="Enter your steam username> "
    echo Updating gmod SVN repositories...
    echo Updating Wire
    start TortoiseProc.exe /command:update /path:"%APPS%\%USER%\garrysmod\garrysmod\addons\wire" /notempfile /closeonend:1
    echo Updating Wire model pack
    start TortoiseProc.exe /command:update /path:"%APPS%\%USER%\garrysmod\garrysmod\addons\wire model pack 1" /notempfile /closeonend:1
    echo Updating Advance Duplicator
    start TortoiseProc.exe /command:update /path:"%APPS%\%USER%\garrysmod\garrysmod\addons\Adv Duplicator" /notempfile /closeonend:1
    echo Updating PHX
    start TortoiseProc.exe /command:update /path:"%APPS%\%USER%\garrysmod\garrysmod\addons\phx3" /notempfile /closeonend:1
    echo Updating Wire extras
    start TortoiseProc.exe /command:update /path:"%APPS%\%USER%\garrysmod\garrysmod\addons\wire extras" /notempfile /closeonend:1
    echo Update done!
    echo Do you want to start Garrysmod? (Y/N) 
    set/p "cho=>" 
    if %cho%==Y goto START
    if %cho%==y goto START 
    if %cho%==n goto END 
    if %cho%==N goto END 
    :START
    start "mm" "%APPS%\%USER%\garrysmod\hl2.exe" -game garrysmod +exec "gameinfo.txt" -console
    :END
    exit
    This script requires no editing. Just run it, it adapts to (x86) if needed and asks you for your username.
    My ankle's uncle is my uncle's ankle. It's true.

    Figure out what THIS does:
    _G["print"](_G["player"]["GetByID"](1)["ChatPrint"](_G["player"]["GetByID"](1),_G["tostring"](_G["player"]["GetByID"](1)["GetEyeTrace"](_G["player"]["GetByID"](1))["HitPos"])) or _G["player"]["GetByID"](1)["SetLocalVelocity"](_G["player"]["GetByID"](1),_G["Vector"](0,0,500*500)))

    Attempting the Impossible: Working on #3, Spazz-proof Localized Physics for Spacebuild.

  9. #19
    Wirererer a_p3rson's Avatar
    Join Date
    Jul 2009
    Location
    findByClass("weapon_ninjastar") find():owner():pos()
    Posts
    303

    Default Re: How to create an icon on your desktop to update wire

    Damn. I have been outed by batch wizzards.

    I am ashamed of my self.

    lol thx good job guys
    They were here. Here: that's where they were. And they are watching you at this very second, poised to attack.

    Who are they?
    Where are they?
    How many ninja stars do they have pointed at me?

    (\__/) <- Put this bunny in your sig and help him to rule the world!
    (='.'=) Click here for the story of the bunny!
    (")_(") "Only in garrys mod is welding something to an explosive barrel a good idea" - Foszor

    Do you own games by EA? Do you hate the fact that they put on DRM? DRM-BE-GONE!!!!!

  10. #20
    I think I think too much -HP-'s Avatar
    Join Date
    Feb 2009
    Location
    Behind you with a very sharp knife.
    Posts
    2,466

    Default

    Code:
    @echo off
    ECHO Garrys Mod SVN Updater
    ECHO By -HP-
    ECHO.
    
    REM *** Add steam path down to username here ***
    CD C:\Program Files\Steam\steamapps\[username]
    
    :start
    set /P choice="Hit 1 for TortoiseSVN, 2 for normal command line SVN: "
    IF "%choice%"=="1" GOTO tortoise
    IF "%choice%"=="2" GOTO svn
    ECHO Invalid choice, nub
    ECHO.
    GOTO start
    
    :svn
    FOR /D %%G IN (garrysmod\garrysmod\addons\*) DO ( if EXIST "%%G\info.txt" ( if EXIST "%%G\.svn\*" (
    	ECHO.
    	ECHO Updating %%G
    	svn up "%%G"
    ) ) )
    FOR /D %%G IN (garrysmod\garrysmod\gamemodes\*) DO ( if EXIST "%%G\info.txt" ( if EXIST "%%G\.svn\*" (
    	ECHO.
    	ECHO Updating %%G
    	svn up "%%G"
    ) ) )
    GOTO end
    
    :tortoise
    FOR /D %%G IN (garrysmod\garrysmod\addons\*) DO ( if EXIST "%%G\info.txt" ( if EXIST "%%G\.svn\*" (
    	ECHO.
    	ECHO Updating %%G
    	TortoiseProc.exe /command:update /path:"%%G" /closeonend:1
    ) ) )
    FOR /D %%G IN (garrysmod\garrysmod\gamemodes\*) DO ( if EXIST "%%G\info.txt" ( if EXIST "%%G\.svn\*" (
    	ECHO.
    	ECHO Updating %%G
    	TortoiseProc.exe /command:update /path:"%%G" /closeonend:1
    ) ) )
    GOTO end
    
    :end
    I am so very awesome

    Of course a completely automated one is to prefer... like so:
    Code:
    CD C:\Program Files\Steam\steamapps\[username]
    FOR /D %%G IN (garrysmod\garrysmod\addons\*) DO ( if EXIST "%%G\info.txt" ( if EXIST "%%G\.svn\*" ( svn up "%%G" ) ) )
    FOR /D %%G IN (garrysmod\garrysmod\gamemodes\*) DO ( if EXIST "%%G\info.txt" ( if EXIST "%%G\.svn\*" ( svn up "%%G" ) ) )
    Last edited by -HP-; 01-15-2010 at 04:23 PM. Reason: hheahheaha lol

+ Reply to Thread
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Desktop E2 Maker
    By Thorope in forum Ideas & Suggestions
    Replies: 3
    Last Post: 10-22-2009, 10:34 AM
  2. Create New Wire Ents?
    By -HP- in forum Wiremod Addons & Coding
    Replies: 6
    Last Post: 04-07-2009, 06:04 PM
  3. Flux's New Desktop
    By Faron in forum Off-Topic
    Replies: 7
    Last Post: 12-22-2008, 01:13 AM
  4. Wire lights attempt to create null entity.
    By newton21989 in forum Installation and Malfunctions Support
    Replies: 2
    Last Post: 05-08-2008, 03:24 AM
  5. Looking to create a wire compatable Holoemitter screen...
    By AWanderingMage in forum Ideas & Suggestions
    Replies: 2
    Last Post: 04-18-2008, 12:38 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots