Skip to content

Just don't work, maybe it caused by electron? :-{ #66

@MairwunNx

Description

@MairwunNx

I just try read data by positions in file, file exists, file not opened in external programms.

In simple Hex Editor Workshop all values shows:

image

In jBinary:

image

My code:

    var fs = require('fs')
    var jBinary = require('jbinary')

    test () {
      jBinary.load('\\' + this.$store.getters.getDirectoryPath + '\\TYPE_NPC_GLADIATOR\\startcode.bin', typeSet, function (err, binary) {
        console.log(binary.seek(551846, function () { return this.binary.read('int32') }))
        //binary.write('int32', 3999, 551846) // also not work lol :{
      })
    }

Additional information:

  • Vue version: [latest]
  • System version: [Windows 10 x64]
  • Electron Api version: [4.0.0]
  • Chromium version: [69.0.3497.106]
  • Installed with npm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions