Comments (1)
class MotFile {
constructor ({ fileBuffer, fileType }) {
this._buffer = new ArrayBufferRead(fileBuffer)
this._header = {}
this._images = []
this._header = {
sprFileName: this._buffer.readBytes(0x100),
sprDescrption: this._buffer.readBytes(0x100),
sprImageCount: this._buffer.readInt()
}
for (let j = 0; j < this._header.sprImageCount; j++) {
let data = {}
data.var1 = this._buffer.readInt()
data.var2 = this._buffer.readBytes(0x28)
data.loopSize = this._buffer.readInt()
data.var3 = []
for (let k = 0; k < data.loopSize; k++) {
data.var3.push(this._buffer.readBytes(0x1E))
}
this._images.push(data)
}
}
}
from ghost.
Related Issues (20)
- How to bypass Game.exe?
- I have got many problems. HOT 2
- Can I know your contact?
- Execution error of Game_localhost_Debug.exe
- Hmm. HOT 2
- It's work. but there's still some errors. HOT 1
- Source Code Client HOT 2
- please help me.. HOT 1
- Setting up of the server HOT 8
- Can't install the client HOT 3
- How to translate the Client? HOT 1
- Error when try to run server HOT 1
- how to enable/disable debug information HOT 3
- 登入成功,但没有任何文字显示。 HOT 1
- 老哥有客户端的源码么 HOT 2
- 飛行性怪物追擊玩家異常
- 好友系統
- 任務系統不會儲存 HOT 1
- Hello. HOT 5
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 ghost.