User avatar
Aloshi
Posts: 359
Joined: Sat Jun 23, 2012 6:42 pm
Contact: Website

Re: RetroArch Emulator Frontend

Fri Aug 03, 2012 3:24 pm

Pendor wrote: I wrote a quick scraper in Python to get the game's info from an external DB into gamelist.xml.

Image

I'll post it here once it's usable, if anyone wants it.

It would be nice if ES resized the images (using SDL_gfx maybe), especially boxarts, since most game databases host these in the highest resolution posible.
This is totally awesome! And yeah, I thought about SDL_gfx but thought I'd wait and see if it would be worthwhile. I think I'll try resizing. The Ethernet port on my Raspberry Pi has stopped working though (the lights don't light up), so it's going to be tricky to install the library.

arimal
Posts: 38
Joined: Sun Jun 17, 2012 3:03 pm

Re: RetroArch Emulator Frontend

Fri Aug 03, 2012 5:59 pm

@ToadKing

I had a couple questions about the pocketsnes port, does it use the fast or compatible version(I'm guessing the fast), is there a compile option somewhere that can be changed? Also what are the chances libretro could use a newer version off pocketsnes That has better support for Super nes enhancement chips like the S-DD1? or am i reaching too far and the performance hit would be more than the 4-5 frames I'm suspecting?

Pendor
Posts: 48
Joined: Tue Jul 24, 2012 3:21 am

Re: RetroArch Emulator Frontend

Fri Aug 03, 2012 6:24 pm

Aloshi wrote:
Pendor wrote: I wrote a quick scraper in Python to get the game's info from an external DB into gamelist.xml.

Image

I'll post it here once it's usable, if anyone wants it.

It would be nice if ES resized the images (using SDL_gfx maybe), especially boxarts, since most game databases host these in the highest resolution posible.
This is totally awesome! And yeah, I thought about SDL_gfx but thought I'd wait and see if it would be worthwhile. I think I'll try resizing. The Ethernet port on my Raspberry Pi has stopped working though (the lights don't light up), so it's going to be tricky to install the library.
@Aloshi: I've never done anything in SDL to be honest, but I'll try to do it later and see what happens. Also, and this is just me, but I think using gamelists per platform would be more flexible (I haven't look at your code yet so I dunno how much rewrite is needed). Sounds kinda redundant at first, but you could set an aspect ratio for boxarts there instead of hardcoding it (maybe some other parameters) and it would be easier for the scraper too.

Again, just an idea.

User avatar
Aloshi
Posts: 359
Joined: Sat Jun 23, 2012 6:42 pm
Contact: Website

Re: RetroArch Emulator Frontend

Fri Aug 03, 2012 7:00 pm

Pendor wrote: @Aloshi: I've never done anything in SDL to be honest, but I'll try to do it later and see what happens. Also, and this is just me, but I think using gamelists per platform would be more flexible (I haven't look at your code yet so I dunno how much rewrite is needed). Sounds kinda redundant at first, but you could set an aspect ratio for boxarts there instead of hardcoding it (maybe some other parameters) and it would be easier for the scraper too.

Again, just an idea.
Gamelists per platform would be pretty easy to implement. Would the system index or system name be easier for your scraper to identify by?

Also ToadKing, would you like me to start a separate thread for EmulationStation?

Pendor
Posts: 48
Joined: Tue Jul 24, 2012 3:21 am

Re: RetroArch Emulator Frontend

Fri Aug 03, 2012 7:48 pm

Aloshi wrote:
Pendor wrote: @Aloshi: I've never done anything in SDL to be honest, but I'll try to do it later and see what happens. Also, and this is just me, but I think using gamelists per platform would be more flexible (I haven't look at your code yet so I dunno how much rewrite is needed). Sounds kinda redundant at first, but you could set an aspect ratio for boxarts there instead of hardcoding it (maybe some other parameters) and it would be easier for the scraper too.

Again, just an idea.
Gamelists per platform would be pretty easy to implement. Would the system index or system name be easier for your scraper to identify by?

Also ToadKing, would you like me to start a separate thread for EmulationStation?
It's more about mantaining and customizing each individual list properly than identifying it.

So far, it works like this. You call the script and pass the ROM directory as a parameter. The scraper prints the platform list from the DB and asks the user to enter the corresponding ID. Right now the API only allows search by ID instead of name so that is a step we can't skip. I doubt the list is gonna change anytime soon so you could just add it manually as an extra parameter in the systems config file and include the list in the file comments for reference.

Then asks the ROM file extension, gets the proper data and (currently) saves the xml file in the ES folder.

I could remove both prompts (the ROM folder and the file extension) by simply reading the systems config file (which I haven't coded yet but shouldnt take too long) and export the gamelist.xml to each individual ROM folder but we're gonna have to supply the platform ID one way or another.

Defining the platform beforehand and properly naming the file (there are tools for that) usually returns pretty good results.

And yeah, at this point, a different thread for ES would be more appropiate, so we don't clutter up his thread.

jugglerAndrew
Posts: 5
Joined: Sat Aug 04, 2012 1:22 am

Re: RetroArch Emulator Frontend

Sat Aug 04, 2012 1:25 am

Hi there, trying to get RetroArch to compile. Using the latest repo. Not sure what is wrong:

Code: Select all

gfx/rpi.c:20:22: error: bcm_host.h: No such file or directory
gfx/rpi.c:21:23: error: VG/openvg.h: No such file or directory
gfx/rpi.c:22:20: error: VG/vgu.h: No such file or directory
gfx/rpi.c:23:21: error: EGL/egl.h: No such file or directory
gfx/rpi.c:24:24: error: EGL/eglext.h: No such file or directory
gfx/rpi.c:37: error: expected specifier-qualifier-list before 'EGLDisplay'
gfx/rpi.c:65: warning: struct has no members
gfx/rpi.c: In function 'rpi_set_nonblock_state':
gfx/rpi.c:78: warning: implicit declaration of function 'eglSwapInterval'
gfx/rpi.c:78: error: 'rpi_t' has no member named 'mDisplay'
gfx/rpi.c: In function 'rpi_init':
gfx/rpi.c:84: error: 'EGLBoolean' undeclared (first use in this function)
gfx/rpi.c:84: error: (Each undeclared identifier is reported only once
gfx/rpi.c:84: error: for each function it appears in.)
gfx/rpi.c:84: error: expected ';' before 'result'
gfx/rpi.c:85: error: 'EGLint' undeclared (first use in this function)
gfx/rpi.c:85: error: expected ';' before 'num_config'
gfx/rpi.c:89: warning: ISO C forbids nested functions
gfx/rpi.c:89: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nativewindow'
gfx/rpi.c:89: error: 'nativewindow' undeclared (first use in this function)
gfx/rpi.c:91: error: 'DISPMANX_ELEMENT_HANDLE_T' undeclared (first use in this function)
gfx/rpi.c:91: error: expected ';' before 'dispman_element'
gfx/rpi.c:92: error: 'DISPMANX_DISPLAY_HANDLE_T' undeclared (first use in this function)
gfx/rpi.c:92: error: expected ';' before 'dispman_display'
gfx/rpi.c:93: error: 'DISPMANX_UPDATE_HANDLE_T' undeclared (first use in this function)
gfx/rpi.c:93: error: expected ';' before 'dispman_update'
gfx/rpi.c:94: error: 'DISPMANX_MODEINFO_T' undeclared (first use in this function)
gfx/rpi.c:94: error: expected ';' before 'dispman_modeinfo'
gfx/rpi.c:95: error: 'VC_RECT_T' undeclared (first use in this function)
gfx/rpi.c:95: error: expected ';' before 'dst_rect'
gfx/rpi.c:96: error: expected ';' before 'src_rect'
gfx/rpi.c:98: warning: ISO C forbids nested functions
gfx/rpi.c:98: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'attribute_list'
gfx/rpi.c:98: error: 'attribute_list' undeclared (first use in this function)
gfx/rpi.c:98: error: expected expression before ']' token
gfx/rpi.c:108: error: 'EGLConfig' undeclared (first use in this function)
gfx/rpi.c:108: error: expected ';' before 'config'
gfx/rpi.c:110: warning: implicit declaration of function 'bcm_host_init'
gfx/rpi.c:113: error: 'rpi_t' has no member named 'mDisplay'
gfx/rpi.c:113: warning: implicit declaration of function 'eglGetDisplay'
gfx/rpi.c:113: error: 'EGL_DEFAULT_DISPLAY' undeclared (first use in this function)
gfx/rpi.c:114: error: 'rpi_t' has no member named 'mDisplay'
gfx/rpi.c:114: error: 'EGL_NO_DISPLAY' undeclared (first use in this function)
gfx/rpi.c:117: error: 'result' undeclared (first use in this function)
gfx/rpi.c:117: warning: implicit declaration of function 'eglInitialize'
gfx/rpi.c:117: error: 'rpi_t' has no member named 'mDisplay'
gfx/rpi.c:118: error: 'EGL_FALSE' undeclared (first use in this function)
gfx/rpi.c:119: warning: implicit declaration of function 'eglBindAPI'
gfx/rpi.c:119: error: 'EGL_OPENVG_API' undeclared (first use in this function)
gfx/rpi.c:122: warning: implicit declaration of function 'eglChooseConfig'
gfx/rpi.c:122: error: 'rpi_t' has no member named 'mDisplay'
gfx/rpi.c:122: error: 'config' undeclared (first use in this function)
gfx/rpi.c:122: error: 'num_config' undeclared (first use in this function)
gfx/rpi.c:126: error: 'rpi_t' has no member named 'mContext'
gfx/rpi.c:126: warning: implicit declaration of function 'eglCreateContext'
gfx/rpi.c:126: error: 'rpi_t' has no member named 'mDisplay'
gfx/rpi.c:126: error: 'EGL_NO_CONTEXT' undeclared (first use in this function)
gfx/rpi.c:127: error: 'rpi_t' has no member named 'mContext'
gfx/rpi.c:130: warning: implicit declaration of function 'graphics_get_display_size'
gfx/rpi.c:130: error: 'rpi_t' has no member named 'mScreenWidth'
gfx/rpi.c:130: error: 'rpi_t' has no member named 'mScreenHeight'
gfx/rpi.c:133: error: 'dst_rect' undeclared (first use in this function)
gfx/rpi.c:135: error: 'rpi_t' has no member named 'mScreenWidth'
gfx/rpi.c:136: error: 'rpi_t' has no member named 'mScreenHeight'
gfx/rpi.c:138: error: 'src_rect' undeclared (first use in this function)
gfx/rpi.c:140: error: 'rpi_t' has no member named 'mScreenWidth'
gfx/rpi.c:141: error: 'rpi_t' has no member named 'mScreenHeight'
gfx/rpi.c:143: error: 'dispman_display' undeclared (first use in this function)
gfx/rpi.c:143: warning: implicit declaration of function 'vc_dispmanx_display_open'
gfx/rpi.c:144: warning: implicit declaration of function 'vc_dispmanx_display_get_info'
gfx/rpi.c:144: error: 'dispman_modeinfo' undeclared (first use in this function)
gfx/rpi.c:145: error: 'dispman_update' undeclared (first use in this function)
gfx/rpi.c:145: warning: implicit declaration of function 'vc_dispmanx_update_start'
gfx/rpi.c:147: error: 'dispman_element' undeclared (first use in this function)
gfx/rpi.c:147: warning: implicit declaration of function 'vc_dispmanx_element_add'
gfx/rpi.c:149: error: 'DISPMANX_PROTECTION_NONE' undeclared (first use in this function)
gfx/rpi.c:149: error: 'DISPMANX_NO_ROTATE' undeclared (first use in this function)
gfx/rpi.c:152: error: 'rpi_t' has no member named 'mScreenWidth'
gfx/rpi.c:153: error: 'rpi_t' has no member named 'mScreenHeight'
gfx/rpi.c:154: warning: implicit declaration of function 'vc_dispmanx_update_submit_sync'
gfx/rpi.c:156: error: 'rpi_t' has no member named 'mSurface'
gfx/rpi.c:156: warning: implicit declaration of function 'eglCreateWindowSurface'
gfx/rpi.c:156: error: 'rpi_t' has no member named 'mDisplay'
gfx/rpi.c:157: error: 'rpi_t' has no member named 'mSurface'
gfx/rpi.c:157: error: 'EGL_NO_SURFACE' undeclared (first use in this function)
gfx/rpi.c:160: warning: implicit declaration of function 'eglMakeCurrent'
gfx/rpi.c:160: error: 'rpi_t' has no member named 'mDisplay'
gfx/rpi.c:160: error: 'rpi_t' has no member named 'mSurface'
gfx/rpi.c:160: error: 'rpi_t' has no member named 'mSurface'
gfx/rpi.c:160: error: 'rpi_t' has no member named 'mContext'
gfx/rpi.c:163: error: 'rpi_t' has no member named 'mTexType'
gfx/rpi.c:163: error: 'VG_sABGR_8888' undeclared (first use in this function)
gfx/rpi.c:163: error: 'VG_sARGB_1555' undeclared (first use in this function)
gfx/rpi.c:164: error: 'rpi_t' has no member named 'mKeepAspect'
gfx/rpi.c:168: error: 'rpi_t' has no member named 'mScreenAspect'
gfx/rpi.c:170: error: 'rpi_t' has no member named 'mScreenAspect'
gfx/rpi.c:172: error: 'VGfloat' undeclared (first use in this function)
gfx/rpi.c:172: error: expected ';' before 'clearColor'
gfx/rpi.c:173: warning: implicit declaration of function 'vgSetfv'
gfx/rpi.c:173: error: 'VG_CLEAR_COLOR' undeclared (first use in this function)
gfx/rpi.c:173: error: 'clearColor' undeclared (first use in this function)
gfx/rpi.c:175: error: 'rpi_t' has no member named 'mTextureWidth'
gfx/rpi.c:175: error: 'rpi_t' has no member named 'mTextureHeight'
gfx/rpi.c:180: error: 'rpi_t' has no member named 'mImage'
gfx/rpi.c:180: warning: implicit declaration of function 'vgCreateImage'
gfx/rpi.c:180: error: 'VG_sXBGR_8888' undeclared (first use in this function)
gfx/rpi.c:181: error: 'rpi_t' has no member named 'mTextureWidth'
gfx/rpi.c:181: error: 'rpi_t' has no member named 'mTextureHeight'
gfx/rpi.c:182: error: 'VG_IMAGE_QUALITY_BETTER' undeclared (first use in this function)
gfx/rpi.c:182: error: 'VG_IMAGE_QUALITY_NONANTIALIASED' undeclared (first use in this function)
gfx/rpi.c:195: error: 'rpi_t' has no member named 'mFont'
gfx/rpi.c:195: warning: implicit declaration of function 'vgCreateFont'
gfx/rpi.c:196: error: 'rpi_t' has no member named 'mFontHeight'
gfx/rpi.c:196: error: 'rpi_t' has no member named 'mScreenWidth'
gfx/rpi.c:202: error: 'rpi_t' has no member named 'mFontRenderer'
gfx/rpi.c:202: error: 'rpi_t' has no member named 'mFontHeight'
gfx/rpi.c:204: error: 'rpi_t' has no member named 'mFont'
gfx/rpi.c:204: error: 'VG_INVALID_HANDLE' undeclared (first use in this function)
gfx/rpi.c:204: error: 'rpi_t' has no member named 'mFontRenderer'
gfx/rpi.c:206: error: 'rpi_t' has no member named 'mFontsOn'
gfx/rpi.c:208: error: 'rpi_t' has no member named 'mPaintFg'
gfx/rpi.c:208: warning: implicit declaration of function 'vgCreatePaint'
gfx/rpi.c:209: error: 'rpi_t' has no member named 'mPaintBg'
gfx/rpi.c:210: error: expected ';' before 'paintFg'
gfx/rpi.c:211: error: expected ';' before 'paintBg'
gfx/rpi.c:213: warning: implicit declaration of function 'vgSetParameteri'
gfx/rpi.c:213: error: 'rpi_t' has no member named 'mPaintFg'
gfx/rpi.c:213: error: 'VG_PAINT_TYPE' undeclared (first use in this function)
gfx/rpi.c:213: error: 'VG_PAINT_TYPE_COLOR' undeclared (first use in this function)
gfx/rpi.c:214: warning: implicit declaration of function 'vgSetParameterfv'
gfx/rpi.c:214: error: 'rpi_t' has no member named 'mPaintFg'
gfx/rpi.c:214: error: 'VG_PAINT_COLOR' undeclared (first use in this function)
gfx/rpi.c:214: error: 'paintFg' undeclared (first use in this function)
gfx/rpi.c:216: error: 'rpi_t' has no member named 'mPaintBg'
gfx/rpi.c:217: error: 'rpi_t' has no member named 'mPaintBg'
gfx/rpi.c:217: error: 'paintBg' undeclared (first use in this function)
gfx/rpi.c: In function 'rpi_free':
gfx/rpi.c:236: warning: implicit declaration of function 'vgDestroyImage'
gfx/rpi.c:236: error: 'rpi_t' has no member named 'mImage'
gfx/rpi.c:239: error: 'rpi_t' has no member named 'mFontsOn'
gfx/rpi.c:241: warning: implicit declaration of function 'vgDestroyFont'
gfx/rpi.c:241: error: 'rpi_t' has no member named 'mFont'
gfx/rpi.c:242: error: 'rpi_t' has no member named 'mFontRenderer'
gfx/rpi.c:243: warning: implicit declaration of function 'vgDestroyPaint'
gfx/rpi.c:243: error: 'rpi_t' has no member named 'mPaintFg'
gfx/rpi.c:244: error: 'rpi_t' has no member named 'mPaintBg'
gfx/rpi.c:249: error: 'rpi_t' has no member named 'mDisplay'
gfx/rpi.c:249: error: 'EGL_NO_SURFACE' undeclared (first use in this function)
gfx/rpi.c:249: error: 'EGL_NO_CONTEXT' undeclared (first use in this function)
gfx/rpi.c:250: warning: implicit declaration of function 'eglDestroySurface'
gfx/rpi.c:250: error: 'rpi_t' has no member named 'mDisplay'
gfx/rpi.c:250: error: 'rpi_t' has no member named 'mSurface'
gfx/rpi.c:251: warning: implicit declaration of function 'eglDestroyContext'
gfx/rpi.c:251: error: 'rpi_t' has no member named 'mDisplay'
gfx/rpi.c:251: error: 'rpi_t' has no member named 'mContext'
gfx/rpi.c:252: warning: implicit declaration of function 'eglTerminate'
gfx/rpi.c:252: error: 'rpi_t' has no member named 'mDisplay'
gfx/rpi.c: In function 'rpi_render_message':
gfx/rpi.c:261: error: 'rpi_t' has no member named 'mLastMsg'
gfx/rpi.c:262: error: 'rpi_t' has no member named 'mLastMsg'
gfx/rpi.c:264: error: 'rpi_t' has no member named 'mMsgLength'
gfx/rpi.c:266: error: 'rpi_t' has no member named 'mMsgLength'
gfx/rpi.c:267: warning: implicit declaration of function 'vgClearGlyph'
gfx/rpi.c:267: error: 'rpi_t' has no member named 'mFont'
gfx/rpi.c:267: error: 'rpi_t' has no member named 'mMsgLength'
gfx/rpi.c:269: error: 'rpi_t' has no member named 'mFont'
gfx/rpi.c:273: error: 'rpi_t' has no member named 'mFontRenderer'
gfx/rpi.c:278: error: 'rpi_t' has no member named 'mMsgLength'
gfx/rpi.c:281: error: 'VGfloat' undeclared (first use in this function)
gfx/rpi.c:281: error: expected ';' before 'origin'
gfx/rpi.c:282: error: 'VGImage' undeclared (first use in this function)
gfx/rpi.c:282: error: expected ';' before 'img'
gfx/rpi.c:284: error: 'escapement' undeclared (first use in this function)
gfx/rpi.c:286: error: 'origin' undeclared (first use in this function)
gfx/rpi.c:289: error: 'img' undeclared (first use in this function)
gfx/rpi.c:289: error: 'VG_A_8' undeclared (first use in this function)
gfx/rpi.c:289: error: 'VG_IMAGE_QUALITY_NONANTIALIASED' undeclared (first use in this function)
gfx/rpi.c:293: warning: implicit declaration of function 'vgImageSubData'
gfx/rpi.c:295: warning: implicit declaration of function 'vgSetGlyphToImage'
gfx/rpi.c:295: error: 'rpi_t' has no member named 'mFont'
gfx/rpi.c:295: error: 'rpi_t' has no member named 'mMsgLength'
gfx/rpi.c:298: error: 'rpi_t' has no member named 'mMsgLength'
gfx/rpi.c:304: error: 'rpi_t' has no member named 'mMsgLength'
gfx/rpi.c:305: error: 'rpi_t' has no member named 'mGlyphIndices'
gfx/rpi.c: In function 'rpi_draw_message':
gfx/rpi.c:310: error: 'rpi_t' has no member named 'mLastMsg'
gfx/rpi.c:310: error: 'rpi_t' has no member named 'mLastMsg'
gfx/rpi.c:310: error: 'rpi_t' has no member named 'mLastMsg'
gfx/rpi.c:310: warning: left-hand operand of comma expression has no effect
gfx/rpi.c:310: error: 'rpi_t' has no member named 'mLastMsg'
gfx/rpi.c:310: error: 'rpi_t' has no member named 'mLastMsg'
gfx/rpi.c:310: warning: value computed is not used
gfx/rpi.c:310: error: 'rpi_t' has no member named 'mLastMsg'
gfx/rpi.c:310: error: 'rpi_t' has no member named 'mLastMsg'
gfx/rpi.c:310: error: 'rpi_t' has no member named 'mLastMsg'
gfx/rpi.c:310: error: 'rpi_t' has no member named 'mLastMsg'
gfx/rpi.c:310: error: 'rpi_t' has no member named 'mLastMsg'
gfx/rpi.c:310: warning: left-hand operand of comma expression has no effect
gfx/rpi.c:310: error: 'rpi_t' has no member named 'mLastMsg'
gfx/rpi.c:310: error: 'rpi_t' has no member named 'mLastMsg'
gfx/rpi.c:310: error: 'rpi_t' has no member named 'mLastMsg'
gfx/rpi.c:310: error: 'rpi_t' has no member named 'mLastMsg'
gfx/rpi.c:310: error: 'rpi_t' has no member named 'mLastMsg'
gfx/rpi.c:310: error: 'rpi_t' has no member named 'mLastMsg'
gfx/rpi.c:310: error: 'rpi_t' has no member named 'mLastMsg'
gfx/rpi.c:310: error: 'rpi_t' has no member named 'mLastMsg'
gfx/rpi.c:310: error: 'rpi_t' has no member named 'mLastMsg'
gfx/rpi.c:310: error: 'rpi_t' has no member named 'mLastMsg'
gfx/rpi.c:310: error: 'rpi_t' has no member named 'mLastMsg'
gfx/rpi.c:313: warning: implicit declaration of function 'vgSeti'
gfx/rpi.c:313: error: 'VG_SCISSORING' undeclared (first use in this function)
gfx/rpi.c:313: error: 'VG_FALSE' undeclared (first use in this function)
gfx/rpi.c:314: error: 'VG_IMAGE_MODE' undeclared (first use in this function)
gfx/rpi.c:314: error: 'VG_DRAW_IMAGE_STENCIL' undeclared (first use in this function)
gfx/rpi.c:316: error: 'VGfloat' undeclared (first use in this function)
gfx/rpi.c:316: error: expected ';' before 'origins'
gfx/rpi.c:321: error: 'VG_GLYPH_ORIGIN' undeclared (first use in this function)
gfx/rpi.c:321: error: 'origins' undeclared (first use in this function)
gfx/rpi.c:322: warning: implicit declaration of function 'vgSetPaint'
gfx/rpi.c:322: error: 'rpi_t' has no member named 'mPaintBg'
gfx/rpi.c:322: error: 'VG_FILL_PATH' undeclared (first use in this function)
gfx/rpi.c:323: warning: implicit declaration of function 'vgDrawGlyphs'
gfx/rpi.c:323: error: 'rpi_t' has no member named 'mFont'
gfx/rpi.c:323: error: 'rpi_t' has no member named 'mMsgLength'
gfx/rpi.c:323: error: 'rpi_t' has no member named 'mGlyphIndices'
gfx/rpi.c:323: error: 'VG_TRUE' undeclared (first use in this function)
gfx/rpi.c:327: error: 'rpi_t' has no member named 'mPaintFg'
gfx/rpi.c:328: error: 'rpi_t' has no member named 'mFont'
gfx/rpi.c:328: error: 'rpi_t' has no member named 'mMsgLength'
gfx/rpi.c:328: error: 'rpi_t' has no member named 'mGlyphIndices'
gfx/rpi.c:331: error: 'VG_DRAW_IMAGE_NORMAL' undeclared (first use in this function)
gfx/rpi.c: In function 'rpi_calculate_quad':
gfx/rpi.c:339: error: 'rpi_t' has no member named 'mKeepAspect'
gfx/rpi.c:345: error: 'rpi_t' has no member named 'mScreenAspect'
gfx/rpi.c:347: error: 'rpi_t' has no member named 'x1'
gfx/rpi.c:348: error: 'rpi_t' has no member named 'y1'
gfx/rpi.c:349: error: 'rpi_t' has no member named 'x2'
gfx/rpi.c:349: error: 'rpi_t' has no member named 'mScreenWidth'
gfx/rpi.c:350: error: 'rpi_t' has no member named 'y2'
gfx/rpi.c:350: error: 'rpi_t' has no member named 'mScreenHeight'
gfx/rpi.c:352: error: 'rpi_t' has no member named 'mScreenAspect'
gfx/rpi.c:354: error: 'rpi_t' has no member named 'mScreenAspect'
gfx/rpi.c:355: error: 'rpi_t' has no member named 'x1'
gfx/rpi.c:355: error: 'rpi_t' has no member named 'mScreenWidth'
gfx/rpi.c:356: error: 'rpi_t' has no member named 'y1'
gfx/rpi.c:357: error: 'rpi_t' has no member named 'x2'
gfx/rpi.c:357: error: 'rpi_t' has no member named 'mScreenWidth'
gfx/rpi.c:357: error: 'rpi_t' has no member named 'x1'
gfx/rpi.c:358: error: 'rpi_t' has no member named 'y2'
gfx/rpi.c:358: error: 'rpi_t' has no member named 'mScreenHeight'
gfx/rpi.c:358: error: 'rpi_t' has no member named 'y1'
gfx/rpi.c:362: error: 'rpi_t' has no member named 'mScreenAspect'
gfx/rpi.c:363: error: 'rpi_t' has no member named 'x1'
gfx/rpi.c:364: error: 'rpi_t' has no member named 'y1'
gfx/rpi.c:364: error: 'rpi_t' has no member named 'mScreenHeight'
gfx/rpi.c:365: error: 'rpi_t' has no member named 'x2'
gfx/rpi.c:365: error: 'rpi_t' has no member named 'mScreenWidth'
gfx/rpi.c:365: error: 'rpi_t' has no member named 'x1'
gfx/rpi.c:366: error: 'rpi_t' has no member named 'y2'
gfx/rpi.c:366: error: 'rpi_t' has no member named 'mScreenHeight'
gfx/rpi.c:366: error: 'rpi_t' has no member named 'y1'
gfx/rpi.c:371: error: 'rpi_t' has no member named 'x1'
gfx/rpi.c:372: error: 'rpi_t' has no member named 'y1'
gfx/rpi.c:373: error: 'rpi_t' has no member named 'x2'
gfx/rpi.c:373: error: 'rpi_t' has no member named 'mScreenWidth'
gfx/rpi.c:374: error: 'rpi_t' has no member named 'y2'
gfx/rpi.c:374: error: 'rpi_t' has no member named 'mScreenHeight'
gfx/rpi.c:377: error: 'rpi_t' has no member named 'scissor'
gfx/rpi.c:377: error: 'rpi_t' has no member named 'x1'
gfx/rpi.c:378: error: 'rpi_t' has no member named 'scissor'
gfx/rpi.c:378: error: 'rpi_t' has no member named 'y1'
gfx/rpi.c:379: error: 'rpi_t' has no member named 'scissor'
gfx/rpi.c:379: error: 'rpi_t' has no member named 'x2'
gfx/rpi.c:379: error: 'rpi_t' has no member named 'x1'
gfx/rpi.c:380: error: 'rpi_t' has no member named 'scissor'
gfx/rpi.c:380: error: 'rpi_t' has no member named 'y2'
gfx/rpi.c:380: error: 'rpi_t' has no member named 'y1'
gfx/rpi.c:382: warning: implicit declaration of function 'vgSetiv'
gfx/rpi.c:382: error: 'VG_SCISSOR_RECTS' undeclared (first use in this function)
gfx/rpi.c:382: error: 'rpi_t' has no member named 'scissor'
gfx/rpi.c: In function 'rpi_frame':
gfx/rpi.c:389: error: 'rpi_t' has no member named 'mRenderWidth'
gfx/rpi.c:389: error: 'rpi_t' has no member named 'mRenderHeight'
gfx/rpi.c:391: error: 'rpi_t' has no member named 'mRenderWidth'
gfx/rpi.c:392: error: 'rpi_t' has no member named 'mRenderHeight'
gfx/rpi.c:394: warning: implicit declaration of function 'vguComputeWarpQuadToQuad'
gfx/rpi.c:395: error: 'rpi_t' has no member named 'x1'
gfx/rpi.c:395: error: 'rpi_t' has no member named 'y1'
gfx/rpi.c:395: error: 'rpi_t' has no member named 'x2'
gfx/rpi.c:395: error: 'rpi_t' has no member named 'y1'
gfx/rpi.c:395: error: 'rpi_t' has no member named 'x2'
gfx/rpi.c:395: error: 'rpi_t' has no member named 'y2'
gfx/rpi.c:395: error: 'rpi_t' has no member named 'x1'
gfx/rpi.c:395: error: 'rpi_t' has no member named 'y2'
gfx/rpi.c:398: error: 'rpi_t' has no member named 'mTransformMatrix'
gfx/rpi.c:399: error: 'VG_MATRIX_MODE' undeclared (first use in this function)
gfx/rpi.c:399: error: 'VG_MATRIX_IMAGE_USER_TO_SURFACE' undeclared (first use in this function)
gfx/rpi.c:400: warning: implicit declaration of function 'vgLoadMatrix'
gfx/rpi.c:400: error: 'rpi_t' has no member named 'mTransformMatrix'
gfx/rpi.c:402: error: 'VG_SCISSORING' undeclared (first use in this function)
gfx/rpi.c:402: error: 'VG_FALSE' undeclared (first use in this function)
gfx/rpi.c:403: warning: implicit declaration of function 'vgClear'
gfx/rpi.c:403: error: 'rpi_t' has no member named 'mScreenWidth'
gfx/rpi.c:403: error: 'rpi_t' has no member named 'mScreenHeight'
gfx/rpi.c:404: error: 'VG_TRUE' undeclared (first use in this function)
gfx/rpi.c:406: error: 'rpi_t' has no member named 'mImage'
gfx/rpi.c:406: error: 'rpi_t' has no member named 'mTexType'
gfx/rpi.c:407: warning: implicit declaration of function 'vgDrawImage'
gfx/rpi.c:407: error: 'rpi_t' has no member named 'mImage'
gfx/rpi.c:410: error: 'rpi_t' has no member named 'mFontsOn'
gfx/rpi.c:416: warning: implicit declaration of function 'eglSwapBuffers'
gfx/rpi.c:416: error: 'rpi_t' has no member named 'mDisplay'
gfx/rpi.c:416: error: 'rpi_t' has no member named 'mSurface'
make: *** [gfx/rpi.o] Error 1

xtavras
Posts: 2
Joined: Sat Aug 04, 2012 4:58 pm

Re: RetroArch Emulator Frontend

Sat Aug 04, 2012 5:11 pm

petrockblog wrote:

Code: Select all

prboom.wad not found - cannot continue
Segmentation fault
Or maybe someone else here already has libretro-prboom up and running and could give me ahint?
You should have 2 files: "doom.wad" and "prboom.wad" in a same folder. Do you have the file (prboom.wad) at all? If no, then google it and download, its like a rom for DOOM.

xtavras
Posts: 2
Joined: Sat Aug 04, 2012 4:58 pm

Re: RetroArch Emulator Frontend

Sat Aug 04, 2012 5:29 pm

petrockblog wrote:
UPDATE:
I just tested the Genesis-Plus-GX core and, after calling "retroarch -L RetroPie/emulatorcores/Genesis-Plus-GX/libretro.so RetroPie/roms/megadrive/Sonic\ the\ Hedgehog\ -\ Compilation\ #\ SMD.SMD", I get the message "System directory is not defined. Cannot continure ..."
add in your "retroarch.cfg" file the "system_directory" option with path to your sega-rom directory (I guess it can be any directory actually, see https://github.com/Themaister/RetroArch/issues/41)

Example.

system_directory = /home/pi/RetroPie/roms/megadrive

petrockblog
Posts: 272
Joined: Wed Jul 04, 2012 6:12 am
Location: Germany
Contact: Website

Re: RetroArch Emulator Frontend

Sun Aug 05, 2012 10:48 am

jugglerAndrew wrote:Hi there, trying to get RetroArch to compile. Using the latest repo. Not sure what is wrong:
If you are using Raspbian, you could try the RetroPie setup script. In the meanwhile it got a GUI and allows an easy way for installing RetroArch with various cores. It can be installed with just a few lines. You find the instructions for that at http://petrockblog.wordpress.com/2012/0 ... pberry-pi/
fun stuff for technics enthusiasts: www.petrockblock.com

petrockblog
Posts: 272
Joined: Wed Jul 04, 2012 6:12 am
Location: Germany
Contact: Website

Re: RetroArch Emulator Frontend

Sun Aug 05, 2012 11:13 am

xtavras wrote:
petrockblog wrote:

Code: Select all

prboom.wad not found - cannot continue
Segmentation fault
Or maybe someone else here already has libretro-prboom up and running and could give me ahint?
You should have 2 files: "doom.wad" and "prboom.wad" in a same folder. Do you have the file (prboom.wad) at all? If no, then google it and download, its like a rom for DOOM.
Thank you very much! It works now. I will consider this in the RetroPie setup script in a following commit.
fun stuff for technics enthusiasts: www.petrockblock.com

petrockblog
Posts: 272
Joined: Wed Jul 04, 2012 6:12 am
Location: Germany
Contact: Website

Re: RetroArch Emulator Frontend

Sun Aug 05, 2012 11:15 am

xtavras wrote:
petrockblog wrote:
UPDATE:
I just tested the Genesis-Plus-GX core and, after calling "retroarch -L RetroPie/emulatorcores/Genesis-Plus-GX/libretro.so RetroPie/roms/megadrive/Sonic\ the\ Hedgehog\ -\ Compilation\ #\ SMD.SMD", I get the message "System directory is not defined. Cannot continure ..."
add in your "retroarch.cfg" file the "system_directory" option with path to your sega-rom directory (I guess it can be any directory actually, see https://github.com/Themaister/RetroArch/issues/41)

Example.

system_directory = /home/pi/RetroPie/roms/megadrive
Thanks a lot - it works now!! Shame on me that I did not see this option before ...
I will take care for this in a following commit for the RetroPie setup script.
However, the Genesis core is kind of slow (as ToadKing already mentioned) ...
fun stuff for technics enthusiasts: www.petrockblock.com

mongrol
Posts: 76
Joined: Wed Aug 01, 2012 2:43 am

Re: RetroArch Emulator Frontend

Sun Aug 05, 2012 11:25 am

Hi everyone.
I'm building bartop mame cabinet with my Pi and Retroarch looks like a great fit. However, I can get the imame4all core to run some games but how do I configure the keyboard? The standard mapping doesn't seem to match the usual mame mappings. (Insert coins, tab menu etc).

haxxa
Posts: 5
Joined: Fri Jul 27, 2012 11:44 am

Re: RetroArch Emulator Frontend

Sun Aug 05, 2012 12:13 pm

mongrol wrote:Hi everyone.
I'm building bartop mame cabinet with my Pi and Retroarch looks like a great fit. However, I can get the imame4all core to run some games but how do I configure the keyboard? The standard mapping doesn't seem to match the usual mame mappings. (Insert coins, tab menu etc).
+1 in similar position, I have controls hooked in to Pi via USB Input Device would like to know more info on keyboard mapping for my Bartop Arcade...

kingsna1
Posts: 5
Joined: Sun Aug 05, 2012 1:38 pm

Re: RetroArch Emulator Frontend

Sun Aug 05, 2012 1:44 pm

Hello,
Great emulators btw but having a problem configuring the joystick... Newbie i know. I keep changing the retroarch.cfg but to no avail ... Nothing works... after i ahve run retroarch and exit i have this appear

Code: Select all

XDG_CONFIG_HOME is not defined.will look for config in $HOME/.retroarch.cfg 
. But still nothing.

jugglerAndrew
Posts: 5
Joined: Sat Aug 04, 2012 1:22 am

Re: RetroArch Emulator Frontend

Sun Aug 05, 2012 2:26 pm

petrockblog wrote:
jugglerAndrew wrote:Hi there, trying to get RetroArch to compile. Using the latest repo. Not sure what is wrong:
If you are using Raspbian, you could try the RetroPie setup script. In the meanwhile it got a GUI and allows an easy way for installing RetroArch with various cores. It can be installed with just a few lines. You find the instructions for that at http://petrockblog.wordpress.com/2012/0 ... pberry-pi/
Hello,
This is on a RaspBMC environment, should have mentioned that earlier. I am actually using your latest script to compile everything. After your setup script does it's thing, I tried to run the SNES emulator with the retroarch command. I got a "command not found error," so I tried re-compiling RetroArch and that was the error I got. The compile works fine on Raspbian, but I was hoping to get RetroArch working with an XBMC frontend (using one of the ROM launcher add-ins).

jugglerAndrew
Posts: 5
Joined: Sat Aug 04, 2012 1:22 am

Re: RetroArch Emulator Frontend

Sun Aug 05, 2012 2:28 pm

kingsna1 wrote:Hello,
Great emulators btw but having a problem configuring the joystick... Newbie i know. I keep changing the retroarch.cfg but to no avail ... Nothing works... after i ahve run retroarch and exit i have this appear

Code: Select all

XDG_CONFIG_HOME is not defined.will look for config in $HOME/.retroarch.cfg 
. But still nothing.
Have you run the joystick config command yet? What type of controller are you using?

Code: Select all

retroarch-joyconfig -o ~/.retroarch.cfg
HTH.

kingsna1
Posts: 5
Joined: Sun Aug 05, 2012 1:38 pm

Re: RetroArch Emulator Frontend

Sun Aug 05, 2012 4:36 pm

Its recognized the joystick... PS3 controller and i just tried the code but to no avail. Keyboard commands work but still no gamepad.

woonaval
Posts: 5
Joined: Wed Jul 25, 2012 11:29 am

Re: RetroArch Emulator Frontend

Mon Aug 06, 2012 7:10 am

jugglerAndrew wrote:
kingsna1 wrote:Hello,
Great emulators btw but having a problem configuring the joystick... Newbie i know. I keep changing the retroarch.cfg but to no avail ... Nothing works... after i ahve run retroarch and exit i have this appear

Code: Select all

XDG_CONFIG_HOME is not defined.will look for config in $HOME/.retroarch.cfg 
. But still nothing.
Have you run the joystick config command yet? What type of controller are you using?

Code: Select all

retroarch-joyconfig -o ~/.retroarch.cfg
HTH.
Hello, in line with this, I'd like to post my problem too.

I ran the joystick config, it saved correctly, and I can use the joystick in the EmulationStation interface. But once I enter a game (SNES game in my case), the joystick stops working, and I have to use the keyboard again. Any clues?
Also, is there a way to stretch the image in the emulator? My plasma TV would appreciate it :p

fraz0815
Posts: 70
Joined: Fri Jul 20, 2012 1:29 pm

Re: RetroArch Emulator Frontend

Mon Aug 06, 2012 12:25 pm

@woonaval
Did you include the saved joypad-config in the retroarch command?
Something like

Code: Select all

COMMAND=retroarch -L /emu/snes/lib/libretro.so -c ~/.retroarch.cfg "%ROM%"

jugglerAndrew
Posts: 5
Joined: Sat Aug 04, 2012 1:22 am

Re: RetroArch Emulator Frontend

Mon Aug 06, 2012 12:39 pm

kingsna1 wrote:Its recognized the joystick... PS3 controller and i just tried the code but to no avail. Keyboard commands work but still no gamepad.
What happened exactly when you tried the joystick config command? Did it give you an error? Did it prompt you to map keys?

woonaval
Posts: 5
Joined: Wed Jul 25, 2012 11:29 am

Re: RetroArch Emulator Frontend

Mon Aug 06, 2012 12:57 pm

fraz0815 wrote:@woonaval
Did you include the saved joypad-config in the retroarch command?
Something like

Code: Select all

COMMAND=retroarch -L /emu/snes/lib/libretro.so -c ~/.retroarch.cfg "%ROM%"
I'm using the EmulationStation frontend, so I'm not issuing the launch command directly. I will try to do it, thanks :)

kingsna1
Posts: 5
Joined: Sun Aug 05, 2012 1:38 pm

Re: RetroArch Emulator Frontend

Mon Aug 06, 2012 1:12 pm

jugglerAndrew wrote:
kingsna1 wrote:Its recognized the joystick... PS3 controller and i just tried the code but to no avail. Keyboard commands work but still no gamepad.
What happened exactly when you tried the joystick config command? Did it give you an error? Did it prompt you to map keys?
No error occured , the keys were mapped but when retroarch is started only the keyboard can be used , configuring the gamepad appears to have done nothing. I've heard a lot about the retroarch.cfg file , has that got something to do with it?

jugglerAndrew
Posts: 5
Joined: Sat Aug 04, 2012 1:22 am

Re: RetroArch Emulator Frontend

Mon Aug 06, 2012 1:30 pm

kingsna1 wrote:
jugglerAndrew wrote:
kingsna1 wrote:Its recognized the joystick... PS3 controller and i just tried the code but to no avail. Keyboard commands work but still no gamepad.
What happened exactly when you tried the joystick config command? Did it give you an error? Did it prompt you to map keys?
No error occured , the keys were mapped but when retroarch is started only the keyboard can be used , configuring the gamepad appears to have done nothing. I've heard a lot about the retroarch.cfg file , has that got something to do with it?
The joystick config should have created a .retroarch.cfg file in your /home/pi directory. This is the default joystick config that RetroArch should try to use when it starts up. Can you post the contents of it? Also, when you run RetroArch, it should output some text while its booting up - post that too if you can.

To be honest I'm pretty new to RetroArch, so hopefully someone else will jump in if we're both missing something!

fraz0815
Posts: 70
Joined: Fri Jul 20, 2012 1:29 pm

Re: RetroArch Emulator Frontend

Mon Aug 06, 2012 1:46 pm

I am not sure if it will use retroarch.cfg after fresh Emulationstation install, did you have o look at the readme?

Code: Select all

Keep in mind you'll have to set up your emulator separately from EmulationStation. If you're using RetroArch, a handy input config generation tool can be found in the tools/ subdirectory - you can use it with retroarch-joyconfig -o ~/.retroarch.cfg or something similar. You may need to tell RetroArch to load this config file with -c ~/.retroarch.cfg in your RetroArch launch commands.

woonaval
Posts: 5
Joined: Wed Jul 25, 2012 11:29 am

Re: RetroArch Emulator Frontend

Mon Aug 06, 2012 1:55 pm

fraz0815 wrote:I am not sure if it will use retroarch.cfg after fresh Emulationstation install, did you have o look at the readme?

Code: Select all

Keep in mind you'll have to set up your emulator separately from EmulationStation. If you're using RetroArch, a handy input config generation tool can be found in the tools/ subdirectory - you can use it with retroarch-joyconfig -o ~/.retroarch.cfg or something similar. You may need to tell RetroArch to load this config file with -c ~/.retroarch.cfg in your RetroArch launch commands.
Wow okay... so this was just another case of RTFM... :oops: thanks for pointing that out.

Return to “Gaming”