hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
11.08k stars 2.16k forks source link

ui_atlas.zim - license / DamonPS2 / etc #10402

Closed inactive123 closed 6 years ago

inactive123 commented 6 years ago

Hi there @hrydgard,

I have asked @mudlord to look into that Damon PS2 thing, he has helped me before in the Hyperkin Retron5 situation to reverse the dynamic libraries they were using on Android. In addition to PCSX2 database files he has also found a file called 'ui_atlas.zim'.

https://github.com/hrydgard/ppsspp/blob/master/assets/ui_atlas.zim

They are using a commercial DRM to obfuscate the main emulator library.

libserial.so most definitely contains portions of PCSX2.

I will share more details with you as they become available. Maybe he can also comment in this thread.

ghost commented 6 years ago

libserial.so contains the bits as people on reddit pointed out before. Logic for image parsing is there.

The DRM in use is Jiagu 360, a DRM which does runtime code encryption/decryption of any binary code. Just like VMProtect/Denuvo. Making it very, very difficult to RE statically without unpacking the binary first. And even then, my Android executable unpacking abilities are elementary at best. (its been years since I touched a major Android protection).

I found carbon copies for the PCXS2 game database as well as its own DB for per game ARM dynarec hacks.

brujo5 commented 6 years ago

I see this to.

Anyways I tested this emulator in android with snapdragon 835 and I can says is very promising. Almost full speed 50 - 60fps in games like cold fear, fatal frame, God of war 2, super dragon ball z etc. The only thing is you need to pay for the emulator.

Zer0xFF commented 6 years ago

they have not been able to obscure the serial retrieving function since they have a reference to it in android UI itself. the serial reference all point to PCSX2 code. @gregory38 this, this, this, this thats 4 different references in 4 different PCSX2 files found inside that emu.

inactive123 commented 6 years ago

@Thunder07 Yeah I agree, somebody from PCSX2 and/or @gregory38 needs to start getting involved as well.

ui_atlas.zim is a PPSSPP file though. Not sure what the licensing terms on that is, was hoping @hrydgard would be able to clarify.

Zer0xFF commented 6 years ago

@twinaphex unless explicitly stated I don't see why that file would also not be GPL, however, the fact that the file is there should draw more attention to the fact that more code is probably used, their intro before the PS2 boot sequence looks like ppsspp background !bootsq

iOS4all commented 6 years ago

Can you please give us Cydia repo of this emu or deb file to could test it on my jailbroken iPad Air 2? Because the creator of demonps2 wrote for android & iOS.

Thanks

ghost commented 6 years ago

Don't worry guys, according to the damon ps2 page they'll open source parts of it once they have 80 million downloads. By that time they'd have made nearly half a billion dollars reselling stolen pcsx2 / ppsspp code

meepingsnesroms commented 6 years ago

I have a feeling this is way more than just pcsx2, they got the dynarec from ppsspp or play! since there is no pcsx2 arm dynarec, they obviously have something to hide by encrypting the librarys, something other emu scammers dont even bother with.(I found the symbols in superGnes/superRetro16 by searching "FX" for the superfx symbols in a hex editor)

This feels like ransomware built with stolen emulators.

When something costs money it gives the illusion of legitimacy and it appears this emulator actually works too, they also mention on there app listing that when it gets so many downloads it will become free, a very stupid strategy to make money.

About Free Versions and Open Source : To speed up the development of the DamonPS2 Emulator, we need more money and hire more developers. So, After the paid version downloads more than 50,000, we will provide free version to the player to download. In terms of game ROM compatibility, the paid version and the free version will be the same. But the paid version will continue to own and increase the exclusive features that distinguish it from the free version. After more than 80 million downloads from Google Play's free version, we will try to open source gradually. As developers in China, contribute to the word's console emulator open source community.

If any of that where true they would just open source it now, get free development help and take donations like ppsspp.

You should try wireshark, see if it phones home to an obscure domain.

blackman91 commented 6 years ago

Quick video of the emulator UI and settings, maybe it can provide some clues to you guys: https://drive.google.com/file/d/1Bg5ljmEBYtq-Sp2HxKmlWXVWcnSy3CFO/view

Also link to the databases the emulator saves to your internal storage: https://drive.google.com/file/d/1qnnSI7vaIAIYBySaQqpDX97_s2DE3T-R/view

hrydgard commented 6 years ago

Very strange stuff. The main menu is clearly Android native while the pause menu looks very ripped from PPSSPP...

Zer0xFF commented 6 years ago

@brujo5 and @iOS4all are you fucking idiots seriously having this conversation here. we're talking about stolen code which makes this emulator illegal, if proven, that code has to be made public which will benefit EVERYONE in the community and unfortunately you 2 idiots... but you 2 just want to get frisky and want to throw your money at him!!

brujo5 commented 6 years ago

Calm down man :/ do not talk to me about ethics that you are also looking for benefits

Send your proof to Google. They will remove emulator.

Exophase drastic ds emulator never made it public source.

hrydgard commented 6 years ago

Closing this, it's not really relevant. PCSX2 might want to figure out what to do. As it's a PS2 emulator I can't imagine that they've used very much from PPSSPP except the UI stuff (which is of course bad, but we'll see what happens). I guess possibly they could have grabbed the emitters and some small parts of the JITs, and maybe the audio mixer, but otherwise the PS2 is barely related to the PSP.