News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_freemac

Mortal Kombat .sks max 8KB STarKos 1.2

Started by freemac, 19:50, 10 March 18

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


Targhan

I downloaded your MODs and put them in ModPlug Tracker: they are also on octave 6, just like AT2. There is a small bug in AT2 indeed the note should be G instead of E, this has been corrected but not release yet. However, this shouldn't be a problem. Either let the song this way, or transpose it manually (a bit tedious), or transpose the tracks via the transpose icon in the Linker.
Targhan/Arkos

Arkos Tracker 2.0.1 now released! - Follow the news on Twitter!
Disark - A cross-platform Z80 disassembler/source converter
FDC Tool 1.1 - Read Amsdos files without the system

Imperial Mahjong
Orion Prime

Targhan

However, why you try to use instruments from a song to another, which has nothing to do with it, I do not understand. Simply recreate simple instruments to "sound" like the ones of the original song, and it will sound like a real song!
Targhan/Arkos

Arkos Tracker 2.0.1 now released! - Follow the news on Twitter!
Disark - A cross-platform Z80 disassembler/source converter
FDC Tool 1.1 - Read Amsdos files without the system

Imperial Mahjong
Orion Prime

freemac

#28
Quote from: Targhan on 12:07, 29 April 18
However, why you try to use instruments from a song to another, which has nothing to do with it, I do not understand. Simply recreate simple instruments to "sound" like the ones of the original song, and it will sound like a real song!
MK is using normal simple sound (first 2 tracks) (sinus), and then bass normal simple sound comes on a second channel (channel with the same note filling all step of track) (sinus), at track 5 a drums track is added (channel with 2 alternative notes) - I don't find yet an instrument for this last one.

In original, I don't ear drums, but an organ


https://www.youtube.com/watch?v=yE8-Obc11gs

Targhan

Why do you rely on a video for this? Your source is a MOD! Simply listen to each sound in MilkyTracker/ModPlug Tracker (or even Arkos Tracker, since the import works) and create their FM counterpart on Arkos Tracker. Replace the sound one by one, then, when all the samples are replaced with FM instruments, you will be able to export to AKG successfully.


Note: it may have been faster to ask a musician to convert the song :) .
Targhan/Arkos

Arkos Tracker 2.0.1 now released! - Follow the news on Twitter!
Disark - A cross-platform Z80 disassembler/source converter
FDC Tool 1.1 - Read Amsdos files without the system

Imperial Mahjong
Orion Prime

freemac

Quote from: Targhan on 16:04, 29 April 18
Why do you rely on a video for this? Your source is a MOD!
"Original mod" itself is using bad instruments (mk_bo.mod) around 5th track (drums instead of organs)

Targhan

?? But it does not matter. What matters is the instrument that YOU create instead.
Targhan/Arkos

Arkos Tracker 2.0.1 now released! - Follow the news on Twitter!
Disark - A cross-platform Z80 disassembler/source converter
FDC Tool 1.1 - Read Amsdos files without the system

Imperial Mahjong
Orion Prime

Arnaud

Have you succeed to play sound effect with Arkos 2 on your project ?

Targhan

QuoteHave you succeed to play sound effect with Arkos 2 on your project ?


Haven't you? Any problem?
Targhan/Arkos

Arkos Tracker 2.0.1 now released! - Follow the news on Twitter!
Disark - A cross-platform Z80 disassembler/source converter
FDC Tool 1.1 - Read Amsdos files without the system

Imperial Mahjong
Orion Prime

Arnaud

#34
Always problem with FX, i have also tested with AKL here :

http://www.cpcwiki.eu/forum/programming/(cpctelera)-help-needed-for-converted-arkos-player-2/10/

and Fx seems broken.

Today i tried the solution RASM binary compiled, all works for music and once again FX are wrong.

It seems my assembly seems to be corrected converted but integration with C (SDCC) seems to have problem, but i haven't idea why.

freemac

#35
Quote from: Arnaud on 15:37, 01 May 18
Have you succeed to play sound effect with Arkos 2 on your project ?


Yes

https://github.com/renaudhelias/RubikCubePaletteCPC/tree/master/JDVPA%234_test
combat2e.c jdvpa4_combat2.dsk (run"combat2e)

PLY_AKG_MANAGE_SOUND_EFFECTS : 1

;Hooks for external calls. Can be removed if not needed.
jp PLY_AKG_Init          ;PLY_AKG_Start + 0.
jp PLY_AKG_Play          ;PLY_AKG_Start + 3.
jp PLY_AKG_Stop          ;PLY_AKG_Start + 6.
jp PLY_AKG_InitSoundEffects ;+9
jp PLY_AKG_PlaySoundEffect ;+C



void cpct_akp_musicInit()
{
   __asm
   ;; backup Z80 state
  push af
  push bc
  push de
  push hl
  push ix
  push iy
  exx
  ex af, af'
  push af
  push bc
  push de
  push hl
 
   ; sks2000.bin/exemple.asm
   ; ld de,#0x3000
   ; call #0x2000
   
   ; agk2000.bin/PlayerAkgTester_CPC.asm
   ld hl,#0x3000
    xor a                   ;Subsong 0.
    call #0x2000
   
   ; PLY_AKG_InitSoundEffects
   ld hl,#0x2D20
    call #0x2009
   
   ;; restore Z80 state
  pop hl
  pop de
  pop bc
  pop af
  ex af, af'
  exx
  pop iy
  pop ix
  pop hl
  pop de
  pop bc
  pop af
   __endasm;
}

void cpct_akp_musicPlay()
{
   __asm
   ;; backup Z80 state
  push af
  push bc
  push de
  push hl
  push ix
  push iy
  exx
  ex af, af'
  push af
  push bc
  push de
  push hl
   
   ; sks2000.bin/exemple.asm
   call #0x2003
   
   ;; restore Z80 state
  pop hl
  pop de
  pop bc
  pop af
  ex af, af'
  exx
  pop iy
  pop ix
  pop hl
  pop de
  pop bc
  pop af
   __endasm;
}

void cpct_akp_sfxPlay()
{
   __asm
   ;; backup Z80 state
  push af
  push bc
  push de
  push hl
  push ix
  push iy
  exx
  ex af, af'
  push af
  push bc
  push de
  push hl
   
   ; PLY_AKG_PlaySoundEffect
   ld c,#0          ;Channel 1.
    ld a,#1 ;The selected sound effect (>=1).
    ld b,#0          ;Full volume.
    call #0x200C
   
   ;; restore Z80 state
  pop hl
  pop de
  pop bc
  pop af
  ex af, af'
  exx
  pop iy
  pop ix
  pop hl
  pop de
  pop bc
  pop af
   __endasm;
}

(still the http://norecess.cpcscene.net/using-interrupts.html formula to backup/restore Z80 state)


cpct_akp_sfxPlay() is launched when you want inside source code (when I've got damages during a fight I launch it)
cpct_akp_musicPlay() is launched one time per vsync()

freemac

#36
https://github.com/renaudhelias/RubikCubePaletteCPC/blob/master/JDVPA%234_test/PlayerAkg2000.asm => akx2000.bin (using rasm.exe)

still mk3000.bin (mk3000.akg) as music (still bad octave (but I have to test OpenMPT one time https://wiki.openmpt.org/Manual:_Keyboard_Actions : "Data Entry -1"/"Data Entry Down (Coarse)"))

akx2D20.bin (akx2D20.akx) with 3 "quickly own made" instruments (remark : you can select octave when you export into .akx from Arkos Tracker 2) :
if you change
ld a,#1 ;The selected sound effect (>=1).
into
ld a,#3 ;The selected sound effect (>=1).
you result a quick beep instead of a KRRR (noise)

As akx2000.bin has a constant size and akx is small I put akx2D20.bin just after end of akx2000.bin :)

Targhan

Mmmh, so is everything all right? The fact that there is a beep instead of a KRRR, do you suppose it is a bug from my player? Should I investigate?
Targhan/Arkos

Arkos Tracker 2.0.1 now released! - Follow the news on Twitter!
Disark - A cross-platform Z80 disassembler/source converter
FDC Tool 1.1 - Read Amsdos files without the system

Imperial Mahjong
Orion Prime

freemac

Quote from: Targhan on 13:00, 03 May 18
Mmmh, so is everything all right? The fact that there is a beep instead of a KRRR, do you suppose it is a bug from my player? Should I investigate?
It's all right, It's me that enabled noise on first FX instrument.

tastefulmrship

#39
Many, many, MANY apologies to DMA-SC! However, here's a very quick conversion of the "mk-bo.mod" (while watching "Would I Lie To You" on DAVE) on my own 6128 (still slightly smoking at the back) done just now!



EDIT: On reflection, I still think you should consider using one of the Spectrum .pt3 versions of the movie theme... or... if you're thinking of programming a full MK or MK2 game, then consider converting the original game music instead (or getting someone else to do it for you!) Flossy Brimble did the Amiga version in .mod format, so it shouldn't be too difficult to convert them to AY!

freemac

#40
Quote from: SuTeKH/Epyteor on 20:52, 03 May 18
Many, many, MANY apologies to DMA-SC! However, here's a very quick conversion of the "mk-bo.mod" (while watching "Would I Lie To You" on DAVE) on my own 6128 (still slightly smoking at the back) done just now!



EDIT: On reflection, I still think you should consider using one of the Spectrum .pt3 versions of the movie theme... or... if you're thinking of programming a full MK or MK2 game, then consider converting the original game music instead (or getting someone else to do it for you!) Flossy Brimble did the Amiga version in .mod format, so it shouldn't be too difficult to convert them to AY!
Yeah !

http://github.com/renaudhelias/RubikCubePaletteCPC/blob/master/JDVPA%234_test/jdvpa4_combat2.dsk

run"combat2


tastefulmrship

PLEASE NOTE:

Original Mortal Kombat Theme written by Lords of Acid (Maurice Engelen & Olivier Adams)
Amiga .mod file conversion by DMA-Sc.
Lazy Amstrad .sks conversion by SuTeKH/Epyteor


freemac

#43
Quote from: SuTeKH/Epyteor on 20:52, 03 May 18
if you're thinking of programming a full MK or MK2 game, then consider converting the original game music instead (or getting someone else to do it for you!) Flossy Brimble did the Amiga version in .mod format, so it shouldn't be too difficult to convert them to AY!
Would be nice adding two MODE 1 levels each with a special palette ink :
* Johnny Cage vs Scorpion, with "Living Forest background" (from MK2)
* Sonya Blade vs Kano, with "Courtyard background" (from MK)
perhaps at THSF 2019 :)

tastefulmrship

#44
There are a couple of "mock-up" C64 MK images floating around the internet.
Sub Zero Vs Scorpion (C64)

MODE 0 would be perfect for a CPC version, in my view. Lots of colours, full-on detail, some h/w scrolling and Scorpion burning Sub Zero (as it should be!) Sampling "GET OVER HERE!" shouldn't be too difficult, either!

A fully-working MK game on the CPC; it would re-ignite the SF2 vs MK feud!
Both games on the Amstrad would be amazing! ^_^

freemac

#45

https://vimeo.com/269414280 some CPC at THSF 2018  8)


@3:00 Ikari Warrior (Phantomz 2 players 2 joystick) - without sound <3
@5:25 Barbarian (Phantomz 2 players 2 joystick) - sound only <3

Powered by SMFPacks Menu Editor Mod