GithubHelp home page GithubHelp logo

3ds_monty's People

Contributors

aitjcize avatar altasoul avatar anton-2 avatar atx avatar blmorris avatar bvernoux avatar chipaca avatar danicampora avatar deshipu avatar dhylands avatar doogle avatar dpgeorge avatar dxxb avatar errordeveloper avatar henriksolver avatar iabdalkader avatar lurch avatar obsidianx avatar owens-bill avatar peterhinch avatar pfalcon avatar pohmelie avatar redteam316 avatar rjdowdall avatar rosuav avatar stinos avatar swegener avatar turbinenreiter avatar xbe avatar xyb avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

3ds_monty's Issues

SyntaxError, Even When There Shouldn't Be One

I'm having an issue running a program with the interpreter using the netloader. I've been trying to run a program, but whenever I try to run it from a .zip file, it returns:

Traceback (most recent call last):
    File "zip:/test1.py", line 1
SyntaxError: invalid syntax

Here is the code:

from citrus import *

gfx.init_default()
console.init(gfx.SCREEN_TOP)

print("Hello, world!") 
    
while apt.main_loop():
    hid.scan_input()
        
    if hid.keys_down() and hid.KEY_START:
        break
        
    gfx.flush_buffers()
    gfx.swap_buffers()
    gsp.wait_for_vblank()

I have the boot file included in the zip, and have double-checked that it points to the right file.

I should note that the program runs fine when only the .py file is sent. It's only when it's packaged in a .zip does the interpreter act up.

Could this be an issue with encoding? I checked both my Python script and the one used in the examples, but the format used by different editors mess up the interpreter? Or am I simply using the .zip files incorrectly?

Apt.c Compile Errors

I was doing fine with getting this to compile until I ran into a problem with apt.c. It kept telling me that lots of the enums that were being what I assume is exposed to python were not there. At first I thought I had fixed the problem by simply including a reference to apt.h from the 3ds includes but then I realized that a lot of the stuff still wasn't defined there such as Apt_AppStatus which I feel is a very important part of the code but honestly isn't there. Could anyone explain to me where those enums might be located or if I don't fully understand the functionality of what is going on in apt.c and apt.h.

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.