Comments (6)
You don't need zonetool for GSC scripts. Plutonium IW5 can load GSC scripts on it's own now just like MW2. If you want to add scripts to your zone, simply add them as rawfile assets (instead of scriptfile assets).
Example: rawfile,maps/mp/gametypes/war.gsc
This will work just fine.
from gsc-tool.
extracted sp files from zonetool should work using -z options. ./gsc-tool.exe -iw5 -zdecomp script.cgsc
. you need both files from zonetool, script.cgsc & script.cgsc.stack
from gsc-tool.
I know.. i used it for SP.. and as we all know you guys wont do any sp modification for IW5 (sadly..)
However you can dump important SP files with zonetool and gsc-tool help us too view the .gsc code of the SP files.. but that no longer works with the current version :/
from gsc-tool.
Should be an easy change to make, the binary GSCS are composed of bytecode and a stack "buffer", zonetool just dumps them to two separate files. If you look at decompile_file
in main.cpp
, all you really need to do is call disassembler.disassemble
with three arguments - the file name, the bytecode buffer, and the stack buffer.
from gsc-tool.
Should be an easy change to make, the binary GSCS are composed of bytecode and a stack "buffer", zonetool just dumps them to two separate files. If you look at
decompile_file
inmain.cpp
, all you really need to do is calldisassembler.disassemble
with three arguments - the file name, the bytecode buffer, and the stack buffer.
Sounds like a solution, but not easy to do for a noob at this stuff
from gsc-tool.
extracted sp files from zonetool should work using -z options.
./gsc-tool.exe -iw5 -zdecomp script.cgsc
. you need both files from zonetool, script.cgsc & script.cgsc.stack
Thank you :) hope you keep up the gud work on this tool. (btw. can you keep an eye on the SP stuff :)?)
from gsc-tool.
Related Issues (14)
- "assembler: couldn't resolve label address" when compiling jumps or switches for t6. HOT 3
- Add an optional parameter at the end to specify output file name HOT 3
- Grammar railroad diagram
- Couldn't resolve instruction size for ... HOT 5
- feature request
- Warzone pacific update breaks decompilation of various scripts HOT 3
- [Bug]Issues with nested folders HOT 5
- Decompilation fails when specifying a fully qualified path to a script file
- [BUG] [T6] Most vectors cause server to hang when used as an argument in a function HOT 6
- decompile problem HOT 2
- add names iw6 HOT 2
- Can't build for Linux on Pop! OS HOT 3
- [BUG] [T6] Issue detecting missing ";" HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gsc-tool.