(08-03-2010, 07:49 PM)gid15 Wrote: I've added scePowerGetPllClockFrequencyInt in r1721. Does it help?
Yes, it now shows the two Namco logos but where it should play the video it hangs (high CPU load)
Code:
11391 [GUI] INFO misc - Jpcsp v0.5 1721
11391 [GUI] INFO misc - UMD param.sfo :
APP_VER = 01.00
BOOTABLE = 1
CATEGORY = UG
DISC_ID = ULUS10466
DISC_NUMBER = 1
DISC_TOTAL = 1
DISC_VERSION = 1.00
HRKGMP_VER = 18
PARENTAL_LEVEL = 5
PSP_SYSTEM_VER = 6.10
REGION = 32768
TITLE = TEKKEN 6
USE_USB = 0
probably homebrew? false
11391 [GUI] INFO misc - Loading global compatibility settings
11391 [GUI] INFO ge - Only GE Graphics: false
11391 [GUI] INFO hle - Media Engine enabled
11438 [GUI] INFO hle.audio - Audio ChReserve disabled: false
11438 [GUI] INFO hle.audio - Audio Blocking disabled: false
11438 [GUI] INFO hle - Audio threads disabled: false
11438 [GUI] INFO memory - Ignore invalid memory access: true
11438 [GUI] INFO hle - Ignore Unmapped Imports enabled
11641 [GUI] INFO misc - Unrecognized file format
11641 [GUI] INFO misc - File magic 00 00 00 00
11750 [GUI] WARN misc - .shstrtab section not found
11797 [GUI] WARN misc - ELF is not PRX, but has no section headers!
11797 [GUI] WARN misc - Manually locating ModuleInfo at address: 0x8b89740
11813 [GUI] INFO misc - Found ModuleInfo name:'tekken' version:0101 attr:00000000 gp:08c022b0
11813 [GUI] INFO misc - Found 268 imports from 30 modules
11813 [GUI] WARN misc - Failed to map import at 0x08B89268 [0x58B83577] Module 'scePsmfPlayer'(attempt 1)
11813 [GUI] INFO misc - 267 NIDS mapped
11813 [GUI] INFO misc - 1 remaining unmapped NIDS
11828 [GUI] INFO hle - pspiofilemgr - filepath disc0/
11860 [GUI] INFO ge - OpenGL version: 3.3.9901 Compatibility Profile Context
11891 [GUI] INFO ge - Using VBO
13406 [Emu] INFO runtime - Using Compiler
13719 [root] WARN hle - Unsupported syscall 213c SysMemUserForUser_91DE343C 05050010 09fffe00 00000000
13750 [user_main] INFO compiler - Replacing CodeBlock at 0x08B7C8DC by Native Code 'strlen'
13750 [user_main] INFO compiler - Replacing CodeSequence at 0x08B7A3BC-0x08B7A460 by Native Code 'memset'
13781 [user_main] INFO compiler - Replacing CodeSequence at 0x08B7A3BC-0x08B7A460 by Native Code 'memset'
13844 [user_main] WARN hle - sceKernelChangeThreadPriority SceUID=ffffffff newPriority:0x13) unknown thread
13844 [user_main] WARN hle - sceKernelChangeThreadPriority SceUID=ffffffff newPriority:0x13) unknown thread
13860 [user_main] WARN hle - sceKernelChangeThreadPriority SceUID=ffffffff newPriority:0x13) unknown thread
13860 [user_main] WARN hle - sceKernelChangeThreadPriority SceUID=ffffffff newPriority:0x13) unknown thread
13860 [user_main] WARN hle - sceKernelChangeThreadPriority SceUID=ffffffff newPriority:0x13) unknown thread
13860 [user_main] WARN hle - sceKernelChangeThreadPriority SceUID=ffffffff newPriority:0x13) unknown thread
13860 [user_main] WARN hle - sceKernelChangeThreadPriority SceUID=ffffffff newPriority:0x13) unknown thread
13860 [user_main] WARN hle - sceKernelChangeThreadPriority SceUID=ffffffff newPriority:0x13) unknown thread
13875 [user_main] INFO compiler - Replacing CodeBlock at 0x08ACFD44 by Native Code 'nop'
13891 [user_main] INFO compiler - Replacing CodeBlock at 0x08AEBB70 by Native Code 'nop'
14500 [user_main] INFO compiler - Splitting _S1_3_8939FE8 (5121/3000)
14578 [user_main] INFO compiler - Replacing CodeBlock at 0x08865488 by Native Code 'nop'
14625 [user_main] WARN memory - IGNORED: read8 - Invalid memory address : 0x0 PC=08804238
14688 [user_main] WARN hle - UNIMPLEMENTED:sceKernelCreateFpl option at 0x9fff570 (size=8)
14781 [user_main] WARN hle - sceDisplaySetFrameBuf(topaddr=0x0,bufferwidth=0,pixelformat=0,sync=1) bad params
14828 [user_main] INFO compiler - Replacing CodeBlock at 0x08ACD010 by Native Code 'nop'
14860 [user_main] INFO compiler - Replacing CodeBlock at 0x088789E8 by Native Code 'nop'
14906 [user_main] INFO hle - sceDisplaySetFrameBuf(topaddr=0x4044000,bufferwidth=512,pixelformat=1,sync=1) ok
14969 [user_main] INFO compiler - Replacing CodeBlock at 0x0885F3D8 by Native Code 'nop'
15016 [user_main] WARN hle - UNIMPLEMENTED:scePowerRegisterCallback slot=-1 SceUID=25
15094 [user_main] WARN hle - Unsupported syscall 2158 WlanGetEtherAddr 09fff590 090b2560 08b926d0
15110 [openPac] WARN hle - hleKernelNotifyCallback(type=0) no registered callbacks to push
15125 [openPac] INFO hle - hleIoOpen filename = disc0:/PSP_GAME/USRDIR/DATA401.IDX flags = 1 permissions = 00
15172 [nuFileAsync] INFO hle - hleIoOpen filename = disc0:/PSP_GAME/USRDIR/DINF_400.BIN flags = 1 permissions = 0644
15250 [nuFileAsync] INFO hle - hleIoOpen filename = disc0:/PSP_GAME/USRDIR/DATA401.IDX flags = 1 permissions = 0644
15281 [user_main] WARN hle - hleKernelLoadModule(path='ms0:/MEMSTICK.IND') can't find file
15281 [user_main] WARN hle - hleKernelLoadModule(path='ms0:/MSTK_PRO.IND') can't find file
15313 [ktRead] INFO hle - hleIoOpen filename = disc0:/sce_lbn0x38370_size0x16e42800 flags = 1 permissions = 00
15516 [user_main] INFO compiler - Replacing CodeSequence at 0x08B7A3BC-0x08B7A460 by Native Code 'memset'
15547 [user_main] INFO compiler - Replacing CodeBlock at 0x088687C8 by Native Code 'nop'
15547 [user_main] INFO compiler - Replacing CodeBlock at 0x0886A958 by Native Code 'nop'
15594 [user_main] INFO compiler - Replacing CodeBlock at 0x0882D6C8 by Native Code 'nop'
15703 [user_main] INFO hle - IGNORING:sceUtilityLoadModule(module=0x0301) PSP_MODULE_AV_SASCORE
15703 [user_main] INFO hle - IGNORING:sceUtilityLoadModule(module=0x0300) PSP_MODULE_AV_AVCODEC
15703 [user_main] INFO hle - IGNORING:sceUtilityLoadModule(module=0x0302) PSP_MODULE_AV_ATRAC3PLUS
15735 [user_main] WARN hle - Unsupported syscall 2158 WlanGetEtherAddr 09fff500 59414c50 4e5f5245
15750 [user_main] INFO compiler - Replacing CodeBlock at 0x08B7E1C4 by Native Code 'nop'
15750 [user_main] INFO compiler - Replacing CodeBlock at 0x08B7E1CC by Native Code 'nop'
15766 [user_main] WARN hle - Unsupported syscall 2158 WlanGetEtherAddr 09fff500 59414c50 4e5f5245
15875 [user_main] INFO compiler - Replacing CodeBlock at 0x089B6668 by Native Code 'nop'
16422 [user_main] INFO compiler - Replacing CodeBlock at 0x08806A60 by Native Code 'nop'
16469 [user_main] INFO compiler - Replacing CodeBlock at 0x089C9104 by Native Code 'nop'
17000 [user_main] INFO compiler - Replacing CodeSequence at 0x08B7A3BC-0x08B7A460 by Native Code 'memset'
17016 [user_main] INFO compiler - Replacing CodeSequence at 0x08B7A3BC-0x08B7A460 by Native Code 'memset'
17063 [user_main] INFO compiler - Replacing CodeBlock at 0x0886E2EC by Native Code 'nop'
17360 [user_main] INFO hle - PARTIAL __sceSasInit: sasCore=0x08c5dec0, unk1=0x00000100, unk2=0x00000020, unk3=0x00000000, sampleRate=48000
17360 [user_main] WARN hle - sceKernelChangeThreadPriority SceUID=ffffffff newPriority:0x12) unknown thread
17360 [user_main] WARN hle - Unimplemented function sceAtracReinit 00000000 00000003 00000000 00000000 00000000 00000061
17516 [user_main] INFO compiler - Replacing CodeSequence at 0x08B7A3BC-0x08B7A460 by Native Code 'memset'
17531 [user_main] INFO compiler - Replacing CodeBlock at 0x08B068DC by Native Code 'nop'
17531 [user_main] INFO compiler - Replacing CodeBlock at 0x08AFBA28 by Native Code 'nop'
17594 [user_main] INFO compiler - Replacing CodeBlock at 0x08980620 by Native Code 'nop'
17610 [user_main] INFO compiler - Replacing CodeBlock at 0x089805F8 by Native Code 'nop'
17610 [user_main] INFO compiler - Replacing CodeBlock at 0x08980610 by Native Code 'nop'
17625 [user_main] INFO compiler - Replacing CodeBlock at 0x08980840 by Native Code 'nop'
17672 [user_main] INFO compiler - Replacing CodeBlock at 0x08893E0C by Native Code 'nop'
17703 [user_main] INFO compiler - Replacing CodeBlock at 0x08980618 by Native Code 'nop'
17781 [user_main] INFO compiler - Replacing CodeBlock at 0x0892D35C by Native Code 'nop'
17797 [user_main] INFO hle - PARTIAL:sceUtilityMsgDialogInitStart unknown 0x00000000
mode PSP_UTILITY_MSGDIALOG_MODE_TEXT
errorValue 0x00000000
message 'TEKKEN 6 saves data
automatically at certain
points. Do not remove the
Memory Stick™ or switch off
the system when the
Memory Stick Duo™ access
indicator is flashing.'
options 0x000000A1
buttonPressed 0x00000000
20875 [user_main] WARN hle - sceKernelChangeThreadPriority SceUID=ffffffff newPriority:0x12) unknown thread
21031 [user_main] WARN hle - UNIMPLEMENTED:sceKernelCreateFpl option at 0x9fff590 (size=8)
21047 [user_main] WARN hle - sceDisplaySetFrameBuf(topaddr=0x0,bufferwidth=0,pixelformat=0,sync=1) bad params
21125 [user_main] INFO hle - sceDisplaySetFrameBuf(topaddr=0x4088000,bufferwidth=512,pixelformat=3,sync=1) ok
21360 [user_main] INFO compiler - Replacing CodeBlock at 0x08926844 by Native Code 'nop'
21375 [user_main] INFO compiler - Replacing CodeSequence at 0x08B7A3BC-0x08B7A460 by Native Code 'memset'
21422 [user_main] INFO compiler - Replacing CodeSequence at 0x08B7A3BC-0x08B7A460 by Native Code 'memset'
33797 [user_main] WARN hle - Unsupported syscall 2158 WlanGetEtherAddr 09fff4d0 59414c50 4e5f5245
34031 [loadmoduleThread] INFO hle - IGNORING:sceUtilityLoadModule(module=0x0300) PSP_MODULE_AV_AVCODEC
34031 [loadmoduleThread] INFO hle - IGNORING:sceUtilityLoadModule(module=0x0303) PSP_MODULE_AV_MPEGBASE
34031 [loadmoduleThread] WARN hle - IGNORED:hleKernelLoadModule(path='disc0:/PSP_GAME/USRDIR/modules/psmf.prx'): module from banlist not loaded
34031 [loadmoduleThread] WARN hle - IGNORING:sceKernelStartModule flash module 'psmf'
34031 [loadmoduleThread] WARN misc - Encrypted file not supported! (~SCE)
34031 [loadmoduleThread] WARN hle - IGNORED:hleKernelLoadModule(path='disc0:/PSP_GAME/USRDIR/modules/libpsmfplayer.prx') encrypted module not loaded
34031 [loadmoduleThread] WARN hle - IGNORING:sceKernelStartModule flash module 'libpsmfplayer'
34031 [loadmoduleThread] WARN hle - PARTIAL: sceMpegInit
34063 [user_main] WARN hle - PARTIAL: scePsmfPlayerCreate psmfplayer=0x90f93a4 buffer_addr=0x90f93a8
34078 [user_main] WARN hle - PARTIAL: scePsmfPlayerGetAudioOutSize psmfplayer=0x90f93a4
34094 [user_main] WARN hle - PARTIAL: scePsmfPlayerConfigPlayer psmfplayer=0x90f93a4 stream_type=1 setting=3
34094 [setPsmfThread] WARN hle - IGNORING: Unmapped import @ 0x08A59E0C - 090f93a4 090f9444 0000001a
JPCSP games tested with Athlon X2 4850e, 4 GB RAM, Radeon HD 3300 (onboard), OpenGL: 3.3.11653, Windows XP SP3 32-bit PPSSPP games tested with Intel i3, 4 GB RAM, Intel HD Graphics 2000 (onboard), OpenGL: 3.1.0 Build 6.14.10.5421, Windows XP SP3 32-bit
JPCSP games tested with Athlon X2 4850e, 4 GB RAM, Radeon HD 3300 (onboard), OpenGL: 3.3.11653, Windows XP SP3 32-bit PPSSPP games tested with Intel i3, 4 GB RAM, Intel HD Graphics 2000 (onboard), OpenGL: 3.1.0 Build 6.14.10.5421, Windows XP SP3 32-bit
08-09-2010, 07:22 AM (This post was last modified: 08-09-2010, 07:27 AM by BlackDaemon.)
I decrypted files in "PSP_GAME\USRDIR\modules" folder, but i can't replace them since:
libpsmfplayer.prx: enc-32,144/dec-80,586 bytes and psmf.prx: enc-6,800/dec-11,298 bytes because this game has LBA protection. Maybe possible make some external modules loading? If some of file in "PSP_GAME\USRDIR\modules" has different header (~SCE/~PSP) emulator tryes to load external decrypted files from "JPCSP\tmp\ULUS10466\modules" folder.
08-09-2010, 02:16 PM (This post was last modified: 08-09-2010, 02:22 PM by Hykem.)
(08-09-2010, 07:22 AM)BlackDaemon Wrote: I decrypted files in "PSP_GAME\USRDIR\modules" folder, but i can't replace them since:
libpsmfplayer.prx: enc-32,144/dec-80,586 bytes and psmf.prx: enc-6,800/dec-11,298 bytes because this game has LBA protection. Maybe possible make some external modules loading? If some of file in "PSP_GAME\USRDIR\modules" has different header (~SCE/~PSP) emulator tryes to load external decrypted files from "JPCSP\tmp\ULUS10466\modules" folder.
It is possible, but I'm not sure if it'll help much, atleast not for those two modules.
BlackDaemon, could you or Darth please try this:
1 - Run "Tekken 6" and place a breakpoint on that function;
2 - Wait for the game to stop there and copy the contents of the last register ($ra);
3 - Jump to the address you just copied and you'll see the instruction that calls this syscall;
4 - Center that instruction on the Debugger window, so we can see what happens before and after;
5 - Take a screenshot and post it here.
This way we could check exactly which arguments are used in this function, and if any of them is obvious enough, it may give us a clue to this function's name.
What i do next?
Restart JPCSP, load tekken, enter debugger, go to address 0x90fbd64, check breakpoint at that address and from debugger click run?
Ah sorry, I should have explain this better.
First, open JPCSP and go to the Debugger.
After that, load "Tekken 6" and you'll see it's code on the Debugger. Right at the beginning you'll see some syscalls (the functions written with a blue font), so, right-click on any of them and press "Copy jump or branch address".
Then, jump to the address you copied and you'll see a lot of syscalls in the same place. Here, locate the function scePsmfPlayer_58B83577, select it and press "Add breakpoint".
Now, run "Tekken 6" and it'll stop when it reaches that function.
When this happens, go back to the Debugger and look at the $ra register. It'll have the address you'll have to jump to.
Then, you'll see the full code portion that calls this function and that's what you should post here.
Quote:When this happens, go back to the Debugger and look at the $ra register.
Which $ra register should i choose from screen?
Oh no. Looks like this function is called after an idle context switch. The adress at $ra isn't going to help.
Our best option is to scroll through the whole code until we find that function again.