Author Topic: Romhack's WIP thread  (Read 23850 times)

Offline samo79

  • Newbies
  • *
  • Posts: 26
  • Karma: +0/-0
Re: Romhack's WIP thread
« Reply #165 on: December 06, 2018, 06:10:38 pm »
Wow great stuff guys, as for now that means we are close to have also support for MIDWAY T UNIT hardware ?
Me hope to play Mortal Kombat 1 and 2 one day ...  :cool:

Offline Diabolus

  • Newbies
  • *
  • Posts: 1
  • Karma: +0/-0
  • Shoryuken!
Re: Romhack's WIP thread
« Reply #166 on: December 11, 2018, 03:17:25 am »
Hi guys, just an update:
latest code is on git - dcs sound is perfect in wolf unit games :)
Here's a new video of Rampage WT (some slight gfx issues were fixed as well)

https://www.youtube.com/watch?v=2Ca9JTBAfbc

Mortal Kombat 3 and Ultimate Mortal Kombat 3 work perfectly as well!  With perfect framerate on my ancient P4 machine  :biggrin:

UMK3 test-video:

https://www.youtube.com/watch?v=BOs4rtgya5w

Still have a few very small issues to iron out regarding the finishing stage of the driver, but the main problems (no sound, running too slow, etc etc) are gone!

best regards,
- dink

That's awesome, thanks for all the work that everyone has done onthe wolf and t unit for FBA.

Online barbudreadmon

  • Expert
  • *****
  • Posts: 297
  • Karma: +9/-0
  • lr-fbalpha developer
Re: Romhack's WIP thread
« Reply #167 on: December 11, 2018, 08:03:23 am »
@Romhack btw, do you know if there are similarities between the mips r4600 and the r4300i used in N64 ? I saw one of the N64 devkit using the r4600 cpu so i would expect this is the case ? If so, there might be some interesting resources to write alternative r4600 interpreters at https://github.com/libretro/parallel-n64/tree/master/mupen64plus-core/src/r4300 (i think this emulator is providing several interpreters, including dynarecs for various arch and a cross-platform cached interpreter)

Offline Haze

  • MAME Devs
  • *****
  • Posts: 157
  • Karma: +45/-0
Re: Romhack's WIP thread
« Reply #168 on: December 11, 2018, 09:43:40 am »
Mupen is GPL2 licensed.

FBA uses code based on old MAME code so has the same non-commercial clause as old MAME (the choice to use that code meant accepting the license it was under)

Due to various reasons (including the non-commercial clause) FBA is not GPL2 compatible, and really can't be without a massive purge of old cores + drivers and rewriting them from scratch or going through the same process as MAME, tracking down every single contributor for every single line of code in order to gain permission to relicense it.

GPL2 code cannot be used in FBA for that reason.  Just allowing your code to be influenced by the GPL code (if it ends up looking very similar for example) is a problem.

Just because RA / LR do their best to actually hide the licenses from people doesn't mean they can be ignored.  Mixing incompatible licenses just creates a product nobody, not even the authors are allowed to distribute.

Sorry to be negative here, but proper software licensing is important to keep your product legal and legitimate.
« Last Edit: December 11, 2018, 09:48:33 am by Haze »

Offline Treble Winner

  • FBA Dev
  • ******
  • Posts: 1814
  • Karma: +105/-0
  • FB Alpha Team
    • http://www.barryharris.me.uk
Re: Romhack's WIP thread
« Reply #169 on: December 11, 2018, 09:57:34 am »
Mupen is GPL2 licensed.

FBA uses code based on old MAME code so has the same non-commercial clause as old MAME (the choice to use that code meant accepting the license it was under)

Due to various reasons (including the non-commercial clause) FBA is not GPL2 compatible, and really can't be without a massive purge of old cores + drivers and rewriting them from scratch or going through the same process as MAME, tracking down every single contributor for every single line of code in order to gain permission to relicense it.

GPL2 code cannot be used in FBA for that reason.  Just allowing your code to be influenced by the GPL code (if it ends up looking very similar for example) is a problem.

Just because RA / LR do their best to actually hide the licenses from people doesn't mean they can be ignored.  Mixing incompatible licenses just creates a product nobody, not even the authors are allowed to distribute.

Sorry to be negative here, but proper software licensing is important to keep your product legal and legitimate.

The original Final Burn license also prohibited commercial use - so completely no go, unless writing everything from scratch!

Online barbudreadmon

  • Expert
  • *****
  • Posts: 297
  • Karma: +9/-0
  • lr-fbalpha developer
Re: Romhack's WIP thread
« Reply #170 on: December 11, 2018, 10:39:19 am »
Sorry to be negative here, but proper software licensing is important to keep your product legal and legitimate.

No problem, it's kinda sad we can't use this code to help, but thanks for the explanation :).

Offline Romhack

  • Expert
  • *****
  • Posts: 94
  • Karma: +49/-0
Re: Romhack's WIP thread
« Reply #171 on: December 11, 2018, 11:10:14 am »
Beside licensing issues...

I want to create something like UML (Universal Machine Language from MAME) because crafting a dynamic recompiler for each arch is really hard (to debug, to write, to test). Midway's stuff runs at very high speed compared to other drivers in FBA.
People want cave1k on FBA, but without DRC, it's just waste of time.

Online barbudreadmon

  • Expert
  • *****
  • Posts: 297
  • Karma: +9/-0
  • lr-fbalpha developer
Re: Romhack's WIP thread
« Reply #172 on: December 11, 2018, 11:53:13 am »
I want to create something like UML (Universal Machine Language from MAME) because crafting a dynamic recompiler for each arch is really hard (to debug, to write, to test). Midway's stuff runs at very high speed compared to other drivers in FBA.
People want cave1k on FBA, but without DRC, it's just waste of time.
Yeah, having something like that for mips3 and sh3/4 would be great !

Offline Haze

  • MAME Devs
  • *****
  • Posts: 157
  • Karma: +45/-0
Re: Romhack's WIP thread
« Reply #173 on: December 11, 2018, 02:14:44 pm »
Beside licensing issues...

I want to create something like UML (Universal Machine Language from MAME) because crafting a dynamic recompiler for each arch is really hard (to debug, to write, to test). Midway's stuff runs at very high speed compared to other drivers in FBA.
People want cave1k on FBA, but without DRC, it's just waste of time.

I wouldn't take too many hints from the way the UML is done in MAME tho, there was a general consensus a while back that it's a pretty poor example of how to do a recompiler, and that's why the C backend for it is slower than a standard interpreter core while at the same time being far less accurate than an interpreter.  Not sure of the specifics myself tho.
« Last Edit: December 11, 2018, 02:15:49 pm by Haze »

Online barbudreadmon

  • Expert
  • *****
  • Posts: 297
  • Karma: +9/-0
  • lr-fbalpha developer
Re: Romhack's WIP thread
« Reply #174 on: December 12, 2018, 12:23:06 pm »
Btw, there was a non UML mips3 dynarec for x86_32 in mame 0.78 : https://github.com/libretro/mame2003-plus-libretro/tree/master/src/cpu/mips . I guess porting this one would be ok since it is under mame license.

Offline gamez fan

  • Expert
  • *****
  • Posts: 517
  • Karma: +13/-1
  • Arcade Addict
Re: Romhack's WIP thread
« Reply #175 on: December 12, 2018, 06:07:32 pm »
Btw, there was a non UML mips3 dynarec for x86_32 in mame 0.78 : https://github.com/libretro/mame2003-plus-libretro/tree/master/src/cpu/mips . I guess porting this one would be ok since it is under mame license.

Some MAME dev's have a real bee in their bonnet when it comes to this core, so i fully expect the answer to the above being no
but hey we could be surprised :)

Online barbudreadmon

  • Expert
  • *****
  • Posts: 297
  • Karma: +9/-0
  • lr-fbalpha developer
Re: Romhack's WIP thread
« Reply #176 on: December 13, 2018, 04:39:26 am »
Some MAME dev's have a real bee in their bonnet when it comes to this core, so i fully expect the answer to the above being no
but hey we could be surprised :)
Besides a few fixes you applied, i think most of it is actually their original code under MAME license ? Actually it might be a backport from MAME 0.139 ?