mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-19 17:59:16 +01:00
*Added new custom backgroundmusic Menu (the music has to be in OGG Format. if you remove the path to the music the standard of the GUi is loaded right now)
*Added languagefiles again *Added some new Languagevariables which will be added to wiki tommorow
This commit is contained in:
parent
6538947fef
commit
71c288f0a2
171
Languages/korean
Normal file
171
Languages/korean
Normal file
@ -0,0 +1,171 @@
|
||||
Specialthanksto = Special thanks to
|
||||
t3Covers = 3D 표지
|
||||
AppLanguage = 어플리케이션 언어
|
||||
Areyousure = 확실합니까?
|
||||
AutoPatch = 자동 패치
|
||||
Back = 뒤로
|
||||
BacktoHBCorWiiMenu = 홈브류 메뉴 또는 Wii 메뉴로
|
||||
BacktoLoader = Loader로 돌아가기
|
||||
BacktoWiiMenu = Wii 메뉴로 놀아가기
|
||||
BootStandard = 부트/기본
|
||||
BothBoth = 전부 표시
|
||||
Cantcreatedirectory = 디렉토리를 만들 수 없습니다
|
||||
Cancel = 취소
|
||||
Cantbeformated = 포맷할 수 없습니다.
|
||||
Cantdelete = 삭제할 수 없습니다:
|
||||
ClicktoDownloadCovers = 표지를 다운 받으려면 클릭하세요.
|
||||
Clock = 시계
|
||||
Continueinstallgame = 게임을 설치하겠습니까?
|
||||
ConsoleDefault = 콘솔 기본값
|
||||
Consoleshouldbeunlockedtomodifyit = 변경하려면 콘솔 잠김을 해제하세요.
|
||||
ConsoleLocked = 콘솔 잠김
|
||||
CorrectPassword = 올바른 비밀번호
|
||||
Couldnotinitializenetwork = 네트워크 초기화 실패!
|
||||
CouldnotopenDisc = 디스크를 열 수 없습니다.
|
||||
CouldnotinitializeDIPmodule = DIP 모듈 초기화 실패!
|
||||
CoverDownload = 표지 다운로드
|
||||
CoverPath = 표지 경로
|
||||
CoverpathChanged = 표지 경로 변경됨
|
||||
Coverpathchange = 표지 경로 변경
|
||||
Credits = Credits
|
||||
DiscImages = 디스크 이미지
|
||||
DiscimagePath = 디스크 이미지 경로
|
||||
DiscpathChanged = 새로운 디스크 경로
|
||||
Discpathchange = 디스크 경로 변경
|
||||
DiscDefault = 디스크 기본값
|
||||
Display = 화면 표시
|
||||
Doyouwanttoformat = 포맷하겠습니까:
|
||||
Doyoureallywanttodelete = 정말로 삭제하겠습니까:
|
||||
Doyouwanttoretryfor30secs = 30초간 재시도 할까요?
|
||||
Downloadingfile = 파일을 다운로드합니다:
|
||||
DownloadBoxartimage = 박스 이미지를 다운로드 할까요?
|
||||
Downloadfinished = 다운로드 완료
|
||||
Error = 에러 !
|
||||
BOOTERROR = 부팅 에러
|
||||
ErrorreadingDisc = 디스크 읽기 오류
|
||||
ExitUSBISOLoader = USB Loader GX를 종료하겠습니까?
|
||||
InitializingNetwork = 네트워크 초기화
|
||||
InsertDisk = 디스크를 넣어주세요
|
||||
InsertaWiiDisc = Wii 디스크를 넣으세요!
|
||||
InsertaSDCardtodownloadimages = 다운받은 이미지를 저장할 SD카드를 넣으세요.
|
||||
InsertaSDCardtosave = 저장할 SD카드를 넣으세요.
|
||||
InstallRenameandDeleteareunlocked = USB Loader GX의 모든 기능 잠금해제.
|
||||
Installerror = 설치 에러!
|
||||
Installagame = 게임 설치
|
||||
Installinggame = 게임 설치 중:
|
||||
Failedtoboot = 부팅 실패:
|
||||
FailedtomountfrontSDcard = SD카드 인식 실패
|
||||
FailedtosetUSB = USB 세팅 실패:
|
||||
Failedformating = 포맷 실패
|
||||
filesnotfoundontheserver = 파일이 서버에 없습니다!
|
||||
filesleft = 파일 남음
|
||||
FlipX = Flip-X
|
||||
Force = 강제
|
||||
Youneedtoformatapartition = 파티션을 포맷해야 합니다
|
||||
Format = 포맷
|
||||
Formattingpleasewait = 포맷 중입니다, 기다려 주세요...
|
||||
formated = 포맷 완료!
|
||||
free = 남음
|
||||
FreeSpace = 여유 공간
|
||||
FullShutdown = 완전히 끄기
|
||||
GameID = 게임 ID
|
||||
Games = 게임
|
||||
Gameisalreadyinstalled = 게임이 이미 설치되어 있습니다.
|
||||
GameRegion = 지역
|
||||
GameSize = 게임 용량
|
||||
GoBack = 뒤로 가기
|
||||
//GotoPage = 페이지로 가기
|
||||
HowtoShutdown = 어떻게 종료할까요?
|
||||
Language = 언어
|
||||
Langchange = 언어 변경
|
||||
Left = 왼쪽
|
||||
LikeSysMenu = 세스템 메뉴처럼
|
||||
LoadingincIOS = cIOS249로 로딩
|
||||
Lock = 잠금
|
||||
LockConsole = 콘솔 잠금
|
||||
MP3Menu = MP3 메뉴
|
||||
Missingfiles = 빠진 파일
|
||||
Networkiniterror = 네트워크 초기화 에러
|
||||
Neither = 표시 없음
|
||||
Next = 다음
|
||||
No = 아니오
|
||||
Nofilemissing = 빠진 파일 없음!
|
||||
NoHDDfound = 하드 디스크가 없습니다!
|
||||
NoSDcardinserted = SD카드가 없습니다!
|
||||
Nopartitionsfound = 파티션이 없습니다.
|
||||
NoUSBDevice = USB 장치가 없습니다.
|
||||
NoWBFSpartitionfound = WBFS 파티션이 없습니다.
|
||||
NormalCovers = 일반 표지
|
||||
Normal = 일반
|
||||
NotaWiiDisc = Wii 디스크가 아닙니다
|
||||
NoUSBDevicefound = USB 장치가 없습니다.
|
||||
Notenoughfreespace = 여유 공간이 부족합니다!
|
||||
notset = 설정되지 않음
|
||||
of = 중
|
||||
OFF = 꺼짐
|
||||
OfficialSite = 공식 사이트
|
||||
ok = OK
|
||||
ON = 켜짐
|
||||
Parentalcontrol = 파티션 제어
|
||||
Partition = 파티션
|
||||
Password = 비밀번호
|
||||
PasswordChanged = 새로운 비밀번호
|
||||
Passwordhasbeenchanged = 비밀번호가 변경되었습니다
|
||||
Passwordchange = 비밀번호 변경
|
||||
PowerofftheWii = Wii 전원 끄기
|
||||
Prev = 이전
|
||||
PromptsButtons = 프롬프트 버튼
|
||||
ReloadSD = SD카드 다시 읽기
|
||||
RenameGameonWBFS = WBFS에서 게임 이름 바꾸기
|
||||
Restart = 다시 시작
|
||||
Return = 돌아가기
|
||||
ReturntoWii = Wii 메뉴로 돌아가기
|
||||
Right = 오른쪽
|
||||
Rumble = 진동
|
||||
QuickBoot = 퀵부트
|
||||
Save = 저장
|
||||
SaveFailed = 저장 실패
|
||||
Specialthanksto = Special thanks to
|
||||
For = for
|
||||
theUSBLoaderandreleasingthesourcecodethe = 소스 코드 배포
|
||||
secondsleft = 초 남았습니다
|
||||
SelectthePartition = 포맷하려는
|
||||
youwanttoformat = 파티션을 선택하세요
|
||||
settings = 설정
|
||||
ShutdowntoIdle = Idle상태로 종료
|
||||
ShutdownSystem = 시스템 종료
|
||||
Success = 성공:
|
||||
Successfullyinstalled = 설치 성공:
|
||||
Successfullydeleted = 삭제 성공:
|
||||
SuccessfullySaved = 저장 성공
|
||||
SystemDefault = 시스템 기본값
|
||||
ThemePath = 테마 경로
|
||||
ThemepathChanged = 테마 경로 변경됨
|
||||
Themepathchange = 테마 경로 변경
|
||||
Try = 시도
|
||||
Tooltips = Tooltips
|
||||
Timeleft = 남은 시간:
|
||||
Unlock = 잠금해제
|
||||
Uninstall = 제거
|
||||
USBLoaderisprotected = USB Loader GX 보호모드
|
||||
USBDevicenotfound = USB 장치가 없습니다.
|
||||
VideoMode = 비디오 모드
|
||||
VIDTVPatch = VIDTV 패치
|
||||
Volume = 볼륨
|
||||
Waiting = 기다리는 중...
|
||||
WaitingforUSBDevice = USB 장치를 기다리는 중
|
||||
WidescreenFix = 와이드 스크린 Fix
|
||||
WiiMenu = Wii 메뉴
|
||||
WrongPassword = 잘못된 비밀번호
|
||||
Yes = 예
|
||||
YoudonthavecIOS = cIOS222가 없습니다.
|
||||
Japanese = 일본어
|
||||
German = 독일어
|
||||
English = 영어
|
||||
French = 불어
|
||||
Spanish = 스페인어
|
||||
Italian = 이태리어
|
||||
Dutch = 네덜란드어
|
||||
SChinese = 중국어(간체)
|
||||
TChinese = 중국어(번체)
|
||||
Korean = 한국어
|
177
Languages/norwegian
Normal file
177
Languages/norwegian
Normal file
@ -0,0 +1,177 @@
|
||||
t3Covers = 3D cover
|
||||
AppLanguage = Program språk
|
||||
Areyousure = Er du sikker?
|
||||
AutoPatch = AutoPatch
|
||||
Back = Tilbake
|
||||
BacktoHBCorWiiMenu = Tilbake til HBC eller Wii meny
|
||||
BacktoLoader = HBC/Loader
|
||||
BacktoWiiMenu = Wii meny
|
||||
BootStandard = Boot/Standard
|
||||
Both = Begge
|
||||
Cantcreatedirectory = Kan ikke opprette mappestruktur
|
||||
Cancel = Avbryt
|
||||
Cantbeformated = Kan ikke formateres
|
||||
Cantdelete = Kan ikke slette:
|
||||
ClicktoDownloadCovers = Klikk for å laste ned cover
|
||||
Clock = Klokke
|
||||
Continueinstallgame = Fortsett å installere spill?
|
||||
ConsoleDefault = Konsoll Standard
|
||||
Consoleshouldbeunlockedtomodifyit = Konsoll må være opplåst for å modifisere.
|
||||
ConsoleLocked = Konsoll låst
|
||||
CorrectPassword = Riktig passord
|
||||
Couldnotinitializenetwork = Kan ikke initialisere nettverk!
|
||||
CouldnotopenDisc = Kan ikke åpne plate
|
||||
CouldnotinitializeDIPmodule = Kan ikke initialisere DIP modul!
|
||||
CoverDownload = Cover nedlasting
|
||||
CoverPath = Cover sti
|
||||
CoverpathChanged = Cover sti endret
|
||||
Coverpathchange = Endre cover sti
|
||||
Credits = Medvirkende
|
||||
DiscImages = Plate bilder
|
||||
DiscimagePath = Plate sti
|
||||
DiscpathChanged = Plate sti endret
|
||||
Discpathchange = Endre plate sti
|
||||
DiscDefault = Plate Standard
|
||||
Display = Vis
|
||||
Doyouwanttoformat = Vil du formatere:
|
||||
Doyoureallywanttodelete = Er du sikker på at du vil slette:
|
||||
Doyouwanttoretryfor30secs = Vil du fortsette å prøve i 30 sekunder?
|
||||
Downloadingfile = Laster ned fil:
|
||||
DownloadBoxartimage = Last ned cover bilde?
|
||||
Downloadfinished = Nedlasting ferdig
|
||||
Error = Feil !
|
||||
BOOTERROR = BOOT FEIL
|
||||
ErrorreadingDisc = Feil ved lesing av plate
|
||||
ExitUSBISOLoader = Avslutt USB Loader GX?
|
||||
InitializingNetwork = Initialiserer nettverk
|
||||
InsertDisk = Sett inn plate
|
||||
InsertaWiiDisc = Sett inn en Wii plate!
|
||||
InsertaSDCardtodownloadimages = Sett inn et SD-kort for å laste ned bilder.
|
||||
InsertaSDCardtosave = Sett inn et SD-kort for å lagre.
|
||||
InstallRenameandDeleteareunlocked = Alle funksjonene til USB Loader GX er opplåst.
|
||||
Installerror = Installasjonsfeil!
|
||||
Installagame = Installér et spill
|
||||
Installinggame = Installerer spill:
|
||||
Failedtoboot = Feil ved start:
|
||||
FailedtomountfrontSDcard = Feil ved montering av SD-kort i front
|
||||
FailedtosetUSB = Feil ved valgt USB:
|
||||
Failedformating = Feil ved formatering
|
||||
Filenotfound = Fil ikke funnet.
|
||||
filesnotfoundontheserver = filer ikke funnet på serveren!
|
||||
filesleft = fil(er) gjenstår
|
||||
FlipX = Flip-X
|
||||
Force = Tving
|
||||
Youneedtoformatapartition = Du må formatere en partisjon
|
||||
Format = Formatér
|
||||
Formattingpleasewait = Formaterer, vennligst vent...
|
||||
formated = formatert!
|
||||
free = ledig
|
||||
FreeSpace = Ledig plass
|
||||
FullShutdown = Skru helt av
|
||||
GameID = Spill ID
|
||||
Games = Spill
|
||||
Gameisalreadyinstalled = Spillet er allerede installert:
|
||||
GameRegion = Region
|
||||
GameSize = Spill størrelse
|
||||
GoBack = Gå tilbake
|
||||
//GotoPage = Gå til side
|
||||
HowtoShutdown = Hvordan skru av?
|
||||
keyboard = Tastatur
|
||||
Language = Språk
|
||||
Langchange = Bytt språk
|
||||
Left = Venstre
|
||||
LikeSysMenu = Lik Systemmeny
|
||||
LoadingincIOS = Laster i cIOS249
|
||||
Loadingstandardlanguage = Laster standard språk.
|
||||
Lock = Lås
|
||||
LockConsole = Lås konsoll
|
||||
MP3Menu = MP3 meny
|
||||
Missingfiles = Manglende filer
|
||||
Networkiniterror = Nettverk init feil
|
||||
Neither = Ingen
|
||||
Next = Neste
|
||||
No = Nei
|
||||
Nofilemissing = Ingen filer mangler!
|
||||
NoHDDfound = Ingen HDD funnet!
|
||||
NoSDcardinserted = Intet SD-kort satt i!
|
||||
Nopartitionsfound = Ingen partisjoner funnet
|
||||
NoUSBDevice = Ingen USB enhet
|
||||
NoWBFSpartitionfound = Ingen WBFS partisjon funnet
|
||||
NormalCovers = Normale cover
|
||||
Normal = Normal
|
||||
NotaWiiDisc = Ikke en Wii plate
|
||||
NoUSBDevicefound = Ingen USB enhet funnet.
|
||||
Notenoughfreespace = Ikke nok ledig plass!
|
||||
notset = ikke satt
|
||||
of = av
|
||||
OFF = AV
|
||||
OfficialSite = Offisiell nettside
|
||||
ok = OK
|
||||
ON = PÅ
|
||||
Parentalcontrol = Foreldre kontroll
|
||||
Partition = Partisjon
|
||||
Password = Passord
|
||||
PasswordChanged = Passord endret
|
||||
Passwordhasbeenchanged = Passord har blitt endret
|
||||
Passwordchange = Endre passord
|
||||
PowerofftheWii = Skru av Wii
|
||||
Prev = Forrige
|
||||
PromptsButtons = Dialog knapper
|
||||
ReloadSD = Les SD på nytt
|
||||
RenameGameonWBFS = Gi nytt navn til spill på WBFS
|
||||
Restart = Start på nytt
|
||||
Return = Gå tilbake
|
||||
ReturntoWii = Tilbake til Wii meny
|
||||
Right = Høyre
|
||||
Rumble = Vibrasjon
|
||||
QuickBoot = Hurtig start
|
||||
Save = Lagre
|
||||
SaveFailed = Lagre feilet
|
||||
Specialthanksto = Spesiell takk til
|
||||
Titlestxtpath = Titles.txt sti
|
||||
TitlestxtpathChanged = Titles.txt sti endret.
|
||||
Titlestxtpathchange = Endre titles.txt sti
|
||||
For = for
|
||||
theUSBLoaderandreleasingthesourcecodethe = og utgivelse av kildekoden
|
||||
secondsleft = sekunder gjenstår
|
||||
SelectthePartition = Velg partisjonen
|
||||
youwanttoformat = du vil formatere
|
||||
settings = Innstillinger
|
||||
ShutdowntoIdle = Skru av
|
||||
ShutdownSystem = Skru helt av
|
||||
Success = Suksess:
|
||||
Successfullyinstalled = Vellykket installering:
|
||||
Successfullydeleted = Vellykket sletting:
|
||||
SuccessfullySaved = Vellykket lagring
|
||||
SystemDefault = System Standard
|
||||
ThemePath = Tema sti
|
||||
ThemepathChanged = Tema sti endret
|
||||
Themepathchange = Endre tema sti
|
||||
Try = Prøv
|
||||
Tooltips = Verktøystips
|
||||
Timeleft = Tid igjen:
|
||||
Unlock = Lås opp
|
||||
Unicodefix = Unicode fiks
|
||||
Uninstall = Avinstallér
|
||||
USBLoaderisprotected = USB Loader GX er beskyttet
|
||||
USBDevicenotfound = USB enhet ikke funnet
|
||||
VideoMode = Video modus
|
||||
VIDTVPatch = VIDTV Patch
|
||||
Volume = Volum
|
||||
Waiting = Venter...
|
||||
WaitingforUSBDevice = Venter på USB enhet
|
||||
WidescreenFix = Fiks for 16/9
|
||||
WiiMenu = Wii meny
|
||||
WrongPassword = Feil passord
|
||||
Yes = Ja
|
||||
YoudonthavecIOS = Du har ikke cIOS222
|
||||
Japanese = Japansk
|
||||
German = Tysk
|
||||
English = Engelsk
|
||||
French = Fransk
|
||||
Spanish = Spansk
|
||||
Italian = Italiensk
|
||||
Dutch = Nederlandsk
|
||||
SChinese = S.Kinesisk
|
||||
TChinese = T.Kinesisk
|
||||
Korean = Koreansk
|
178
Languages/schinese
Normal file
178
Languages/schinese
Normal file
@ -0,0 +1,178 @@
|
||||
Specialthanksto = 特别感谢
|
||||
t3Coverst = 3D 封面
|
||||
AppLanguage = 语言设定
|
||||
Areyousure = 确定?
|
||||
AutoPatch = 自动选择
|
||||
Back = 返回
|
||||
BacktoHBCorWiiMenu = 返回 HBC 或 Wii 系统菜单
|
||||
BacktoLoader = 返回 Loader
|
||||
BacktoWiiMenu = 返回 Wii 系统菜单
|
||||
BootStandard = 启动/标准
|
||||
BothBoth = 全部
|
||||
Cantcreatedirectory = 无法建立目录
|
||||
Cancel = 取消
|
||||
Cantbeformated = 无法格式化
|
||||
Cantdelete = 无法删除:
|
||||
ClicktoDownloadCovers = 点击下载封面
|
||||
Clock = 时钟
|
||||
Continueinstallgame = 继续安装游戏?
|
||||
ConsoleDefault = 主机默认
|
||||
Consoleshouldbeunlockedtomodifyit = 需解锁以开启设定功能.
|
||||
ConsoleLocked = 主机锁定
|
||||
CorrectPassword = 密码正确
|
||||
Couldnotinitializenetwork = 无法启动网络!
|
||||
CouldnotopenDisc = 无法开启光盘
|
||||
CouldnotinitializeDIPmodule = 无法启动 DIP 模块!
|
||||
CoverDownload = 下载封面
|
||||
CoverPath = 封面存放路径
|
||||
CoverpathChanged = 封面路径已变更
|
||||
Coverpathchange = 变更封面存放路径
|
||||
Credits = Credits
|
||||
DiscImages = DVD封面
|
||||
DiscimagePath = 菜单封面存放路径
|
||||
DiscpathChanged = DVD封面路径已变更
|
||||
Discpathchange = 变更DVD封面存放路径
|
||||
DiscDefault = 游戏默认
|
||||
Display = 显示
|
||||
Doyouwanttoformat = 是否格式化:
|
||||
Doyoureallywanttodelete = 确定删除:
|
||||
Doyouwanttoretryfor30secs = 是否等待30秒重试?
|
||||
Downloadingfile = 下载文件:
|
||||
DownloadBoxartimage = 下载封面图片?
|
||||
Downloadfinished = 下载完成
|
||||
Error = 错误 !
|
||||
BOOTERROR = 启动错误
|
||||
ErrorreadingDisc = 读取光盘错误
|
||||
ExitUSBISOLoader = 离开 USB Loader GX?
|
||||
InitializingNetwork = 正在启动网络
|
||||
InsertDisk = 插入光盘
|
||||
InsertaWiiDisc = 插入 Wii 光盘!
|
||||
InsertaSDCardtodownloadimages = 插入 SD 卡下载封面.
|
||||
InsertaSDCardtosave = 插入SD卡保存.
|
||||
InstallRenameandDeleteareunlocked = USB Loader GX 功能已解锁.
|
||||
Installerror = 安装错误!
|
||||
Installagame = 安装游戏
|
||||
Installinggame = 正在安装游戏:
|
||||
Failedtoboot = 无法启动:
|
||||
FailedtomountfrontSDcard = 挂载前端 SD 卡失败
|
||||
FailedtosetUSB = 无法设定 USB:
|
||||
Failedformating = 格式化失败
|
||||
filesnotfoundontheserver = 服务器中无此文件!
|
||||
filesleft = 剩余文件
|
||||
FlipX = 按键规则
|
||||
Force = 强制
|
||||
Youneedtoformatapartition = 必须格式化一个分区
|
||||
Format = 格式化
|
||||
Formattingpleasewait = 格式化中, 请稍候...
|
||||
formated = 完成格式化!
|
||||
free = 剩余
|
||||
FreeSpace = 剩余空间
|
||||
FullShutdown = 完全关机
|
||||
GameID = 游戏ID
|
||||
Games = 游戏
|
||||
Gameisalreadyinstalled = 已安装过游戏:
|
||||
GameRegion = 区域
|
||||
GameSize = 游戏容量
|
||||
GoBack = 返回
|
||||
GotoPage = 前往页面
|
||||
HowtoShutdown = 如何关机?
|
||||
Language = 语言
|
||||
Langchange = 变更语言
|
||||
Left = 左
|
||||
LikeSysMenu = 同系统选单
|
||||
LoadingincIOS = 以 cIOS249 载入
|
||||
Lock = 锁定
|
||||
LockConsole = 锁定控制台
|
||||
MP3Menu = MP3 选单
|
||||
Missingfiles = 缺少的文件
|
||||
Networkiniterror = 网络启动错误
|
||||
Neither = 全不
|
||||
Next = 往后
|
||||
No = 否
|
||||
Nofilemissing = 没有缺少的文件!
|
||||
NoHDDfound = 找不到硬盘!
|
||||
NoSDcardinserted = 未插入 SD 卡!
|
||||
Nopartitionsfound = 找不到分区
|
||||
NoUSBDevice = 没有 USB 设备
|
||||
NoWBFSpartitionfound = 找不到 WBFS 分区
|
||||
NormalCovers = 一般封面
|
||||
Normal = 一般
|
||||
NotaWiiDisc = 不是 Wii 的光盘
|
||||
NoUSBDevicefound = 找不到 USB 设备.
|
||||
Notenoughfreespace = 剩余空间不足!
|
||||
notset = 未设定
|
||||
of = 的
|
||||
OFF = 关闭
|
||||
OfficialSite = 官方网址
|
||||
ok = 确定
|
||||
ON = 开启
|
||||
Parentalcontrol = 家长控制
|
||||
Partition = 分区
|
||||
Password = 密码
|
||||
PasswordChanged = 密码已变更
|
||||
Passwordhasbeenchanged = 密码已被变更
|
||||
Passwordchange = 变更密码
|
||||
PowerofftheWii = 关闭Wii主机
|
||||
Prev = 往前
|
||||
PromptsButtons = 显示校正
|
||||
ReloadSD = 重新载入SD卡
|
||||
RenameGameonWBFS = 改变WBFS(硬盘)上的游戏名称
|
||||
Restart = 重新启动
|
||||
Return = 返回
|
||||
ReturntoWii = 返回Wii系统菜单
|
||||
Right = 右
|
||||
Rumble = 震动
|
||||
QuickBoot = 快速启动
|
||||
Save = 保存
|
||||
SaveFailed = 保存失败
|
||||
Specialthanksto = 特别感谢
|
||||
For = 的
|
||||
theUSBLoaderandreleasingthesourcecodethe = 放出原代码
|
||||
secondsleft = 剩余秒数
|
||||
SelectthePartition = 选择分区
|
||||
youwanttoformat = 是否格式化
|
||||
settings = 设置
|
||||
ShutdowntoIdle = 进入待机状态
|
||||
ShutdownSystem = 关闭系统
|
||||
Success = 成功:
|
||||
Successfullyinstalled = 成功的安装:
|
||||
Successfullydeleted = 成功的删除:
|
||||
SuccessfullySaved = 保存成功
|
||||
SystemDefault = 系统默认
|
||||
ThemePath = 主题存放路径
|
||||
ThemepathChanged = 主题路径已变更
|
||||
Themepathchange = 变更主题存放路径
|
||||
Try = 尝试
|
||||
Tooltips = 工具提示
|
||||
Timeleft = 剩余时间:
|
||||
Unlock = 解锁
|
||||
Uninstall = 删除
|
||||
USBLoaderisprotected = USB Loader GX 被锁定
|
||||
USBDevicenotfound = 找不到 USB 设备
|
||||
VideoMode = 视频制式
|
||||
VIDTVPatch = VIDTV 修改
|
||||
Volume = 音量
|
||||
Waiting = 等待中...
|
||||
WaitingforUSBDevice = 等待 USB 设备
|
||||
WidescreenFix = 宽屏校正
|
||||
WiiMenu = Wii 系统菜单
|
||||
WrongPassword = 密码错误
|
||||
Yes = 是
|
||||
YoudonthavecIOS = 未安装 cIOS222
|
||||
Japanese = 日文
|
||||
German = 德文
|
||||
English = 英文
|
||||
French = 法文
|
||||
Spanish = 西班牙文
|
||||
Italian = 意大利文
|
||||
Dutch = 荷文
|
||||
SChinese = 简体中文
|
||||
TChinese = 繁体中文
|
||||
Korean = 韩文
|
||||
keyboard = 键盘
|
||||
Unicodefix = Unicode 修正
|
||||
Filenotfound = 找不到文件
|
||||
Loadingstandardlanguage = 载入标准语言
|
||||
Titlestxtpath = Titles.txt 存放路径
|
||||
TitlestxtpathChanged = titles.txt 路径已变更
|
||||
Titlestxtpathchange = 变更 titles.txt 存放路径
|
@ -1,107 +1,109 @@
|
||||
Specialthanksto = Muchas gracias a
|
||||
Specialthanksto = Agradecimientos
|
||||
t3Covers = Carátulas 3D
|
||||
AppLanguage = Idioma de la aplicación
|
||||
Areyousure = ¿Estás Seguro?
|
||||
AutoPatch = Auto-Parcheo
|
||||
Back = Atrás
|
||||
BacktoHBCorWiiMenu = Volver al HBC o Menú Wii
|
||||
BacktoLoader = Volver al Cargador
|
||||
BacktoWiiMenu = Volver al menú de wii
|
||||
BootStandard = Inicio/Estándar
|
||||
AppLanguage = Idioma Aplic.
|
||||
Areyousure = ¿Estás seguro?
|
||||
AutoPatch = AutoParchar
|
||||
Back = Volver
|
||||
BacktoHBCorWiiMenu = Volver a HBC o Menú Wii
|
||||
BacktoLoader = Volver al HBC
|
||||
BacktoWiiMenu = Volver a Menú Wii
|
||||
BootStandard = Inicio/Estandar
|
||||
Both = Ambos
|
||||
Cantcreatedirectory = No puedo crear el directorio
|
||||
Cantcreatedirectory = No se creó directorio
|
||||
Cancel = Cancelar
|
||||
Cantbeformated = No se puede formatear
|
||||
Cantdelete = No se puede borrar:
|
||||
ClicktoDownloadCovers = Click para descargar carátulas
|
||||
Cantbeformated = No se pudo formatear
|
||||
Cantdelete = No se eliminó:
|
||||
ClicktoDownloadCovers = Click para bajar Carátulas
|
||||
Clock = Reloj
|
||||
Continueinstallgame = ¿Continuo instalando el juego?
|
||||
ConsoleDefault = Predeterm. consola
|
||||
Consoleshouldbeunlockedtomodifyit = La consola debería estar desbloqueada
|
||||
para modificarlo.
|
||||
ConsoleLocked = Consola bloqueada
|
||||
Continueinstallgame = ¿Continuar instalando juego?
|
||||
ConsoleDefault = Pred. Consola
|
||||
Consoleshouldbeunlockedtomodifyit = Consola debe desbloquearse para modificarla.
|
||||
ConsoleLocked = Consola Bloqueada
|
||||
CorrectPassword = Contraseña Correcta
|
||||
Couldnotinitializenetwork = ¡No puedo iniciar la red!
|
||||
CouldnotopenDisc = No se puede abrir el disco
|
||||
CouldnotinitializeDIPmodule = ¡No se puede inicializar modulo DIP!
|
||||
CoverDownload = Descarga de carátulas
|
||||
CoverPath = Ruta a Carátulas
|
||||
CoverpathChanged = Ruta a carátulas cambiada
|
||||
Coverpathchange = Cambiar ruta a carátulas
|
||||
Couldnotinitializenetwork = ¡No se pudo iniciar la Conexión!
|
||||
CouldnotopenDisc = No se pudo abrir Disco
|
||||
CouldnotinitializeDIPmodule = ¡No se pudo iniciar módulo DIP!
|
||||
CoverDownload = Descarga de Carátulas
|
||||
CoverPath = Ruta Carátulas
|
||||
CoverpathChanged = Ruta de Carátulas cambiada
|
||||
Coverpathchange = Cambio ruta Carátulas
|
||||
Credits = Créditos
|
||||
DiscImages = Imágen Discos
|
||||
DiscimagePath = Ruta imágen discos
|
||||
DiscpathChanged = Ruta de discos cambiada
|
||||
Discpathchange = Cambiar ruta a imágenes de disco
|
||||
DiscDefault = Disco por defecto
|
||||
Display = Pantalla
|
||||
Doyouwanttoformat = ¿Quieres formatear?:
|
||||
Doyoureallywanttodelete = ¿Realmente quieres borrar?:
|
||||
Doyouwanttoretryfor30secs = ¿Quieres intentarlo otros 30 segundos?
|
||||
Downloadingfile = Descargando fichero:
|
||||
DownloadBoxartimage = ¿Descargar imagen de caja?
|
||||
Downloadfinished = Descarga finalizada
|
||||
DiscImages = Img. de Disco
|
||||
DiscimagePath = Ruta Img. Disco
|
||||
DiscpathChanged = Ruta Img. Disco cambiada
|
||||
Discpathchange = Cambio ruta Img. Disco
|
||||
DiscDefault = Pred. Disco
|
||||
Display = Mostrar
|
||||
Doyouwanttoformat = Quieres formatear:
|
||||
Doyoureallywanttodelete = Realmente quieres eliminar:
|
||||
Doyouwanttoretryfor30secs = ¿Quiéres reintentar por 30 segs.?
|
||||
Downloadingfile = Descargando archivo:
|
||||
DownloadBoxartimage = ¿Descargar Imágenes?
|
||||
Downloadfinished = Descarga completa
|
||||
Error = ¡Error!
|
||||
BOOTERROR = ¡Error de arranque !
|
||||
ErrorreadingDisc = Error leyendo disco
|
||||
ExitUSBISOLoader = Salir del USB Loader GX?
|
||||
InitializingNetwork = Inicializando red
|
||||
InsertDisk = Introduzca el disco
|
||||
InsertaWiiDisc = ¡Ponga un disco de wii!
|
||||
InsertaSDCardtodownloadimages = Introduzca una tarjeta SD para descargar imágenes.
|
||||
InsertaSDCardtosave = Introduzca una tarjeta SD para guardar.
|
||||
InstallRenameandDeleteareunlocked = Todas las opciones de USB Loader GX desbloqueadas.
|
||||
Installerror = ¡Error de instalación!
|
||||
BOOTERROR = ERROR DE INICIO
|
||||
ErrorreadingDisc = Error leyendo Disco
|
||||
ExitUSBISOLoader = ¿Salir de USB Loader GX?
|
||||
InitializingNetwork = Iniciando Conexión
|
||||
InsertDisk = Inserta el Disco
|
||||
InsertaWiiDisc = ¡Inserta un Disco Wii!
|
||||
InsertaSDCardtodownloadimages = Insertar SD para bajar imágenes.
|
||||
InsertaSDCardtosave = Insertar SD para guardar.
|
||||
InstallRenameandDeleteareunlocked = Todas las caracteristicas del USB Loader GX desbloqueadas.
|
||||
Installerror = ¡Error de Instalación!
|
||||
Installagame = Instalar un juego
|
||||
Installinggame = Instalando juego:
|
||||
Failedtoboot = Fallo en el inicio:
|
||||
FailedtomountfrontSDcard = Fallo al montar la tarjeta SD
|
||||
FailedtosetUSB = Fallo al usar el USB:
|
||||
Failedformating = Fallo al dar formato
|
||||
filesnotfoundontheserver = ¡ Fichero(s) no encontrado(s) en el servidor !
|
||||
filesleft = Ficheros(s) restante(s)
|
||||
FlipX = Desplazamiento X
|
||||
Failedtoboot = Fallo al iniciar:
|
||||
FailedtomountfrontSDcard = Fallo al montar SD
|
||||
FailedtosetUSB = Fallo al iniciar USB:
|
||||
Failedformating = Fallo al formatear
|
||||
Filenotfound = Archivo no encontrado.
|
||||
filesnotfoundontheserver = archivos no encontrados en el servidor!
|
||||
filesleft = archivo(s) restante(s)
|
||||
FlipX = Flip-X
|
||||
Force = Forzar
|
||||
Youneedtoformatapartition = Necesitas formatear una partición
|
||||
Format = Formatear
|
||||
Formattingpleasewait = Dando formato. por favor, espere...
|
||||
formated = ¡Formateado !
|
||||
free = Libre
|
||||
FreeSpace = Espacio libre
|
||||
FullShutdown = Apagado total
|
||||
GameID = ID de juego
|
||||
Format = Formateo
|
||||
Formattingpleasewait = Formateando, por favor espera...
|
||||
formated = formateado!
|
||||
free = libres
|
||||
FreeSpace = Espacio Libre
|
||||
FullShutdown = Apagado Total
|
||||
GameID = ID de Juego
|
||||
Games = Juegos
|
||||
Gameisalreadyinstalled = El Juego ya estaba instalado:
|
||||
Gameisalreadyinstalled = Juego ya estaba instalado:
|
||||
GameRegion = Región
|
||||
GameSize = Tamaño del juego
|
||||
GameSize = Tamaño del Juego
|
||||
GoBack = Volver
|
||||
//GotoPage = Ir a página
|
||||
HowtoShutdown = ¿Cómo apago?
|
||||
//GotoPage = Ir a Página
|
||||
HowtoShutdown = ¿Cómo Apagar?
|
||||
Keyboard = Teclado
|
||||
Language = Idioma
|
||||
Langchange = Cambio de idioma
|
||||
Langchange = Cambio de Idioma
|
||||
Left = Izquierda
|
||||
LikeSysMenu = Cómo menú de sistema
|
||||
LikeSysMenu = Como Menú Sist.
|
||||
LoadingincIOS = Cargando en cIOS249
|
||||
Lock = Bloqueo
|
||||
Loadingstandardlanguage = Cargando idioma estandar.
|
||||
Lock = Bloquear
|
||||
LockConsole = Bloquear consola
|
||||
MP3Menu = Menu MP3
|
||||
Missingfiles = Fichero(s) no encontrado(s)
|
||||
Networkiniterror = Error de inicio de red
|
||||
MP3Menu = Menú MP3
|
||||
Missingfiles = Archivo(s) faltante(s)
|
||||
Networkiniterror = Error inicio conexión
|
||||
Neither = Ninguno
|
||||
Next = Siguiente
|
||||
No = No
|
||||
Nofilemissing = ¡No faltan ficheros!
|
||||
NoHDDfound = ¡No encuentro HD!
|
||||
NoSDcardinserted = ¡No hay insertada tarjeta SD!
|
||||
Nopartitionsfound = ¡No encuentro particiónes!
|
||||
NoUSBDevice = No hay dispositivo USB
|
||||
NoWBFSpartitionfound = No encuentro partición WBFS
|
||||
NormalCovers = Carátulas normales
|
||||
Nofilemissing = ¡No hay archivo(s) faltante(s)!
|
||||
NoHDDfound = ¡HDD no encontrado!
|
||||
NoSDcardinserted = ¡SD no insertada!
|
||||
Nopartitionsfound = Particiones no encontradas
|
||||
NoUSBDevice = USB no encontrado
|
||||
NoWBFSpartitionfound = Partición WBFS no encontrada
|
||||
NormalCovers = Carátulas Norm.
|
||||
Normal = Normal
|
||||
NotaWiiDisc = No es un disco de wii
|
||||
NoUSBDevicefound = No encuentro dispositivo USB.
|
||||
NotaWiiDisc = No es un Disco Wii
|
||||
NoUSBDevicefound = USB no encontrado.
|
||||
Notenoughfreespace = ¡No hay suficiente espacio libre!
|
||||
notset = Sin poner
|
||||
notset = no puesto
|
||||
of = de
|
||||
OFF = Apagado
|
||||
OfficialSite = Sitio Oficial
|
||||
@ -110,56 +112,60 @@ ON = Encendido
|
||||
Parentalcontrol = Control Parental
|
||||
Partition = Partición
|
||||
Password = Contraseña
|
||||
PasswordChanged = Contraseña Cambiada
|
||||
Passwordhasbeenchanged = La contraseña se ha cambiado
|
||||
Passwordchange = Cambio de contraseña
|
||||
PowerofftheWii = Apague la Wii
|
||||
Prev = Anterior
|
||||
PromptsButtons = Botones de consulta
|
||||
PasswordChanged = Contraseña cambiada
|
||||
Passwordhasbeenchanged = Contraseña ha sido cambiada
|
||||
Passwordchange = Cambio Contraseña
|
||||
PowerofftheWii = Apagar la Wii
|
||||
Prev = Ant.
|
||||
PromptsButtons = Botones
|
||||
ReloadSD = Recargar SD
|
||||
RenameGameonWBFS = Renombrar juego en WBFS
|
||||
Restart = Reiniciar
|
||||
Return = Volver
|
||||
ReturntoWii = Volver al menú de Wii
|
||||
ReturntoWii = Volver a Menú Wii
|
||||
Right = Derecha
|
||||
Rumble = Vibración
|
||||
QuickBoot = Inicio rápido
|
||||
QuickBoot = Inicio Rápido
|
||||
Save = Guardar
|
||||
SaveFailed = Fallo al guardar
|
||||
Specialthanksto = Muchas gracias a
|
||||
SaveFailed = Guardado fallido
|
||||
Specialthanksto = Agradecimientos
|
||||
Titlestxtpath = Ruta Titles.txt
|
||||
TitlestxtpathChanged = Ruta a titles.txt cambiada.
|
||||
Titlestxtpathchange = Cambio ruta titles.txt
|
||||
For = por
|
||||
theUSBLoaderandreleasingthesourcecodethe = y liberar el código fuente
|
||||
secondsleft = Segundos que faltan
|
||||
secondsleft = segundos restantes
|
||||
SelectthePartition = Selecciona la partición
|
||||
youwanttoformat = Quieres formatear
|
||||
settings = Ajustes
|
||||
ShutdowntoIdle = Apagar a Stand-By
|
||||
ShutdownSystem = Sistema de apagado
|
||||
Success = Conseguido:
|
||||
Successfullyinstalled = Instalado con exito:
|
||||
Successfullydeleted = Borrado con exito:
|
||||
SuccessfullySaved = Guardado
|
||||
SystemDefault = Predeterm. consola
|
||||
ThemePath = Ruta a Temas
|
||||
ThemepathChanged = Ruta a temas cambiada
|
||||
Themepathchange = Cambio de ruta a temas
|
||||
youwanttoformat = quieres formatear
|
||||
settings = Configuración
|
||||
ShutdowntoIdle = Apagar a Idle
|
||||
ShutdownSystem = Apagar Sistema
|
||||
Success = Exito:
|
||||
Successfullyinstalled = Instalado exitósamente:
|
||||
Successfullydeleted = Borrado exitósamente:
|
||||
SuccessfullySaved = Guardado exitósamente
|
||||
SystemDefault = Pred. Sistema
|
||||
ThemePath = Ruta del Tema
|
||||
ThemepathChanged = Ruta de Tema cambiada
|
||||
Themepathchange = Cambio Ruta de Tema
|
||||
Try = Intentar
|
||||
Tooltips = Herramientas
|
||||
Timeleft = Tiempo pendiente:
|
||||
Unlock = Desbloqueo
|
||||
Tooltips = InfoBurbujas
|
||||
Timeleft = T. restante:
|
||||
Unlock = Desbloquear
|
||||
Unicodefix = Arreg. Unicode
|
||||
Uninstall = Desinstalar
|
||||
USBLoaderisprotected = USB Loader GX está protegido
|
||||
USBDevicenotfound = Dispositivo USB no encontrado
|
||||
VideoMode = Modo de video
|
||||
VIDTVPatch = Parcheo VIDTV
|
||||
USBDevicenotfound = USB no encontrado
|
||||
VideoMode = Modo Video
|
||||
VIDTVPatch = Parche VIDTV
|
||||
Volume = Volumen
|
||||
Waiting = Esperando...
|
||||
WaitingforUSBDevice = Esperando al dispositivo USB
|
||||
WidescreenFix = Ajuste panorámico
|
||||
WiiMenu = Menú Wii
|
||||
WrongPassword = Contraseña errónea
|
||||
WaitingforUSBDevice = Esperando por Dispositivo USB
|
||||
WidescreenFix = Arreg. Widescreen
|
||||
WiiMenu = Menú de Wii
|
||||
WrongPassword = Contraseña incorrecta
|
||||
Yes = Si
|
||||
YoudonthavecIOS = No tienes cIOS 222
|
||||
YoudonthavecIOS = No tienes un cIOS222
|
||||
Japanese = Japonés
|
||||
German = Alemán
|
||||
English = Inglés
|
||||
@ -167,13 +173,6 @@ French = Franc
|
||||
Spanish = Español
|
||||
Italian = Italiano
|
||||
Dutch = Holandés
|
||||
SChinese = Chino Simplificado
|
||||
TChinese = Chino Tradicional
|
||||
SChinese = Chino Simplif.
|
||||
TChinese = Chino Tradic.
|
||||
Korean = Coreano
|
||||
keyboard = Teclado
|
||||
Unicodefix = Párche Unicode
|
||||
Filenotfound = Fichero no encontrado.
|
||||
Loadingstandardlanguage = Cargando idioma predeterminado.
|
||||
Titlestxtpath = Ruta a Titles.txt
|
||||
TitlestxtpathChanged = Ruta a titles.txt cambiada.
|
||||
Titlestxtpathchange = Cambiar ruta a titles.txt
|
||||
|
@ -8,15 +8,15 @@ BacktoHBCorWiiMenu =
|
||||
BacktoLoader = 返回 Loader
|
||||
BacktoWiiMenu = 返回 Wii 系統選單
|
||||
BootStandard = 啟動/標準
|
||||
BothBoth = 全部
|
||||
Both = 全部顯示
|
||||
Cantcreatedirectory = 無法產生目錄
|
||||
Cancel = 取消
|
||||
Cantbeformated = 無法格式化
|
||||
Cantdelete = 無法刪除:
|
||||
ClicktoDownloadCovers = 點擊下載封面
|
||||
ClicktoDownloadCovers = 點擊進行封面下載
|
||||
Clock = 時鐘
|
||||
Continueinstallgame = 繼續安裝遊戲?
|
||||
ConsoleDefault = 控制台預設
|
||||
ConsoleDefault = 主機預設值
|
||||
Consoleshouldbeunlockedtomodifyit = 需解鎖以開啟設定功能.
|
||||
ConsoleLocked = 控制台鎖定
|
||||
CorrectPassword = 密碼正確
|
||||
@ -65,17 +65,18 @@ Youneedtoformatapartition =
|
||||
Format = 格式化
|
||||
Formattingpleasewait = 格式化中, 請稍候...
|
||||
formated = 完成格式化!
|
||||
free = 剩餘
|
||||
free =
|
||||
FreeSpace = 剩餘空間
|
||||
FullShutdown = 完全關機
|
||||
GameID = 遊戲代碼
|
||||
Games = 遊戲
|
||||
Games = 遊戲數量
|
||||
Gameisalreadyinstalled = 已安裝過遊戲:
|
||||
GameRegion = 區域
|
||||
GameRegion = 遊戲區碼
|
||||
GameSize = 遊戲容量
|
||||
GoBack = 返回
|
||||
GotoPage = 前往頁面
|
||||
//GotoPage = 前往頁面
|
||||
HowtoShutdown = 如何關機?
|
||||
Keyboard = 鍵盤
|
||||
Language = 語言
|
||||
Langchange = 變更語言
|
||||
Left = 左
|
||||
@ -86,7 +87,7 @@ LockConsole =
|
||||
MP3Menu = MP3 選單
|
||||
Missingfiles = 遺失的檔案
|
||||
Networkiniterror = 網路啟動錯誤
|
||||
Neither = 皆否
|
||||
Neither = 皆不顯示
|
||||
Next = 往後
|
||||
No = 否
|
||||
Nofilemissing = 沒有缺少的檔案!
|
||||
@ -101,7 +102,7 @@ NotaWiiDisc =
|
||||
NoUSBDevicefound = 找不到 USB 裝置.
|
||||
Notenoughfreespace = 剩餘空間不足!
|
||||
notset = 未設定
|
||||
of = 的
|
||||
of = 剩餘空間 總容量
|
||||
OFF = 關閉
|
||||
OfficialSite = 官方網址
|
||||
ok = 確定
|
||||
@ -138,7 +139,7 @@ Success =
|
||||
Successfullyinstalled = 成功的安裝:
|
||||
Successfullydeleted = 成功的刪除:
|
||||
SuccessfullySaved = 儲存成功
|
||||
SystemDefault = 系統預設
|
||||
SystemDefault = 系統預設值
|
||||
ThemePath = 背景主題
|
||||
ThemepathChanged = 背景主題路徑已變更
|
||||
Themepathchange = 變更背景主題路徑
|
||||
@ -169,7 +170,6 @@ Dutch =
|
||||
SChinese = 簡體中文
|
||||
TChinese = 繁體中文
|
||||
Korean = 韓文
|
||||
keyboard = 鍵盤
|
||||
Unicodefix = Unicode 修正
|
||||
Filenotfound = 找不到檔案
|
||||
Loadingstandardlanguage = 載入標準語言
|
||||
|
File diff suppressed because one or more lines are too long
12
source/cfg.c
12
source/cfg.c
@ -234,6 +234,8 @@ void CFG_Default(int widescreen) // -1 = non forced Mode
|
||||
snprintf(CFG.titlestxt_path, sizeof(CFG.titlestxt_path), "SD:/config/");//default path for disc images
|
||||
snprintf(CFG.unlockCode, sizeof(CFG.unlockCode), "ab121b"); // default password
|
||||
snprintf(CFG.language_path, sizeof(CFG.language_path), "SD:/config/language/");
|
||||
snprintf(CFG.oggload_path, sizeof(CFG.oggload_path), "SD:/config/backgroundmusic/");
|
||||
sprintf(CFG.ogg_path, "notset");
|
||||
|
||||
CFG.parentalcontrol = 0;
|
||||
CFG.maxcharacters = 38;
|
||||
@ -483,6 +485,14 @@ void cfg_set(char *name, char *val)
|
||||
strcopy(CFG.language_path, val, sizeof(CFG.language_path));
|
||||
return;
|
||||
}
|
||||
if (strcmp(name, "oggload_path") == 0) {
|
||||
strcopy(CFG.oggload_path, val, sizeof(CFG.oggload_path));
|
||||
return;
|
||||
}
|
||||
if (strcmp(name, "ogg_path") == 0) {
|
||||
strcopy(CFG.ogg_path, val, sizeof(CFG.ogg_path));
|
||||
return;
|
||||
}
|
||||
|
||||
cfg_int("parentalcontrol", &CFG.parentalcontrol, 4);
|
||||
cfg_bool("godmode", &CFG.godmode);
|
||||
@ -1017,12 +1027,14 @@ bool cfg_save_global()// save global settings
|
||||
}
|
||||
fprintf(f, "disc_path = %s\n ", CFG.disc_path);
|
||||
fprintf(f, "language_path = %s\n ", CFG.language_path);
|
||||
fprintf(f, "oggload_path = %s\n ", CFG.oggload_path);
|
||||
fprintf(f, "titlestxt_path = %s\n ", CFG.titlestxt_path);
|
||||
if(!strcmp("", Settings.unlockCode)) {
|
||||
fprintf(f, "godmode = %d\n ", CFG.godmode);
|
||||
} else {
|
||||
fprintf(f, "godmode = %d\n ", 0);
|
||||
}
|
||||
fprintf(f, "ogg_path = %s\n ", CFG.ogg_path);
|
||||
fclose(f);
|
||||
return true;
|
||||
}
|
||||
|
@ -70,6 +70,8 @@ struct CFG
|
||||
char disc_path[100];
|
||||
char titlestxt_path[100];
|
||||
char language_path[100];
|
||||
char oggload_path[100];
|
||||
char ogg_path[150];
|
||||
short keyset;
|
||||
};
|
||||
|
||||
|
@ -42,7 +42,7 @@ int SDCard_Init()
|
||||
if (!isSdInserted()){
|
||||
return -1;
|
||||
}
|
||||
if (fatMount("SD", &__io_wiisd, 0, CACHE, SECTORS)) {
|
||||
if (fatMountSimple("SD", &__io_wiisd)) {
|
||||
return 1;
|
||||
}
|
||||
return -1;
|
||||
|
@ -35,6 +35,8 @@ snprintf(LANGUAGE.t3Covers, sizeof(LANGUAGE.t3Covers), "3D Covers");
|
||||
snprintf(LANGUAGE.Areyousure, sizeof(LANGUAGE.Areyousure), "Are you sure?");
|
||||
snprintf(LANGUAGE.AutoPatch, sizeof(LANGUAGE.AutoPatch), "AutoPatch");
|
||||
snprintf(LANGUAGE.Back, sizeof(LANGUAGE.Back), "Back");
|
||||
snprintf(LANGUAGE.Backgroundmusic, sizeof(LANGUAGE.Backgroundmusic), "Backgroundmusic");
|
||||
snprintf(LANGUAGE.Backgroundmusicpath, sizeof(LANGUAGE.Backgroundmusicpath), "Backgroundmusic Path changed.");
|
||||
snprintf(LANGUAGE.BacktoHBCorWiiMenu, sizeof(LANGUAGE.BacktoHBCorWiiMenu), "Back to HBC or Wii Menu");
|
||||
snprintf(LANGUAGE.BacktoLoader, sizeof(LANGUAGE.BacktoLoader), "Back to Loader");
|
||||
snprintf(LANGUAGE.BacktoWiiMenu, sizeof(LANGUAGE.BacktoWiiMenu), "Back to Wii Menu");
|
||||
@ -107,13 +109,13 @@ snprintf(LANGUAGE.Gameisalreadyinstalled, sizeof(LANGUAGE.Gameisalreadyinstalled
|
||||
snprintf(LANGUAGE.GameRegion, sizeof(LANGUAGE.GameRegion), "Game Region");
|
||||
snprintf(LANGUAGE.GameSize, sizeof(LANGUAGE.GameSize), "Game Size");
|
||||
snprintf(LANGUAGE.GoBack, sizeof(LANGUAGE.GoBack), "Go Back");
|
||||
//snprintf(LANGUAGE.GotoPage, sizeof(LANGUAGE.GotoPage), "Go to Page");
|
||||
snprintf(LANGUAGE.HowtoShutdown, sizeof(LANGUAGE.HowtoShutdown), "How to Shutdown?");
|
||||
snprintf(LANGUAGE.Language, sizeof(LANGUAGE.Language), "Game Language");
|
||||
snprintf(LANGUAGE.Left, sizeof(LANGUAGE.Left), "Left");
|
||||
snprintf(LANGUAGE.LikeSysMenu, sizeof(LANGUAGE.LikeSysMenu), "Like SysMenu");
|
||||
snprintf(LANGUAGE.LoadingincIOS, sizeof(LANGUAGE.LoadingincIOS), "Loading in cIOS249");
|
||||
snprintf(LANGUAGE.Loadingstandardlanguage, sizeof(LANGUAGE.Loadingstandardlanguage), "Loading standard language.");
|
||||
snprintf(LANGUAGE.Loadingstandardmusic, sizeof(LANGUAGE.Loadingstandardmusic), "Loading standard music.");
|
||||
snprintf(LANGUAGE.Lock, sizeof(LANGUAGE.Lock), "Lock");
|
||||
snprintf(LANGUAGE.LockConsole, sizeof(LANGUAGE.LockConsole), "Lock Console");
|
||||
snprintf(LANGUAGE.MP3Menu, sizeof(LANGUAGE.MP3Menu), "MP3 Menu");
|
||||
@ -133,6 +135,7 @@ snprintf(LANGUAGE.Normal, sizeof(LANGUAGE.Normal), "Normal");
|
||||
snprintf(LANGUAGE.NotaWiiDisc, sizeof(LANGUAGE.NotaWiiDisc), "Not a Wii Disc");
|
||||
snprintf(LANGUAGE.NoUSBDevicefound, sizeof(LANGUAGE.NoUSBDevicefound), "No USB Device found.");
|
||||
snprintf(LANGUAGE.Notenoughfreespace, sizeof(LANGUAGE.Notenoughfreespace), "Not enough free space!");
|
||||
snprintf(LANGUAGE.Notasupportedformat, sizeof(LANGUAGE.Notasupportedformat), "Not supported format!");
|
||||
snprintf(LANGUAGE.notset, sizeof(LANGUAGE.notset), "not set");
|
||||
snprintf(LANGUAGE.of, sizeof(LANGUAGE.of), "of");
|
||||
snprintf(LANGUAGE.OFF, sizeof(LANGUAGE.OFF), "OFF");
|
||||
@ -161,9 +164,11 @@ snprintf(LANGUAGE.Specialthanksto, sizeof(LANGUAGE.Specialthanksto), "Special th
|
||||
snprintf(LANGUAGE.For, sizeof(LANGUAGE.For), "for");
|
||||
snprintf(LANGUAGE.theUSBLoaderandreleasingthesourcecode, sizeof(LANGUAGE.theUSBLoaderandreleasingthesourcecode), "and releasing the source code");
|
||||
snprintf(LANGUAGE.secondsleft, sizeof(LANGUAGE.secondsleft), "seconds left");
|
||||
snprintf(LANGUAGE.Setasbackgroundmusic, sizeof(LANGUAGE.Setasbackgroundmusic), "Set as backgroundmusic?");
|
||||
snprintf(LANGUAGE.SelectthePartition, sizeof(LANGUAGE.SelectthePartition), "Select the Partition");
|
||||
snprintf(LANGUAGE.Specialthanksto, sizeof(LANGUAGE.Specialthanksto), "Special thanks to");
|
||||
snprintf(LANGUAGE.youwanttoformat, sizeof(LANGUAGE.youwanttoformat), "you want to format");
|
||||
snprintf(LANGUAGE.Standard, sizeof(LANGUAGE.Standard), "Standard");
|
||||
snprintf(LANGUAGE.settings, sizeof(LANGUAGE.settings), "Settings");
|
||||
snprintf(LANGUAGE.ShutdowntoIdle, sizeof(LANGUAGE.ShutdowntoIdle), "Shutdown to Idle");
|
||||
snprintf(LANGUAGE.ShutdownSystem, sizeof(LANGUAGE.ShutdownSystem), "Shutdown System");
|
||||
@ -244,6 +249,14 @@ void language_set(char *name, char *val)
|
||||
strcopy(LANGUAGE.Back, val, sizeof(LANGUAGE.Back));
|
||||
return;
|
||||
}
|
||||
if (strcmp(name, "Backgroundmusic") == 0) {
|
||||
strcopy(LANGUAGE.Backgroundmusic, val, sizeof(LANGUAGE.Backgroundmusic));
|
||||
return;
|
||||
}
|
||||
if (strcmp(name, "Backgroundmusicpath") == 0) {
|
||||
strcopy(LANGUAGE.Backgroundmusicpath, val, sizeof(LANGUAGE.Backgroundmusicpath));
|
||||
return;
|
||||
}
|
||||
if (strcmp(name, "BacktoHBCorWiiMenu") == 0) {
|
||||
strcopy(LANGUAGE.BacktoHBCorWiiMenu, val, sizeof(LANGUAGE.BacktoHBCorWiiMenu));
|
||||
return;
|
||||
@ -569,6 +582,10 @@ void language_set(char *name, char *val)
|
||||
strcopy(LANGUAGE.Loadingstandardlanguage, val, sizeof(LANGUAGE.Loadingstandardlanguage));
|
||||
return;
|
||||
}
|
||||
if (strcmp(name, "Loadingstandardmusic") == 0) {
|
||||
strcopy(LANGUAGE.Loadingstandardmusic, val, sizeof(LANGUAGE.Loadingstandardmusic));
|
||||
return;
|
||||
}
|
||||
if (strcmp(name, "Lock") == 0) {
|
||||
strcopy(LANGUAGE.Lock, val, sizeof(LANGUAGE.Lock));
|
||||
return;
|
||||
@ -645,6 +662,10 @@ void language_set(char *name, char *val)
|
||||
strcopy(LANGUAGE.Notenoughfreespace, val, sizeof(LANGUAGE.Notenoughfreespace));
|
||||
return;
|
||||
}
|
||||
if (strcmp(name, "Notasupportedformat") == 0) {
|
||||
strcopy(LANGUAGE.Notasupportedformat, val, sizeof(LANGUAGE.Notasupportedformat));
|
||||
return;
|
||||
}
|
||||
if (strcmp(name, "notset") == 0) {
|
||||
strcopy(LANGUAGE.notset, val, sizeof(LANGUAGE.notset));
|
||||
return;
|
||||
@ -765,6 +786,10 @@ void language_set(char *name, char *val)
|
||||
strcopy(LANGUAGE.settings, val, sizeof(LANGUAGE.settings));
|
||||
return;
|
||||
}
|
||||
if (strcmp(name, "Setasbackgroundmusic") == 0) {
|
||||
strcopy(LANGUAGE.Setasbackgroundmusic, val, sizeof(LANGUAGE.Setasbackgroundmusic));
|
||||
return;
|
||||
}
|
||||
if (strcmp(name, "ShutdowntoIdle") == 0) {
|
||||
strcopy(LANGUAGE.ShutdowntoIdle, val, sizeof(LANGUAGE.ShutdowntoIdle));
|
||||
return;
|
||||
@ -773,6 +798,10 @@ void language_set(char *name, char *val)
|
||||
strcopy(LANGUAGE.ShutdownSystem, val, sizeof(LANGUAGE.ShutdownSystem));
|
||||
return;
|
||||
}
|
||||
if (strcmp(name, "Standard") == 0) {
|
||||
strcopy(LANGUAGE.Standard, val, sizeof(LANGUAGE.Standard));
|
||||
return;
|
||||
}
|
||||
if (strcmp(name, "Success") == 0) {
|
||||
strcopy(LANGUAGE.Success, val, sizeof(LANGUAGE.Success));
|
||||
return;
|
||||
|
@ -17,6 +17,8 @@ struct LANGUAGE
|
||||
char Areyousure[50];
|
||||
char AutoPatch[20];
|
||||
char Back[20];
|
||||
char Backgroundmusic[80];
|
||||
char Backgroundmusicpath[100];
|
||||
char BacktoHBCorWiiMenu[50];
|
||||
char BacktoLoader[50];
|
||||
char BacktoWiiMenu[50];
|
||||
@ -97,6 +99,7 @@ struct LANGUAGE
|
||||
char LikeSysMenu[50];
|
||||
char LoadingincIOS[50];
|
||||
char Loadingstandardlanguage[80];
|
||||
char Loadingstandardmusic[80];
|
||||
char Lock[30];
|
||||
char LockConsole[50];
|
||||
char MP3Menu[40];
|
||||
@ -116,6 +119,7 @@ struct LANGUAGE
|
||||
char NotaWiiDisc[40];
|
||||
char NoUSBDevicefound[50];
|
||||
char Notenoughfreespace[50];
|
||||
char Notasupportedformat[100];
|
||||
char notset[40];
|
||||
char of[30];
|
||||
char OFF[30];
|
||||
@ -148,6 +152,8 @@ struct LANGUAGE
|
||||
char SelectthePartition[50];
|
||||
char youwanttoformat[50];
|
||||
char settings[50];
|
||||
char Setasbackgroundmusic[90];
|
||||
char Standard[30];
|
||||
char ShutdowntoIdle[50];
|
||||
char ShutdownSystem[50];
|
||||
char Success[30];
|
||||
|
@ -131,6 +131,8 @@ class GuiSound
|
||||
~GuiSound();
|
||||
//!Start sound playback
|
||||
void Play();
|
||||
//!Start sound playback from ogg file
|
||||
int PlayOggFile(char * path);
|
||||
//!Stop sound playback
|
||||
void Stop();
|
||||
//!Pause sound playback
|
||||
@ -146,6 +148,11 @@ class GuiSound
|
||||
//!Set the sound to loop playback (only applies to OGG)
|
||||
//!\param l Loop (true to loop)
|
||||
void SetLoop(bool l);
|
||||
//!Get the playing time in ms for that moment (only applies to OGG)
|
||||
s32 GetPlayTime();
|
||||
//!Set the starting point or playtime for skipping (only applies to OGG)
|
||||
//!\param time in ms
|
||||
void SetPlayTime(s32 time);
|
||||
protected:
|
||||
const u8 * sound; //!< Pointer to the sound data
|
||||
int type; //!< Sound format type (SOUND_PCM or SOUND_OGG)
|
||||
|
@ -42,6 +42,38 @@ GuiSound::~GuiSound()
|
||||
StopOgg();
|
||||
}
|
||||
|
||||
int GuiSound::PlayOggFile(char * path)
|
||||
{ /*
|
||||
u32 filesize = 0;
|
||||
char * bufferogg = NULL;
|
||||
size_t resultogg;
|
||||
|
||||
FILE * pFile;
|
||||
pFile = fopen (path, "rb");
|
||||
|
||||
// get file size:
|
||||
fseek (pFile , 0 , SEEK_END);
|
||||
filesize = ftell (pFile);
|
||||
rewind (pFile);
|
||||
|
||||
// allocate memory to contain the whole file:
|
||||
bufferogg = (char*) malloc (sizeof(char)*filesize);
|
||||
if (bufferogg == NULL) {fputs (" Memory error",stderr); exit (2);}
|
||||
|
||||
// copy the file into the buffer:
|
||||
resultogg = fread (bufferogg,1,filesize,pFile);
|
||||
if (resultogg != filesize) {fputs (" Reading error",stderr); exit (3);}
|
||||
|
||||
fclose (pFile);
|
||||
|
||||
sound = (const u8 *) bufferogg;
|
||||
length = filesize;
|
||||
*/
|
||||
int ret = PlayOggFromFile(path, loop);
|
||||
SetVolumeOgg(255*(volume/100.0));
|
||||
return ret;
|
||||
}
|
||||
|
||||
void GuiSound::Play()
|
||||
{
|
||||
int vol;
|
||||
@ -57,7 +89,7 @@ void GuiSound::Play()
|
||||
break;
|
||||
|
||||
case SOUND_OGG:
|
||||
voice = 0;
|
||||
voice = ASND_GetFirstUnusedVoice();
|
||||
if(loop)
|
||||
PlayOgg(mem_open((char *)sound, length), 0, OGG_INFINITE_TIME);
|
||||
else
|
||||
@ -151,3 +183,13 @@ void GuiSound::SetLoop(bool l)
|
||||
{
|
||||
loop = l;
|
||||
}
|
||||
|
||||
s32 GuiSound::GetPlayTime()
|
||||
{
|
||||
return GetTimeOgg();
|
||||
}
|
||||
|
||||
void GuiSound::SetPlayTime(s32 time_pos)
|
||||
{
|
||||
SetTimeOgg(time_pos);
|
||||
}
|
||||
|
391
source/menu.cpp
391
source/menu.cpp
@ -63,7 +63,6 @@ static GuiText sizeTxt(sizeshow, 26, (GXColor){THEME.prompttxt_r, THEME.prompttx
|
||||
static GuiText *GameIDTxt = NULL;
|
||||
static GuiText *GameRegionTxt = NULL;
|
||||
static GuiSound * bgMusic = NULL;
|
||||
static GuiSound * creditsMusic = NULL;
|
||||
static wbfs_t *hdd = NULL;
|
||||
static u32 gameCnt = 0;
|
||||
static s32 gameSelected = 0, gameStart = 0;
|
||||
@ -170,12 +169,14 @@ HaltGui()
|
||||
static void WindowCredits(void * ptr)
|
||||
{
|
||||
int angle = 0;
|
||||
GuiSound * creditsMusic = NULL;
|
||||
|
||||
if(btnLogo->GetState() != STATE_CLICKED) {
|
||||
return;
|
||||
}
|
||||
s32 thetimeofbg = bgMusic->GetPlayTime();
|
||||
StopOgg();
|
||||
|
||||
bgMusic->Stop();
|
||||
creditsMusic = new GuiSound(credits_music_ogg, credits_music_ogg_size, SOUND_OGG, 55);
|
||||
creditsMusic->SetVolume(55);
|
||||
creditsMusic->SetLoop(1);
|
||||
@ -374,8 +375,14 @@ static void WindowCredits(void * ptr)
|
||||
delete txt[i];
|
||||
|
||||
delete creditsMusic;
|
||||
bgMusic->SetLoop(1);
|
||||
|
||||
if(!strcmp("", CFG.oggload_path) || !strcmp("notset", CFG.ogg_path)) {
|
||||
bgMusic->Play();
|
||||
} else {
|
||||
bgMusic->PlayOggFile(CFG.ogg_path);
|
||||
}
|
||||
bgMusic->SetPlayTime(thetimeofbg);
|
||||
SetVolumeOgg(255*(vol/100.0));
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
@ -2993,10 +3000,17 @@ static int MenuDiscList()
|
||||
}
|
||||
else if(homeBtn.GetState() == STATE_CLICKED)
|
||||
{
|
||||
s32 thetimeofbg = bgMusic->GetPlayTime();
|
||||
bgMusic->Stop();
|
||||
choice = WindowExitPrompt(LANGUAGE.ExitUSBISOLoader,0, LANGUAGE.BacktoLoader,LANGUAGE.WiiMenu,LANGUAGE.Back,0);
|
||||
bgMusic->SetLoop(1);
|
||||
if(!strcmp("", CFG.oggload_path) || !strcmp("notset", CFG.ogg_path)) {
|
||||
bgMusic->Play();
|
||||
} else {
|
||||
bgMusic->PlayOggFile(CFG.ogg_path);
|
||||
}
|
||||
bgMusic->SetPlayTime(thetimeofbg);
|
||||
SetVolumeOgg(255*(vol/100.0));
|
||||
|
||||
if(choice == 3)
|
||||
{
|
||||
SYS_ResetSystem(SYS_RETURNTOMENU, 0, 0); // Back to System Menu
|
||||
@ -3985,11 +3999,11 @@ static int MenuSettings()
|
||||
sprintf(options2.name[1], "%s",LANGUAGE.AppLanguage);
|
||||
sprintf(options2.name[2], "%s",LANGUAGE.keyboard);
|
||||
sprintf(options2.name[3], "%s",LANGUAGE.Unicodefix);
|
||||
sprintf(options2.name[4], "%s",LANGUAGE.MP3Menu);
|
||||
sprintf(options2.name[5], "Under");
|
||||
sprintf(options2.name[6], "Construction");
|
||||
sprintf(options2.name[4], "%s",LANGUAGE.Backgroundmusic);
|
||||
sprintf(options2.name[5], " ");
|
||||
sprintf(options2.name[6], " ");
|
||||
sprintf(options2.name[7], " ");
|
||||
sprintf(options2.name[8], " ");
|
||||
sprintf(options2.name[8], "%s",LANGUAGE.MP3Menu);
|
||||
|
||||
|
||||
|
||||
@ -4415,11 +4429,23 @@ static int MenuSettings()
|
||||
else if (Settings.unicodefix == 1) sprintf (options2.value[3],"%s",LANGUAGE.TChinese);
|
||||
else if (Settings.unicodefix == 2) sprintf (options2.value[3],"%s",LANGUAGE.SChinese);
|
||||
|
||||
sprintf(options2.value[4], " ");
|
||||
if(!strcmp("notset", CFG.ogg_path) || !strcmp("",CFG.oggload_path)) {
|
||||
sprintf(options2.value[4], "%s", LANGUAGE.Standard);
|
||||
} else {
|
||||
if (strlen(CFG.ogg_path) < (9 + 3)) {
|
||||
sprintf(cfgtext, "%s", CFG.ogg_path);
|
||||
} else {
|
||||
strncpy(cfgtext, CFG.ogg_path, 9);
|
||||
cfgtext[9] = '\0';
|
||||
strncat(cfgtext, "...", 3);
|
||||
}
|
||||
sprintf(options2.value[4], "%s", cfgtext);
|
||||
}
|
||||
|
||||
sprintf(options2.value[5], " ");
|
||||
sprintf(options2.value[6], " ");
|
||||
sprintf(options2.value[7], " ");
|
||||
sprintf(options2.value[8], " ");
|
||||
sprintf(options2.value[8], "not working!");
|
||||
|
||||
ret = optionBrowser2.GetClickedOption();
|
||||
|
||||
@ -4511,6 +4537,10 @@ static int MenuSettings()
|
||||
Settings.unicodefix++;
|
||||
break;
|
||||
case 4:
|
||||
menu = MENU_OGG;
|
||||
pageToDisplay = 0;
|
||||
break;
|
||||
case 8:
|
||||
menu = MENU_MP3;
|
||||
pageToDisplay = 0;
|
||||
break;
|
||||
@ -4551,8 +4581,6 @@ static int MenuSettings()
|
||||
pageToDisplay = 3;
|
||||
menu = MENU_NONE;
|
||||
page3Btn.ResetState();
|
||||
//page1Btn.SetImage(&page1dImg);
|
||||
//page2Btn.SetImage(&page2Img);
|
||||
tabBtn.SetImage(&tab3Img);
|
||||
break;
|
||||
}
|
||||
@ -5024,7 +5052,329 @@ static int MenuCheck()
|
||||
|
||||
return menu;
|
||||
}
|
||||
/****************************************************************************
|
||||
* MenuOGG
|
||||
***************************************************************************/
|
||||
int MenuOGG()
|
||||
{
|
||||
int menu = MENU_NONE, cnt = 0;
|
||||
int ret = 0, choice = 0;
|
||||
int scrollon, nothingchanged = 0;
|
||||
|
||||
GuiSound btnSoundOver(button_over_pcm, button_over_pcm_size, SOUND_PCM, vol);
|
||||
GuiSound btnClick(button_click2_pcm, button_click2_pcm_size, SOUND_PCM, vol);
|
||||
|
||||
char imgPath[100];
|
||||
|
||||
snprintf(imgPath, sizeof(imgPath), "%sbutton_dialogue_box.png", CFG.theme_path);
|
||||
GuiImageData btnOutline(imgPath, button_dialogue_box_png);
|
||||
snprintf(imgPath, sizeof(imgPath), "%ssettings_background.png", CFG.theme_path);
|
||||
GuiImageData settingsbg(imgPath, settings_background_png);
|
||||
|
||||
GuiTrigger trigA;
|
||||
trigA.SetSimpleTrigger(-1, WPAD_BUTTON_A | WPAD_CLASSIC_BUTTON_A, PAD_BUTTON_A);
|
||||
GuiTrigger trigB;
|
||||
trigB.SetButtonOnlyTrigger(-1, WPAD_BUTTON_B | WPAD_CLASSIC_BUTTON_B, PAD_BUTTON_B);
|
||||
GuiTrigger trigMinus;
|
||||
trigMinus.SetButtonOnlyTrigger(-1, WPAD_BUTTON_MINUS | WPAD_CLASSIC_BUTTON_MINUS, 0);
|
||||
GuiTrigger trigPlus;
|
||||
trigPlus.SetButtonOnlyTrigger(-1, WPAD_BUTTON_PLUS | WPAD_CLASSIC_BUTTON_PLUS, 0);
|
||||
|
||||
char fullpath[150];
|
||||
char shortpath[35];
|
||||
int countmp3 = GetFiles(CFG.oggload_path);
|
||||
|
||||
if(!strcmp("", CFG.oggload_path)) {
|
||||
sprintf(shortpath, "%s", LANGUAGE.Standard);
|
||||
} else if (strlen(CFG.oggload_path) < (27 + 3)) {
|
||||
sprintf(shortpath, "%s", CFG.oggload_path);
|
||||
}
|
||||
else {
|
||||
strncpy(shortpath, CFG.oggload_path, 27);
|
||||
shortpath[27] = '\0';
|
||||
strncat(shortpath, "...", 3);
|
||||
}
|
||||
|
||||
GuiText titleTxt(shortpath, 24, (GXColor){0, 0, 0, 255});
|
||||
titleTxt.SetAlignment(ALIGN_CENTRE, ALIGN_MIDDLE);
|
||||
titleTxt.SetPosition(0,0);
|
||||
GuiButton pathBtn(300, 50);
|
||||
pathBtn.SetAlignment(ALIGN_CENTRE, ALIGN_TOP);
|
||||
pathBtn.SetPosition(0,28);
|
||||
pathBtn.SetLabel(&titleTxt);
|
||||
pathBtn.SetSoundOver(&btnSoundOver);
|
||||
pathBtn.SetSoundClick(&btnClick);
|
||||
pathBtn.SetTrigger(&trigA);
|
||||
pathBtn.SetEffectGrow();
|
||||
|
||||
GuiImage oggmenubackground(&settingsbg);
|
||||
oggmenubackground.SetAlignment(ALIGN_LEFT, ALIGN_TOP);
|
||||
oggmenubackground.SetPosition(0, 0);
|
||||
|
||||
GuiText backBtnTxt(LANGUAGE.Back , 22, (GXColor){THEME.prompttxt_r, THEME.prompttxt_g, THEME.prompttxt_b, 255}); //{0, 0, 0, 255});
|
||||
backBtnTxt.SetMaxWidth(btnOutline.GetWidth()-30);
|
||||
GuiImage backBtnImg(&btnOutline);
|
||||
if (Settings.wsprompt == yes){
|
||||
backBtnImg.SetWidescreen(CFG.widescreen);}//////
|
||||
GuiButton backBtn(btnOutline.GetWidth(), btnOutline.GetHeight());
|
||||
backBtn.SetAlignment(ALIGN_CENTRE, ALIGN_TOP);
|
||||
backBtn.SetPosition(-180, 400);
|
||||
backBtn.SetLabel(&backBtnTxt);
|
||||
backBtn.SetImage(&backBtnImg);
|
||||
backBtn.SetSoundOver(&btnSoundOver);
|
||||
backBtn.SetSoundClick(&btnClick);
|
||||
backBtn.SetTrigger(&trigA);
|
||||
backBtn.SetTrigger(&trigB);
|
||||
backBtn.SetEffectGrow();
|
||||
|
||||
customOptionList options2(300);
|
||||
|
||||
for (cnt = 0; cnt < countmp3; cnt++) {
|
||||
snprintf(options2.value[cnt], 30, "%s", mp3files[cnt]);
|
||||
sprintf (options2.name[cnt],"%i.", cnt+1);
|
||||
}
|
||||
options2.length = cnt;
|
||||
|
||||
if(cnt < 9) {
|
||||
scrollon = 0;
|
||||
} else {
|
||||
scrollon = 1;
|
||||
}
|
||||
|
||||
GuiCustomOptionBrowser optionBrowser4(396, 280, &options2, CFG.theme_path, "bg_options_settings.png", bg_options_settings_png, scrollon, 85);
|
||||
optionBrowser4.SetPosition(0, 90);
|
||||
optionBrowser4.SetAlignment(ALIGN_CENTRE, ALIGN_TOP);
|
||||
optionBrowser4.SetCol2Position(45);
|
||||
|
||||
int songPlaying=0;
|
||||
|
||||
snprintf(imgPath, sizeof(imgPath), "%sarrow_next.png", CFG.theme_path);
|
||||
GuiImageData next(imgPath, arrow_next_png);
|
||||
snprintf(imgPath, sizeof(imgPath), "%sarrow_previous.png", CFG.theme_path);
|
||||
GuiImageData prev(imgPath, arrow_previous_png);
|
||||
snprintf(imgPath, sizeof(imgPath), "%smp3_stop.png", CFG.theme_path);
|
||||
GuiImageData stop(imgPath, mp3_stop_png);
|
||||
snprintf(imgPath, sizeof(imgPath), "%smp3_pause.png", CFG.theme_path);
|
||||
GuiImageData pause(imgPath, mp3_pause_png);
|
||||
snprintf(imgPath, sizeof(imgPath), "%sstartgame_arrow_right.png", CFG.theme_path);
|
||||
GuiImageData play(imgPath, startgame_arrow_right_png);
|
||||
|
||||
GuiImage nextBtnImg(&next);
|
||||
GuiButton nextBtn(next.GetWidth(), next.GetHeight());
|
||||
nextBtn.SetAlignment(ALIGN_CENTRE, ALIGN_TOP);
|
||||
nextBtn.SetPosition(130, 400);
|
||||
nextBtn.SetImage(&nextBtnImg);
|
||||
nextBtn.SetSoundOver(&btnSoundOver);
|
||||
nextBtn.SetSoundClick(&btnClick);
|
||||
nextBtn.SetTrigger(&trigA);
|
||||
nextBtn.SetEffectGrow();
|
||||
|
||||
GuiImage prevBtnImg(&prev);
|
||||
prevBtnImg.SetWidescreen(CFG.widescreen);
|
||||
GuiButton prevBtn(prev.GetWidth(), prev.GetHeight());
|
||||
prevBtn.SetAlignment(ALIGN_CENTRE, ALIGN_TOP);
|
||||
prevBtn.SetPosition(-60, 400);
|
||||
prevBtn.SetImage(&prevBtnImg);
|
||||
prevBtn.SetSoundOver(&btnSoundOver);
|
||||
prevBtn.SetSoundClick(&btnClick);
|
||||
prevBtn.SetTrigger(&trigA);
|
||||
prevBtn.SetEffectGrow();
|
||||
|
||||
GuiImage playBtnImg(&play);
|
||||
playBtnImg.SetWidescreen(CFG.widescreen);
|
||||
GuiButton playBtn(play.GetWidth(), play.GetHeight());
|
||||
playBtn.SetAlignment(ALIGN_CENTRE, ALIGN_TOP);
|
||||
playBtn.SetPosition(72, 400);
|
||||
playBtn.SetImage(&playBtnImg);
|
||||
playBtn.SetSoundOver(&btnSoundOver);
|
||||
playBtn.SetSoundClick(&btnClick);
|
||||
playBtn.SetTrigger(&trigA);
|
||||
playBtn.SetTrigger(&trigPlus);
|
||||
playBtn.SetEffectGrow();
|
||||
|
||||
GuiImage stopBtnImg(&stop);
|
||||
stopBtnImg.SetWidescreen(CFG.widescreen);
|
||||
GuiButton stopBtn(stop.GetWidth(), stop.GetHeight());
|
||||
stopBtn.SetAlignment(ALIGN_CENTRE, ALIGN_TOP);
|
||||
stopBtn.SetPosition(17, 400);
|
||||
stopBtn.SetImage(&stopBtnImg);
|
||||
stopBtn.SetSoundOver(&btnSoundOver);
|
||||
stopBtn.SetSoundClick(&btnClick);
|
||||
stopBtn.SetTrigger(&trigA);
|
||||
stopBtn.SetTrigger(&trigMinus);
|
||||
stopBtn.SetEffectGrow();
|
||||
|
||||
HaltGui();
|
||||
GuiWindow w(screenwidth, screenheight);
|
||||
w.Append(&oggmenubackground);
|
||||
w.Append(&pathBtn);
|
||||
w.Append(&backBtn);
|
||||
w.Append(&playBtn);
|
||||
w.Append(&nextBtn);
|
||||
w.Append(&prevBtn);
|
||||
w.Append(&stopBtn);
|
||||
mainWindow->Append(&w);
|
||||
mainWindow->Append(&optionBrowser4);
|
||||
|
||||
ResumeGui();
|
||||
|
||||
while(menu == MENU_NONE)
|
||||
{
|
||||
|
||||
if (backBtn.GetState() == STATE_CLICKED) {
|
||||
if(nothingchanged == 1 && countmp3 > 0) {
|
||||
if(!strcmp("", CFG.oggload_path) || !strcmp("notset", CFG.ogg_path)) {
|
||||
bgMusic->Play();
|
||||
} else {
|
||||
bgMusic->PlayOggFile(CFG.ogg_path);
|
||||
}
|
||||
}
|
||||
menu = MENU_SETTINGS;
|
||||
break;
|
||||
}
|
||||
|
||||
if (pathBtn.GetState() == STATE_CLICKED) {
|
||||
mainWindow->Remove(&optionBrowser4);
|
||||
w.Remove(&backBtn);
|
||||
w.Remove(&pathBtn);
|
||||
w.Remove(&playBtn);
|
||||
w.Remove(&nextBtn);
|
||||
w.Remove(&prevBtn);
|
||||
w.Remove(&stopBtn);
|
||||
char entered[43] = "";
|
||||
strncpy(entered, CFG.oggload_path, sizeof(entered));
|
||||
int result = OnScreenKeyboard(entered,43,0);
|
||||
mainWindow->Append(&optionBrowser4);
|
||||
w.Append(&pathBtn);
|
||||
w.Append(&backBtn);
|
||||
w.Append(&playBtn);
|
||||
w.Append(&nextBtn);
|
||||
w.Append(&prevBtn);
|
||||
w.Append(&stopBtn);
|
||||
if ( result == 1 ) {
|
||||
strncpy(CFG.oggload_path, entered, sizeof(CFG.oggload_path));
|
||||
WindowPrompt(LANGUAGE.Backgroundmusicpath,0,LANGUAGE.ok,0,0,0);
|
||||
if(isSdInserted() == 1) {
|
||||
cfg_save_global();
|
||||
if(!strcmp("", CFG.oggload_path)) {
|
||||
bgMusic->Play();
|
||||
}
|
||||
menu = MENU_OGG;
|
||||
break;
|
||||
} else {
|
||||
WindowPrompt(LANGUAGE.NoSDcardinserted, LANGUAGE.InsertaSDCardtosave, LANGUAGE.ok, 0,0,0);
|
||||
}
|
||||
}
|
||||
if(countmp3 > 0) {
|
||||
optionBrowser4.SetFocus(1);
|
||||
}
|
||||
pathBtn.ResetState();
|
||||
}
|
||||
|
||||
ret = optionBrowser4.GetClickedOption();
|
||||
|
||||
if(ret>=0) {
|
||||
choice = WindowPrompt(LANGUAGE.Setasbackgroundmusic,mp3files[ret],LANGUAGE.Yes,LANGUAGE.No,0,0);
|
||||
if(choice == 1) {
|
||||
snprintf(fullpath,150,"%s%s",CFG.oggload_path,mp3files[ret]);
|
||||
choice = bgMusic->PlayOggFile(fullpath);
|
||||
if(choice < 0) {
|
||||
WindowPrompt(LANGUAGE.Notasupportedformat, LANGUAGE.Loadingstandardmusic, LANGUAGE.ok, 0,0,0);
|
||||
sprintf(CFG.ogg_path, "notset");
|
||||
bgMusic->Play();
|
||||
} else {
|
||||
snprintf(CFG.ogg_path, sizeof(CFG.ogg_path), "%s", fullpath);
|
||||
cfg_save_global();
|
||||
SetVolumeOgg(255*(vol/100.0));
|
||||
nothingchanged = 0;
|
||||
}
|
||||
}
|
||||
optionBrowser4.SetFocus(1);
|
||||
}
|
||||
|
||||
if (playBtn.GetState() == STATE_CLICKED && countmp3 > 0) {
|
||||
if(countmp3 > 0) {
|
||||
ret = optionBrowser4.GetSelectedOption();
|
||||
songPlaying=ret;
|
||||
snprintf(fullpath, 150,"%s%s", CFG.oggload_path,mp3files[ret]);
|
||||
choice = bgMusic->PlayOggFile(fullpath);
|
||||
if(choice < 0) {
|
||||
WindowPrompt(LANGUAGE.Notasupportedformat, LANGUAGE.Loadingstandardmusic, LANGUAGE.ok, 0,0,0);
|
||||
if(!strcmp("", CFG.oggload_path) || !strcmp("notset", CFG.ogg_path)) {
|
||||
bgMusic->Play();
|
||||
} else {
|
||||
bgMusic->PlayOggFile(CFG.ogg_path);
|
||||
}
|
||||
}
|
||||
SetVolumeOgg(255*(vol/100.0));
|
||||
songPlaying=ret;
|
||||
nothingchanged = 1;
|
||||
optionBrowser4.SetFocus(1);
|
||||
}
|
||||
playBtn.ResetState();
|
||||
}
|
||||
|
||||
if(nextBtn.GetState() == STATE_CLICKED){
|
||||
if(countmp3 > 0) {
|
||||
songPlaying++;
|
||||
if (songPlaying>(countmp3 - 1)){songPlaying=0;}
|
||||
snprintf(fullpath,150,"%s%s", CFG.oggload_path,mp3files[songPlaying]);
|
||||
choice = bgMusic->PlayOggFile(fullpath);
|
||||
if(choice < 0) {
|
||||
WindowPrompt(LANGUAGE.Notasupportedformat, LANGUAGE.Loadingstandardmusic, LANGUAGE.ok, 0,0,0);
|
||||
if(!strcmp("", CFG.oggload_path) || !strcmp("notset", CFG.ogg_path)) {
|
||||
bgMusic->Play();
|
||||
} else {
|
||||
bgMusic->PlayOggFile(CFG.ogg_path);
|
||||
}
|
||||
}
|
||||
nothingchanged = 1;
|
||||
optionBrowser4.SetFocus(1);
|
||||
}
|
||||
SetVolumeOgg(255*(vol/100.0));
|
||||
nextBtn.ResetState();
|
||||
}
|
||||
if(prevBtn.GetState() == STATE_CLICKED) {
|
||||
if(countmp3 > 0) {
|
||||
songPlaying--;
|
||||
if (songPlaying<0){songPlaying=(countmp3 - 1);}
|
||||
snprintf(fullpath,150,"%s%s", CFG.oggload_path,mp3files[songPlaying]);
|
||||
choice = bgMusic->PlayOggFile(fullpath);
|
||||
if(choice < 0) {
|
||||
WindowPrompt(LANGUAGE.Notasupportedformat, LANGUAGE.Loadingstandardmusic, LANGUAGE.ok, 0,0,0);
|
||||
if(!strcmp("", CFG.oggload_path) || !strcmp("notset", CFG.ogg_path)) {
|
||||
bgMusic->Play();
|
||||
} else {
|
||||
bgMusic->PlayOggFile(CFG.ogg_path);
|
||||
}
|
||||
}
|
||||
nothingchanged = 1;
|
||||
optionBrowser4.SetFocus(1);
|
||||
}
|
||||
SetVolumeOgg(255*(vol/100.0));
|
||||
prevBtn.ResetState();
|
||||
}
|
||||
if(stopBtn.GetState() == STATE_CLICKED) {
|
||||
if(countmp3 > 0) {
|
||||
StopOgg();
|
||||
nothingchanged = 1;
|
||||
optionBrowser4.SetFocus(1);
|
||||
}
|
||||
stopBtn.ResetState();
|
||||
}
|
||||
}
|
||||
|
||||
HaltGui();
|
||||
mainWindow->Remove(&optionBrowser4);
|
||||
mainWindow->Remove(&w);
|
||||
ResumeGui();
|
||||
|
||||
return menu;
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* MenuMp3
|
||||
***************************************************************************/
|
||||
int MenuMp3()
|
||||
{
|
||||
int menu = MENU_NONE, cnt = 0;
|
||||
@ -5102,8 +5452,6 @@ int MenuMp3()
|
||||
snprintf(imgPath, sizeof(imgPath), "%sstartgame_arrow_right.png", CFG.theme_path);
|
||||
GuiImageData play(imgPath, startgame_arrow_right_png);
|
||||
|
||||
|
||||
|
||||
GuiImage nextBtnImg(&next);
|
||||
GuiButton nextBtn(next.GetWidth(), next.GetHeight());
|
||||
nextBtn.SetAlignment(ALIGN_CENTRE, ALIGN_TOP);
|
||||
@ -5241,8 +5589,6 @@ int MenuMp3()
|
||||
mainWindow->Remove(&optionBrowser4);
|
||||
mainWindow->Remove(&w);
|
||||
ResumeGui();
|
||||
return menu;
|
||||
|
||||
|
||||
return menu;
|
||||
}
|
||||
@ -5286,11 +5632,17 @@ int MainMenu(int menu)
|
||||
bgMusic = new GuiSound(bg_music_ogg, bg_music_ogg_size, SOUND_OGG, vol);
|
||||
bgMusic->SetVolume(vol);
|
||||
bgMusic->SetLoop(1); //loop music
|
||||
bgMusic->Play(); // startup music
|
||||
// startup music
|
||||
if(!strcmp("", CFG.oggload_path) || !strcmp("notset", CFG.ogg_path)) {
|
||||
bgMusic->Play();
|
||||
} else {
|
||||
bgMusic->PlayOggFile(CFG.ogg_path);
|
||||
}
|
||||
|
||||
while(currentMenu != MENU_EXIT)
|
||||
{
|
||||
bgMusic->SetVolume(vol);
|
||||
SetVolumeOgg(255*(vol/100.0));
|
||||
|
||||
switch (currentMenu)
|
||||
{
|
||||
case MENU_CHECK:
|
||||
@ -5311,6 +5663,9 @@ int MainMenu(int menu)
|
||||
case MENU_MP3:
|
||||
currentMenu = MenuMp3();
|
||||
break;
|
||||
case MENU_OGG:
|
||||
currentMenu = MenuOGG();
|
||||
break;
|
||||
default: // unrecognized menu
|
||||
currentMenu = MenuCheck();
|
||||
break;
|
||||
|
@ -25,6 +25,7 @@ enum
|
||||
MENU_INSTALL,
|
||||
MENU_CHECK,
|
||||
MENU_GAME_SETTINGS,
|
||||
MENU_OGG,
|
||||
MENU_MP3
|
||||
};
|
||||
|
||||
|
@ -134,7 +134,7 @@ if (dir == NULL) //If empty
|
||||
}
|
||||
}
|
||||
|
||||
qsort(mp3files, countmp3, sizeof(char[80]), filenamescmp);
|
||||
qsort(mp3files, countmp3, sizeof(char[70]), filenamescmp);
|
||||
|
||||
return countmp3;
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
char mp3files[500][80];
|
||||
char mp3files[300][70];
|
||||
|
||||
void StopMp3();
|
||||
void SetMp3Volume(u32 vol);
|
||||
|
@ -25,7 +25,10 @@
|
||||
*/
|
||||
|
||||
#include "oggplayer.h"
|
||||
#include "mp3s.h"
|
||||
#include <gccore.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
/* OGG control */
|
||||
|
||||
@ -287,6 +290,43 @@ int PlayOgg(int fd, int time_pos, int mode)
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int PlayOggFromFile(char * path, int loop) {
|
||||
|
||||
u32 filesize = 0;
|
||||
char * bufferogg = NULL;
|
||||
size_t resultogg;
|
||||
|
||||
FILE * pFile;
|
||||
pFile = fopen (path, "rb");
|
||||
|
||||
//Check that pFile exist
|
||||
if (pFile==NULL){
|
||||
return -1;
|
||||
}
|
||||
|
||||
// get file size:
|
||||
fseek (pFile , 0 , SEEK_END);
|
||||
filesize = ftell (pFile);
|
||||
rewind (pFile);
|
||||
|
||||
// allocate memory to contain the whole file:
|
||||
bufferogg = (char*) malloc (sizeof(char)*filesize);
|
||||
if (bufferogg == NULL) {fputs (" Memory error",stderr); exit (2);}
|
||||
|
||||
// copy the file into the buffer:
|
||||
resultogg = fread (bufferogg,1,filesize,pFile);
|
||||
if (resultogg != filesize) {fputs (" Reading error",stderr); exit (3);}
|
||||
|
||||
fclose (pFile);
|
||||
|
||||
if (loop)
|
||||
return PlayOgg(mem_open((char *)bufferogg, filesize), 0, OGG_INFINITE_TIME);
|
||||
else
|
||||
return PlayOgg(mem_open((char *)bufferogg, filesize), 0, OGG_ONE_TIME);
|
||||
}
|
||||
|
||||
|
||||
void PauseOgg(int pause)
|
||||
{
|
||||
if (pause)
|
||||
@ -325,6 +365,7 @@ int StatusOgg()
|
||||
void SetVolumeOgg(int volume)
|
||||
{
|
||||
private_ogg.volume = volume;
|
||||
SND_Pause(0);
|
||||
|
||||
SND_ChangeVolumeVoice(0, volume, volume);
|
||||
}
|
||||
|
@ -68,6 +68,12 @@ extern "C"
|
||||
|
||||
int PlayOgg(int fd, int time_pos, int mode);
|
||||
|
||||
/*------------------------------------------------------------------------------------------------------------------------------------------------------*/
|
||||
/* int PlayOgg(char * path, int loop);
|
||||
Just give the function the full device+path to OGG to play it
|
||||
loop = 1 for Loop and 0 for one time playing
|
||||
*/
|
||||
int PlayOggFromFile(char * path, int loop);
|
||||
/*------------------------------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* void StopOgg();
|
||||
|
Loading…
Reference in New Issue
Block a user