Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Sony NWZ-E370/E380 Plugins
« previous next »
  • Print
Pages: [1]

Author Topic: Sony NWZ-E370/E380 Plugins  (Read 2469 times)

Offline nils.stec

  • Member
  • *
  • Posts: 6
Sony NWZ-E370/E380 Plugins
« on: June 12, 2014, 08:38:35 PM »
Hi,

I installed rockbox but i don't have any plugins on my NWZ E384. After i searched a lot and read that this port has no plugins i thought no plugins have been written for it and tried to write one.

I went through "How to write plugins..." step by step but after creating apps/plugins/xxxx.c and adding it to SOURCES and categories in the same folder i wonder where to say make and make install. in the apps/plugins/ folder there is no Makefile and in my build-nwz-e384 folder it does not compile xxxx.c

Is rockbox something missing to support plugins on this player or am I doing something wrong?
Logged
....!"§481⁸asf!"§°![]¹²²²³¼½

http://krumeltee.wordpress.com

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Sony NWZ-E370/E380 Plugins
« Reply #1 on: June 12, 2014, 10:59:16 PM »
Plugins are built with the rest of rockbox, not as discrete programs, so you run make in your normal rockbox build directory, not in the source tree.

However, plugins are not enabled for the Sony players yet AFAIK, so you won't be able to compile them for your player (at least not without hacking up the code a bit to work around none of the other plugins building).  You can however run them in the UI simulator.
Logged

Offline nils.stec

  • Member
  • *
  • Posts: 6
Re: Sony NWZ-E370/E380 Plugins
« Reply #2 on: June 13, 2014, 02:59:59 AM »
Quote from: saratoga on June 12, 2014, 10:59:16 PM
However, plugins are not enabled for the Sony players yet AFAIK, so you won't be able to compile them for your player (at least not without hacking up the code a bit to work around none of the other plugins building).  You can however run them in the UI simulator.

First, thank you for your answer, Second, why are plugins not yet enabled? Is something misssing? What do i have to do to get rockbox support modules on my Sony?
Logged
....!"§481⁸asf!"§°![]¹²²²³¼½

http://krumeltee.wordpress.com

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Sony NWZ-E370/E380 Plugins
« Reply #3 on: June 13, 2014, 03:06:07 AM »
Plugins have to be ported to new devices due to different buttons (and sometimes screen sizes), so most likely they won't compile at the moment.
Logged

Offline nils.stec

  • Member
  • *
  • Posts: 6
Re: Sony NWZ-E370/E380 Plugins
« Reply #4 on: June 13, 2014, 03:19:23 AM »
Quote from: saratoga on June 13, 2014, 03:06:07 AM
Plugins have to be ported to new devices due to different buttons (and sometimes screen sizes), so most likely they won't compile at the moment.
I don't ask about existing plugins, but this answers some questions, but not why my simple Hello-World Plugin is not compiling.
Logged
....!"§481⁸asf!"§°![]¹²²²³¼½

http://krumeltee.wordpress.com

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Sony NWZ-E370/E380 Plugins
« Reply #5 on: June 13, 2014, 12:31:23 PM »
Plugins are disabled because they won't compile.  So if you try to add a plugin, and compile it for the E380, it won't get built.  You could compile it for a different device (one with plugins) or else hack up the code to only compile your plugin (or at least disable all the ones that don't compile). 

Edit:  See this commit which enables plugins on one of the recent Zen ports:

http://git.rockbox.org/?p=rockbox.git;a=commit;h=d489444
« Last Edit: June 13, 2014, 12:46:32 PM by saratoga »
Logged

Offline nils.stec

  • Member
  • *
  • Posts: 6
Re: Sony NWZ-E370/E380 Plugins
« Reply #6 on: June 13, 2014, 03:20:54 PM »
 8) Thank you very much! I think this is all i need in order to compile it.
Logged
....!"§481⁸asf!"§°![]¹²²²³¼½

http://krumeltee.wordpress.com

Offline nils.stec

  • Member
  • *
  • Posts: 6
Re: Sony NWZ-E370/E380 Plugins
« Reply #7 on: June 14, 2014, 06:17:46 AM »
A bunch of plugins are compiling and working out of the box after enabling PLUGINS in configure. Maybe I'm going to fix the others soon, but first i'll port a 6502 emulator.

See this http://www.6502asm.com/ and laugh when dying in "skier.asm" ;)
(Select skier.asm, press compile, press run and use "m" and "n" to navigate :))
Logged
....!"§481⁸asf!"§°![]¹²²²³¼½

http://krumeltee.wordpress.com

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Sony NWZ-E370/E380 Plugins
« Reply #8 on: June 14, 2014, 01:24:48 PM »
Some of the plugins won't need any changes, others will need to have keymaps adapted.  If you fix some of them not compiling, please post your code to our gerrit tracker. 
Logged

Offline nils.stec

  • Member
  • *
  • Posts: 6
Re: Sony NWZ-E370/E380 Plugins
« Reply #9 on: June 14, 2014, 02:53:11 PM »
Quote from: saratoga on June 14, 2014, 01:24:48 PM
Some of the plugins won't need any changes, others will need to have keymaps adapted.  If you fix some of them not compiling, please post your code to our gerrit tracker.
Sure, i will  8)
Logged
....!"§481⁸asf!"§°![]¹²²²³¼½

http://krumeltee.wordpress.com

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Sony NWZ-E370/E380 Plugins
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.063 seconds with 15 queries.