Coder Social home page Coder Social logo

pyrokinesisstudio / tso-version-patcher Goto Github PK

View Code? Open in Web Editor NEW

This project forked from riperiperi/tso-version-patcher

0.0 2.0 0.0 867 KB

.NET Core filesystem patcher based off of BsDiff. For patching TSO v1.1239.1.0 back to N&I, but can be used for anything.

License: Mozilla Public License 2.0

C# 100.00%

tso-version-patcher's Introduction

TSO-Version-Patcher

.NET Core filesystem patcher based off of BsDiff. For patching TSO v1.1239.1.0 back to N&I, but can be used for anything.

Did this in case http://largedownloads.ea.com/ goes down forever. At the time of wrtiting, it is currently offline.

Included is a patch for the version of TSO available from web.archive.org. This should convert it back into the version FreeSO expects.

Patching

Pretty simple really. Provide a patch file, and a source and destination directory. Unchanged files will be copied from the source to the destination, and patch/add/deletes will be applied appropriately.

Note that the destination can be the same as the source - patched files will simply overwrite. Note that there isn't really any sanity checking for this - you should make sure you're patching a cleanly extracted version of the game or it might terminate mid operation.

Example Command (framework version):

TSOVersionPatcherF.exe 1239toNI.tsop PathToExtractedCabBase/ PathToDestination/

Example Command (core version, in correct folder):

dotnet run 1239toNI.tsop PathToExtractedCabBase/ PathToDestination/

You can even shorten if you're extracting to the same folder:

TSOVersionPatcherF.exe 1239toNI.tsop PathToInplacePatch/

Failure returns exit code 1. Success returns 0.

Making Patches

Example Command (framework version): TSOVersionPatcherF.exe --generate 1239toNI.tsop PathToVersionToBeConverted/ PathToTargetVersion/

Example Command (core version, in correct folder): dotnet run --generate 1239toNI.tsop PathToVersionToBeConverted/ PathToTargetVersion/

tso-version-patcher's People

Contributors

riperiperi avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.