https://github.com/xxgicoxx/csfiles
Node.js package for read and update Counter-Strike 1.6 files.
https://github.com/xxgicoxx/csfiles
csfiles files parse reader
Last synced: 10 months ago
JSON representation
Node.js package for read and update Counter-Strike 1.6 files.
- Host: GitHub
- URL: https://github.com/xxgicoxx/csfiles
- Owner: xxgicoxx
- Created: 2022-06-15T18:54:33.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-22T23:31:58.000Z (over 3 years ago)
- Last Synced: 2025-02-18T11:57:22.370Z (over 1 year ago)
- Topics: csfiles, files, parse, reader
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/csfiles
- Size: 41 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# csfiles
Node.js package for read and update Counter-Strike 1.6 files.
# Features
* Read Counter-Strike 1.6 files
* Update Counter-Strike 1.6 files
# Prerequisites
* [Node.js](https://nodejs.org/en/)
# Installation
````
npm install csfiles
````
# Example
```javascript
const CSFiles = require('csfiles');
const csfiles = new CSFiles({
hldsPath: 'C:/Users/giovani/Desktop/hlds.lnk',
mapsPath: 'C:/Users/giovani/Desktop/Counter-Strike 1.6/cstrike/maps',
mapsFilter: 'fy_',
mapsCyclePath: 'C:/Users/giovani/Desktop/Counter-Strike 1.6/cstrike/mapcycle.txt',
cfgPath: 'C:/Users/giovani/Desktop/Counter-Strike 1.6/cstrike/server.cfg',
});
(async () => {
const cfg = await csfiles.cfg();
console.log(cfg);
const mapsCycle = await csfiles.mapsCycle();
console.log(mapsCycle);
})();
```
# Built With
* [Node.js](https://nodejs.org/en/)
# Authors
* [xxgicoxx](https://github.com/xxgicoxx)
# Acknowledgments
* [FlatIcon](https://www.flaticon.com/)