Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 02:19

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



PS4 Emulator Question

Discussion on PS4 Emulator Question within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 13
Join Date: Jul 2015
Posts: 199
Received Thanks: 143
PS4 Emulator Question

Hey, I'd like to ask why it's so hard to make an Emulator for example PS4. I read that's because the hardware must be emulated too and that you need a really strong machine for that, but isn't it possible to just make the Software work on PC Hardware?

Greetings,
Araz Games
ArazGames is offline  
Old 11/07/2015, 20:29   #2


 
Jeoni's Avatar
 
elite*gold: 966
Join Date: Apr 2010
Posts: 1,104
Received Thanks: 681
That would imply to recode the application to work with a PC.
There are some problems with this approach. The PS4 is using a semi-custom hardware solution which might have some features that the software uses and that normal computer system don't have. So you have to find all those instructions or hardware specific approaches made by the software and find a way to recode them in order to use it on the normal x86_64 instruction set.
Next the PS4 might work with a totally different operating system and may ship own libraries which the software uses. So you'd have to convert all operating system specific mechanics (including things like the system to use shared libraries / DLLs) to solutions that can be used with your operating system and may recode the shipped libraries in the same way as the application itself.
I think it is not impossible, but it is definitly not worth the time. Furthermore I guess that you will encounter several unique cases, so coding a conversion tool would be quite hard to impossible.
With best regards
Jeoni
Jeoni is offline  
Thanks
1 User
Old 11/07/2015, 20:39   #3
 
Shadow992's Avatar
 
elite*gold: 77
Join Date: May 2008
Posts: 5,430
Received Thanks: 5,876
Quote:
Originally Posted by Jeoni View Post
That would imply to recode the application to work with a PC.
There are some problems with this approach. The PS4 is using a semi-custom hardware solution which might have some features that the software uses and that normal computer system don't have. So you have to find all those instructions or hardware specific approaches made by the software and find a way to recode them in order to use it on the normal x86_64 instruction set.
Next the PS4 might work with a totally different operating system and may ship own libraries which the software uses. So you'd have to convert all operating system specific mechanics (including things like the system to use shared libraries / DLLs) to solutions that can be used with your operating system and may recode the shipped libraries in the same way as the application itself.
I think it is not impossible, but it is definitly not worth the time. Furthermore I guess that you will encounter several unique cases, so coding a conversion tool would be quite hard to impossible.
With best regards
Jeoni
Besides that, to asnwer the original question of thread starter, the PS4 is highly optimized for games.
So all kind of "useless" things for games were removed from hardware and this gained space is used for graphical/gaming things.

I never tested it but I am quite sure if you are comparing a mean Dekstop PC with PS4 and use some kind of optimization problems/sorting/etc. as benchmark your pc will be 2-3x faster.

But then if you switch to gaming your pc may have got big problems with newest games and PS4 can handle them easily.

So the main reason why it is not easy (besides the coding fact) to create an emulator is the fact that important things are missing or just too few available in normal desktop-pcs. You will get hard FPS drops.

The only "ok" approach would be the approach of wine for linux.
Wine enables you to execute windows programs under linux.
This is not done by emulating libraries or similiar (ok to be honest if you have a deep look in source code you may find sometimes kind of emulation) but it is mostly done be "recompiling" the windows programs to programs that run on linux.

So if you write a program that recompiles ps4 games to windows/linux games, you may be able to run them on pc. But PS4-OS and libraries are such a giant software... It would be extremly hard to write a converter for this.
Shadow992 is offline  
Thanks
1 User
Old 11/07/2015, 21:19   #4
 
elite*gold: 13
Join Date: Jul 2015
Posts: 199
Received Thanks: 143
Ok, thanks for the answers!
ArazGames is offline  
Old 11/07/2015, 22:43   #5
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Quote:
Originally Posted by Jeoni View Post
...
There is surely nothing wrong with that but for example (PS4 is different I guess) the XBOX 360 or the One (not sure which) had their games developed in SDKs without console hardware. They put PCs in computer stores running the game in the XBOX SDK.

Also it's not impossible to code an emulator but you'd have to crack the bios first and learn about the console because every console handles everything different. The GameBoy for example has a modified Z80 cpu in it with different registers and operations compared to the stock Z80.
alpines is offline  
Reply


Similar Threads Similar Threads
The Best Emulator [QUESTION]
08/11/2013 - DarkOrbit - 5 Replies
I want to know wich is the best emulator , because I want host it and make this server public for EpVp members ;) Sorry for my bad english ,,,,,:handsdown:
[Question] Newest Emulator
03/10/2012 - SRO Private Server - 9 Replies
Hello, I have been trying to set up my own private server , starting with Sremu until SRX , but now I can't set up the damn V-Sro database. Well I want to know if there is an emulator that supports at least alchemy ... Thank you !
Elite CO Emulator - Rev. 180 question
09/04/2010 - CO2 Private Server - 0 Replies
I want to ask if someone can help me setup this Private server. i have downloaded and isntalled the source, and setup the database. login server and Worldserver INI file edited. running the login server - WORKING PERFECT running World server - WORKING PERFECT the last problem what i have is that i can not find any Client that is working with this server. i have an orginal CoEmu Client, but that is olso not working.
Emulator Question
08/02/2010 - SRO Private Server - 8 Replies
Is there a Emulator wehre PVP with euro char is supported and the skills from euro cahrs are completed?
[Question] The warlords emulator
04/22/2010 - Private Server - 4 Replies
hello ppl i wanna know if exist The warlords emulator to do a pserver?? i think is a great game... and i wanna do pserver the warlords :D



All times are GMT +1. The time now is 02:19.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.