A9VG电玩部落论坛

 找回密码
 注册
搜索
查看: 5169|回复: 3

[破解] cIOSX rev21 d2x v4请问这是什么版本?有没有人装过?

[复制链接]

精华
1
帖子
769
威望
1 点
积分
1154 点
种子
42 点
注册时间
2008-4-5
最后登录
2023-12-28
 楼主| 发表于 2011-5-16 16:00  ·  北京 | 显示全部楼层 |阅读模式
本帖最后由 ffxfaxz 于 2011-5-16 16:21 编辑

请问这是什么版本?有没有人装过?

http://gbatemp.net/t277659-ciosx-rev21d2x-yet-another-hot-fix
原帖。求翻译和真相...

附上下载!

What is d2x?

This is the 4th version of our modified cIOSX rev21.
The modules EHCI, FAT, FFS and ES have been fixed to improve usb devices compatibility and nand emulation support, but they have been also extended to add some new features.
The new cIOS, obtained by replacing the original modules with these ones, is known as cIOSX rev21d2x where d2x stands for davebaol, xabby666, and XFlak.
Davebaol and xabby666 are the authors of the 1st fix and also moderators of the HackWii community.
XFlak is a famous member of the GBAtemp community and the creator of the fabulous ModMii which is, among other things, also the official d2x wad builder. He had the original idea of replacing the EHCI module from rev21 with the one from rev19 (the last version known not to have the controller lag) and the lag disappeared.

We like to interpret d2x like a sort of chemical formula (like H2O) which is a nice metaphor where the 3 authors are the atoms that gave birth to this little project, the d2x molecule.
Yeah we know that literally in chemistry d2x means D--X--D just like h2o means H--O--H, so it's not the same as the acronym dxx.
But dudes, that's just a metaphor. So who cares.

Since d2x v2 davebaol takes care of the cios, XFlak (how would I do without you?  ) follows the install tools and xabby666 is vanished into thin air.  

Changelog:

d2x v4: A mix of fix

ES - Added "return to channel" feature compatible with all games out there, included problematic ones like PoP.
ES - Fixed error 002 in method 2 for blocking ios reload.
ES - Repeated ios reload are now supported by method 2.
ES - Added support to reload any ios, not only 249.
FAT - Removed file logging code since has proved harmful to games like LostWinds and LostWinds WotM.
FAT - Added support for sector size up to 4KB (typically needed for HDD greater than 2TB).
FAT - Fixed a bug in FAT_GetStats. Now games like Max & the Magic Marker, FFCC My Life as a King and FFCC My Life as a Darklord are working properly.
FAT - Fixed the error code returned by FAT_Readdir when the requested folder is an existing file.
Now all Strong Bad episodes are working properly.
FAT - Fixed a bug in FAT_Seek to prevent from increasing the file size when seeking out of the file.
FAT - Changed timing logic
FAT - Updated FatFs from 0.8 to 0.8b
FAT - Fixed a potential buffer overflow while reading a directory
FAT - Changes due to the fix for huge HDD made in EHCI module
FFS - Removed workaround on file renaming since the issue has been fixed by updating FatFs into the FAT module
FFS - Fixed the buffer length in FAT_ReadDir to avoid potential problems
EHCI - Fixed a bug to support HDD greater than 1TB
Other minor changes.


d2x v3: Nand emulation improved

FFS - Implemented logging system to make debugging easier (enabled in beta releases only).
FAT - Fixed a bug causing the error message "corrupted data" in The Tower of Druaga.
FAT - Fixed a bug causing stall in LIT.
FAT - Enabled multiple partition support in FatFs.
FFS - Extended ioctlv commands for mounting the desired USB/SD partition on nand emulation start up.
Default partition is 0 for backward compatibility with rev21.
FFS - Fixed a bug on file renaming causing the failure on the 2nd save in games like The Will of Dr.Frankenstein.
FFS - Fixed the deletion of folder /tmp on nand emulation start up.
FFS - Fixed a bug in nand usage causing save file failure in games like Tetris Party and FFCC My Life as a King.
FAT & FFS - Code clean up and other minor changes.


d2x v2: No more lag on usb port 1

EHCI - Fixed secondary USB port lag (further information here)


d2x v1: Goodbye controller lag

EHCI - Fixed controller lag (furher information here).
EHCI - Fixed wiimote synch delay on WiiFlow start up.
EHCI - Fixed os_restart_timer syscall invocation with the correct number of arguments.



Nand emulation improvements

As said before VC/WiiWare NAND emulation compatibility has been improved a lot and now should be the same as rev17 or even better.
To use multiple partitions support and emulated nand in any folder (not just the root) download Mighty Channels v11.1.
Here is a short list of games that now work properly. Anyway I expect many others not working before now work too.

CODEWiiWare......................rev17...rev21.....d2x v1/v2.....d2x v3.....d2x v4
------------------------------------------------------------------------------
Tetris Party..................OK.....ERR1........ERR1..........OK.........OK  
Brain Challenge...............OK.....ERR2........ERR2..........OK.........OK  
FFCC: My Life as a King.......OK.....ERR6........ERR6..........OK*1.......OK  
FFCC: My Life as a Darklord...OK.....ERR6........ERR6..........OK*1.......OK
The Island of Dr.Frankenstein.OK.....ERR3........ERR3..........OK.........OK  
The Tower of Druaga...........OK.....ERR4........ERR4..........OK.........OK  
LIT...........................OK.....ERR5........ERR5..........OK.........OK  
LostWinds.....................ERR....ERR.........ERR...........ERR........OK*2  
LostWinds WotM................ERR....ERR.........ERR...........ERR........OK*2  
Max & the Magic Marker........OK.....ERR6........ERR6..........OK*1.......OK
Strong Bad (all 5 episodes)...ERR6...ERR6........ERR6..........ERR6.......OK
Swords and Soldiers...........ERR6...ERR6........ERR6..........OK*1.......OK*1

Notes:
ERR1 = Cannot save the game after each level
ERR2 = Black screen soon after the logo if the save doesn't exist already
ERR3 = Cannot save the game after the 1s time
ERR4 = Error message "corrupted data" after the healthy screen
ERR5 = Save file cannot be created and game stalls on main menu
ERR6 = Black screen soon after the initial logo
OK*1 = It works poperly for most of the nands but not for all.
OK*2 = It works but sometimes still freezes while playing.



About controller and usb lag issues

The controller lag issue has been fixed by d2x v1 and it appeared the first time in cIOSX rev20 and it's still there in rev21, while it didn't exist in rev19.
The problem occurs only with certain hard drives affected by slow spin up.
For further details see the great thread by netspy about controller lag issue.

The secondary usb port lag issue, fixed by d2x v2, exists since rev19.
You can easily replicate that issue through Rock Band 3 by following x4mer's instructions reported in the spoiler below:

QUOTE(x4mer @ Jan 30 2011, 05:35 PM)
Could some people please try the microphone test I mentioned earlier, with RB3?

You can just hum a long note, and keep it held till the drive blinks.


QUOTE(x4mer @ Jan 29 2011, 11:58 PM)
My wife was complaining that the mic kept cutting out, and thought there was something wrong with the mic. I tested it by starting a song in singer only mode, and then pausing it after the song started. By doing this, the mic stays active, and you should be able to hear everything you say coming out the speakers, without being drown out by the music. While doing this, the mic would cut out every time the HDD blinked, making it impossible to get 100% on singing as well. This convinced me that the EHCI is still causing havoc, although to a much lesser degree than it did before (Wario Shake It works now for instance).






How to install d2x cIOSs

You can choose between 2 different methods to install d2x cIOSs.
Both are valid and achieve the same results. Just choose the one you prefer.


Method 1: ModMii + Multi-Mod Manager
This is the original method used to install d2x cIOSs since its birth.
Personally it's my preferred one, but Windows is required.

Download and install the last version of ModMii
Launch ModMii
Enter "I Agree"
Enter "4" to navigate to Download Page 4
If you can't see the last version of the cIOS d2x then download it from the link in the download section below and unpack the content of the folder "modules" inside ModMii's folder named "modules/d2x-beta". This way ModMii will use these modules in place of the ones distributed with ModMii itself.
Add to the download queue all the cIOSX rev21d2x wads you need, for example "249d2x56" and "250d2x57"
Enter "2" to navigate to Download Page 2
Enter "MMM" to add Multi-Mod Manager to the download queue
Enter "D" to download your chosen files
Enter "Y" to start downloading
Check that all the files are "valid" then enter "E" to exit ModMii.
Copy the files from the COPY_TO_SD folder to the root of your SD card and insert it into your Wii
Launch Multi-Mod Manager via the HomeBrew Channel.
Select "Load another IOS", then select IOS236 or any other patched IOS, typically IOS36 or a cIOS.
In Multi-Mod Manager's main menu, go down to select "WAD Manager".
Hold + for 2 seconds to select all the WADs in the folder. Then Press A twice to install them all.
If any files fail to install properly, they will remain marked for installation, so just retry installing those files.
NOTE: Be careful not to install any additional wads that may have been previously saved in this folder (they may be safe, but I cannot say for sure).
You're done. Enjoy d2x!

Method 2: Homebrew Installer
This is the official d2x cIOS Installer created by dragbe and was made with the full support of the d2x team.
This homebrew runs on the Wii and is an alternative to the ModMii method to install the d2x cIOSs.
It's especially helpful for people without Windows and are therefore unable to run ModMii.

Features

Allows to install the cIOS d2x v3 (rev21003) and v4-beta (rev21004).
IOS bases supported: IOS37 v5662, v4123 IOS38, IOS53 v5662, v5662 IOS55, IOS56 v5661, v5918 IOS57, IOS58 v6175.
Ability to choose the installation slot.
Ability to peform online and offline installations.
Support for Classic Controller (untested), Wiimotes and GameCube controllers.

For the next release dragbe plans to improve the interface a bit (not a priority for the moment).

d2x cIOS Installer v1 Download Link

d2x cIOS Installer v1 Source Code Download Link

dragbe's initial release page

Integration instructions for developers

This section is intended for developers who wants to integrate the new features provided by the cIOS d2x.

The "return to channel" feature
This feature is available since d2x v4beta4 and allows the user to return to a certain channel, instead of the system menu, when quitting a game.
It's a clean solution and is compatible with all games out there, included problematic ones like Prince of Persia The Forgotten Sands.

To enable this feature the loader should call a custom es ioctlv specifying the title id to be launched in place of the system menu.
Usb loader developers can easily integrate this feature with few lines of code inside the apploader.
Here is a code snippet:
CODE    static u64 sm_title_id  ATTRIBUTE_ALIGN(32);

    sm_title_id = ..... // title id to be launched in place of the system menu
    vector[0].data = &sm_title_id;
    vector[0].len = 8;

    int ret = IOS_Ioctlv(es_fd, 0xA1, 1, 0, vector);
    if (ret==-101) {
        // feature not supported by the current cios
        // apply here the old "return to channel" method
    }
Note that the command 0xA1 is unknown by all other cios that would return -101, namely EINVAL.
In this case you should apply the old "return to channel" method.

The "IOS reload block" feature
This feature was already available in the last versions of Waninkoko's cios.
However in d2x v4beta3 the method 2 used to block ios reload has been fixed to bypass error 002.
Also it has been improved to block ios reloading multiple times. Finally the method 2 has been extended to support any slot, not only 249.
NOTE: This feature is only relevant to disc loading!!!

To enable this feature the loader should call a custom es ioctlv possibly specifying the ios to be launched in place of the requested one.
Usb loader developers can easily integrate this feature with few lines of code inside the apploader.
Here is a code snippet:
CODE    static int mode ATTRIBUTE_ALIGN(32);
    static int ios ATTRIBUTE_ALIGN(32);

    mode = blockiosreloadselect;
    vector[0].data = &mode;
    vector[0].len = 4;

    int inlen = 1;
    if (mode == 2) {
        inlen = 2;
        ios = 249; // ios to be reloaded in place of the requested one
        vector[1].data = &ios;
        vector[1].len = 4;
    }

    IOS_Ioctlv(es_fd, 0xA0, inlen, 0, vector);
Note that Waninkoko's cios and d2x cios lower than v4beta3 ignore the second argument.
On the other hand to preserve backward compatibility the second argument is optional for cios d2x v4beta3 or higher (249 is the default value).

Further technical reading about error 002 and ios reloading:

http://gbatemp.net/t158885-all-usb-loader-developers
http://gbatemp.net/index.php?showtopic=204045
http://gbatemp.net/t219243-neogamma-r9-bet...t&p=3604819

During development and test I used NeoGamma R9 beta47.

Here are a few games affected by ios reload:

CODETitle                                                   Error 002
------------------------------------------------------------------------
Call of duty 3                                             No
CSI: Deadly Intent                                         ?
CSI: Hard Evidence                                         No
CSI: Fatal Conspiracy                                      Yes
Metroid Prime Trilogy                                      Yes
Sam & Max: Season One                                      No
Sam & Max: Season Two: Beyond Time and Space               Yes

Download links


Last d2x stable release

d2x v4 final mirror 1 and mirror 2
Newer d2x betas

currently there are no newer betas available
Older versions

d2x v4beta4
d2x v4beta3
d2x v4beta2
d2x v4beta1
d2x v3beta6
d2x v3beta5
d2x v3beta4
d2x v3beta3
d2x v3beta2
d2x v3beta1



Kudos

Special thanks to

Waninkoko for the original source
tueidj for the technical suggestions
the HackWii and GBAtemp communities for all the beta tests and support provided
dragbe for the homebrew installer
Totoro for the official d2x logo, simply spectacular!
and last but not least Actar, a bit spastic friend of mine, which has kindly created an alternative d2x logo.
Open the spoiler at your own risk.  

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x

精华
0
帖子
156
威望
0 点
积分
419 点
种子
0 点
注册时间
2010-11-21
最后登录
2017-4-9
发表于 2011-5-16 19:54  ·  上海 | 显示全部楼层
这个是cIOSX rev21的mo散装光盘本
http://www.91wii.com/thread-44080-1-2.html

精华
1
帖子
769
威望
1 点
积分
1154 点
种子
42 点
注册时间
2008-4-5
最后登录
2023-12-28
 楼主| 发表于 2011-5-16 22:52  ·  北京 | 显示全部楼层
本帖最后由 ffxfaxz 于 2011-5-16 22:53 编辑

这个是cIOSX rev21的 m o d 版 本
http://www.91wii.com/thread-44080-1-2.html

看了LS的链接终于明白了,

不过我已经安装Hermes的cIOS ,已安装Cios222_V5_ios24_ios38

还安装Waninkoko的,cIOSX_rev19-Installer_full_ios249_ios57

精华
0
帖子
212
威望
0 点
积分
217 点
种子
8 点
注册时间
2008-11-15
最后登录
2024-4-18
发表于 2011-6-3 13:49  ·  北京 | 显示全部楼层
谢谢了!!!!!!学习中。。。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|A9VG电玩部落 川公网安备 51019002005286号

GMT+8, 2024-4-28 05:22 , Processed in 0.151144 second(s), 14 queries , Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

返回顶部