MathewWi / dop-mii

Automatically exported from code.google.com/p/dop-mii
GNU General Public License v3.0
0 stars 0 forks source link

Location of DOP-Mii.cfg #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I was wondering if you would consider changing the location of DOP-Mii.cfg to 
be the DOP-Mii apps folder?  Most Wii apps no longer use the config folder 
anymore.  They store their configuration data in the apps folder.  Perhaps the 
best thing would be to change the code to look for the config file in the 
config folder first and then in the apps folder if it is not found in the 
config folder.  This would cover folks that are already using the config 
folder.  Thanks...

Original issue reported on code.google.com by gsoud...@cox.net on 30 Aug 2010 at 9:13

GoogleCodeExporter commented 9 years ago
I've been slowly converting all of my projects to locate all of their data in 
their apps folder to help keep devices clean. DOP-Mii is on the list - dont 
worry ;)

Original comment by castleva...@yahoo.com on 2 Sep 2010 at 1:34

GoogleCodeExporter commented 9 years ago

Original comment by castleva...@yahoo.com on 21 Nov 2010 at 4:31

GoogleCodeExporter commented 9 years ago
I just tried V14 and it seems to work OK.  However I am not sure if you now 
support the config file to be located in the Dop-Mii apps folder.  To test if 
you allow this I changed the <defaultIOS> from 36 to 249.  I tried placing the 
config file in the Dop-Mii apps folder but the app started with ios36 as the 
default.  I then tried creating a config folder at the root and putting the 
config file in the config folder.  Again I changed the <defaultIOS> from 36 to 
249.  Still no joy as the app starts with ios36 as the default.  BTW I do have 
cios249 installed.  So it would seem that the config file is not working from 
either location.  Please advise...

Original comment by gsoud...@cox.net on 21 Nov 2010 at 9:22

GoogleCodeExporter commented 9 years ago
No, I didnt add this feature into v14. v14 is intended to be more of a bugfix 
release then a new feature release. If it was in, this issue would be closed ;)

The default IOS option doesn't work like that. It refers to the first IOS 
you're asked to load on the GUI. If, however, that is what you're referring to, 
try disabling AHBPROT (remove the <no_ios_reload/> from the meta.xml). Also 
make sure you're not using the WiiBrew Edition.

Original comment by castleva...@yahoo.com on 21 Nov 2010 at 9:32

GoogleCodeExporter commented 9 years ago
Lets take it from the top.  Launch the app and press A.  The next screen asks 
"Which IOS would you like to use to install other IOSes?".  The IOS that is 
showing by default it 36.  Is this not the <defaultIOS> controlled in the 
config file?  I believe it is.

I did as you suggested and removed <no_ios_reload/> from meta.xml which will 
disable AHBPROT.  I have the config folder at the root and <defaultIOS> set to 
249 in the config file.  Yet still the app shows 36 as the default IOS.  So I 
think that this is not working correctly.  Please advise...

BTW your zip file for the new V14 release contains SVN folders in it which 
should be removed...

Original comment by gsoud...@cox.net on 21 Nov 2010 at 10:46

GoogleCodeExporter commented 9 years ago
Sorry I forgot to mention I am not running WiiBrew Edition...

Original comment by gsoud...@cox.net on 21 Nov 2010 at 10:46

GoogleCodeExporter commented 9 years ago
Yes, that sounds like a bug alright. I will see if I can reproduce and fix it. 
Out of curiosity are you using SD or USB?

Also, regarding the SVN files, I'm sorry they snuck in there. I can't see them 
on my computer - I should've checked with a command prompt to make sure they 
weren't there.

Original comment by castleva...@yahoo.com on 21 Nov 2010 at 10:56

GoogleCodeExporter commented 9 years ago
I am using USB but I just tried it from my SD card and it works.  The default 
IOS came up as 249 as it should with my config file.  Hope this helps to 
diagnose the problem...

Original comment by gsoud...@cox.net on 21 Nov 2010 at 11:52

GoogleCodeExporter commented 9 years ago
Alright, if you could checkout and compile the SVN, I believe I've fixed the 
USB loading bug with the cfg file.

Original comment by castleva...@yahoo.com on 22 Nov 2010 at 4:04

GoogleCodeExporter commented 9 years ago
Alrighty, I just made another commit giving the option to use the current path 
or /apps/DOP-Mii/DOP-Mii.cfg . So Im going to close this enhancement since its 
essentially be completed but please continue to keep me informed about any more 
usb problems you may have.

Original comment by castleva...@yahoo.com on 22 Nov 2010 at 4:12

GoogleCodeExporter commented 9 years ago
I am having trouble building.  I have a fresh install of the latest Devkitpro 
and I did a fresh download of the latest SVN revision.  I have attached a log 
file from my build.  Please advise...

Original comment by gsoud...@cox.net on 22 Nov 2010 at 4:57

Attachments:

GoogleCodeExporter commented 9 years ago
All that log gives me is garbage. I cant read it.

Original comment by castleva...@yahoo.com on 22 Nov 2010 at 5:01

GoogleCodeExporter commented 9 years ago
OK it is a unicode text file.  I will just paste in the errors here...

echo /f/devkitPro/portlibs/ppc
/f/devkitPro/portlibs/ppc
SubWCRev.exe "." "./templates/svnrev_template.h" "./include/svnrev.h"
SubWCRev: 'F:\WiiSource\DOP-Mii'
Last committed at revision 144
Updated to revision 144
SM_ticket.dat
bin2s -a 32 /f/WiiSource/DOP-Mii/data/SM_ticket.dat | powerpc-eabi-as -o 
SM_ticket.dat.o
echo "extern const u8" `(echo SM_ticket.dat | sed -e 's/^\([0-9]\)/_\1/' | tr . 
_)`"_end[];" > `(echo SM_ticket.dat | tr . _)`.h
echo "extern const u8" `(echo SM_ticket.dat | sed -e 's/^\([0-9]\)/_\1/' | tr . 
_)`"[];" >> `(echo SM_ticket.dat | tr . _)`.h
echo "extern const u32" `(echo SM_ticket.dat | sed -e 's/^\([0-9]\)/_\1/' | tr 
. _)`_size";" >> `(echo SM_ticket.dat | tr . _)`.h
SU_ticket.dat
bin2s -a 32 /f/WiiSource/DOP-Mii/data/SU_ticket.dat | powerpc-eabi-as -o 
SU_ticket.dat.o
echo "extern const u8" `(echo SU_ticket.dat | sed -e 's/^\([0-9]\)/_\1/' | tr . 
_)`"_end[];" > `(echo SU_ticket.dat | tr . _)`.h
echo "extern const u8" `(echo SU_ticket.dat | sed -e 's/^\([0-9]\)/_\1/' | tr . 
_)`"[];" >> `(echo SU_ticket.dat | tr . _)`.h
echo "extern const u32" `(echo SU_ticket.dat | sed -e 's/^\([0-9]\)/_\1/' | tr 
. _)`_size";" >> `(echo SU_ticket.dat | tr . _)`.h
SU_tmd.dat
bin2s -a 32 /f/WiiSource/DOP-Mii/data/SU_tmd.dat | powerpc-eabi-as -o 
SU_tmd.dat.o
echo "extern const u8" `(echo SU_tmd.dat | sed -e 's/^\([0-9]\)/_\1/' | tr . 
_)`"_end[];" > `(echo SU_tmd.dat | tr . _)`.h
echo "extern const u8" `(echo SU_tmd.dat | sed -e 's/^\([0-9]\)/_\1/' | tr . 
_)`"[];" >> `(echo SU_tmd.dat | tr . _)`.h
echo "extern const u32" `(echo SU_tmd.dat | sed -e 's/^\([0-9]\)/_\1/' | tr . 
_)`_size";" >> `(echo SU_tmd.dat | tr . _)`.h
Titles.xml
bin2s -a 32 /f/WiiSource/DOP-Mii/data/Titles.xml | powerpc-eabi-as -o 
Titles.xml.o
echo "extern const u8" `(echo Titles.xml | sed -e 's/^\([0-9]\)/_\1/' | tr . 
_)`"_end[];" > `(echo Titles.xml | tr . _)`.h
echo "extern const u8" `(echo Titles.xml | sed -e 's/^\([0-9]\)/_\1/' | tr . 
_)`"[];" >> `(echo Titles.xml | tr . _)`.h
echo "extern const u32" `(echo Titles.xml | sed -e 's/^\([0-9]\)/_\1/' | tr . 
_)`_size";" >> `(echo Titles.xml | tr . _)`.h       
Boot2.cpp
In file included from f:/WiiSource/DOP-Mii/include/Title.h:5:0,
                 from f:/WiiSource/DOP-Mii/include/Wad.h:4,
                 from f:/WiiSource/DOP-Mii/source/Boot2.cpp:11:
f:/WiiSource/DOP-Mii/include/IOSMatrix.h:6:18: fatal error: mxml.h: No such 
file or directory
compilation terminated.
make[1]: *** [Boot2.o] Error 1
"make": *** [build] Error 2

> Process Exit Code: 2
> Time Taken: 00:16

Original comment by gsoud...@cox.net on 22 Nov 2010 at 5:41

GoogleCodeExporter commented 9 years ago
You need to install the mxml library.

Original comment by castleva...@yahoo.com on 22 Nov 2010 at 2:28

GoogleCodeExporter commented 9 years ago
Ya thanks I figured out that I needed mxml library.  I have built r144 and 
tested it.  Everything works fine.  Thanks for all your hard work.

I have another question for you.  I am currently running system menu 4.2U and 
am very skeptical of upgrading to 4.3.  I was thinking that I would update all 
of my system ios's to the latest versions.  That way I get the latest without 
having to upgrade to 4.3.  Can you give me the pro's and con's of doing this?  
Thanks... 

Original comment by gsoud...@cox.net on 22 Nov 2010 at 3:07

GoogleCodeExporter commented 9 years ago
With DOP-Mii there really aren't any pros or cons. DOP-Mii can patch all of the 
new IOSs so they'll work just like your old ones. The 4.3 System Menu fixes a 
few bugs in itself but doesn't harm homebrew if you have the latest Homebrew 
Channel. It's really up to you how to do it. Also, with DOP-Mii, you can always 
downgrade if you want. Lastly, just to stay on the side of caution, it's 
recommended that you backup your NAND with bootmii before doing any major 
changes to your Wii.

Original comment by castleva...@yahoo.com on 22 Nov 2010 at 3:58