Rockbox Technical Forums

Rockbox General => Rockbox General Discussion => Topic started by: InfernoGuy on September 06, 2005, 06:14:47 AM

Title: WPS Text Editor for a Collage Project
Post by: InfernoGuy on September 06, 2005, 06:14:47 AM
Hello All

I am soon to start working on a WPS Text Editor for a Computing Project at my Collage.

I am planning to create the Text Editor using Visual Basic primarily. I have one question for the dev’s, what language is the WPS coded in.

As this is a Collage Project I’ll need some assistance to identify the problems of current way of creating a WPS and what you, the end user would like out of this program. I am planning to introduce Syntax Highlighting and (ideally) WYSIWYG, I am just fishing for ideas as its very early days.
Title: Re: WPS Text Editor for a Collage Project
Post by: Bagder on September 06, 2005, 06:20:07 AM
The Rockbox code that displays the WPS is written in plain C.
Title: Re: WPS Text Editor for a Collage Project
Post by: nobby on September 06, 2005, 01:48:57 PM
the WPS code itself is just a made up code for roxbox, designed to be quick and easy to parse.
Title: Re: WPS Text Editor for a Collage Project
Post by: nobby on September 06, 2005, 01:50:26 PM
also, http://www.rockbox.org/twiki/bin/view/Main/EZWPS
Title: Re: WPS Text Editor for a Collage Project
Post by: AlexP on September 06, 2005, 03:00:58 PM
Personally, whilst I don't have any problems writing a WPS with the standard tags in notepad (or whatever), what I'd like to see is a program that lets me preview my finished WPS without having to load it onto my H140, disconnect USB, try it out, edit, reconnect to transfer the updated version etc. etc.  This would be very useful with bmp screens to check that pictures appear in the correct place, especially if you are trying to get text (e.g. bitrate) to appear within a box.

I think this is slightly off what you originally meant, but that's the main feature I'd like in a WPS creation application.

Good luck with your college project.
Title: Re: WPS Text Editor for a Collage Project
Post by: wrecker on September 06, 2005, 03:44:41 PM
what I'd like to see is a program that lets me preview my finished WPS without having to load it onto my H140, disconnect USB, try it out, edit, reconnect to transfer the updated version etc. etc. 

Agreed. This would be fantastic. I reckon you would see some people getting seriously creative with WPS if it wasn't so difficult to view it while designing.
Title: Re: WPS Text Editor for a Collage Project
Post by: nobby on September 06, 2005, 06:03:05 PM
drag and drop image tag creation would be handy, i hate typing out co-ordinates...
Title: Re: WPS Text Editor for a Collage Project
Post by: kenshin on September 08, 2005, 03:51:15 PM
Those of us who have installed the development environment are blessed at having the simulator. I won't code a WPS without it. Nor would I dream of writing a patch without it. It's simple to use and indispensible. Whomever wrote this should be highly commended...
Title: Re: WPS Text Editor for a Collage Project
Post by: Bagder on September 08, 2005, 04:36:53 PM
Thank you.

I designed and wrote the concept for the first Rockbox (X11) simulator back in March 2002. It has been improved by numerous people since.
Title: Re: WPS Text Editor for a Collage Project
Post by: kenshin on September 08, 2005, 04:59:50 PM
I, for one, could not survive without it! I do all my WPS work and patches using it. Hats off to you, Daniel...
Title: Re: WPS Text Editor for a Collage Project
Post by: NPswimdude500 on September 10, 2005, 06:57:58 PM
what I'd like to see is a program that lets me preview my finished WPS without having to load it onto my H140

bingo!
Title: Re: WPS Text Editor for a Collage Project
Post by: InfernoGuy on September 23, 2005, 10:20:30 AM
I have now started the Analysis stage of the project that involves communication with the end users of the project (you), to work out what features and what things to include.

I have created a 12 question, questionnaire that i would like answered, to help work out what things to include. This questionnaire will follow in the following post:
Title: Re: WPS Text Editor for a Collage Project
Post by: InfernoGuy on September 23, 2005, 10:21:02 AM
Questionnaire

Question 1)
What audio player do you use the Rockbox firmware on from the following:
Archos Jukebox 5000, Archos Jukebox 6000, Archos Studio,
Archos Recorder, Archos FM Recorder, Archos Recorder V2, Archos Ondio,
iRiver H100, iRiver H110, iRiver H115, iRiver H120, iRiver H140?

Question 2)
Are you currently using a self- made WPS on your player (if yes go to question 3) or a WPS made by another user? (If yes, go to question 7)

Question 3)
How easy did you find it to create your WPS? Did you have any specific problems?

Question 4)
What features would you need in a text editor to make creating WPSs easier?

Question 5)
Do you use the status bar on your WPS?

Question 6)
What font do you use in your WPS?

Question 7)
Do you use images in your WPS?

Question 8 ) (edit: dam auto smilies)
If yes to question 7, were there any problems to make inserting images?

Question 9)
If yes to question 7, are there any features of a text editor that would make inserting images easier?

Question 10)
What features are present in the WPS you currently use?

Question 11)
Would you ever consider writing a WPS if you have not already?

Question 12)
What features in a text editor would you need to understand the WPS language?
Title: Re: WPS Text Editor for a Collage Project
Post by: amiconn on September 23, 2005, 02:29:10 PM
Question 1)
What audio player do you use the Rockbox firmware on from the following:
Archos Jukebox 5000, Archos Jukebox 6000, Archos Studio,
Archos Recorder, Archos FM Recorder, Archos Recorder V2, Archos Ondio,
iRiver H100, iRiver H110, iRiver H115, iRiver H120, iRiver H140?

If you want it that specific, you need to split the Archos Ondio into Archos Ondio 128 FM and Archos Ondio 128 SP  ;)

Answer: I have 5 units, referenced by letters in the following answers.
(A) Archos Recorder, (B) Archos Studio, (C) Archos Ondio 128 SP, (D) Archos Ondio 128 FM, (E) Iriver H140

Question 2)
Are you currently using a self- made WPS on your player (if yes go to question 3) or a WPS made by another user? (If yes, go to question 7)

(A,C,D,E) Self-made. (B) Rockbox default.

Question 3)
How easy did you find it to create your WPS? Did you have any specific problems?

Simple, no problems.

Question 4)
What features would you need in a text editor to make creating WPSs easier?

None.

Question 5)
Do you use the status bar on your WPS?

Yes.

Question 6)
What font do you use in your WPS?

I have two different WPSes, I'll refer to the more detailed one.
(A,C,D) rockfont-8. (B) no fonts available, character LCD. (E) rockbox_default.

Question 7)
Do you use images in your WPS?

No.

Question 8 ) (edit: dam auto smilies)
If yes to question 7, were there any problems to make inserting images?

-

Question 9)
If yes to question 7, are there any features of a text editor that would make inserting images easier?

-

Question 10)
What features are present in the WPS you currently use?

Track number, title, artist, album, year, progress bar, playtime, track time, playlist index, playlist size, sampling frequency, bitrate, ID3 tag type, peakmeter

Question 11)
Would you ever consider writing a WPS if you have not already?

-

Question 12)
What features in a text editor would you need to understand the WPS language?

-
Title: Re: WPS Text Editor for a Collage Project
Post by: tucoz on September 23, 2005, 02:46:17 PM
Question 1)
iriver h120

Question 2)
No

Question 7)
Yes

Question 8 ) (edit: dam auto smilies)
-

Question 9)
WYSIWYG

Question 10)
conditional images

Question 11)
Yes

Question 12)
-
Title: Re: WPS Text Editor for a Collage Project
Post by: AlexP on September 23, 2005, 04:42:01 PM
Questionnaire

Question 1)
What audio player do you use the Rockbox firmware on from the following:
Archos Jukebox 5000, Archos Jukebox 6000, Archos Studio,
Archos Recorder, Archos FM Recorder, Archos Recorder V2, Archos Ondio,
iRiver H100, iRiver H110, iRiver H115, iRiver H120, iRiver H140?

iRiver H140

Question 2)
Are you currently using a self- made WPS on your player (if yes go to question 3) or a WPS made by another user? (If yes, go to question 7)

Self-made, adapted from the_engineer

Question 3)
How easy did you find it to create your WPS? Did you have any specific problems?

No problems except for experimentation with positioning

Question 4)
What features would you need in a text editor to make creating WPSs easier?

Preview mode

Question 5)
Do you use the status bar on your WPS?

On some yes, on others no

Question 6)
What font do you use in your WPS?

Various for different WPSs

Question 7)
Do you use images in your WPS?

Yes

Question 8 ) (edit: dam auto smilies)
If yes to question 7, were there any problems to make inserting images?

Only positioning

Question 9)
If yes to question 7, are there any features of a text editor that would make inserting images easier?

A preview

Question 10)
What features are present in the WPS you currently use?

All of them

Question 11)
Would you ever consider writing a WPS if you have not already?

-

Question 12)
What features in a text editor would you need to understand the WPS language?

None
Title: Re: WPS Text Editor for a Collage Project
Post by: InfernoGuy on September 29, 2005, 07:10:31 AM
Thank your for your reply everybody.

Any additional replys by other users would be welcomed.
Title: Re: WPS Text Editor for a Collage Project
Post by: nobby on September 29, 2005, 02:06:56 PM
Questionnaire

Question 1)
iRiver H140

Question 2)
yes

Question 3)
nesting several conditionals got rather complicated at times.

Question 4)
syntax highlighting

Question 5)
usually.

Question 6)
helvetica bold size 9 (helvB08-L1.fnt) from rasher.dk/fonts

Question 7)
yes, for my custom statusbar. I dont allways use it though.

Question 8 ) (edit: dam auto smilies)
only when working with conditionals, i sometimes got mixed up due to my extra short filenames. For example, i got the battery meter in the complete reverse order first try...

Question 9)
WYSIWYG image placement.

Question 10)
pretty much everything

Question 11)
N/A

Question 12)
N/A