8000 GitHub - hfabre/dretro-core: A minimal libretro core implementation in Dlang
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A minimal libretro core implementation in Dlang

Notifications You must be signed in to change notification settings

hfabre/dretro-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dretro-core

This is a libretro core implementation. Keep in mind thats my first take on writing a libretro core and my first time using dlang.

At the moment this is a minimal implementation (a skeletor port), it simply draw a background and a rectangle.

Usage

Make sure to have dlang and dub installed and available into your path.

Build the core using dub:

dub

Run retroach, of course it should run with any libretro front, but that's the one i'am using:

path/to/retroarch -v -L path/to/this/repo/lib/libdretro-core.{dylib,so}

-v option is optional i use it to debug my core since it makes retroarch verbose.

Steps

  • Translating libretro.h to dlang using dstep and fixing manually some errors (trying to compile the libretro.d file)
  • Print a rectangle (Handle the frame buffer and draw a AA rectangle to it)
  • Handle input
  • Minimal game scene (moving square)

Very uncertain next steps

  • Handle audio
  • Include mruby so you can script your core in ruby
  • Build a pico8 like platform

About

A minimal libretro core implementation in Dlang

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

0