Code Monkey home page Code Monkey logo

genesis-code's People

Contributors

burmaraider avatar crisconru avatar crypto-cmd avatar dependabot-preview[bot] avatar dependabot[bot] avatar gerardgascon avatar juanjosalvador avatar michelvosje avatar zerasul avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

genesis-code's Issues

Colorize comments on RES files

RES files also support comments, but Genesis Code doesn't colorize them. Would be nice if VSCode support this too!

Example

SPRITE ship_sprite "sprites.bmp" 6 8 FAST 6
# Background image
IMAGE background "background.bmp" FAST

TMXParser.js - Activating extension 'Zerasul.genesis-code' failed: Cannot find module 'fast-xml-parser'

I'm unable to load the Genesis Code extension. Version is 1.3.0 and my VSCode version details are:

Version: 1.50.0 (user setup)
Commit: 93c2f0fbf16c5a4b10e4d5f89737d9c2c25488a3
Date: 2020-10-07T06:10:52.432Z
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Windows_NT x64 10.0.19041

When attempting to run any Genesis Code command, I receive and error that the command isn't found. On startup, the dev console spits out this error and stack trace indicating a failure to activate the extension:

Activating extension 'Zerasul.genesis-code' failed: Cannot find module 'fast-xml-parser'
Require stack:
- c:\Users\mc\.vscode\extensions\zerasul.genesis-code-1.3.0\out\TmxParser.js
- c:\Users\mc\.vscode\extensions\zerasul.genesis-code-1.3.0\out\appModel.js
- c:\Users\mc\.vscode\extensions\zerasul.genesis-code-1.3.0\out\extension.js
- c:\Users\mc\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js
- c:\Users\mc\AppData\Local\Programs\Microsoft VS Code\resources\app\out\bootstrap-amd.js
- c:\Users\mc\AppData\Local\Programs\Microsoft VS Code\resources\app\out\bootstrap-fork.js.

I've tried uninstalling the extension, removing the installation files from my user directory .vscode/extensions folder, and reinstalling. Unfortunately it hasn't resolved the issue. So for some reason, the fast-xml-parser NPM package either isn't being installed or isn't being detected.

add SGDK 1.60 support

after the release of SGDK 1.60, need to update the configuration and code of genesis code:

  • add autocomplete of the new MAP resource on res files
  • update default main.c template to replace the VDP_WaitVSync() to SYS_doVBlankProcess
  • update all the rescomp autocompletion with the new paramters.

fix typo on main.c template

There is an typo error on the initial comment on main.c file when a new project is created.

Created With Genesis-Code for extension for Visual Studio Code change to
Created With Genesis-Code extension for Visual Studio Code

fix coverage report issue

Due to an error with the continuous integration engine, the sonarcloud status gateway show as failed. We need to create a new coverage report for use with sonarcloud.

Error on compiling for debugg on Macos

On macos Systems if you use Compile For debuging for the first time and you aren't execute other command, it fail becase there is no a copy of build.bat file.

Add run command

Add run command for run the current rom with a Genesis Emulator (gens by default).

add bitmap viewer

Add a bitmap image viewer where you can see the image and the image used. This can be useful for create game resources for SGDK.

Fix PullRequest Errors

Due to the lasts Pull Request, we need to upgrade the configuration for Azure Devops to use NodeJs 10.X.X or later.

Add documentation

Add a documentation about the extension; can be a wiki or a GH Page...

configure SGDK folder by workspace

Configure SGDK folder per each workspace. Now it uses a Enviroment Variable called GDK. Can be useful configure the GDK variable per each workspace in vscode.

example:

set GDK=<mySGDKfolder>
%GDK%/bin/make -f %GDK%/makefile.gen

add an about genesis code Dialog

add an about genesis code dialog with information about the extension and some useful links, like:

  • extension web page
  • how to contribute
  • version information
  • author information.

Cannot resolve %GDK%

Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS D:\dev\genesis\megapong> set GDK=D:\dev\genesis\tools\sgdk
PS D:\dev\genesis\megapong> %GDK%\bin\make -f %GDK%\makefile.gen
%GDK%\bin\make : The module '%GDK%' could not be loaded. For more information, run 'Import-Module %GDK%'.
At line:1 char:1
+ %GDK%\bin\make -f %GDK%\makefile.gen
+ ~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (%GDK%\bin\make:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CouldNotAutoLoadModule
 
PS D:\dev\genesis\megapong>

I have correctly setup SGDK and have correct GDK and GDK_WIN variables and infact if I run the following command everything works fine.

cmd /C %GDK%\bin\make -f %GDK%\makefile.gen

I am using the latest Windows 10 Pro x64 and VSCode, Genesis Code is 1.3.1

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.