Line 7:
Line 7:
| contributor =
| contributor =
| portedby = [[User:Callum|Callum Dickinson]]
| portedby = [[User:Callum|Callum Dickinson]]
−
| version = 1.4.0
+
| version = 1.5.0
| license = GPL
| license = GPL
| website =
| website =
Line 22:
Line 22:
[http://repos.srb2.org/srb2wii/srb2wii-mini.tar.bz2 A mini version] for people loading SRB2Wii through [[BootMii]], using [[mini]], an open source replacement for IOS.
[http://repos.srb2.org/srb2wii/srb2wii-mini.tar.bz2 A mini version] for people loading SRB2Wii through [[BootMii]], using [[mini]], an open source replacement for IOS.
−
−
[http://repos.srb2.org/srb2wii/swap.tar.bz2 Extended swap file] (less than 1KB compressed, 128MB extracted) for people who can spare the space on their SD cards to have the ability to load much larger levels. Just extract onto your SD card root and SRB2Wii will pick it up and load it automatically.
== How it works ==
== How it works ==
Line 41:
Line 39:
3. Kernel executes the "init" shell script on the initramfs.
3. Kernel executes the "init" shell script on the initramfs.
−
4. The script mounts sysfs and procfs, then mounts the first partition on the front SD card and looks for the main filesystem image.
+
4. The script sets variables necessary to run, mounts sysfs and procfs, then mounts the first partition on the front SD card and looks for the main filesystem image.
5.
5.
Line 47:
Line 45:
1) If found, it will mount that filesystem and pass control to the /sbin/init program under the main filesystem, which continues the SRB2Wii boot.
1) If found, it will mount that filesystem and pass control to the /sbin/init program under the main filesystem, which continues the SRB2Wii boot.
−
2) If it finds a tarball of the filesystem image generated by a Cygwin build of SRB2Wii, it will convert the tarball into the main filesystem image and continue booting as in 1).
+
2) If it finds a tarball of the filesystem image, it will convert the tarball into the main filesystem image and continue booting as in 1).
3) If no image or tarball is found, it will report to the user that it cannot find the filesystem image and reboot.
3) If no image or tarball is found, it will report to the user that it cannot find the filesystem image and reboot.
−
6. The /sbin/init program follows the commands laid out in the /etc/inittab file, which sets up virtual terminals, and executes the /etc/init.d/rcS shell script.
+
6. The /sbin/init program follows the commands laid out in the /etc/inittab file, which sets up virtual terminals, and starts the runlevel S.
+
+
7. /etc/init/rcS runs all the scripts in /etc/rcS.d, which currently includes freeramdisk (remove initrd from memory), ldconfig, udev, udev-mtab, procps (kernel services), dbus, hcid (Bluetooth) and swap (mount swap files). rcS then passes control back to inittab.
+
+
8. inittab launches runlevel 1, which loads the rc1 script. /etc/init/rc1 runs all the scripts in /etc/rc1.d, which currently includes wiimote (start the Wii Remote and Sensor Bar), cleanup (create special device node symbolic links, clean up /tmp and set some more variables) and launcher (the SRB2Wii launcher).
+
+
== Changelog ==
+
+
'''SRB2Wii v1.5.0 has been released! (1/1/2010 10:10) Here are the changes:'''
+
+
- SRB2Wii's colours have been fixed. It is now a genuine SRB2 experience again. =)
+
+
- Massive speed boost from unlocking the Wii's secondary RAM, large levels like ERZ2 even load and play.
+
+
- Partially redesigned innards, the boot process is now completely different to the previous versions although this does not affect functionality at all. Updated to the latest versions of SDL and SDL_mixer for this release, the next stable release will have EVERYTHING updated to the latest usable versions.
+
+
- Updated the kernel to MIKEp5, based on Linux kernel 2.6.32. This new release brings mainline kernel support for the Wii's wireless chipset, and preliminary support for the Wii's DVD drive (support for both in SRB2Wii is currently unimplemented though, although they will be at a later date, and will be SRB2Wii/mini only.)
−
7. /etc/init.d/rcS runs /sbin/ldconfig to make Linux aware of the installed libraries of the system, and then initialises the udev, procps and networking services (if enabled, disabled by default in SRB2Wii's config) and starts the swap file and the extended swap file if found. /sbin/init then executes the /launch-srb2wii script.
+
- Many other undocumented but otherwise influential and important updates, fixes and additions.
−
8. /launch-srb2wii starts the Wii Remote, sets some necessary environment variables (and resets some) and then finally starts the SRB2Wii launcher.
+
Sorry about the huge wait for the latest release, I've been working on this and around other things as much as I can to deliver the best SRB2Wii experience. Although this one isn't perfect (the launcher is still incomplete, some functionality is still missing and SRB2 isn't the smoothest to play yet) but I really hope you'll enjoy this release. =) Hopefully this will be a pretty good New Years present for you all. Just make sure to delete the old SRB2Wii version off your SD card if you already have one on there, and move your SRB2 data files to /srb2wii on your SD card.
−
All this happens in a period of less than 7 seconds (apart from when the system is building the main filesystem image from the tarball, the process then takes 1-3 minutes).
−
== Changelog ==
+
Update 22/12/2009:
+
+
Hi, guys! Sorry for not keeping you guys up to date. I've decided to take a break from SRB2Wii development for a little while, to sort out other things (things like my home computer network, my now very messy bedroom and actually hanging out with my family for the holidays). I will not be working on SRB2Wii for the next few days to spend time with my family over Christmas. Once I do start working on it again though, a release will be imminent, I'm sure, because I left SRB2Wii in a pretty stable and complete state...
+
+
Have a very happy Christmas and New Year, everyone. =)
+
+
+
'''SRB2Wii v1.5.0 beta 2 has been released for testing (30/11/2009 14:23):'''
+
+
- The IOS version now properly reboots to the Homebrew Channel. To circumvent the v4.2 update, the Homebrew Channel v1.0.6 had its title ID changed from HAXX to JODI. HAXX was hardcoded into the Linux kernel, so it had to be patched at compile time to load into JODI instead of HAXX.
+
+
- Fixed the Linux kernel killing the tarball conversion process. The process is much faster as well.
+
+
- Fixes to the SRB2Wii build system, rewrite will take place soon. (behind the scenes change)
+
+
TODO list for the final release of SRB2Wii:
+
+
--SRB2WII itself--
+
+
- Finish the rest of the SRB2Wii launcher functionality.
+
+
- Finish network support, and test what I can (Wi-Fi).
+
+
- Rewrite more portions of SRB2Wii (specifically the not rewritten portions of the launcher).
+
+
- Finish the SDL video driver (Alam).
+
+
- Modify the settings for ncurses to be more eye-catching.
+
+
--SRB2WII build system--
+
+
- Rewrite the SRB2Wii build system, so no more warnings and easier to modify.
+
+
- Make the build system create symbolic links to the libraries stored on FAT automatically so the name of the project can be changed easily and everything will be affected.
+
- Make the build system modify all the $NAME/$STAGE2 variables in all the files so the name of the project can be changed easily and everything will be affected.
'''SRB2Wii v1.5.0 beta 1 has been released for testing (29/11/2009 14:10):'''
'''SRB2Wii v1.5.0 beta 1 has been released for testing (29/11/2009 14:10):'''
+
- First properly working build from the SRB2.org server. Due to the fact that I can't get superuser access on the SRB2.org server, SRB2Wii will have to recreate the filesystem image on first startup (takes 1-2 minutes).
- First properly working build from the SRB2.org server. Due to the fact that I can't get superuser access on the SRB2.org server, SRB2Wii will have to recreate the filesystem image on first startup (takes 1-2 minutes).
Line 93:
Line 141:
- Make the build system modify all the $NAME/$STAGE2 variables in all the files so the name of the project can be changed easily and everything will be affected.
- Make the build system modify all the $NAME/$STAGE2 variables in all the files so the name of the project can be changed easily and everything will be affected.
+
'''Announcement on 27 November 2009:'''
'''Announcement on 27 November 2009:'''
Line 99:
Line 148:
Sorry about the slightly more than two month wait for a non-annoucement, but yeah, I'm back into working on SRB2Wii since school is finally out for me, I have a 3 month break to work on SRB2Wii!
Sorry about the slightly more than two month wait for a non-annoucement, but yeah, I'm back into working on SRB2Wii since school is finally out for me, I have a 3 month break to work on SRB2Wii!
+
'''SRB2Wii v1.4.0 has been released! Here are the changes:'''
'''SRB2Wii v1.4.0 has been released! Here are the changes:'''
Line 134:
Line 184:
Alright, thats all I have time for, for now. You can be sure that I will have a new SRB2Wii release before September 25, 2009 at the latest (thats the day before I leave for Japan).
Alright, thats all I have time for, for now. You can be sure that I will have a new SRB2Wii release before September 25, 2009 at the latest (thats the day before I leave for Japan).
+
'''I think you guys need an update on what's happening:'''
'''I think you guys need an update on what's happening:'''
I shall come out with this, plain and simple. We now have working controls on SRB2Wii. The old SDL GameCube framebuffer driver I was using before isn't compatible with SRB2's controls. Alam is making a brand new one based off of fbcon, which does have working support for SRB2's controls. Through using this, I can play SRB2Wii, although because Alam's new driver isn't finished, it still uses the RGB colour space while the Wii uses the YUV colour space, so the colours are off. Alam has been testing this new driver on my Wii through a remote shell and it works well so far. The driver will be finished very, very soon, I assure you. =)
I shall come out with this, plain and simple. We now have working controls on SRB2Wii. The old SDL GameCube framebuffer driver I was using before isn't compatible with SRB2's controls. Alam is making a brand new one based off of fbcon, which does have working support for SRB2's controls. Through using this, I can play SRB2Wii, although because Alam's new driver isn't finished, it still uses the RGB colour space while the Wii uses the YUV colour space, so the colours are off. Alam has been testing this new driver on my Wii through a remote shell and it works well so far. The driver will be finished very, very soon, I assure you. =)
+
'''SRB2Wii v1.3.0 has been released: Here are the changes:'''
'''SRB2Wii v1.3.0 has been released: Here are the changes:'''
Line 154:
Line 206:
Enjoy, everyone.
Enjoy, everyone.
+
'''SRB2Wii v1.2.1 has been released! Here are the changes:'''
'''SRB2Wii v1.2.1 has been released! Here are the changes:'''
Line 160:
Line 213:
- Partially fixed SRB2Wii/mini, it now starts correctly but it complains that there is no such block device called /dev/mmcblk0p1 during booting even though there is and drops you to a shell which weirdly enough won't accept any input at all.
- Partially fixed SRB2Wii/mini, it now starts correctly but it complains that there is no such block device called /dev/mmcblk0p1 during booting even though there is and drops you to a shell which weirdly enough won't accept any input at all.
+
'''News 24/8/2009:'''
'''News 24/8/2009:'''
Don't try the mini version, I've just found out how tired I was last night. I've made a huge amount of mistakes, fixing them now. I've also managed to get BootMii installed properly, so I can actually test everything.
Don't try the mini version, I've just found out how tired I was last night. I've made a huge amount of mistakes, fixing them now. I've also managed to get BootMii installed properly, so I can actually test everything.
+
'''SRB2Wii v1.2.0 has been released! Here are the changes:'''
'''SRB2Wii v1.2.0 has been released! Here are the changes:'''
Line 178:
Line 233:
Whoever tries SRB2Wii through mini hopefully can report to me that it works, unfortunately I haven't had much luck installing BootMii on my Wii, so I have not been able to test it. Thanks. I subsequently also haven't been able to test that the networking interface works either, so I ask people with a Wii Linux-compatible Wii LAN Adapter and people on Wi-Fi with mini report to me that everything works. Thanks.
Whoever tries SRB2Wii through mini hopefully can report to me that it works, unfortunately I haven't had much luck installing BootMii on my Wii, so I have not been able to test it. Thanks. I subsequently also haven't been able to test that the networking interface works either, so I ask people with a Wii Linux-compatible Wii LAN Adapter and people on Wi-Fi with mini report to me that everything works. Thanks.
+
'''News 23/8/2009:'''
'''News 23/8/2009:'''
I have redesigned the Wii Remote configure interface. The Wii Remote is now set up as a keyboard and I can confirm it to be working, that seems to point to an issue with SRB2 as to why the input isn't working.
I have redesigned the Wii Remote configure interface. The Wii Remote is now set up as a keyboard and I can confirm it to be working, that seems to point to an issue with SRB2 as to why the input isn't working.
+
'''SRB2Wii v1.1.2 has been released! Here are the changes:'''
'''SRB2Wii v1.1.2 has been released! Here are the changes:'''
Line 189:
Line 246:
With this release, the source is now available for people who want to compile their own SRB2Wii. Well, its not technically source code, but there is a patch for modifications to the Linux kernel. Just read the README file when you download it. Can only be built on a Linux system, if your not using it, go get a REAL development platform =P (I use Ubuntu to compile SRB2Wii since its the easiest to cross-compile on).
With this release, the source is now available for people who want to compile their own SRB2Wii. Well, its not technically source code, but there is a patch for modifications to the Linux kernel. Just read the README file when you download it. Can only be built on a Linux system, if your not using it, go get a REAL development platform =P (I use Ubuntu to compile SRB2Wii since its the easiest to cross-compile on).
+
'''SRB2Wii v1.1.1 has been released! Here are the changes:'''
'''SRB2Wii v1.1.1 has been released! Here are the changes:'''
Line 197:
Line 255:
Its functionally identical to the old version. As before, if you have v1.0.1 or older on your SD card, please remove it before installing this version.
Its functionally identical to the old version. As before, if you have v1.0.1 or older on your SD card, please remove it before installing this version.
+
'''SRB2Wii v1.1.0 has been released! Here are the changes:'''
'''SRB2Wii v1.1.0 has been released! Here are the changes:'''
Line 213:
Line 272:
I've changed the file structure in this version. If you have v1.0.1 or older, you need to delete your current SRB2Wii installation off of your SD card and then extract this one, and your data files into /apps/srb2wii/data.
I've changed the file structure in this version. If you have v1.0.1 or older, you need to delete your current SRB2Wii installation off of your SD card and then extract this one, and your data files into /apps/srb2wii/data.
+
'''1.0.1 is out! Here are the changes:'''
'''1.0.1 is out! Here are the changes:'''
Line 219:
Line 279:
- Several other behind the scenes fixes that might also fix segmentation faults some people have been reporting.
- Several other behind the scenes fixes that might also fix segmentation faults some people have been reporting.
+
'''1.0.0'''
'''1.0.0'''