GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Unity-Technologies/NativeVersionControlPlugins: Perforce Version Control for Unity (PerforcePlugin.exe)

BranchesTags
Open more actions menu

Latest commit

 

History

607 Commits
607 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.yamato
.yamato
 
 
Common
Common
 
 
MFA
MFA
 
 
P4Plugin
P4Plugin
 
 
PerforceBinaries
PerforceBinaries
 
 
TFSPlugin
TFSPlugin
 
 
Test
Test
 
 
.editorconfig
.editorconfig
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
License
License
 
 
Makefile.gnu
Makefile.gnu
 
 
Makefile.osx
Makefile.osx
 
 
Makefile.srcs
Makefile.srcs
 
 
README.md
README.md
 
 
TODO.txt
TODO.txt
 
 
VersionControl.sln
VersionControl.sln
 
 
build.pl
build.pl
 
 
download_perforce_binaries.ps1
download_perforce_binaries.ps1
 
 
msbuilder.cmd
msbuilder.cmd
 
 

Repository files navigation

PerforcePlugin

About

This is the official Perforce plugin that is shipped with Unity, as a built-in Version Control provider.

On Windows it is shipped as Editor\Data\Tools\VersionControl\PerforcePlugin.exe.

Community supported fork

See also the Community Supported Perforce (Helix Core) plugin for Unity It is a fork of these code, but allows the linked version of the P4 API to be changed as needed, and provide more recent builds.

Overview

You can build support for you own favorite version control system into Unity by cloning this repository and make changes as needed.

A plugin is an executable located in a designated directory that Unity can start and kill at will. At startup, Unity will scan the directory and start each executable in order to identify the plugin and its settings. When a version control system has been enabled in unity it will start the associated plugin executable and send commands to it by using stdin/stdout (MacOS) or Named Pipes (Windows).

The Perforce plugin is using the libraries provided by Perforce and its callback style API. Furthermore, is streams results from the perforce server directly to Unity.

You need Unity 4.2+ to use the integrated version control plugins.

Structure

  • Common/ contains structures and functionality common to all plugins
  • P4Plugin/ contains the Perforce plugin code and Perforce libraries (binaries shipped with Unity)
  • TFSPlugin/ contains the Team Foundation Server/VS Online plugin code (not officially supported by Unity, and not shipped with Unity)
  • Test/ contains integration tests

To build:

perl ./build.pl

To test:

perl ./build.pl -test

Perforce

The Perforce plugin source code is located under P4Plugin/Source. It references the Perforce APIs, located under P4Plugin/Source/p4api.

The Windows and Linux builds are targeting the release 21.2 of Perforce API includes and libraries, that were downloaded from the Perforce downloads page.

The macOS build is targeting the release 24.1 of Perforce API includes and libraries, that were downloaded from the Perforce downloads page.

The PerforceBinaries where downloaded the same locations to run the integrations tests on.

curl -fssL -o 'PerforceBinaries\Win_x64\p4.exe'  'https://filehost.perforce.com/perforce/r21.2/bin.ntx64/p4.exe'
curl -fssL -o 'PerforceBinaries\Win_x64\p4d.exe' 'https://filehost.perforce.com/perforce/r21.2/bin.ntx64/p4d.exe'
curl -fssL -o 'PerforceBinaries/OSX/arm64/p4'    'https://filehost.perforce.com/perforce/r24.1/bin.macosx12arm64/p4'
curl -fssL -o 'PerforceBinaries/OSX/arm64/p4d'   'https://filehost.perforce.com/perforce/r24.1/bin.macosx12arm64/p4d'
curl -fssL -o 'PerforceBinaries/OSX/x86_64/p4'   'https://filehost.perforce.com/perforce/r24.1/bin.macosx1015x86_64/p4'
curl -fssL -o 'PerforceBinaries/OSX/x86_64/p4d'  'https://filehost.perforce.com/perforce/r24.1/bin.macosx1015x86_64/p4d'

Windows

Windows static libraries are located under P4Plugin/Source/p4api/lib/win32 and win32debug.

Both directories contain libraries for Win32 - x86 only, not x64. They require Visual Studio v10.0 (2010).

OpenSSL 1.0.1 static libraries are located under P4Plugin/Source/openssl/lib/win32.

License and terms

The plugin code itself is licensed under public domain.

Libraries used by the plugin have their own licenses and are allowed to be distributed with the plugin.

The PerforcePlugin uses the P4 API. For more information on terms of usage and how to get the P4 API, visit the following links:

  • Terms of use
  • APIs

About

Perforce Version Control for Unity (PerforcePlugin.exe)

Topics

perforceplastic-scmunity3dversion-control

Resources

Readme
License
Activity
Custom properties

Stars

43 stars

Watchers

7 watching

Forks

12 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.