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 Development
| |-+  Starting Development and Compiling
| | |-+  Simulator vs. player: my (altered) build works on player, but not on Simulator
« previous next »
  • Print
Pages: [1]

Author Topic: Simulator vs. player: my (altered) build works on player, but not on Simulator  (Read 2004 times)

Offline lee321987

  • Member
  • *
  • Posts: 76
Simulator vs. player: my (altered) build works on player, but not on Simulator
« on: April 15, 2008, 05:23:50 PM »
   Until yesterday I had never touched Cygwin or C (this is C right?  C++?)  I succeeded in compiling a working Rockbox, and Simulator, and got a patch applied.  However I just tried to make a change directly in a .c file (C:\cygwin\home\Will\rockbox\apps\plugins\viewer.c  --- I used Ultra Edit) and the plugin worked on my player, but not on the Simulator (which I earlier got an EQ patch to work on).  I know a little about programming (Visual Basic), and I would really appreciate anyone telling me what I may be doing wrong.
   As I said the file is apps/plugins/viewer.c and here is what I changed

/* Sansa C200 keys */
#elif CONFIG_KEYPAD == SANSA_C200_PAD
#define VIEWER_QUIT BUTTON_POWER
#define VIEWER_PAGE_UP BUTTON_VOL_UP
#define VIEWER_PAGE_DOWN BUTTON_VOL_DOWN

#define VIEWER_SCREEN_LEFT BUTTON_LEFT
#define VIEWER_SCREEN_RIGHT BUTTON_RIGHT
#define VIEWER_MENU BUTTON_SELECT
#define VIEWER_AUTOSCROLL BUTTON_REC
#define VIEWER_LINE_UP BUTTON_UP
#define VIEWER_LINE_DOWN BUTTON_DOWN



to


/* Sansa C200 keys */
#elif CONFIG_KEYPAD == SANSA_C200_PAD
#define VIEWER_QUIT BUTTON_POWER
#define VIEWER_PAGE_UP BUTTON_UP
#define VIEWER_PAGE_DOWN BUTTON_DOWN

#define VIEWER_SCREEN_LEFT BUTTON_LEFT
#define VIEWER_SCREEN_RIGHT BUTTON_RIGHT
#define VIEWER_MENU BUTTON_SELECT
#define VIEWER_AUTOSCROLL BUTTON_REC
#define VIEWER_LINE_UP BUTTON_VOL_UP
#define VIEWER_LINE_DOWN BUTTON_VOL_DOWN



   The Rockbox version is    r17111M-080415
And here is a list of the files that the EQ patch I applied altered:
   apps/lang/english.lang
   apps/menus/eq_menu.c
This EQ patch is on my player too, so I doubt that's it.
   
   Any ideas?
Logged
What are you waiting for? You're faster than this. Don't think you are... know you are. -- The Matrix

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1053
Re: Simulator vs. player: my (altered) build works on player, but not on Simula
« Reply #1 on: April 16, 2008, 06:00:24 AM »
Please provide more information on what exactly goes wrong
Logged

Offline lee321987

  • Member
  • *
  • Posts: 76
Re: Simulator vs. player: my (altered) build works on player, but not on Simula
« Reply #2 on: April 16, 2008, 04:27:25 PM »
   Never mind.  I re-did it all from start and it worked. 
   After running 'make' and 'make install' on the simulator what is the file 'C:\cygwin\home\Will\rockbox\sim\rockbox-full.zip' for?
Logged
What are you waiting for? You're faster than this. Don't think you are... know you are. -- The Matrix

Offline nls

  • Developer
  • Member
  • *
  • Posts: 460
Re: Simulator vs. player: my (altered) build works on player, but not on Simulator
« Reply #3 on: April 16, 2008, 04:40:31 PM »
the 'make install' on the sim just makes a zip like a regular build when doing 'make zip' but 'make install' then unzips it to the archos dir in your sim build dir.
Logged

Offline lee321987

  • Member
  • *
  • Posts: 76
Re: Simulator vs. player: my (altered) build works on player, but not on Simula
« Reply #4 on: April 17, 2008, 12:50:58 AM »
   Ok.  Is there a command to only build the simulator?  As if I already have a Rockbox build?
Logged
What are you waiting for? You're faster than this. Don't think you are... know you are. -- The Matrix

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Simulator vs. player: my (altered) build works on player, but not on Simulator
« Reply #5 on: April 17, 2008, 01:23:05 AM »
The simulator *is* the Rockbox build. You can't use a target Rockbox build with the sim.
Logged

Offline lee321987

  • Member
  • *
  • Posts: 76
Re: Simulator vs. player: my (altered) build works on player, but not on Simula
« Reply #6 on: April 17, 2008, 09:09:40 AM »
   Ok.  Thanks you guys.
Logged
What are you waiting for? You're faster than this. Don't think you are... know you are. -- The Matrix

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Simulator vs. player: my (altered) build works on player, but not on Simulator
 

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

Page created in 0.082 seconds with 14 queries.