Hacking Dios Mios Lite

Status
Not open for further replies.

chyyran

somehow a weeb now.
Developer
Joined
Dec 10, 2009
Messages
2,845
Trophies
1
Location
here
Website
ronnchyran.com
XP
1,076
Country
Canada
Nice, I was always wondering how to do that with batch files. I was just always too lazy to look it up.

Kinda going off topic here, but basically, the "%~1" part represents the first parameter as a variable passed on to the .bat file. Basically when you drag the folder to the batch file, it sets "%~1" as the path, and substitutes all instances of %~1 as the path

eg
Code:
gcrex -c "%~1"
Can mean
Code:
gcreex -c "C:\GCBackup\ABC123\"

I like, personally to add this
Code:
title GCReEx: Packing %~1
echo Packed %~1 >>GCReEx.log
Just helps me keeps track of things.

 

sonictopfan

Well-Known Member
Member
Joined
Mar 2, 2010
Messages
2,701
Trophies
1
XP
1,933
Country
Anyways, Is it normal for your Wii to make a loud screeching sound after pressing Reset or Power on the Wii while a GC game is loaded through DML? I have to pull the plug every time I want to power off after I play something.

That doesn't happen to me :O are you having your Wii sideways? I dunno if this has anything to do with it or not but mine is always standing next to the TV!
 

spayrosam

Well-Known Member
Member
Joined
Jun 2, 2009
Messages
756
Trophies
0
Location
Gafsa
Website
Visit site
XP
309
Country
Anyone know where I can download the latest revesion "Dml", I need ist to Build a Current DML Rev (App to build a Current DML Rev)
Few days before, was the download link here http://code.google.com/p/dios-mios-lite-source-project/downloads/list
I would be very grateful
 

shortz1994

Well-Known Member
Member
Joined
Jan 21, 2011
Messages
1,340
Trophies
0
XP
369
Country
United States

spayrosam

Well-Known Member
Member
Joined
Jun 2, 2009
Messages
756
Trophies
0
Location
Gafsa
Website
Visit site
XP
309
Country
Here to get latest revesion ( File stored on http://code.google.com/p/dios-mios-lite-source-project/downloads/list?can=1&q=&colspec=Filename)

App to show all URLS and SHA1 Checksum : http://www.mediafire.com/?lq9l8z8pec3hr7e

Code:
#NoTrayIcon
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Version=beta
#AutoIt3Wrapper_icon=A.ico
#AutoIt3Wrapper_outfile=Current DML Rev v1.0.exe
#AutoIt3Wrapper_UseUpx=n
#AutoIt3Wrapper_Res_Comment=Current DML Rev
#AutoIt3Wrapper_Res_Description=Current DML Rev
#AutoIt3Wrapper_Res_Fileversion=1.0.0.0
#AutoIt3Wrapper_Res_ProductVersion=1.0.0.0
#AutoIt3Wrapper_Res_LegalCopyright=Copyright © 2009 - © 2012 Spayrosam (Samir.L)
#AutoIt3Wrapper_Res_Field=CompanyName|Spayrosam
#AutoIt3Wrapper_Res_Field=ProductName|Current DML Rev
#AutoIt3Wrapper_Res_Field=ProductVersion|1.0.0.0
#AutoIt3Wrapper_Res_Field=Current DML Rev|1.0.0.0
#AutoIt3Wrapper_Run_AU3Check=n
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****

MsgBox(0, "Current DML Rev", _CurrentDMLRevURL())

Func _CurrentDMLRevURL()
FileDelete(@TempDir & "\SHA1ChecksumURL")
FileDelete(@TempDir & "\CurrentDMLRevURL") ;Clean
Local $hDownload = InetGet("http://code.google.com/p/dios-mios-lite-source-project/downloads/list?can=1&q=&colspec=Filename", @TempDir & "\CurrentDMLRevURL", 1, 1) ;Download Header
Do
Sleep(250)
Until InetGetInfo($hDownload, 2)
InetClose($hDownload)

$GetCurrentDMLRevURL = FileRead(@TempDir & "\CurrentDMLRevURL")
FileClose($GetCurrentDMLRevURL)
FileDelete(@TempDir & "\CurrentDMLRevURL") ;Clean
$StringCurrentDMLRevURL = _splitInfo($GetCurrentDMLRevURL, 'dios\-mios\-lite\-source\-project\.googlecode\.com\/files\/DMLr(\d\d)\.elf', 1)
$URLCurrentDMLRevURL = "http://dios-mios-lite-source-project.googlecode.com/files/DMLr" & $StringCurrentDMLRevURL & ".elf"
$URLCurrentDMLRevURLCheat = "http://dios-mios-lite-source-project.googlecode.com/files/DMLr" & $StringCurrentDMLRevURL & ".elf"
$URLCurrentDMLRevURL_nmm_nodisc = "http://dios-mios-lite-source-project.googlecode.com/files/DMLr" & $StringCurrentDMLRevURL & "_nmm_nodisc.elf"
$URLCurrentDMLRevURL_nodisc = "http://dios-mios-lite-source-project.googlecode.com/files/DMLr" & $StringCurrentDMLRevURL & "_nodisc.elf"
$URLCurrentDMLRevURL_nmm = "http://dios-mios-lite-source-project.googlecode.com/files/DMLr" & $StringCurrentDMLRevURL & "_nmm.elf"

$StringSHA1Checksum_nmm_nodisc = _Get_SHA1Checksum("http://code.google.com/p/dios-mios-lite-source-project/downloads/detail?name=DMLr" & $StringCurrentDMLRevURL & "_nmm_nodisc.elf")
$StringSHA1Checksum_nodisc = _Get_SHA1Checksum("http://code.google.com/p/dios-mios-lite-source-project/downloads/detail?name=DMLr" & $StringCurrentDMLRevURL & "_nodisc.elf")
$StringSHA1Checksum_nmm = _Get_SHA1Checksum("http://code.google.com/p/dios-mios-lite-source-project/downloads/detail?name=DMLr" & $StringCurrentDMLRevURL & "_nmm.elf")
$StringSHA1Checksum = _Get_SHA1Checksum("http://code.google.com/p/dios-mios-lite-source-project/downloads/detail?name=DMLr" & $StringCurrentDMLRevURL & ".elf")

Return (@CRLF & _
"+ DMLr" & $StringCurrentDMLRevURL & "_nmm_nodisc.elf  : " & $URLCurrentDMLRevURL_nmm_nodisc & @CRLF & _
"SHA1 Checksum: " & $StringSHA1Checksum_nmm_nodisc & @CRLF & @CRLF & _
"+ DMLr" & $StringCurrentDMLRevURL & "_nodisc.elf      : " & $URLCurrentDMLRevURL_nodisc & @CRLF & _
"SHA1 Checksum: " & $StringSHA1Checksum_nodisc & @CRLF & @CRLF & _
"+ DMLr" & $StringCurrentDMLRevURL & "_nmm.elf         : " & $URLCurrentDMLRevURL_nmm & @CRLF & _
"SHA1 Checksum: " & $StringSHA1Checksum_nmm & @CRLF & @CRLF & _
"+ DMLr" & $StringCurrentDMLRevURL & ".elf             : " & $URLCurrentDMLRevURLCheat & @CRLF & _
"SHA1 Checksum: " & $StringSHA1Checksum & @CRLF)
EndFunc   ;==>_CurrentDMLRevURL

Func _Get_SHA1Checksum($_Get_SHA1ChecksumURL)
Local $StringSHA1Checksum = ""
FileDelete(@TempDir & "\SHA1ChecksumURL")
Local $hDownload = InetGet($_Get_SHA1ChecksumURL, @TempDir & "\SHA1ChecksumURL", 1, 1) ;Download Header
Do
Sleep(250)
Until InetGetInfo($hDownload, 2)
InetClose($hDownload)

$GetSHA1ChecksumURL = FileRead(@TempDir & "\SHA1ChecksumURL")
FileClose($GetSHA1ChecksumURL)
FileDelete(@TempDir & "\SHA1ChecksumURL") ;Clean
$StringSHA1ChecksumURL = _splitInfo($GetSHA1ChecksumURL, "SHA1 Checksum\: ([^*]*?)What\'s this\?", 1)
$StringSHA1Checksum = _splitInfo($StringSHA1ChecksumURL, "\> ([^*]*?) \
 

IceIceBird

Well-Known Member
Member
Joined
Nov 14, 2009
Messages
407
Trophies
0
XP
119
Country
uhm you do know that r59 is very outdated?
Also there is a new SVN at https://code.google....p/diosmioslite/

OH!, Many thanks ;)
I see there are no .elf files to download.
It would be very helpful if you can link me :)
Cheers! ;)
Hey man just use the wad if you're running it on real nand or if you're running your wii trough sneek then use the app file and follow the instructions.. no need for an elf file any more since there is no copyrighted nintendo code left any more.
 

sonictopfan

Well-Known Member
Member
Joined
Mar 2, 2010
Messages
2,701
Trophies
1
XP
1,933
Country
@spayrosam Assalamo Alykom neighbor, DML r59 is the latest stable version that came as an .elf file, the new versions are uploaded as .wad files, wither one can create a .elf file off them or not I dunno but if you're looking for .elf file then stick with r59, also the updates aren't that different, mostly they fix the "error" messages and games that still require a disk to run, but if you don't mind the .wad files then get 1.4b it's the latest!
 

spayrosam

Well-Known Member
Member
Joined
Jun 2, 2009
Messages
756
Trophies
0
Location
Gafsa
Website
Visit site
XP
309
Country
@IceIceBird Thanks a lot!
@sonictopfan We Alykom Assalam, Thank you very much indeed. ("Build a Current DML Rev" This has cost me a lot of time.) ;) ;)
 

Maxternal

Peanut Gallery Spokesman
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
@IceIceBird Thanks a lot!
@sonictopfan We Alykom Assalam, Thank you very much indeed. ("Build a Current DML Rev" This has cost me a lot of time.) ;) ;)
If you wanted the NEWEST version of an ELF file that actually has to be combined with a Nintendo MIOS v10 WAD, this was posted a while back. It is r59 modded with some of the compatibility patches that were added to v1.0
EDIT: Anyone who wants to try this out in the meantime: grab this ELF I have precompiled and rebuild DML with it as you normally would, then install, then try it out. :)
Edit : I've heard of people compiling off of the new GoogleCode page and ending up with an ELF but I don't think that combining that file with a clean MIOS the old way really works. I could be wrong, though.
 

sonictopfan

Well-Known Member
Member
Joined
Mar 2, 2010
Messages
2,701
Trophies
1
XP
1,933
Country
I want to make a GUI to convert ISOs for example, select 10 ISOs and press CONVERT ALL.
It will be useful?

I'd be very interested in this actually, especially if there was an option to check each game if you want it compressed or not, but even without that I'd be very interested!
 

icebrg5

Well-Known Member
Member
Joined
Apr 1, 2007
Messages
2,328
Trophies
0
Website
Visit site
XP
412
Country
United States
fig2k4(author of wii backup mananger) is working on a GUI tool for GC already. He said hopefully it will be out this weekend then if all goes well
it will be incorporated into WBM.
 
  • Like
Reactions: 1 person

Burton

Real Life VIP and Educator
Member
Joined
Mar 7, 2006
Messages
880
Trophies
0
Website
Visit site
XP
283
Country
I want to make a GUI to convert ISOs for example, select 10 ISOs and press CONVERT ALL.
It will be useful?

I'd be very interested in this actually, especially if there was an option to check each game if you want it compressed or not, but even without that I'd be very interested!
U mean converting all isos in a folder to GcReEx format?
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: https://stockanalysis.com/stocks/ntdoy/market-cap/ I think they'll be alright