A9VG电玩部落论坛

 找回密码
 注册
搜索
查看: 2883|回复: 7

WII/GC也玩HDL(SDL)?!

[复制链接]
gxb

征服者

Retro Gamer

精华
7
帖子
4313
威望
13 点
积分
6423 点
种子
5 点
注册时间
2005-4-7
最后登录
2018-2-5
 楼主| 发表于 2007-7-10 23:42  ·  江苏 | 显示全部楼层 |阅读模式
可能我有点火星了, 目前国外有人(emu_kidid)正在开发GC用SD卡模拟代替DVD光驱的软件,目前已经可以运行homebrew软件了,目前进度65%,作者希望能在75%进度时支持SDL,而且目前作者遇到些问题,希望有人可以帮助他。原帖地址是:http://www.tehskeen.com/forums/s ... mp;page=1&pp=30

Playing backups from SD card...

--------------------------------------------------------------------------------

I've coded up most of the needed code to do this, however I've hit a dead end with something..

I have coded up all the necessary function re-routing from dvd_read to sd_read etc and am simulating the DVD drive via SD card in GCOS. I.e. a dvd_read_id actually does read the id from the disc that's in the drive but then is overwritten in memory by the actual stuff on SD card..

This is all fine, those functions are running well, but obviously I will need to patch the backups to read from SD rather than DVD.

My plan of attack is this:
In DVDlowRead, i jump to my code at 0x80001800 just when the registers will still contain the info about the read (dst, len, offset).
In my code I execute the instructions i patched over, then save registers, finally, read from SD to the specified destination etc.. this will work just fine (as I've tested it manually)

However, I'm unsure how or when I would get a chance to patch the apploader's dvdlowread on the fly, as first you simply read the 0x2460, however after that, its the apploader which does the work. I can patch the DOL on the fly however the apploader i'm not 100% sure about.. I've thought about simulating it like dolwin perhaps but again i'm not 100% sure. I could do all this pre-patched but that wouldn't be fun. :P

Just need a push in the right direction or someone else's thoughts/ideas
====================================


Some progress:
I've simulated the basics of the apploader using code taken from Dolwin 0.10 and modifying it to be used on the GC. Still have some other loading to take care of such as BI2 etc. Getting that done now.

So as it is, I can boot the games DOL file but it won't progress due to nothing else being setup by the simulated apploader.
====================================
I've finished (at least i think i have) implementing the apploader simulator code.. however when the DOL boots, I still see nothing but a green screen.

Surely more must be seen? perhaps an error? because in Dolphin-Emu for PC at least the first screen is shown or the framebuffer will clear to black.

Back i go to figure it out...
====================================
Lets call this a progress thread from this point on..

I've found the bug and now the game boots however I haven't implemented the patched loading routines for the game yet. Still working on that.

Looks like this is moving forward finally
====================================
Some progress.. SDLOAD ISO booting from SD Card.
No retail games yet, only homebrew runs.
Expected release date is unknown at this time.

Project is at 65% completion.
Expect games to boot at 75%. Rest is working bugs out.
=====================================
Okay, seems ive hit a brick wall with this. I cant get the games to boot successfully, something is still failing..
If anyone can help me debug the issue with some knowledge of their own, please let me know and I can send out the exception dump, RAM & code dump and also anything else needed.

I can get Zelda WW to boot up from DVD with the simulated apploader, but I cant get Luigis Mansion and other games working. Any help would be appreciated.
======================================
Update:

New universal solution without patching to be implemented.. using exception handling and a little trick that is used in the ACL loaders. Should be fun implementing this

More details shortly when it gets implemented!
======================================.
gxb

征服者

Retro Gamer

精华
7
帖子
4313
威望
13 点
积分
6423 点
种子
5 点
注册时间
2005-4-7
最后登录
2018-2-5
 楼主| 发表于 2007-7-10 23:48  ·  江苏 | 显示全部楼层
如果真能用于GC游戏,也很好了
现在SD卡的价格跌得已经很便宜了

精华
39
帖子
20880
威望
42 点
积分
22629 点
种子
0 点
注册时间
2004-5-5
最后登录
2010-7-23
发表于 2007-7-10 23:53  ·  北京 | 显示全部楼层
根据传闻这次E3,NINTENDO多半会宣布支持USB硬盘的,以后的HDL机会还有很多
gxb

征服者

Retro Gamer

精华
7
帖子
4313
威望
13 点
积分
6423 点
种子
5 点
注册时间
2005-4-7
最后登录
2018-2-5
 楼主| 发表于 2007-7-10 23:59  ·  江苏 | 显示全部楼层
作者说速度会接近DVD,但比BBA速度快

那种把SD卡转接成NGC记忆卡的玩意儿一定要WII才能用吗?GC可否使用?

圣骑士

悦哥哥

精华
0
帖子
3213
威望
0 点
积分
3308 点
种子
33 点
注册时间
2005-2-20
最后登录
2025-1-8
发表于 2007-7-11 01:25  ·  北京 | 显示全部楼层
同楼上问,有GC能用的吗?
该用户已被禁言

精华
2
帖子
498
威望
3 点
积分
624 点
种子
0 点
注册时间
2004-12-29
最后登录
2018-1-6
发表于 2007-7-13 17:42  ·  内蒙古 | 显示全部楼层
下面是引用gxb于2007-07-10 23:59发表的:
作者说速度会接近DVD,但比BBA速度快

那种把SD卡转接成NGC记忆卡的玩意儿一定要WII才能用吗?GC可否使用?

NGC 记忆卡接口的速度貌似
gxb

征服者

Retro Gamer

精华
7
帖子
4313
威望
13 点
积分
6423 点
种子
5 点
注册时间
2005-4-7
最后登录
2018-2-5
 楼主| 发表于 2007-7-13 18:05  ·  江苏 | 显示全部楼层
[quote]下面是引用hyperiris于2007-07-13 17:42发表的:


NGC 记忆卡接口的速度貌似
gxb

征服者

Retro Gamer

精华
7
帖子
4313
威望
13 点
积分
6423 点
种子
5 点
注册时间
2005-4-7
最后登录
2018-2-5
 楼主| 发表于 2007-7-18 22:54  ·  江苏 | 显示全部楼层
最新消息:
Yesterday, 07:43 PM
Made lots of progress.. Animal Crossing loads up to the title screen now but then suffers a DRE because I haven't implemented all the DVD functions properly yet!

已经有了很大的进步了,Animal Crossing 读到标题画面,但是由于DVD的函数没有正确完成,出现了DATA READ ERROR。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-2-8 08:32 , Processed in 0.177642 second(s), 13 queries , Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

返回顶部