Git Product home page Git Product logo

quake-k210's Introduction

Quake for k210

Dualshock2 is now supported! I've tested E1 at shareware mode. The framerate is very stable(25~70fps), and it definitely playable.

Note that controls and brightness can change at options menu.

Default key configulation

buttons

  • Start ... Enter
  • Select ... Esc
  • directional button ... Arrow Other buttons are as it's name. (L1, L2, L3, R1, ..., Circle, ...)

Analog sticks

This functions is fixed by code.

  • Left stick ... Move
  • Right stick ... Camera

build

  • Stack memory is expanded,
  • compile error is supressed by compile flags visit additionalparts/readme.md to build this program.

install

  1. copy id1/pak?.pak to your SD. You can DL the package file in the official Quake shareware, or use full package file(s).
  2. connect your dualshock2 to k210. See source/k210.c.
    fpioa_set_function(18, FUNC_GPIOHS0 + DS2_CS);   //Dualshock2 ss
    fpioa_set_function(19, FUNC_GPIOHS0 + DS2_CLK); //clk
    fpioa_set_function(21, FUNC_GPIOHS0 + DS2_MOSI); //mosi--DO/CMD
    fpioa_set_function(20, FUNC_GPIOHS0 + DS2_MISO); //miso--DI/DAT
  1. Set each of jump, Atack and switch weapon function to the button(s).

implementation note

  • AI memory is used in general purpose.

todo

  • fix stack setup. use _sp0, _sp1, etc. => done
  • key input, use game controller. => done
  • Sound controller
  • save (file write functions)
  • key asign (plz set up your configulation at option menu.)
  • Adjust stick sensitiveness

Credits

original crtQuake (3DS port)

Felipe Izzo (MasterFeizz) - Main developer Rinnegatamante - Sound enhancements

Thanks to

Id Software - Source code of Quake

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.