Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not get right file name of beatmap file. #56

Open
Someone999 opened this issue Oct 14, 2021 · 80 comments
Open

Can not get right file name of beatmap file. #56

Someone999 opened this issue Oct 14, 2021 · 80 comments

Comments

@Someone999
Copy link
Contributor

Someone999 commented Oct 14, 2021

image
DirectoryName seems right, but the filename is wrong.
Whatever the filename is made up of only ASCII characters or other multi-byte characters.
Osu version: b20211004
ORTDP version: 1.6.6

@Someone999
Copy link
Contributor Author

Information in debug mode
image

@Someone999
Copy link
Contributor Author

Someone999 commented Oct 14, 2021

Content read from detected memory by ORTDP.
image
In code, the offset of the filename is 0x8C, so I tried to read 256 bytes start at the address stored in 0x03CB3D50 + 0x8C. The data that I got is not a string.

@Someone999
Copy link
Contributor Author

Someone999 commented Oct 14, 2021

I found that the offset of the filename has changed to 0x90. Please update your code.

@Someone999
Copy link
Contributor Author

image
Dump of the memory region

@Someone999
Copy link
Contributor Author

First 8 bytes of this region are {0x08, 0xfe, 0xfa ,0x00, 0x59, 0x00, 0x00, 0x00}

@Someone999
Copy link
Contributor Author

There is another problem here. The base address of the Mode can not be found.
image

@Someone999
Copy link
Contributor Author

Someone999 commented Oct 14, 2021

This is what I found about the matching patterns.

Base Addresses:

  • Mode:
    • MemoryRegions:
      • Normal:
        • 0x0843B988: 67,19,05,01,74,0F,86,3D,X,X,X,X,00,0F,94,C0,0F,B6,C0,EB
        • 0x0849A8F4: 67,19,05,01,74,0F,86,3D,X,X,X,X,01,75,34,B9,5D,C0,DD,8F
        • 0x087EBB08: 55,8B,EC,56,8B,F1,83,3D,X,X,X,X,02,74,1B,B9,60,A5,93,12
        • 0x087EBD9C: 01,00,00,00,0F,B6,F8,A1,X,X,X,X,85,C0,74,0E,83,F8,02,0F
        • 0x087ED9B8: 74,14,85,D2,75,10,83,3D,X,X,X,X,01,74,07,33,C0,E9,1E,03
        • 0x087EE490: FF,33,D2,86,55,CC,83,3D,X,X,X,X,01,75,0C,C7,45,E0,8F,C2
        • 0x087EED7C: 0F,84,3E,01,00,00,83,3D,X,X,X,X,00,0F,85,31,01,00,00,8B
        • 0x129C4BB8: 00,00,85,C0,74,14,8B,15,X,X,X,X,FF,35,50,3D,CB,03,FF,15
        • 0x129C4BCC: 3C,9E,97,12,5D,C3,83,3D,X,X,X,X,03,75,06,81,E1,A7,FB,EF
        • 0x129C5458: 00,04,00,00,E8,55,83,3D,X,X,X,X,03,75,07,B8,00,80,00,00
        • 0x129D5FBC: 0F,84,73,01,00,00,83,3D,X,X,X,X,01,0F,84,66,01,00,00,8B
        • 0x129DAFE0: 0F,84,FD,01,00,00,83,3D,X,X,X,X,00,0F,85,F0,01,00,00,DD
        • 0x150C79B0: 00,0F,85,98,00,00,00,A1,X,X,X,X,48,83,F8,03,73,6D,FF,24
        • 0x15CB2990: 55,8B,EC,56,8B,F1,83,3D,X,X,X,X,03,75,4A,8B,C6,25,10,00
        • 0x15CBACD0: 83,FC,EA,8B,F0,57,FF,35,X,X,X,X,8B,CE,8B,55,B8,FF,15,88
        • 0x15CBB164: 7F,FC,EA,8B,F0,57,FF,35,X,X,X,X,8B,CE,8B,D3,FF,15,7C,32
        • 0x160F4054: FF,15,2C,E7,83,12,83,3D,X,X,X,X,03,75,51,A1,08,64,19,05
        • 0x160F41E8: EC,89,45,F0,8B,D9,83,3D,X,X,X,X,00,74,08,8D,65,F4,5B,5E
        • 0x1C7908D4: 00,00,85,C0,74,01,C3,A1,X,X,X,X,C3,00,00,00,00,00,00,00
        • 0x1C953194: 3B,08,85,C0,75,15,8B,15,X,X,X,X,B9,27,00,00,00,FF,15,24
        • 0x1C95666C: 14,E5,1E,08,55,8B,EC,A1,X,X,X,X,83,F8,04,73,27,FF,24,85
      • Overlapped:
        • 1:
          Pair: 0x1524D858,0x1524D860
          Regions:
          • 55,8B,EC,57,56,53,3B,0D,-{X,X,X,X,74,62,89,0D,X,X,X,X}-
          • -{X,X,X,X,74,62,89,0D,X,X,X,X}-,8B,3D,2C,3D,CB,03,85,FF

@wanjiaXG
Copy link
Contributor

OsuRTDataProvider.zip
Try use this dll, i added osu ver 20211014 support. ;w;

@23cku0r
Copy link

23cku0r commented Oct 14, 2021

OsuRTDataProvider.zip Try use this dll, i added osu ver 20211014 support. ;w;

Hello, can you send new offsets?

@wanjiaXG
Copy link
Contributor

OsuRTDataProvider.zip Try use this dll, i added osu ver 20211014 support. ;w;

Hello, can you send new offsets?

here #57

@Someone999
Copy link
Contributor Author

OsuRTDataProvider.zip Try use this dll, i added osu ver 20211014 support. ;w;

Thanks

@Someone999
Copy link
Contributor Author

OsuRTDataProvider.zip Try use this dll, i added osu ver 20211014 support. ;w;

Hello, can you send new offsets?

I wrote it also. Form 0x8c to 0x90.

@Someone999
Copy link
Contributor Author

The new offset of Beatmap filename.

@Someone999
Copy link
Contributor Author

Someone999 commented Oct 15, 2021

I had modified and compiled the code about Beatmap Filename myself. The new problem is the ModFinder init failed. Now we need a new base address of Mode.

@wanjiaXG
Copy link
Contributor

I had modified and compiled the code about Beatmap Filename myself. The new problem is the ModFinder init failed. Now we need a new base address of Mode.

I didn't find this error on my pc, now I use OsuRTDataProvider.zip this file.
image

@wanjiaXG
Copy link
Contributor

image

@Someone999
Copy link
Contributor Author

ok, thanks

@Someone999
Copy link
Contributor Author

Someone999 commented Oct 15, 2021

I will confirm it.

@Someone999
Copy link
Contributor Author

image
This problem is still here.

@Someone999
Copy link
Contributor Author

image

@wanjiaXG
Copy link
Contributor

Maybe is host program error. I use osu!sync 2.18.5 is ok, I haven't used osu!sync GUI

@Someone999
Copy link
Contributor Author

I used an elder version because of some reason.

@Someone999
Copy link
Contributor Author

Maybe related to system

@wanjiaXG
Copy link
Contributor

My environment is Win10 1809, My friend Win7 is ok.

@Someone999
Copy link
Contributor Author

Mine is Win11 22000.194

@Someone999
Copy link
Contributor Author

But this works before 7 days

@Someone999
Copy link
Contributor Author

image
Pattern not found

@wanjiaXG
Copy link
Contributor

Can you sent your program or add QQ(1051249625) talk.(English bad,gg)

@Someone999
Copy link
Contributor Author

直接开始问题也不大

@Someone999
Copy link
Contributor Author

程序的话,没啥好说的,一个样

@Someone999
Copy link
Contributor Author

image

@Someone999
Copy link
Contributor Author

偏了2个字节

@Someone999
Copy link
Contributor Author

\x0F\x84\x73\x01\x00\x00\x83\x3D\x00\x00\x00\x00\x01\x0F\x84\x66\x01\x00\x00\x8B

@Someone999
Copy link
Contributor Author

不应该啊,咋偏的

@Someone999
Copy link
Contributor Author

改了一下调用的偏移,好像可以了

@wanjiaXG
Copy link
Contributor

win11这波是要单独处理了么Orz

@Someone999
Copy link
Contributor Author

但是啥数据都没有啊

@Someone999
Copy link
Contributor Author

虽然模式整个可以读出来,但是RealTimePPDisplayer那边的数据完全读不到

@Someone999
Copy link
Contributor Author

image

@Someone999
Copy link
Contributor Author

Acc我本来是自己计算的,但是因为c300那些数据都读不到

@Someone999
Copy link
Contributor Author

读不到是因为事件根本就没触发,再次炸裂

@Someone999
Copy link
Contributor Author

Win11这是几个意思

@wanjiaXG
Copy link
Contributor

我用源码重新搭建了一次环境,正常能用

@wanjiaXG
Copy link
Contributor

image

@wanjiaXG
Copy link
Contributor

我等会儿发下整个项目你试试

@wanjiaXG
Copy link
Contributor

@Someone999
Copy link
Contributor Author

找pattern真的很烦人

@Someone999
Copy link
Contributor Author

所有的项目全部编译一次是吗

@wanjiaXG
Copy link
Contributor

忘了传oppai.dll, 不过加进去应该就能用, mania貌似算不到pp,但是miss 100 50那些可以拿到

@wanjiaXG
Copy link
Contributor

你就重新编译一次吧,我这边std模式是正常的,mania就不显示pp

@Someone999
Copy link
Contributor Author

Sync不见了

@Someone999
Copy link
Contributor Author

要不这样,我把我这边的插件打个包,发到你那里去

@Someone999
Copy link
Contributor Author

待会儿加你qq

@Someone999
Copy link
Contributor Author

ortdp我弄你那个

@wanjiaXG
Copy link
Contributor

image
藏得深(摊手

@Someone999
Copy link
Contributor Author

@wanjiaXG
Copy link
Contributor

然后要手动复制下dll到plugins目录

@wanjiaXG
Copy link
Contributor

太草了

@Someone999
Copy link
Contributor Author

image

@Someone999
Copy link
Contributor Author

我qq 2668585799,待会儿同意一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants