Hacking Maxternal's WiiFlow plugins and Java apps.

spacepimp

Pathalogical Fantasist
Member
Joined
Feb 20, 2012
Messages
457
Trophies
1
Location
Off the Island
XP
434
Country
possible, yes, but it would result in incredibly long loading times just to switch from one plugin to another.

Thanks for the feedback - that is exactly what I needed to know. I have a possible solution for the loading time issue -

Firstly to replace the function where the 2D source menu is quick-launched by pressing 'B'.
The 3D covers for the source menu a loaded alongside your selected plugin's 3D covers, but hidden. i.e. always loaded using the same functionality as multi selecting plugins in the source menu, and then hidden using the 'hidden' category.

Calling up the 3D source menu, by pressing 'B' initiates the following:
i/ hides the game covers for the current plugin,
ii/ reveals the covers for the source menu plugin
iii/ (Possibly) changes the coverflow to the 'source menu' coverflow

This will obviously take longer than the current 2D quick-launch - do you think this will be significant?

Also, it may be possible to make the transition between coversets and flows more integrated, and this could be a really cool addition to the program.

Secondly, if the user selects another plugin:

i/ load the 'switcher' dol
ii/ run the code that changes wiiflow's last saved game and
iii/ return to wiiflow
iv/ load time for the coverflow of the selected plugin (which currently happens when changing plugins anyway)

But given that the dol does very little, wouldn't it be quite small and
quick to load and run? - so for comparison, do you think the first 3 tasks will take longer than the 4th?

I just don't know - I really appreciate your feedback on this,

Thanks
SP
 

spacepimp

Pathalogical Fantasist
Member
Joined
Feb 20, 2012
Messages
457
Trophies
1
Location
Off the Island
XP
434
Country
p.s. obviously, it would be better if Wiiflow could do this internally, rather than rely on an external dol to launch, but the devs are unwilling to look into it.
I'm completely open to any mechanism that'll work, this is just my stab at it.

Wiiflow is already changing coverflow's on the fly, if anyone can think of a way for that to be initiated by a 3D coverflow rather than the current 2D source menu, I'm all good with that.
 

spacepimp

Pathalogical Fantasist
Member
Joined
Feb 20, 2012
Messages
457
Trophies
1
Location
Off the Island
XP
434
Country
I thought this might be an apt time to outline the problem as I understand it:
In order to use a coverflow in the usual way, Wiiflow needs to launch a dol with an argument derived from the user's selected cover.

A solution that skips steps 1 and 2 above, and jumps straight to 3 might be this:
presumably, in order for an argument to pass between programs that don't run concurrently, the argument (e.g. 'ArmyMen') must be stored somewhere that remains after wiiflow closes and the plugin (e.g. not 64) starts.

so:
When the source cover is selected, and as usual, the argument is stored (not64), and the relevant plugin is launched.
However, the plugin is wiiflow itself
Wiiflow restarts, and at the point it retrieves the variable "last booted title" it instead accepts the argument - in this case (not64) , and opens at the relevant coverflow.


This should take only very slightly more time than restarting wiiflow. It may even be possible to avoid completely restarting wiiflow and effectively just refresh the coverflow.

Mr Maxternal, would that work?
thanks for reading!

p.s. is it cool to tag you when I'm responding to you on this thread, or is that not appropriate?

thanks!
 

Shermdog17

Member
Newcomer
Joined
Jan 5, 2013
Messages
18
Trophies
0
XP
166
Country
Canada
I was messing with my source menu and wanted to have a Gamecube source and a Triforce/Quadforce source with Gamecube games on USB and Triforce games on SD. After nearly going insane trying to get quadforce working in neek2o, I gave up....but that's for another forum.....

So I started thinking, with the auto install of the correct MIOS in Wiiflow just implemented, I wonder if I create 2 DML/Gamecube sources and just put one set to USB and one set to SD. With the only difference being one has the Gamecube icon and one has the Triforce icon. Well that didn't work as when I change Gamecube games to USB, it changes the Triforce games to USB too since they are not separate plugins. (or plugin's at all) I didn't think it would work, but thought it was worth a try.

So my question is the same as Abz's earlier post. Would it be possible to have this setup? With Gamecube games on USB and Triforce on SD (or visa versa)

Maybe the Wiiflow crap plugin? But I think this would have to be updated to something more current for the auto Mios install feature.
I know the DM(L) Booter plugin would work, but it doesn't autoboot the Triforce games. And I would rather jam a pencil in my eye than attempt the whole emunand method at this point.

I know that if I just put all the games on USB together, it will work. But where's the fun in that?

Any thoughts Maxternal?
 

AbdallahTerro

da KiNG
Member
Joined
Jan 14, 2012
Messages
6,052
Trophies
0
Location
Ideas factory :)
Website
ccabz.wordpress.com
XP
3,123
Country
I was messing with my source menu and wanted to have a Gamecube source and a Triforce/Quadforce source with Gamecube games on USB and Triforce games on SD. After nearly going insane trying to get quadforce working in neek2o, I gave up....but that's for another forum.....

So I started thinking, with the auto install of the correct MIOS in Wiiflow just implemented, I wonder if I create 2 DML/Gamecube sources and just put one set to USB and one set to SD. With the only difference being one has the Gamecube icon and one has the Triforce icon. Well that didn't work as when I change Gamecube games to USB, it changes the Triforce games to USB too since they are not separate plugins. (or plugin's at all) I didn't think it would work, but thought it was worth a try.

So my question is the same as Abz's earlier post. Would it be possible to have this setup? With Gamecube games on USB and Triforce on SD (or visa versa)

Maybe the Wiiflow crap plugin? But I think this would have to be updated to something more current for the auto Mios install feature.
I know the DM(L) Booter plugin would work, but it doesn't autoboot the Triforce games. And I would rather jam a pencil in my eye than attempt the whole emunand method at this point.

I know that if I just put all the games on USB together, it will work. But where's the fun in that?

Any thoughts Maxternal?
Sorry for not posting that earlier, but having separate GC/Triforce usb/sd can be achieved easily now with wiiflow.
As mentioned you need the dmlbooter plugin for the QF games, as for GC mode just hide the QF games in case they show.
Thanks to Fledge68 the automios switch feature is working fine when using the dmlbooter plugin too.
 

Shermdog17

Member
Newcomer
Joined
Jan 5, 2013
Messages
18
Trophies
0
XP
166
Country
Canada
Thanks for the reply Abz! I must have had brain cramp when I first tried the DML Booter plugin.
Confirmed to work just fine with GC/Triforce on USB/SD. Auto game boot and the freakin' sweet automios feature also working.

Thanks to the devs and EVERYONE who continue to make Wiiflow so damn delicious!
 

Maxternal

Peanut Gallery Spokesman
OP
Member
Joined
Nov 15, 2011
Messages
5,210
Trophies
0
Age
40
Location
Deep in GBAtemp addiction
Website
gbadev.googlecode.com
XP
1,709
Country
It's not in the OP yet but I thought I'd quote this here for the mean time
SOURCE MENU EDITOR
http://www.mediafire.com/download/5yb97ybeea6v9qr/SourceMenuEditor.zip (updated link ... see below)
It's interesting that I finally find time to work on the thing when GBATemp goes down for maintenance :P

Anyway, changelog
- hopefully fixed those bugs that made WiiFlow crash.
- It also will ask you which theme's source_menu.ini you want to edit if it detects any folders inside the source_menu folder so you don't have to cancel and manually choose the folders anymore.
- Added a space to set "title"
- Added a plugin editor tab (unfinished) that you can at least use to save a plugins.conf file for PostLoader (you'll still have to copy the image files themselves over to PostLoader's plugins folder manually)


As always ANY FEEDBACK IS VERY WELCOME ;)
 
  • Like
Reactions: spacepimp

VashTS

Beat it, son
Member
Joined
Mar 14, 2009
Messages
4,308
Trophies
1
Age
39
Location
Upstate NY
XP
3,788
Country
United States
if you are taking any minor requests...a gamecube iso manager please! i was thinking about doing something like this as a first time project. i really want to be able to manage my gamecube isos and auto rename the folders to either the gameid or the game title.
 
  • Like
Reactions: Maxternal

Maxternal

Peanut Gallery Spokesman
OP
Member
Joined
Nov 15, 2011
Messages
5,210
Trophies
0
Age
40
Location
Deep in GBAtemp addiction
Website
gbadev.googlecode.com
XP
1,709
Country
if you are taking any minor requests...a gamecube iso manager please! i was thinking about doing something like this as a first time project. i really want to be able to manage my gamecube isos and auto rename the folders to either the gameid or the game title.
simple enough since I practically have all the code already written in another app ....
What options would you like to be able to name it as? Here's what I can think of (pretty standard)
GameID
Game Name
Game Name [GameID]
GameID - Game Name
And, of course, the game name and GameID can be done forward and backward with and without spaces, with different parentheses like [] {}()<> with and without the dash or replacing the dash with an equals, slash, plus, etc. There's many possible options but I don't really think you need ALL of them.
What options would you want?
 
  • Like
Reactions: spacepimp

VashTS

Beat it, son
Member
Joined
Mar 14, 2009
Messages
4,308
Trophies
1
Age
39
Location
Upstate NY
XP
3,788
Country
United States
that works just fine for me! you are awesome sir! i'd love to have a peek at the code as well once its done just to see if i can grasp it.

anything that dios mios can accept is fine, i just have a LOT of isos with the gameid folder name since thats how DM worked initially. xferring games to another hdd is a bitch when you have only the gameid to go by.

i think id like an option to make it like wii games, i think its Game Name [GameID]
 

Maxternal

Peanut Gallery Spokesman
OP
Member
Joined
Nov 15, 2011
Messages
5,210
Trophies
0
Age
40
Location
Deep in GBAtemp addiction
Website
gbadev.googlecode.com
XP
1,709
Country
that works just fine for me! you are awesome sir! i'd love to have a peek at the code as well once its done just to see if i can grasp it.

anything that dios mios can accept is fine, i just have a LOT of isos with the gameid folder name since thats how DM worked initially. xferring games to another hdd is a bitch when you have only the gameid to go by.

i think id like an option to make it like wii games, i think its Game Name [GameID]
Here you go, sir
http://www.mediafire.com/download/67as41phlvfc962/GameFolderRenamer.zip
and no worries, it's open sourced like everything else I do and it's actually based off of the Devolution Plugin Prep app that was also open sourced.
You'll see in the code that I don't know how to get the title out of the ISO itself. I get it from GameTDB (which probably has more correct titles anyhow) but if it's not there, it'll use the GameID instead of the game name so just we warned.
I actually will have to use this myself now that I have it because I also have all kinds of ISO's in GameID-only folders.

EDIT : See updated link below
 

VashTS

Beat it, son
Member
Joined
Mar 14, 2009
Messages
4,308
Trophies
1
Age
39
Location
Upstate NY
XP
3,788
Country
United States
Here you go, sir
http://www.mediafire.com/download/67as41phlvfc962/GameFolderRenamer.zip
and no worries, it's open sourced like everything else I do and it's actually based off of the Devolution Plugin Prep app that was also open sourced.
You'll see in the code that I don't know how to get the title out of the ISO itself. I get it from GameTDB (which probably has more correct titles anyhow) but if it's not there, it'll use the GameID instead of the game name so just we warned.
I actually will have to use this myself now that I have it because I also have all kinds of ISO's in GameID-only folders.


awesome d00d, im at work right now but will certainly check it out later tonight when i get home. thanks!
 

Maxternal

Peanut Gallery Spokesman
OP
Member
Joined
Nov 15, 2011
Messages
5,210
Trophies
0
Age
40
Location
Deep in GBAtemp addiction
Website
gbadev.googlecode.com
XP
1,709
Country
Thanks :)
can we use a custom titles.txt since many games were not found, were named wrong like QuadForce VS4-2k6, or need double further work (jap to english)
Shouldn't be too hard to add ... we'll see if I have time today to pull some language choosing code from the custom_titles.ini downloader and maybe make it prompt what to do when it doesn't find something. :D
 
  • Like
Reactions: AbdallahTerro

Maxternal

Peanut Gallery Spokesman
OP
Member
Joined
Nov 15, 2011
Messages
5,210
Trophies
0
Age
40
Location
Deep in GBAtemp addiction
Website
gbadev.googlecode.com
XP
1,709
Country
Thanks :)
can we use a custom titles.txt since many games were not found, were named wrong like QuadForce VS4-2k6, or need double further work (jap to english)
http://www.mediafire.com/download/n0e4e0q20z23caa/GameFolderRenamer.zip
Okay here's the changes
- now offers to pick a language to download or select a local titles.txt file to be used instead
- asks what to do if you have any missing titles
- it can either just leave them as the GameID, ask you for every one or just not rename them at all
- Changed the "open" button to a "Save" button which kinda made more sense.

EDIT : I just tested this on my games at home and there are still some folders it just refuses to rename. This might be because the GameTDB title contains characters that are illegal in filenames but that's just a theory.
 
  • Like
Reactions: AbdallahTerro

Maxternal

Peanut Gallery Spokesman
OP
Member
Joined
Nov 15, 2011
Messages
5,210
Trophies
0
Age
40
Location
Deep in GBAtemp addiction
Website
gbadev.googlecode.com
XP
1,709
Country
Okay, plugin editor should work now.

SOURCE MENU EDITOR again
http://www.mediafire.com/download/5yb97ybeea6v9qr/SourceMenuEditor.zip
I finished the plugin editor tab.

Changelog
- Plugin editor works
- plugin.conf file saver for PostLoader now offers to copy images files to where PostLoader can use them
- plugin.conf file saver for PL should now work properly for plugin DOL files that are in subfolders (like retroarch)
- only known bug : sometimes it gets confused about whether there are unsaved changes to the source menu or not but saving when there's been no changes shouldn't hurt anything anyhow (as always, any further feedback is appreciated.)



I'll update the links on my previous post, too.
 

gig71

Well-Known Member
Member
Joined
Aug 17, 2013
Messages
167
Trophies
0
Age
52
XP
143
Country
Italy
Hi maxternal.
I just configured sneek for postloader.
Is it possible to add your neek wiiflow plugin to postloader emulators?
If yes, how do i configure it?

My sneek nand directory is SD:\nands\pl_eu
thanx
 

VashTS

Beat it, son
Member
Joined
Mar 14, 2009
Messages
4,308
Trophies
1
Age
39
Location
Upstate NY
XP
3,788
Country
United States
http://www.mediafire.com/download/n0e4e0q20z23caa/GameFolderRenamer.zip
Okay here's the changes
- now offers to pick a language to download or select a local titles.txt file to be used instead
- asks what to do if you have any missing titles
- it can either just leave them as the GameID, ask you for every one or just not rename them at all
- Changed the "open" button to a "Save" button which kinda made more sense.

EDIT : I just tested this on my games at home and there are still some folders it just refuses to rename. This might be because the GameTDB title contains characters that are illegal in filenames but that's just a theory.

Just tried this out, and it seems like all the titles that do not get renamed are because they contain a " : ", file names cannot have it. is it possible to workaround?
 

Maxternal

Peanut Gallery Spokesman
OP
Member
Joined
Nov 15, 2011
Messages
5,210
Trophies
0
Age
40
Location
Deep in GBAtemp addiction
Website
gbadev.googlecode.com
XP
1,709
Country
Just tried this out, and it seems like all the titles that do not get renamed are because they contain a " : ", file names cannot have it. is it possible to workaround?
Actually, after looking through a bunch of ISO files with a hex editor, I found where the game name is found in the disk image so I could grab that version from there and see if it's compatible as a filename OR I could just replace all the ":" with "-". I'll have to find time here to add those as options.
 
  • Like
Reactions: Coto

VashTS

Beat it, son
Member
Joined
Mar 14, 2009
Messages
4,308
Trophies
1
Age
39
Location
Upstate NY
XP
3,788
Country
United States
i like the 2nd option, but maybe instead of using a " - " just use nothing. I started renaming some without anything in place of the : and it looks fine to me. i'm only worried about dios mios being able to load it and to identify the game.

where does it put titles.txt? i could always edit that and remove all the : and it should work right?

just tried by removing all : from titles.txt, but it wont ask me what titles.txt to use when i choose "file" when asked where to get it!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    NinStar @ NinStar: :wub: