1. Are you planning to upload your awesome tool to Hive? Please review the rules here.
    July 9, 2018: The rules for the Tool Section have been revised. Please be sure to read the revisions.
    Dismiss Notice
  2. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  3. The Results have come out of the old ARENA oven. Check out who won the 30th Texturing Contest!
    Dismiss Notice
  4. Hey guys, we've posted the Results for the 30th Modeling Contest. Check them out!
    Dismiss Notice
  5. The 15th Mini-Mapping Contest came to an end. The Secrets of Warcraft 3 are soon to be revealed! Come and vote in the public poll for your favorite maps.
    Dismiss Notice
  6. The 12th incarnation of the Music Contest is LIVE! The theme is Synthwave. Knight Rider needs a song to listen to on his journey. You should definitely have some fun with this theme!
    Dismiss Notice
  7. Join other hivers in a friendly concept-art contest. The contestants have to create a genie coming out of its container. We wish you the best of luck!
    Dismiss Notice
  8. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Syringe

Submitted by Devin
This bundle is marked as awaiting update. A staff member has requested changes to it before it can be approved.
[​IMG]


Syringe (Version 1.3, Update: 2/26/2016)

Syringe is an MPQ injector which is able to inject user's files into the Warcraft III MPQ (No path required).

Syringe.exe can be used to install a mod's Models and textures into the warcraft III mpq.

The usage depends on the users.

Syringe is a command line application.

Warning: Having custom MPQs may get you banned on battle.net though, so offline or mod-only usage is advised.

Syringe uses a command system which defines the code run by syringe.

Example:
Code (Text):
[color="white"]Injectfolder,war3,TestFolder,MyTestPath\;Injectfolder,war3,TestFolder2,MyTestPath\[/color]
Commands are separated with ";" and the parameters by "," and the first parameter is the function name.

Syringe commands are quite easy to make.

Syringe Commands

To create a syringe commands file open notepad and add commands keeping this in mind:

Commands are separated with ";" and the parameters by "," and the first parameter is the function name.

After adding the commands save the file as "Codes.syr" at the application's directory.

Files and folders paths are based on:

Application Folder/Path

Yet custom Mpqs paths are based on:

Warcraft III Folder/Filename + Extension

The current Syringe commands are:

Injectfoldertoroot: 2 Parameters : MPQ: war3/war3x/custom mpq name with extension,Folder Name: Name of the folder you want to inject, the folder (Or at least one of its parents) must be placed in the application's directory

Injects folder to root of selected Mpq

Example:
Code (Text):
[color="white"]Injectfoldertoroot,war3,TestFolder[/color]
Injectfolder: 3 Parameters : MPQ: war3/war3x/custom mpq name with extension,Folder Name: Name of the folder you want to inject the folder (Or at least one of its parents) must be placed in the application's directory, Path: Select the path you want the folder to be added to in the selected MPQ Example: "MyTestPath\" Leave the path empty if you want to folder to be added to root

Injects folder to the chosen path of selected Mpq

Example:
Code (Text):
[color="white"]Injectfolder,war3,TestFolder,MyTestPath\[/color]
Injectfile: 3 Parameters : MPQ: war3/war3x/custom mpq name with extension,File name: Name of the file you want to inject extension should be included, Path: Select the path you want the file to be added to in the selected MPQ Example: "MyTestPath\" Leave the path empty if you want to file to be added to root

Injects file to the chosen path of selected Mpq

Example:
Code (Text):
[color="white"]Injectfile,war3,Bob.mdx,MyTestPath\[/color]
Injectfoldertoroottemp: 2 Parameters : MPQ: war3/war3x/custom mpq name with extension,Folder Name: Name of the folder you want to inject, the folder (Or at least one of its parents) must be placed in the application's directory

Temporarily injects folder to root of selected Mpq

Files are removed next time Syringe is run

Example:
Code (Text):
[color="white"]Injectfoldertoroottemp,war3,TestFolder[/color]
Injectfoldertemp: 3 Parameters : MPQ: war3/war3x/custom mpq,Folder Name: Name of the folder you want to inject the folder (Or at least one of its parents) must be placed in the application's directory, Path: Select the path you want the folder to be added to in the selected MPQ Example: "MyTestPath\" Leave the path empty if you want to folder to be added to root

Temporarily injects folder to root of selected Mpq

Files are removed next time Syringe is run

Example:
Code (Text):
[color="white"]Injectfoldertemp,war3,TestFolder,MyTestPath\[/color]
Injectfiletemp: 3 Parameters : MPQ: war3/war3x/custom mpq name with extension,File name: Name of the file you want to inject extension should be included, Path: Select the path you want the file to be added to in the selected MPQ Example: "MyTestPath\" Leave the path empty if you want to file to be added to root

Temporarily injects file to the chosen path of selected Mpq

Files are removed next time Syringe is run

Example:
Code (Text):
[color="white"]Injectfiletemp,war3,Bob.mdx,MyTestPath\[/color]
Print: 1 Parameters : Text: The text that is displayed in the console.

Displays the text in the syringe console.

Example:
Code (Text):
[color="white"]Print,Helloworld![/color]
Printline: 1 Parameters : Text: The text that is displayed in the console.

Displays the text in the syringe console on a new line.

Example:
Code (Text):
[color="white"]Printline,Helloworld![/color]

Wait: 1 Parameters : Time: The time that syringe is going to wait, Unit is ms (Millisecond)

Waits for the selected time.

Example:
Code (Text):
[color="white"]Wait,200[/color]
Requirements

.Net 3.5 (Download)


Bugs and Suggestions

Please report any encountered bugs.

Suggestions are as always welcome.

Problems

If you encountered a problem with this program please post here about it so that it will be solved.

Your post should be detailed and include information about the error and your commands, a screenshot of the error is appreciated.

The commands you entered should also be entered in the post

Problems without enough details will be IGNORED

Keywords:
Syringe,Injector,WarcraftIII,Temporary,MPQ
Contents

Syringe (Binary)

Reviews
eejin
Do you have any intention of updating it to function with the newest Warcraft 3 version? Once you do it can be reviewed for approval. Refer to the tool submission rules or contact me if you need any clarification.
  1. Devin

    Devin

    Joined:
    Jul 3, 2014
    Messages:
    173
    Resources:
    1
    Tools:
    1
    Resources:
    1
    Reserved.

    Changelog:

    Version 1.1

    Syringe removes temporary files after game is closed.

    Version 1.2

    Added commands "Wait","Print","Printline". Temporary system improved.
     
    Last edited: Jan 21, 2016
  2. awesomesk1ll

    awesomesk1ll

    Joined:
    Jan 30, 2014
    Messages:
    6
    Resources:
    0
    Resources:
    0
    How i can inject my war3map.j file to other map using this utility ?
     
  3. Devin

    Devin

    Joined:
    Jul 3, 2014
    Messages:
    173
    Resources:
    1
    Tools:
    1
    Resources:
    1
    The current version can only inject to default mpqs.

    However, i will add support of custom mpqs to the next version.

    Edit: Application Updated to version 1.3

    Custom Mpqs are now supported.

    Path starts after Warcraft III location.

    Example: C:\Program Files\Warcraft III\Path

    Syringe editor UI pictures in attachments.
     

    Attached Files:

    Last edited: Feb 25, 2016
  4. neo_sluf

    neo_sluf

    Joined:
    Feb 5, 2012
    Messages:
    1,432
    Resources:
    5
    Maps:
    5
    Resources:
    5
    So if the map is optimized will it not mess up? Since optimizing somewhat modifies the mpq of the map.
     
  5. Devin

    Devin

    Joined:
    Jul 3, 2014
    Messages:
    173
    Resources:
    1
    Tools:
    1
    Resources:
    1
    I haven't tried but i don't think it would.

    You could try with a backup.
     
  6. eejin

    eejin

    Tool Reviewer

    Joined:
    Mar 6, 2017
    Messages:
    132
    Resources:
    1
    Tools:
    1
    Resources:
    1
    Do you have any intention of updating it to function with the newest Warcraft 3 version? Once you do it can be reviewed for approval. Refer to the tool submission rules or contact me if you need any clarification.