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

Offline barbudreadmon

  • Administrator
  • *****
  • Posts: 1091
  • Karma: +59/-1
  • Helper
Re: Romhack's WIP thread
« Reply #150 on: December 03, 2018, 05:58:31 AM »
That's a great news ! It would be awesome for portability if the c++11 requirement got removed too :). Btw, you might be interested in this code if you need something to read CHD : https://github.com/libretro/fbalpha/tree/master/src/burner/libretro/libretro-common/formats/libchdr.

Offline dink

  • Administrator
  • *****
  • Posts: 5014
  • Karma: +449/-1
  • pie? I nearly bought one!
Re: Romhack's WIP thread
« Reply #151 on: December 03, 2018, 07:21:26 AM »
I think the deal was that if I got sound working in wunit that me and iq_132 would have a de c++ification codenight coming up...
I'm not too interested in chd support though.  feel free :)

best regards,
- dink

Offline barbudreadmon

  • Administrator
  • *****
  • Posts: 1091
  • Karma: +59/-1
  • Helper
Re: Romhack's WIP thread
« Reply #152 on: December 03, 2018, 07:40:42 AM »
I'm not too interested in chd support though.

The drivers don't require the chd hdd dumps from the MAME romsets ? What's the "kinst.img" file for killer instinct then ? I assumed it was the chd hdd dump.

Offline dink

  • Administrator
  • *****
  • Posts: 5014
  • Karma: +449/-1
  • pie? I nearly bought one!
Re: Romhack's WIP thread
« Reply #153 on: December 03, 2018, 09:51:00 AM »
It's the uncompressed hdd dump - to make it I used chdman.exe from MAME 0.155*.  I think the commandline was something like:
chdman extracthd -i kinst.chd -o kinst.img
The image file goes into "[directory where fba*.exe resides]\hdd"
Treble Winner changed this to "d:\downloads\kinst.img" the other day on github, I think by accident.  Feel free to change this location in burn/drv/midway/d_kinst.cpp
Then the kinst.zip romset goes into your usual romsets location.

* because I did this many many moons ago.

best regards,
- dink

Offline barbudreadmon

  • Administrator
  • *****
  • Posts: 1091
  • Karma: +59/-1
  • Helper
Re: Romhack's WIP thread
« Reply #154 on: December 03, 2018, 10:39:58 AM »
Thanks for the explanation !

Well, chd support is something i'll try to add to fba then, since looking at this chd stuff is in my TODO list for Kronos anyway.

Offline dink

  • Administrator
  • *****
  • Posts: 5014
  • Karma: +449/-1
  • pie? I nearly bought one!
Re: Romhack's WIP thread
« Reply #155 on: December 03, 2018, 11:28:10 AM »
Rampage World Tour soundtest in FBAlpha VIDEO

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

thanks to:
Romhack for everything
Barry for spiffing up the drivers

Code will be on github tonight (Detroit time), there is a bit of clean-up to do!

best regards,
- dink
« Last Edit: December 03, 2018, 11:30:37 AM by dink »

Offline Romhack

  • Expert
  • *****
  • Posts: 92
  • Karma: +49/-0
Re: Romhack's WIP thread
« Reply #156 on: December 03, 2018, 01:28:04 PM »
Rampage World Tour soundtest in FBAlpha VIDEO

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

thanks to:
Romhack for everything
Barry for spiffing up the drivers

Code will be on github tonight (Detroit time), there is a bit of clean-up to do!

best regards,
- dink
Nice work! Thanks you guys for this.

It just needs a better resampler, in this video https://www.youtube.com/watch?v=LB91jB5KocY IIRC it used higan cubic resampler: https://gist.github.com/zxmarcos/5bd9c32bb290a71a18dfffeef79bfbb5
I don't know if FBA has any driver that sound chip can be configured to output at any samplerate like DCS2k.
Does FBA have a resampler like MAME (streams)?

Offline hursit

  • Newbies
  • *
  • Posts: 16
  • Karma: +0/-0
Re: Romhack's WIP thread
« Reply #157 on: December 03, 2018, 04:43:23 PM »
Huhuuuw, it is great news.
I hope we will see Cave "cv1k.cpp" core too someday :P
After you release the GitHub code, I think Retroarch will update the FBA core soon. So what romset we will use to play UMK3. Will it synch with Mame 0.204 romset ?

Thanks...

Offline dink

  • Administrator
  • *****
  • Posts: 5014
  • Karma: +449/-1
  • pie? I nearly bought one!
Re: Romhack's WIP thread
« Reply #158 on: December 03, 2018, 06:20:18 PM »
Romhack, yes, I can add cubic easily. But right now due to time and cpu constraints, I'm going to use copy and update style resampling.  Adding cubic resampling and on-the-fly rate changes to FBA soundcore is kinda tricky if you've never done it before, but after doing it dozens of times its simple for me.  (although I couldn't say this a few years back..)

best regards,
- dink

Offline dink

  • Administrator
  • *****
  • Posts: 5014
  • Karma: +449/-1
  • pie? I nearly bought one!
Re: Romhack's WIP thread
« Reply #159 on: December 03, 2018, 06:22:29 PM »
Hursit, IIRC it won't be available in retroarch until we remove the c++11 dependencies, and this might take a while (a few days to a week or so). 

Huhuuuw, it is great news.
I hope we will see Cave "cv1k.cpp" core too someday :P
After you release the GitHub code, I think Retroarch will update the FBA core soon. So what romset we will use to play UMK3. Will it synch with Mame 0.204 romset ?

Thanks...

Offline dink

  • Administrator
  • *****
  • Posts: 5014
  • Karma: +449/-1
  • pie? I nearly bought one!
Re: Romhack's WIP thread
« Reply #160 on: December 05, 2018, 09:03:43 PM »
This project is taking a lot longer than I had planned, but after many, many, many trials/errors and rewrites everything is solid :)
Sorry to those whom I've said "code will be on git tonight" on several occasions - I had really underestimated the complexities involved with this one.  :p

best regards,
- dink
« Last Edit: December 05, 2018, 09:05:06 PM by dink »

Offline dink

  • Administrator
  • *****
  • Posts: 5014
  • Karma: +449/-1
  • pie? I nearly bought one!
Re: Romhack's WIP thread
« Reply #161 on: December 06, 2018, 10:00:35 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

Offline Ashura-X

  • Member
  • ***
  • Posts: 138
  • Karma: +0/-0
Re: Romhack's WIP thread
« Reply #162 on: December 06, 2018, 11:12:29 AM »
WoW Nice work on those stuff guys :D

Online Gab75

  • FBNeo Contributor
  • *****
  • Posts: 1481
  • Karma: +33/-0
  • All games deserve to be emulated, more or less! :P
Re: Romhack's WIP thread
« Reply #163 on: December 06, 2018, 02:38:48 PM »
Excellent work... thanks a lot! :)

Offline samo79

  • Newbies
  • *
  • Posts: 24
  • Karma: +0/-0
Re: Romhack's WIP thread
« Reply #164 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: