xboxscene.org forums

Xbox360 Forums => Xbox360 Software Forums => XeXDK development => Topic started by: Xbox-Scene on April 09, 2011, 02:53:00 PM

Title: Disk Swapper v1.1 DashLaunch Plugin
Post by: Xbox-Scene on April 09, 2011, 02:53:00 PM
Disk Swapper v1.1 DashLaunch Plugin
Posted by XanTium | April 9 16:53 EST | News Category: Xbox360
 
c0z released a new version of his Disk Swapper plugin for DashLaunch. This new version is now also comptable with the 12625 dashboard, which is useful since the 12625-rebooter came out for homebrew 360s:
Quote

Multidisk game switcher
This plugin is not hard coded to require any specific version of dash (fixed in this release) or for any specific game.

What it does:
If you have games with more than one disk installed on your machine, this plugin takes care of switching from one disk to the other (once you set up the multi.ini file, the plugin, and dash launch of course) ingame.

v1.1
- fixes export table lookup to be versionless

Official Site: n/a, by c0z
Download: n/a (built with XDK)
News-Source: logic-sunrise.com | elitemodscene.com



Title: Disk Swapper v1.1 DashLaunch Plugin
Post by: DARKFiB3R on April 09, 2011, 08:17:00 PM
Thanks of the update.

My multi.ini so far.

CODE
; Castlevania Lords of Shadow
[4B4E0809]
disk1 = Hdd:\Content\0000000000000000\4B4E0809\00007000\AFA07CC8B023CA4D7116
disk2 = Hdd:\Games\Castlevania Lords of Shadow\Disc 2\
;Blue Dragon
[4D5307DF]
disk1 = Hdd:\Content\0000000000000000\4D5307DF\00007000\EFD48D3684798FE8DBBF
disk2 = Hdd:\Games\Blue Dragon\Disc 2\
disk3 = Hdd:\Games\Blue Dragon\Disc 3\
; Dead Space 2
[454108DF]
disk1 = Hdd:\Content\0000000000000000\454108DF\00007000\831BBD71B701B42512FF
disk2 = Hdd:\Games\Dead Space 2\Disc 2\
; final fantasy XIII
[535107E4]
disk1 = Hdd:\Content\0000000000000000\535107E4\00007000\CE1E0E2B916B351BEABB
disk2 = Hdd:\Games\Final Fantasy XIII\Disc 2\
disk3 = Hdd:\Games\Final Fantasy XIII\Disc 3\
; Infinite Undiscovery
[535107DB]
disk1 = Hdd:\Content\0000000000000000\535107DB\00007000\XXXXXXXXXXXXXXXXXXXX
disk2 = Hdd:\Games\Infinite Undiscovery\Disc 2\
; Lost Odyssey
[4D5307FA]
disk1 = Hdd:\Content\0000000000000000\4D5307FA\00007000\9F8A0DB063BC8C2148B6
disk2 = Hdd:\Games\Lost Odyssey\Disc 2\
disk3 = Hdd:\Games\Lost Odyssey\Disc 3\
disk4 = Hdd:\Games\Lost Odyssey\Disc 4\
; MagnaCarta II
[4E4D080C]
disk1 = Hdd:\Content\0000000000000000\4E4D080C\00007000\67971FAC38691E2C00C2
disk2 = Hdd:\Games\MagnaCarta II\Disc 2\
; Star Ocean The Last Hope
[535107DD]
disk1 = Hdd:\Content\0000000000000000\535107DD\00007000\040AAF464CE5F20E80E7
disk2 = Hdd:\Games\Star Ocean The Last Hope\Disc 2\
disk3 = Hdd:\Games\Star Ocean The Last Hope\Disc 3\
; The Last Remnant
[535107DA]
disk1 = Hdd:\Content\0000000000000000\535107DA\00007000\XXXXXXXXXXXXXXXXXXXX
disk2 = Hdd:\Games\The Last Remnant\Disc 2\
;---------------------------------------------------------------------------

; Halo ODST: Disc 1 and Disc 2 are separate game types (SP & MP) no disc swapping involved, rip to separate folders.

; Forza 3:

; Oblivion (Game Of The Year Edition):

; Fallout 3 (Game Of The Year Edition):


The above is based on a PAL console, and obviously HDD/GoD installs

Feel free to fill in the blanks and post it wink.gif
Title: Disk Swapper v1.1 DashLaunch Plugin
Post by: tk_saturn on April 09, 2011, 09:12:00 PM
You're missing the other Magnacarta 2 (the PAL and NTSC releases have different IDs) along with Star Wars: The Force Unleashed - Ultimate Sith Edition and Mass Effect 2 (which has an issue with v1.1).

I imagine it would take someone with a devkit very little time to knock up a quick program to scan through the HDD/ USB and create a multi.ini for all the games.

At the moment i'm having to resort to using a batch file on a Samba'd drive, and even then it only works for GODs.

This post has been edited by tk_saturn: Apr 10 2011, 04:18 AM
Title: Disk Swapper v1.1 DashLaunch Plugin
Post by: DARKFiB3R on April 09, 2011, 09:35:00 PM
Cheers tk_saturn, PAL MagnaCarta II is in there already wink.gif
Title: Disk Swapper v1.1 DashLaunch Plugin
Post by: tk_saturn on April 09, 2011, 09:54:00 PM
I just went to www.abgx360.net and did a search for disc as it also has the game IDs. When ISO2GOD creates it's files, you can just use a batch file to count the 44KB files, and when there's 2 or more the earlier file always seems to be disc 1. You can use SFK to get the game names from the 44KB file.

It's surprising just how few multi disc games there are.

This post has been edited by tk_saturn: Apr 10 2011, 04:56 AM
Title: Disk Swapper v1.1 DashLaunch Plugin
Post by: DARKFiB3R on April 09, 2011, 10:18:00 PM
Updated with The Force Unleashed - Ultimate Sith Edition and Mass Effect 2

CODE
; Castlevania: Lords of Shadow
[4B4E0809]
disk1 = Hdd:\Content\0000000000000000\4B4E0809\00007000\AFA07CC8B023CA4D7116
disk2 = Hdd:\Games\Castlevania Lords of Shadow\Disc 2\
;Blue Dragon
[4D5307DF]
disk1 = Hdd:\Content\0000000000000000\4D5307DF\00007000\EFD48D3684798FE8DBBF
disk2 = Hdd:\Games\Blue Dragon\Disc 2\
disk3 = Hdd:\Games\Blue Dragon\Disc 3\
; Dead Space 2
[454108DF]
disk1 = Hdd:\Content\0000000000000000\454108DF\00007000\831BBD71B701B42512FF
disk2 = Hdd:\Games\Dead Space 2\Disc 2\
; Final Fantasy XIII
[535107E4]
disk1 = Hdd:\Content\0000000000000000\535107E4\00007000\CE1E0E2B916B351BEABB
disk2 = Hdd:\Games\Final Fantasy XIII\Disc 2\
disk3 = Hdd:\Games\Final Fantasy XIII\Disc 3\
; Infinite Undiscovery
[535107DB]
disk1 = Hdd:\Content\0000000000000000\535107DB\00007000\XXXXXXXXXXXXXXXXXXXX
disk2 = Hdd:\Games\Infinite Undiscovery\Disc 2\
; Lost Odyssey
[4D5307FA]
disk1 = Hdd:\Content\0000000000000000\4D5307FA\00007000\9F8A0DB063BC8C2148B6
disk2 = Hdd:\Games\Lost Odyssey\Disc 2\
disk3 = Hdd:\Games\Lost Odyssey\Disc 3\
disk4 = Hdd:\Games\Lost Odyssey\Disc 4\
; MagnaCarta II
[4E4D080C]
disk1 = Hdd:\Content\0000000000000000\4E4D080C\00007000\67971FAC38691E2C00C2
disk2 = Hdd:\Games\MagnaCarta II\Disc 2\
; Mass Effect 2
[454108CE]
disk1 = Hdd:\Content\0000000000000000\454108CE\00007000\2AB71BD89DC58E8FB82F
disk2 = Hdd:\Games\Mass Effect 2\Disc 2\
; Star Wars: The Force Unleashed - Ultimate Sith Edition
[4C4107D2]
disk1 = Hdd:\Content\0000000000000000\4C4107D2\00007000\33517B8FFD39CC64E372
disk2 = Hdd:\Games\The Force Unleashed Ultimate Sith\Disc 2\
; Star Ocean: The Last Hope
[535107DD]
disk1 = Hdd:\Content\0000000000000000\535107DD\00007000\040AAF464CE5F20E80E7
disk2 = Hdd:\Games\Star Ocean The Last Hope\Disc 2\
disk3 = Hdd:\Games\Star Ocean The Last Hope\Disc 3\
; The Last Remnant
[535107DA]
disk1 = Hdd:\Content\0000000000000000\535107DA\00007000\XXXXXXXXXXXXXXXXXXXX
disk2 = Hdd:\Games\The Last Remnant\Disc 2\
;---------------------------------------------------------------------------

; Halo ODST: Disc 1 and Disc 2 are separate game types (SP & MP) No disc swapping involved, rip to separate folders.

; Forza 3:

; Oblivion (Game Of The Year Edition):

; Fallout 3 (Game Of The Year Edition):


http://360.kingla.com is a great resource too. I do use ISO2GOD,  but you kinda lost me with the batch file/44KB files, and I have no idea what SFK is (IMG:style_emoticons/default/huh.gif)

This post has been edited by DARKFiB3R: Apr 10 2011, 05:18 AM
Title: Disk Swapper v1.1 DashLaunch Plugin
Post by: tk_saturn on April 09, 2011, 10:22:00 PM
SFK http://stahlworks.com/dev/swiss-file-knife.html

Batch file if you want it http://www.themolehole.eclipse.co.uk/multi4.exe

CODE

@echo off
SETLOCAL
color 1f
set XP=no
title Creating multi.ini
VER|find "Windows XP">nul

IF ERRORLEVEL 1 GOTO NT
title Creating multi.ini XP
set XP=yes
:NT

:drivedet
cls
echo TK Saturn.
echo.
echo to use boot into FSD and in Windows Explorer/ Network Sharing map \\XBOX360\[source] to a Windows Drive
echo.
set drives=
set drives2=
set drivefound=no
SETLOCAL enabledelayedexpansion
for /l %%i in (1,1,26) do (
  if %%i==1 set drivedet=A
  if %%i==2 set drivedet=B
  if %%i==3 set drivedet=C
  if %%i==4 set drivedet=D
  if %%i==5 set drivedet=E
  if %%i==6 set drivedet=F
  if %%i==7 set drivedet=G
  if %%i==8 set drivedet=H
  if %%i==9 set drivedet=I
  if %%i==10 set drivedet=J
  if %%i==11 set drivedet=K
  if %%i==12 set drivedet=L
  if %%i==13 set drivedet=M
  if %%i==14 set drivedet=N
  if %%i==15 set drivedet=O
  if %%i==16 set drivedet=P
  if %%i==17 set drivedet=Q
  if %%i==18 set drivedet=R
  if %%i==19 set drivedet=S
  if %%i==20 set drivedet=T
  if %%i==21 set drivedet=U
  if %%i==22 set drivedet=V
  if %%i==23 set drivedet=W
  if %%i==24 set drivedet=X
  if %%i==25 set drivedet=Y
  if %%i==26 set drivedet=Z
  dir !drivedet!:\content>nul 2>nul
  if !errorlevel!==0 (
    set drivefound=yes
    set drives=!drives!!drivedet!
    set drives2=!drives2!!drivedet!:
    vol !drivedet!: | findstr in
    if exist !drivedet!:\autorun.inf for /f "delims== tokens=1,2 " %%i in ('findstr label !drivedet!:\autorun.inf') do echo  -- %%j && echo.
    )
  )
if %drivefound%==no goto error

SETLOCAL disabledelayedexpansion
echo.    
if %XP%==yes (
    choicexp /C:%drives% "Enter drive letter: "
)
if %XP%==no choice /C %drives% /M "Enter drive letter: "

if %errorlevel%==1 set choice2=A
if %errorlevel%==2 set choice2=B
if %errorlevel%==3 set choice2=C
if %errorlevel%==4 set choice2=D
if %errorlevel%==5 set choice2=E
if %errorlevel%==6 set choice2=F
if %errorlevel%==7 set choice2=G
if %errorlevel%==8 set choice2=H
if %errorlevel%==9 set choice2=I
if %errorlevel%==10 set choice2=J
if %errorlevel%==11 set choice2=K
if %errorlevel%==12 set choice2=L
if %errorlevel%==13 set choice2=M
if %errorlevel%==14 set choice2=N
if %errorlevel%==15 set choice2=O
if %errorlevel%==16 set choice2=P
if %errorlevel%==17 set choice2=Q
if %errorlevel%==18 set choice2=R
if %errorlevel%==19 set choice2=S
if %errorlevel%==20 set choice2=T
if %errorlevel%==21 set choice2=U
if %errorlevel%==22 set choice2=V
if %errorlevel%==23 set choice2=W
if %errorlevel%==24 set choice2=X
if %errorlevel%==25 set choice2=Y
if %errorlevel%==26 set choice2=Z
for /F "delims=: tokens=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26" %%A in ("%drives2%") do set drive=%%%choice2%

setlocal enabledelayedexpansion
set ok=no
if exist %drive%:\multi.ini (
  for /F "tokens=1,2,3 usebackq delims=/" %%i IN (`echo %date%`) DO set TKS=%%i-%%j-%%k
  for /F "tokens=1,2,3 usebackq delims=:. " %%i IN (`time /t`) DO set TKS2=%%i%%j
  for /F "tokens=1,2,3 usebackq delims=:." %%i IN (`echo %time%`) DO set TKS2=!TKS2!.%%k
  ren %drive%:\multi.ini multi.!TKS!_!TKS2!
  )

:top
set ok=no
set destchoice=xxx
cls
echo 1. Usb:\Games
echo 2. Hdd:\Games
echo 3. Hdd:\Content\0000000000000000
echo 4. Usb:\Content\0000000000000000
echo 5. Hdd:\Games\GODs
echo 6. Hdd:\Games\ISO2GOD
set /p destchoice=Source Directory [1,2,3,4,5,6]:
if %destchoice%==1 set dest=Usb:\Games&&set ok=yes
if %destchoice%==2 set dest=Hdd:\Games&&set ok=yes
if %destchoice%==3 set dest=Hdd:\Content\0000000000000000&&set ok=yes
if %destchoice%==4 set dest=Usb:\Content\0000000000000000&&set ok=yes
if %destchoice%==5 set dest=Hdd:\Games\GODs&&set ok=yes
if %destchoice%==6 set dest=Hdd:\Games\ISO2GOD&&set ok=yes
if NOT %ok%==yes goto top

for /f "usebackq delims=: tokens=1,2*" %%i in (`echo %dest%`) do set dest2=%%j
for /f "usebackq" %%i in (`dir %drive%:%dest2% /ad /b`) do (
    dir "%drive%:%dest2%\%%i\00007000"|find "1 File(s)">nul
    if !errorlevel!==1 (
        if %%i==425307D1 echo.;The Elder Scrolls IV: Oblivion -- Game of the Year Edition >>%drive%:\multi.ini
        if %%i==454108CE echo;;Mass Effect 2 >> %drive%:\multi.ini
        if %%i==454108DF echo;;Dead Space 2 >> %drive%:\multi.ini
        if %%i==4B4E0809 echo;;Castlevania: Lords of Shadow >> %drive%:\multi.ini
        if %%i==4C4107D2 echo;;Star Wars: The Force Unleashed -- Ultimate Sith Edition >> %drive%:\multi.ini
        if %%i==4D5307DF echo;;Blue Dragon >>%drive%:\multi.ini
        if %%i==4D5307FA echo;;Lost Odyssey >>%drive%:\multi.ini
        if %%i==4D53084D echo;;Forza Motorsport 3 >>%drive%:\multi.ini
        if %%i==4E4D080B echo;;MagnaCarta II >>%drive%:\multi.ini
        if %%i==4E4D080C echo;;MagnaCarta II >>%drive%:\multi.ini
        if %%i==535107DA echo;;The Last Remnant >>%drive%:\multi.ini
        if %%i==535107DB echo;;Infinite Undiscovery >>%drive%:\multi.ini
        if %%i==535107DD echo;;Star Ocean: The Last Hope >>%drive%:\multi.ini
        if %%i==535107E4 echo;;Final Fantasy XIII >>%drive%:\multi.ini
        set disc=0
        echo [%%i]>>%drive%:\multi.ini
        for %%x in ("%drive%:%dest2%\%%i\00007000\*.*") do (
            set /a disc = !disc! + 1
            echo %%i %%~nx
            echo disk!disc!=%dest%\%%i\00007000\%%~nx>>%drive%:\multi.ini
        )
        echo. >> %drive%:\multi.ini
    )
)
goto end
:error
echo no mapped drives found, aborting.
pause
:end

I used to be able to code once...
Title: Disk Swapper v1.1 DashLaunch Plugin
Post by: DARKFiB3R on April 09, 2011, 10:41:00 PM
*WOOSH*

That was the sound of your last post going waaaaaay over my head IPB Image  laugh.gif
Title: Disk Swapper v1.1 DashLaunch Plugin
Post by: TheRealJPizzle on April 10, 2011, 11:26:00 AM
QUOTE(DARKFiB3R @ Apr 10 2011, 12:41 AM) View Post

*WOOSH*

That was the sound of your last post going waaaaaay over my head IPB Image  laugh.gif

lol
Title: Disk Swapper v1.1 DashLaunch Plugin
Post by: krizalid on April 14, 2011, 08:16:00 PM
Will this plugin allow you to go back and forth between discs?

Example: Castlevania LoS map loading may involve reading from disc 1 or 2 depending on the area you choose to play.

Will it work asking for disc 2 from disc one only? or will it also swap back to disc 1 when running disc 2 if asked?


Thanks.
Title: Disk Swapper v1.1 DashLaunch Plugin
Post by: ars0n on April 22, 2011, 11:54:00 AM
question..

EXAMPLE -  from your posted INI file..


[4E4D080C]
disk1 = Hdd:\Content\0000000000000000\4E4D080C\00007000\67971FAC38691E2C00C2
disk2 = Hdd:\Games\MagnaCarta II\Disc 2\
; Star Ocean The Last Hope
[535107DD]
disk1 = Hdd:\Content\0000000000000000\535107DD\00007000\040AAF464CE5F20E80E7
disk2 = Hdd:\Games\Star Ocean The Last Hope\Disc 2\
disk3 = Hdd:\Games\Star Ocean The Last Hope\Disc 3\


Shouldnt it be the exact directory?


EXAMPLE -

[535107DD]
disk1 = Hdd:\Content\0000000000000000\535107DD\00007000\040AAF464CE5F20E80E7
disk2 = Hdd:\Content\0000000000000000\535107DD\00007000\24234234234234234123(second cd folder name)
Title: Disk Swapper v1.1 DashLaunch Plugin
Post by: Rabb on April 25, 2011, 07:10:00 AM
[535107DD]
disk1 = Hdd:\Content\0000000000000000\535107DD\00007000\040AAF464CE5F20E80E7
disk2 = Hdd:\Games\Star Ocean The Last Hope\Disc 2\
disk3 = Hdd:\Games\Star Ocean The Last Hope\Disc 3\

works great that way for me, been playing it again in last week. but get where u are coming form as with lost odysesy, this was way only would work.

[4D5307FA]
disk1 = Hdd:\Content\0000000000000000\4D5307FA\00007000\9F8A0DB063BC8C2148B6
disk2 = Hdd:\Games\Lost Odyssey\Disc 2\4D5307FA\00007000\7A3E3B7F03A8B75E2CAD
disk3 = Hdd:\Games\Lost Odyssey\Disc 3\4D5307FA\00007000\A9795E8A00800D9FA8FA
disk4 = Hdd:\Games\Lost Odyssey\Disc 4\4D5307FA\00007000\72558711A6FA503E3156

make sure u have if NOT  present in those folders,  a Default.xex.   had to make a zero bytes one, but all works fine smile.gif
Title: Disk Swapper v1.1 DashLaunch Plugin
Post by: Glottiz on May 13, 2011, 04:51:00 PM
QUOTE(krizalid @ Apr 15 2011, 05:16 AM) View Post

Will this plugin allow you to go back and forth between discs?

Yes.
Title: Disk Swapper v1.1 DashLaunch Plugin
Post by: Toddler on May 17, 2011, 08:23:00 PM
Can anyone double-check my work here?

I have ripped all three discs of L.A. Noire and converted them all using ISO2GOD.  Uploaded them to the internal hard drive of my JTAG so that all three CON descriptors are in the same folder with corresponding data files in subfolders.

My multi.ini now looks like this:

; L.A. Noire
[5454086C]
disk1 = Hdd:\Content\0000000000000000\5454086C\00007000\D29C417A095AAB673BF5
disk2 = Hdd:\Content\0000000000000000\5454086C\00007000\31166B60CF4D89293E1F
disk3 = Hdd:\Content\0000000000000000\5454086C\00007000\0EC6A58DDE77D05848D9

I believe this should work without creating a default.xex, since that seems only to be necessary for extracted game folders.  Is that correct?
Title: Disk Swapper v1.1 DashLaunch Plugin
Post by: miragui on May 18, 2011, 03:10:00 PM
QUOTE(Toddler @ May 17 2011, 10:23 PM) View Post

Can anyone double-check my work here?

I have ripped all three discs of L.A. Noire and converted them all using ISO2GOD.  Uploaded them to the internal hard drive of my JTAG so that all three CON descriptors are in the same folder with corresponding data files in subfolders.

My multi.ini now looks like this:

; L.A. Noire
[5454086C]
disk1 = Hdd:\Content\0000000000000000\5454086C\00007000\D29C417A095AAB673BF5
disk2 = Hdd:\Content\0000000000000000\5454086C\00007000\31166B60CF4D89293E1F
disk3 = Hdd:\Content\0000000000000000\5454086C\00007000\0EC6A58DDE77D05848D9

I believe this should work without creating a default.xex, since that seems only to be necessary for extracted game folders.  Is that correct?


It looks the same as what I have done but for me it's not working it's still ask for disc 2.
Title: Disk Swapper v1.1 DashLaunch Plugin
Post by: Xyrexus on May 23, 2011, 07:14:00 AM
My Mass Effect 2 isn't swapping discs with this, I'm on Dash 12611 with Dashlaunch 2.21.

; this ini has the same rules as launch.ini and must be placed on the root of a device
; paths are determined the same way (Usb/Hdd/etc) see dash launch sample ini for more info

; title ID is used for ini category (can be found in fsd, with xextool, the folder name built by iso2god/nxe install)
; use only numbers and small letters here
; only disks listed in the correct titleid category will be parsed from this ini
[454108df]
; dead space 2
; paths for GOD games must point at the root CON descriptor, and NOT end in a \
disk1 = Hdd:\Content\0000000000000000\454108DF\00007000\831BBD71B701B42512FF
disk2 = Hdd:\Content\0000000000000000\454108DF\00007000\B8605B3BAFB748ACD08A
[5454086c]
; LA Noire
disk1 = Hdd:\Content\0000000000000000\5454086C\00007000\D29C417A095AAB673BF5
disk2 = Hdd:\Content\0000000000000000\5454086C\00007000\31166B60CF4D89293E1F
disk3 = Hdd:\Content\0000000000000000\5454086C\00007000\0EC6A58DDE77D05848D9
[454108ce]
; Mass Effect 2
disk1 = Hdd:\Content\0000000000000000\454108CE\00007000\2AB71BD89DC58E8FB82F
disk2 = Hdd:\Content\0000000000000000\454108CE\00007000\651DFCA81463C5F0E6B4

I'm getting around to playing the other games to test them, but with ME2 I have a savefile right before you need to swap back to disc 1, and it's not doing anything.
Title: Disk Swapper v1.1 DashLaunch Plugin
Post by: syntaxerror329 on August 27, 2011, 12:19:00 PM
CODE
[Plugins]
plugin1 = Usb:\swap.xex
plugin2 =
plugin3 =
plugin4 =
plugin5 =


I have swap.xex and multi.ini on the root of my usb stick.

When i run the dashlauch installer it just does not seem to see swap.xex and I check in flash and i don't see swap.xex in there.

So first off am i correct that when this is properly installed i should be able to browse flash and see swap.xex?

Any idea's where i am going wrong? It must be something really simple.
Title: Disk Swapper v1.1 DashLaunch Plugin
Post by: -Gadget- on November 11, 2011, 04:51:00 PM
its ok all sorted now !
best way i found was with battle field 3
select campaign, then medium/easy etc, it asks for disc 2 if it dont work !
if its working just kicks striaght into campaign smile.gif