PDA

View Full Version : [AIW] [Development] Plugins Menu Idea



nj2006
19-02-2008, 07:58 PM
hello guys just thought that sombody would like to have a go at intergrating the blue button plugin menu structure into the all in wonder menu .
so when you put plugins into the image they show here aswell.

hope sombody is up for this .

Speedy2206
27-02-2008, 09:01 PM
hello guys just thought that sombody would like to have a go at intergrating the blue button plugin menu structure into the all in wonder menu .
so when you put plugins into the image they show here aswell.
hope sombody is up for this .

Yes relatively easy and I'd be up for doing that mod. Has there been much development on the AIW menu in the time that I've been gone? If so then I'd love to see the latest source :)

Cheers

nj2006
27-02-2008, 09:07 PM
apart from removing the icons for remote shortcut keys. nothing.

there is a diff in this section somwhere but its deffo out of date.

well the diff doesnt diff the localsh and locales_intern.h easy peesy for you thou

Speedy2206
27-02-2008, 10:39 PM
Can you give me more info then on how you want this feature to work?

Just an extra menu which pulls the plugins from the image and lists them like the blue button does? Or something else.

nj2006
27-02-2008, 10:45 PM
Can you give me more info then on how you want this feature to work?
Just an extra menu which pulls the plugins from the image and lists them like the blue button does? Or something else.

basicly the just of it is that no keys or roms or emus are supported in my and meny other images. so the idea is if sombody wanted to put an old shel exc in it would show in the aiw menu.

renwich
27-02-2008, 10:46 PM
what I think we need is maybe some plugins, that could be detected like the current blue button, but for switching emus and ucodes, the future of image creating and modding seems to be not for support of the bits that gain tv

Speedy2206
27-02-2008, 10:55 PM
I have a better idea. Will keep you posted.

But first I need a DECENT dev environment. Does anyone have a linux box I can SSH/Telnet to? ;)

nitr8
27-02-2008, 11:05 PM
speedy,

msn me :)

--me

Speedy2206
27-02-2008, 11:17 PM
Something like this for example:


# START_EVOCAMD.AIW
# Sample Scripting Language for possible AIW Menu Enhancement


% NAME = Start Evocamd
% DESC = Stops running softcams and starts evocamd


# Comments can be made by placing a hash at beginning of line
# Several commands are available for dealing with files,
# starting or stopping programs, and showing on-screen info.


# Display a messagebox onscreen, with title bar "Information"
CreateMsg box1, mbInfo, "Please wait... staring evocamd"


# Delete all existing placeholders
DeleteFile /var/etc/.evocamd
DeleteFile /var/etc/.mgcamd
DeleteFile /var/etc/.newcamd


# Create a new placeholder
TouchFile /var/etc/.evocamd


# Stop all existing running softcams
StopProgram evocamd
StopProgram mgcamd
StopProgram newcamd


# Start the new softcam that the user selected
StartProgram /var/bin/evocamd


# Close the on-screen messagebox now as we're finished
DestroyMsg box1


# Show confirmation that the script is now complete
MsgQuickHint mbInfo, "evocamd started successfully"


# Exit the script
Finish 1

... as a text file maybe, called start_evocamd.aiw under /var/scripts??

The plugins menu displays the %NAME variable, "Start Evocamd" in this case.
A description is also shown on-screen to the user in the same menu.


Thoughts on this?

renwich
27-02-2008, 11:26 PM
would this be compiled as a .SO and CFG..??


Principle looks good

Speedy2206
27-02-2008, 11:28 PM
would this be compiled as a .SO and CFG..??
Principle looks good


No compiling involved ... you could write it in Windows notepad and just rename the .txt to .aiw or .script for example. The whole "plugin" would be text and therefore open-source, similar to a shell script (but just easier)

renwich
27-02-2008, 11:30 PM
Excellent Idea


:appl:

nj2006
27-02-2008, 11:41 PM
that would be a nice idea, somthing simple.

ozbodd
27-02-2008, 11:55 PM
The attachment includes shellexec and the old Commando 4shellexec.conf. Am I right that is all that is needed to build the Blue button menu? I presume you could reduce the config to just the Blue menu and a couple of plugin links within.

I've included the lotto plugin and the msgbox command.

@Speedy is there a command reference for the plugin 'language' you showed for the Evocmd menu? (Sorry if that is a nieve question)

lincsat
29-02-2008, 05:24 AM
I like the idea of simple - just like me :)