OsuRTDataProvider icon indicating copy to clipboard operation
OsuRTDataProvider copied to clipboard

Can not get right file name of beatmap file.

Open Someone999 opened this issue 3 years ago • 80 comments

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 avatar Oct 14 '21 08:10 Someone999

Information in debug mode image

Someone999 avatar Oct 14 '21 08:10 Someone999

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 avatar Oct 14 '21 09:10 Someone999

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

Someone999 avatar Oct 14 '21 12:10 Someone999

image Dump of the memory region

Someone999 avatar Oct 14 '21 12:10 Someone999

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

Someone999 avatar Oct 14 '21 12:10 Someone999

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

Someone999 avatar Oct 14 '21 13:10 Someone999

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

Someone999 avatar Oct 14 '21 14:10 Someone999

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

wanjiaXG avatar Oct 14 '21 19:10 wanjiaXG

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

Hello, can you send new offsets?

23cku0r avatar Oct 14 '21 20:10 23cku0r

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

Hello, can you send new offsets?

here https://github.com/OsuSync/OsuRTDataProvider/pull/57

wanjiaXG avatar Oct 14 '21 20:10 wanjiaXG

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

Thanks

Someone999 avatar Oct 15 '21 06:10 Someone999

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 avatar Oct 15 '21 06:10 Someone999

The new offset of Beatmap filename.

Someone999 avatar Oct 15 '21 06:10 Someone999

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.

Someone999 avatar Oct 15 '21 06:10 Someone999

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 avatar Oct 15 '21 12:10 wanjiaXG

image

wanjiaXG avatar Oct 15 '21 12:10 wanjiaXG

ok, thanks

Someone999 avatar Oct 15 '21 12:10 Someone999

I will confirm it.

Someone999 avatar Oct 15 '21 12:10 Someone999

image This problem is still here.

Someone999 avatar Oct 15 '21 12:10 Someone999

image

Someone999 avatar Oct 15 '21 12:10 Someone999

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

wanjiaXG avatar Oct 15 '21 12:10 wanjiaXG

I used an elder version because of some reason.

Someone999 avatar Oct 15 '21 12:10 Someone999

Maybe related to system

Someone999 avatar Oct 15 '21 12:10 Someone999

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

wanjiaXG avatar Oct 15 '21 13:10 wanjiaXG

Mine is Win11 22000.194

Someone999 avatar Oct 15 '21 13:10 Someone999

But this works before 7 days

Someone999 avatar Oct 15 '21 13:10 Someone999

image Pattern not found

Someone999 avatar Oct 15 '21 13:10 Someone999

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

wanjiaXG avatar Oct 15 '21 13:10 wanjiaXG

直接开始问题也不大

Someone999 avatar Oct 15 '21 13:10 Someone999

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

Someone999 avatar Oct 15 '21 13:10 Someone999