Lee
October 30th, 2002, 17:43
Since Hacktarux is part of the UltraHLE 2 team, and he is already known for his Linux and Windows emulator Mupen64, will he/the whole team port the emulator to Linux?
:linux:
0_Avenger_0
October 30th, 2002, 18:12
I doubt greatly that UHLE will be ported to linux. Many of the functions link directly to DirectX and Windows API which is very difficult to translate over to linux APIs
Stez02k
October 30th, 2002, 18:30
u sure that DirectX is used by UltraHLE? I'm pretty sure it was glide, that should be ok to port
Stez
bjl667
October 30th, 2002, 19:44
UltraHLE uses DirectX for Audio, Glide for video, but some of the emulator timing uses windows api's so I dunno if its possible, it probably will be but we'll have to wait a see. :!!!:
0_Avenger_0
October 30th, 2002, 20:49
Originally posted by Stez02k
u sure that DirectX is used by UltraHLE? I'm pretty sure it was glide, that should be ok to port
Stez
Acutally it uses both. DirectX is a combination of a set of input, sound and grapghic API. UHLE uses DirectInput for its input, DirectSound for its sound, but doesn't use D3D (Direct3D) for its video, it uses glide for its video. So what I was saying is that it would be difficult to port it to linux beacuse you'd have to rewrite quite a bit for UHLEs source, the parts for input (which is very small) and sound (which is quite large). Also Linux uses Glide API a lot differently then the Windows Glide API.
Not to mention that you'd have to completely re-write the GUI in QT or GLADE (or some other GUI program for Linux).
Hacktarux
October 30th, 2002, 21:01
It seems pointless to make a port of uhle to linux. Firstly well, you'll have to rewrite all the i/o code as some of u have explained in this thread but it's the easier part. Then you have to rewrite all the internal memory code so that it doesn't use virtual allocation. And finally you have to rewrite all the asm code to at&t asm. It's a lot of work that would end in a total rewrite of uhle and the result won't be what you expect imo.
zero0w
October 31st, 2002, 07:09
I was hoping to see a Linux Port or something but it seems difficult to do as Hacktarux has described. Total rewrite maybe required for a cross-platform approach with OpenGL and SDL support. :(
Stez02k
October 31st, 2002, 14:14
Originally posted by 0_Avenger_0
Acutally it uses both. DirectX is a combination of a set of input, sound and grapghic API. UHLE uses DirectInput for its input, DirectSound for its sound, but doesn't use D3D (Direct3D) for its video, it uses glide for its video. So what I was saying is that it would be difficult to port it to linux beacuse you'd have to rewrite quite a bit for UHLEs source, the parts for input (which is very small) and sound (which is quite large). Also Linux uses Glide API a lot differently then the Windows Glide API.
Not to mention that you'd have to completely re-write the GUI in QT or GLADE (or some other GUI program for Linux).
ah, thanx for the info, much appriciated :) and know that Hacktarux is now part of the UHLE2 Team, thats gr8 news, Keep up the good work guys :thumbsup:
Stez
vBulletin v3.6.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.