Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

*View All Threads*Show in Threaded Mode


SubjectSuggestion for newsreaders Reply to this message
Posted byPugsy
Posted on09/24/06 06:17 AM



Is there any chance of adding a new option to the 'Copy to Clipboard' right click menus to produce a single line list of all the shortnames of images in a OR'd format that can be used with Newsbin (and possibly other newsreaders?).

Basically it would be in this format:-

[code]g_chifi3|g_kaiju|g_kof99|g_sdk993|s_alsynj|s_ariel|s_astrof|s_bankpa|s_bnzabr[/code]

This when entered into the find box on newsbin will only show the posts with those words in making it a lot easier and quicker to download just the files required.




SubjectForte Agent too... new Reply to this message
Posted byPugsy
Posted on09/24/06 06:34 AM



You can also do a similar thing in Forte's Agent newsreader.

By selecting Global Search with the required group(s) highlighted then entering this as the search test:-

subject: (g_chifi3 or g_kaiju or g_kof99 or g_sdk993 or s_alsynj or s_ariel or s_astrof or s_bankpa or s_bnzabr)

and then when the search has finished click on View All.


Maybe worthwhile adding a few newsreader options in this manner if people can report what format the text needs to be in...






SubjectRe: Forte Agent too... new Reply to this message
Posted byRoman
Posted on09/25/06 01:54 AM



> You can also do a similar thing in Forte's Agent newsreader.
>
> By selecting Global Search with the required group(s) highlighted then entering
> this as the search test:-
>
> subject: (g_chifi3 or g_kaiju or g_kof99 or g_sdk993 or s_alsynj or s_ariel or
> s_astrof or s_bankpa or s_bnzabr)
>
> and then when the search has finished click on View All.
>
>
> Maybe worthwhile adding a few newsreader options in this manner if people can
> report what format the text needs to be in...
>


will think about it..shouldn't be too tough 8)


Roman Scherzer



SubjectRe: Forte Agent too... new Reply to this message
Posted byRoman
Posted on09/25/06 02:17 PM



> > You can also do a similar thing in Forte's Agent newsreader.
> >
> > By selecting Global Search with the required group(s) highlighted then
> entering
> > this as the search test:-
> >
> > subject: (g_chifi3 or g_kaiju or g_kof99 or g_sdk993 or s_alsynj or s_ariel or
> > s_astrof or s_bankpa or s_bnzabr)
> >
> > and then when the search has finished click on View All.
> >
> >
> > Maybe worthwhile adding a few newsreader options in this manner if people can
> > report what format the text needs to be in...
> >
>
>
> will think about it..shouldn't be too tough 8)
>
>
> Roman Scherzer
>


I guess I'll handle that with another xml file where you can define the output...something like a pre and a poststring (e.g. "(" and ")"), a separator (e.g. " or " or just "\n") and a string where you can use the common variables (like %m for manufacturer)....guess that'll be powerful enough


Roman Scherzer



SubjectRe: Forte Agent too... new Reply to this message
Posted byPugsy
Posted on09/25/06 04:52 PM




> > will think about it..shouldn't be too tough 8)
> >
> >
> > Roman Scherzer
> >
>
>
> I guess I'll handle that with another xml file where you can define the
> output...something like a pre and a poststring (e.g. "(" and ")"), a separator
> (e.g. " or " or just "\n") and a string where you can use the common variables
> (like %m for manufacturer)....guess that'll be powerful enough
>
>
> Roman Scherzer
>

Thanks for considering it, too be honest I was osuggested shortnames rather than full names including manufacturers as this would cause other problems due to some differences in the search expression support in various newsreaders. Newsbin for instance use the regexlib expression list so any of these characters:- .$^{}[]()*+?/ will need to preceded by a / character

So instead of

Killer Instinct (SNES bootleg)|Power Drift (World, Rev A)|Pocket Racer (PKR1/VER.B)

it would need to be in this format

Killer Instinct /(SNES bootleg/)|Power Drift /(World, Rev A/)|Pocket Racer /(PKR1//VER/.B/)

Don't know xml at all so would it be possible to replace all the special characters in such cases?






SubjectRe: Forte Agent too... new Reply to this message
Posted byRoman
Posted on09/25/06 05:14 PM



long names like the description (variable %d) isn't a problem...hmmm...it could be a problem if the newsreaders try to parse a regular expression...but maybe you only have to add a pre/poststring/character to keep the string as-it-is and not as a regular expression...
Lemme add the xml support for it and we'll see how powerful it'll be.


Roman Scherzer



SubjectRe: Forte Agent too... new Reply to this message
Posted byRoman
Posted on09/26/06 07:08 PM



ok...added setformat.xml parsing ...pretty cool I think ;) since it automatically replaces the current copy2clipboard and savefile set list exports and even the csv exports.



(note...some spaces, whitespaces, carrige returns and line feeds are trimmed in this IE XML look....(e.g. before/after the 'or') or the separator in Sets...)


Roman Scherzer



SubjectRe: Forte Agent too... new Reply to this message
Posted byPugsy
Posted on09/28/06 04:22 AM



Cheers!!

Thanks for adding this so quick, works great!

I've searched for a solution to the newsbin search problem and there's no way of bypassing a whole string..all 14 special characters have to be escaped individually unfortunately. It's no problem with sets that don't use any of the special characters like MAME so that's the most important thing!






SubjectRe: Forte Agent too... new Reply to this message
Posted byRoman
Posted on09/28/06 04:26 AM



> Cheers!!
>
> Thanks for adding this so quick, works great!
>
> I've searched for a solution to the newsbin search problem and there's no way of
> bypassing a whole string..all 14 special characters have to be escaped
> individually unfortunately. It's no problem with sets that don't use any of the
> special characters like MAME so that's the most important thing!
>

hmmm..not even string=""%f&_quot;" will do it? (note, the _ is just there to show the quot tag in this msgboard...)


Roman Scherzer



SubjectRe: Forte Agent too... new Reply to this message
Posted byPugsy
Posted on09/28/06 05:03 AM



Just checked Agent, the code at the start should be "subject: (". There are also regular expressions that may upset the global search so in this program quote marks will actually work.

Example:-

subject: ("g_chifi3" or "g_kaiju" or "g_kof99" or "g_sdk993" or "s_alsynj" or "s_ariel" or "s_astrof" or "s_bankpa" or "s_bnzabr")

In the above example the quotes are not needed because there's no regular expressions as it's a nice and simple shortname.




SubjectRe: Forte Agent too... new Reply to this message
Posted byRoman
Posted on09/28/06 05:32 AM



so for agent the prestring should be 'subject:('?
Send me an updated setformat.xml 8).....I will include it in the next version. I checked official regular expression docs and yes, it's not officially possible to disable regular expression parsing for a part of the string....
I could add a flag to the xml to escape the characters...but then you will lose the ability to keep regular expression terms in the 'string' attribute at all.... So I guess we can't really get around regular expression parsing.


Roman Scherzer



SubjectRe: Forte Agent too... new Reply to this message
Posted byPugsy
Posted on09/28/06 08:29 AM



> so for agent the prestring should be 'subject:('?
> Send me an updated setformat.xml 8).....I will include it in the next version.

Here's the Agent line from my xml file



I've renamed it to "Forte Agent (Global-Search Input)" so people should have a better idea what to do with it. With both Agent & Newsbin there are size limits to the search string with Agent it 999 bytes and with Newsbin it's 30000 bytes - so if a lot of things are missing it may require a lot of manual editing work if Agent is used in such cases. In those cases it would obviously be better to use Newsbin and do a search and replace to escape the special chars.

> I checked official regular expression docs and yes, it's not officially possible
> to disable regular expression parsing for a part of the string....
> I could add a flag to the xml to escape the characters...but then you will lose
> the ability to keep regular expression terms in the 'string' attribute at
> all.... So I guess we can't really get around regular expression parsing.
>

It's a shame but I am inclined to agree and it's a lot of work...I can't believe such a major expression library hasn't got a way of handling a string 'as-is'...but sadly having searched for hours it's obvious that it's just not possible.




SubjectRe: Forte Agent too... new Reply to this message
Posted byPugsy
Posted on09/28/06 08:30 AM



Oops forgot the xml line:-






SubjectRe: Forte Agent too... new Reply to this message
Posted byPugsy
Posted on09/28/06 08:34 AM



> Oops forgot the xml line:-
>

Let's try it with pre tags

  





SubjectRe: Forte Agent too... new Reply to this message
Posted byPugsy
Posted on09/28/06 08:38 AM



Damn stupid forum, non-standard tags and no editing facility...I remember now why I changed to phpbb, click the link to see the text

http://cheat.retrogames.com/forums/viewtopic.php?p=7807





SubjectRe: Forte Agent too... new Reply to this message
Posted byRoman
Posted on09/28/06 09:29 AM



> http://cheat.retrogames.com/forums/viewtopic.php?p=7807


bah...have to login for that...mail it please 8)


Roman Scherzer



View All Threads*Show in Threaded Mode