Giter Site home page Giter Site logo

build fail about nes-contra-us HOT 12 CLOSED

codediy avatar codediy commented on July 23, 2024
build fail

from nes-contra-us.

Comments (12)

codediy avatar codediy commented on July 23, 2024 2

thank for you help. i got the nes .
image

from nes-contra-us.

vermiceli avatar vermiceli commented on July 23, 2024

Hi @codediy, I removed the link you provided since that links to a rom, which is property of Konami. Which build script are you using: .bat, ps1, or .sh? Do you have the full output logs? Do you have any .bin files in the assets/audio_data and assets/graphic_data folders?

from nes-contra-us.

vermiceli avatar vermiceli commented on July 23, 2024

I noticed an issue in the PowerShell build script if you were using PowerShell version less than 7.2. I've corrected this so the script works regardless of whether you are using PowerShell (< 7.2) or PowerShell Core (> 7.2). Please let me know if this resolved the issue for you.

from nes-contra-us.

codediy avatar codediy commented on July 23, 2024

image

Run-time error input exceeded the end of the file

from nes-contra-us.

codediy avatar codediy commented on July 23, 2024

image

from nes-contra-us.

codediy avatar codediy commented on July 23, 2024

image

from nes-contra-us.

vermiceli avatar vermiceli commented on July 23, 2024

Hi @codediy, can you confirm that you haven't modified assets.txt? Also, have you tried the powershell version of the build script (build.ps1)? You have powershell on your computer. Open powershell and try to run .\build.ps1 and let me know if that overcomes your problem.

I don't see anything obviously wrong, but the powershell script will confirm that your baserom.nes is exactly right before continuing. I wonder if your rom has an issue.

from nes-contra-us.

codediy avatar codediy commented on July 23, 2024

image
image
the img-2 test pass , nes is ok. but ps script Get-Content .\baserom.nes -AsByteStream error for img-1

from nes-contra-us.

codediy avatar codediy commented on July 23, 2024

image
the assets.txt from this line read data error

from nes-contra-us.

codediy avatar codediy commented on July 23, 2024

image
image

when skip byte > 10 0000 ,read fail.

from nes-contra-us.

codediy avatar codediy commented on July 23, 2024

log.txt

from nes-contra-us.

vermiceli avatar vermiceli commented on July 23, 2024

HI @codediy, there was an update to the .build.ps1 script about 20 hours ago. Could you ensure you have the latest version of the build.ps1? The script was updated to work with older versions of PowerShell. That should resolve the "Get-Content : 找不到与参数名称“AsByteStream”匹配的参数。" error you are getting.

After getting the most recent build.ps1, if you are still having errors, try

  1. Run PowerShell as administrator/admin
  2. Run Set-ExecutionPolicy RemoteSigned to allow certain permissions

I hope this helps. Thanks for including the log file. That was very helpful for me.

from nes-contra-us.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.