- Joined
- Feb 9, 2009
- Messages
- 960
- Trophies
- 1
- Age
- 36
- Location
- Redcar, England, UK.
- Website
- djdynamite.freeforums.org
- XP
- 318
- Country
http://code.google.com/p/mplayer-ce/
Have Fun!
As always Read the ReadMe!!!
Changelog will be added to google code son
aspect ratio fix
improved dvd reading
Stops DVD Motor 60 seconds after each Mount!
improved smb
dvd cache fixed
USB & SDHC mount bugs fixed.....many more bugs fixed!
CODE---Compiling
In order to compile mplayer_ce you first need to build libdvdread and libdvdnav.
In config.mak in both libdvdread and libdvdnav you need to set both SRC_PATH and SRC_PATH_BARE
to the correct directory, eg /c/projects/mplayer_ce-source/libdvdread-trunk.ÂÂRemember that it is
case sensitive.ÂÂAfter this you can build livdvdread with 'make' and 'make install' and then libdvdnav
with 'make' and 'make install' (in that order).ÂÂNow you can build mplayer_ce with 'make'.
It should create mplayer.dol in the mplayer-trunk directory.
---Editing the source
The files you will want to look at specific to the wii port are
/osdep/plat_gekko.h
/osdep/plat_gekko.c
/osdep/getch2-gekko.c
/osdep/gx_supp.c
/osdep/gx_supp.h
/libvo/vo_gekko.c
/libao/ao_gekko_.c
/libao/ao_gekko.c
mplayer.c
Several other files are also modified but not to a great extent.
---Editing the confs
-----input.conf
The Wii Remote and Gamecube controller controls are mapped as:
GAMECUBE CONTROLLERÂÂÂÂ WII REMOTEÂÂÂÂÂÂÂÂÂÂKEY
ÂÂÂÂÂÂÂÂAÂÂÂÂÂÂÂÂÂÂÂÂÂÂ AÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ a
ÂÂÂÂÂÂÂÂBÂÂÂÂÂÂÂÂÂÂÂÂÂÂ BÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ b
ÂÂÂÂÂÂÂÂXÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 1ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ x
ÂÂÂÂÂÂÂÂZÂÂÂÂÂÂÂÂÂÂÂÂÂÂ HOMEÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂz
ÂÂÂÂÂÂÂÂLÂÂÂÂÂÂÂÂÂÂÂÂÂÂ MINUSÂÂÂÂÂÂÂÂÂÂÂÂÂÂ l
ÂÂÂÂÂÂÂÂRÂÂÂÂÂÂÂÂÂÂÂÂÂÂ PLUSÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂr
ÂÂÂÂÂÂÂÂLEFTÂÂÂÂÂÂÂÂÂÂÂÂLEFTÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂLEFT
ÂÂÂÂÂÂÂÂRIGHTÂÂÂÂÂÂÂÂÂÂ RIGHTÂÂÂÂÂÂÂÂÂÂÂÂÂÂ RIGHT
ÂÂÂÂÂÂÂÂUPÂÂÂÂÂÂÂÂÂÂÂÂÂÂUPÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂUP
ÂÂÂÂÂÂÂÂDOWNÂÂÂÂÂÂÂÂÂÂÂÂDOWNÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂDOWN
The Y button on the Gamecube Controller and the 2 button on the Wii Remote
acts as a modifier key (like shift) to add further control options:
ÂÂÂÂÂÂÂÂ
GAMECUBE CONTROLLERÂÂÂÂ WII REMOTEÂÂÂÂÂÂÂÂÂÂKEY
ÂÂÂÂY + AÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 2 + AÂÂÂÂÂÂÂÂÂÂÂÂÂÂ A
ÂÂÂÂY + BÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 2 + BÂÂÂÂÂÂÂÂÂÂÂÂÂÂ B
ÂÂÂÂY + XÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 2 + 1ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ X
ÂÂÂÂY + ZÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 2 + HOMEÂÂÂÂÂÂÂÂÂÂÂÂZ
ÂÂÂÂY + LÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 2 + MINUSÂÂÂÂÂÂÂÂÂÂ L
ÂÂÂÂY + RÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 2 + PLUSÂÂÂÂÂÂÂÂÂÂÂÂR
ÂÂÂÂY + LEFTÂÂÂÂÂÂÂÂÂÂÂÂ2 + LEFTÂÂÂÂÂÂÂÂÂÂÂÂKP4
ÂÂÂÂY + RIGHTÂÂÂÂÂÂÂÂÂÂ 2 + RIGHTÂÂÂÂÂÂÂÂÂÂ KP6
ÂÂÂÂY + UPÂÂÂÂÂÂÂÂÂÂÂÂÂÂ2 + UPÂÂÂÂÂÂÂÂÂÂÂÂÂÂKP8
ÂÂÂÂY + DOWNÂÂÂÂÂÂÂÂÂÂÂÂ2 + DOWNÂÂÂÂÂÂÂÂÂÂÂÂKP2
ÂÂÂÂÂÂÂÂ
To map a control in input.conf should be fairly self-explanatory.ÂÂFirst write the
key you wish to map and then the mplayer option you want, listed here:
http://www.mplayerhq.hu/DOCS/tech/slave.txt
So for example, to make the OSD come up when you press 1 you would add
ÂÂÂÂx osd
or to make 2+1 switch the ratio to 16:9 you would add
ÂÂÂÂX switch_ratio 1.7778
-----menu.conf
There is little existing documentation on editing menu.conf, but it is that not difficult
to figure out by looking at an example.ÂÂIt is an xml-like file and it takes the normal mplayer
commands.ÂÂTo use it to load a specific file or stream use loadfile, e.g. to load a SopCast stream
from my own network:
ÂÂÂÂ
ÂÂÂÂÂÂÂÂ...
ÂÂÂÂÂÂÂÂ
Have Fun!
As always Read the ReadMe!!!
Changelog will be added to google code son
aspect ratio fix
improved dvd reading
Stops DVD Motor 60 seconds after each Mount!
improved smb
dvd cache fixed
USB & SDHC mount bugs fixed.....many more bugs fixed!
CODE---Compiling
In order to compile mplayer_ce you first need to build libdvdread and libdvdnav.
In config.mak in both libdvdread and libdvdnav you need to set both SRC_PATH and SRC_PATH_BARE
to the correct directory, eg /c/projects/mplayer_ce-source/libdvdread-trunk.ÂÂRemember that it is
case sensitive.ÂÂAfter this you can build livdvdread with 'make' and 'make install' and then libdvdnav
with 'make' and 'make install' (in that order).ÂÂNow you can build mplayer_ce with 'make'.
It should create mplayer.dol in the mplayer-trunk directory.
---Editing the source
The files you will want to look at specific to the wii port are
/osdep/plat_gekko.h
/osdep/plat_gekko.c
/osdep/getch2-gekko.c
/osdep/gx_supp.c
/osdep/gx_supp.h
/libvo/vo_gekko.c
/libao/ao_gekko_.c
/libao/ao_gekko.c
mplayer.c
Several other files are also modified but not to a great extent.
---Editing the confs
-----input.conf
The Wii Remote and Gamecube controller controls are mapped as:
GAMECUBE CONTROLLERÂÂÂÂ WII REMOTEÂÂÂÂÂÂÂÂÂÂKEY
ÂÂÂÂÂÂÂÂAÂÂÂÂÂÂÂÂÂÂÂÂÂÂ AÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ a
ÂÂÂÂÂÂÂÂBÂÂÂÂÂÂÂÂÂÂÂÂÂÂ BÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ b
ÂÂÂÂÂÂÂÂXÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 1ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ x
ÂÂÂÂÂÂÂÂZÂÂÂÂÂÂÂÂÂÂÂÂÂÂ HOMEÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂz
ÂÂÂÂÂÂÂÂLÂÂÂÂÂÂÂÂÂÂÂÂÂÂ MINUSÂÂÂÂÂÂÂÂÂÂÂÂÂÂ l
ÂÂÂÂÂÂÂÂRÂÂÂÂÂÂÂÂÂÂÂÂÂÂ PLUSÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂr
ÂÂÂÂÂÂÂÂLEFTÂÂÂÂÂÂÂÂÂÂÂÂLEFTÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂLEFT
ÂÂÂÂÂÂÂÂRIGHTÂÂÂÂÂÂÂÂÂÂ RIGHTÂÂÂÂÂÂÂÂÂÂÂÂÂÂ RIGHT
ÂÂÂÂÂÂÂÂUPÂÂÂÂÂÂÂÂÂÂÂÂÂÂUPÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂUP
ÂÂÂÂÂÂÂÂDOWNÂÂÂÂÂÂÂÂÂÂÂÂDOWNÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂDOWN
The Y button on the Gamecube Controller and the 2 button on the Wii Remote
acts as a modifier key (like shift) to add further control options:
ÂÂÂÂÂÂÂÂ
GAMECUBE CONTROLLERÂÂÂÂ WII REMOTEÂÂÂÂÂÂÂÂÂÂKEY
ÂÂÂÂY + AÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 2 + AÂÂÂÂÂÂÂÂÂÂÂÂÂÂ A
ÂÂÂÂY + BÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 2 + BÂÂÂÂÂÂÂÂÂÂÂÂÂÂ B
ÂÂÂÂY + XÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 2 + 1ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ X
ÂÂÂÂY + ZÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 2 + HOMEÂÂÂÂÂÂÂÂÂÂÂÂZ
ÂÂÂÂY + LÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 2 + MINUSÂÂÂÂÂÂÂÂÂÂ L
ÂÂÂÂY + RÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 2 + PLUSÂÂÂÂÂÂÂÂÂÂÂÂR
ÂÂÂÂY + LEFTÂÂÂÂÂÂÂÂÂÂÂÂ2 + LEFTÂÂÂÂÂÂÂÂÂÂÂÂKP4
ÂÂÂÂY + RIGHTÂÂÂÂÂÂÂÂÂÂ 2 + RIGHTÂÂÂÂÂÂÂÂÂÂ KP6
ÂÂÂÂY + UPÂÂÂÂÂÂÂÂÂÂÂÂÂÂ2 + UPÂÂÂÂÂÂÂÂÂÂÂÂÂÂKP8
ÂÂÂÂY + DOWNÂÂÂÂÂÂÂÂÂÂÂÂ2 + DOWNÂÂÂÂÂÂÂÂÂÂÂÂKP2
ÂÂÂÂÂÂÂÂ
To map a control in input.conf should be fairly self-explanatory.ÂÂFirst write the
key you wish to map and then the mplayer option you want, listed here:
http://www.mplayerhq.hu/DOCS/tech/slave.txt
So for example, to make the OSD come up when you press 1 you would add
ÂÂÂÂx osd
or to make 2+1 switch the ratio to 16:9 you would add
ÂÂÂÂX switch_ratio 1.7778
-----menu.conf
There is little existing documentation on editing menu.conf, but it is that not difficult
to figure out by looking at an example.ÂÂIt is an xml-like file and it takes the normal mplayer
commands.ÂÂTo use it to load a specific file or stream use loadfile, e.g. to load a SopCast stream
from my own network:
ÂÂÂÂ
ÂÂÂÂÂÂÂÂ...
ÂÂÂÂÂÂÂÂ