stefferp / mockfox Goto Github PK
View Code? Open in Web Editor NEWThis project forked from tinmantex/mockfox
Framework to load MGSV TPP lua scripts outside of mgstpp
This project forked from tinmantex/mockfox
Framework to load MGSV TPP lua scripts outside of mgstpp
MockFox MockFox is a framework to load/compile MGSV TPP lua scripts including Infinite Heaven outside of the games exe itself by providing mock versions of the mgstpp internal modules. May be useful for analysing data in the scripts. Infinite Heaven uses it for it's AutoDoc which creates the Features and Options txt and html files. Terms: Host - the lua vm/interpreter that will be loading/running the fox engine scripts. Ex LDT - Lua Development Tools, MoonSharp C# lua implementation, or MGSTPP.exe I guess. Dependencies: Complete set of lua files from data1.dat If you want to run Infinite Heaven (not actually nessesary) you can get the full set by: Grab from https://github.com/TinManTex/mgsv-deminified-lua Unzip somewhere Infinite Heaven Unzip .mgsv, copy Assets,Tpp,init.lua into data1 luas folder, replacing any files. Unity/MoonSharp: MoonSharp (http://www.moonsharp.org/) Unity package https://www.assetstore.unity3d.com/en/#!/content/33776 GzsTool.Core - for Fox.StrCode32 support Files in this project: /MockFoxLua/ The majority of the mgstpp.exe lua facing modules mocked out, mostly empty functions and enum values, but enough to stop lua from complaining when reading the files. /Unity/ MockFoxManager.cs - unity script component that uses MoonSharp to load MockFoxLua and the mgstpp lua scripts. /Unity/Assets/MoonSharpTpp - (minimal) support for io module (MoonSharp doesn't provide it) and other fox engine mock modules that can't be defined by lua alone. Setup: LDT only: Open MockFoxLua\loadLDT.lua Edit foxGamePath,foxLuaPath,mockFoxPath to point to MGS_TPP game folder, data1 luas, MockFoxLuas respectively. Run loadLDT Unity: Add MoonSharp unity package to project Add GzsTool.Core assembly to project. Copy the files in MockFox zip Unity\Assets to your projects Assets folder. Add MockFoxManager.cs as a script component to a Unity entity. Change Mock Fox Path, Fox Lua Path, Game Path to folder of Mock Fox luas, data1 luas, MGS_TOO game folder respectively. Building: Not nessesary (the generated files are already included), but IHTearDown.lua in MGS_TPP\mod\modules can be used with IH to generate MockModules.lua and vars.lua as well as dump some intermediary info by running DumpModules and DumpVars respectively while mgstpp/IH is loaded.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.