Author Topic: Arkos Tracker 2 - Released!  (Read 27707 times)

0 Members and 1 Guest are viewing this topic.

Offline Arnaud

  • Supporter
  • 6128 Plus
  • *
  • Posts: 570
  • Country: fr
  • Liked: 464
  • Likes Given: 950
Re: Arkos Tracker 2 - Released!
« Reply #300 on: 11:54, 24 March 20 »
Hi,
a little request for player configuration, put 0 when feature is not used :

Code: [Select]
PLY_CFG_SoftToHard_SoftwareArpeggio = 1
PLY_CFG_SFX_HardOnly = 0 ; NOT USED

SDCC can not evaluate with .if a not defined flag.

And if possible in player configuration add .else for the same reason :

Code: [Select]
        .if PLY_CFG_SFX_SoftAndHard_Noise
                PLY_AKM_SE_HardwareNoise = 1
.else
PLY_AKM_SE_HardwareNoise = 0
        .endif

;       Mixes the Noise flags into one.
        .if PLY_AKM_SE_HardwareNoise ; COMPILATION PB IF PLY_AKM_SE_HardwareNoise NOT SET
                PLY_AKM_SE_Noise = 1
        .endif

Thanks,
Arnaud

« Last Edit: 12:07, 24 March 20 by Arnaud »

Offline Targhan

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.035
  • Country: fr
  • Liked: 983
  • Likes Given: 144
Re: Arkos Tracker 2 - Released!
« Reply #301 on: 14:16, 24 March 20 »
No, that's impossible for both requests.

First, only the PRESENCE of the flag is tested, that value does not matter. So putting 0 would actually be considered as a "presence".

Second, the configuration is generated for Rasm, not SDCC. All the files are meant to be assembled, then "Disarked" if needed, so in my opinion there is no point in having a SDCC config file.
Targhan/Arkos

Arkos Tracker 2 - alpha 8 now released! - Follow the news on Twitter!
Disark A cross-platform Z80 disassembler/source converter

Imperial Mahjong
Orion Prime

Offline Arnaud

  • Supporter
  • 6128 Plus
  • *
  • Posts: 570
  • Country: fr
  • Liked: 464
  • Likes Given: 950
Re: Arkos Tracker 2 - Released!
« Reply #302 on: 16:56, 25 March 20 »
Hi,
i'm trying to compile only the PlayerAkm and PlayerAkm_SoundEffects for SDCC following the tutorial (without song and fx because they will be compressed) :

Code: [Select]
;Compiles the player, the music and sfxs, using RASM.
;No ORG needed.

    include "Grenade_playerconfig.asm" ;Optional.

    ;Comment/delete this line if not using sound effects.
    PLY_AKG_MANAGE_SOUND_EFFECTS = 1

    ;This is the player.
    include "PlayerAkg.asm"

And i have the following errors :

Code: [Select]
Error: [PlayerAkm_SoundEffects.asm:445] Duplicate label [DKBS] - previously defined in [PlayerAkm_SoundEffects.asm:435]
Error: [PlayerAkm_SoundEffects.asm:450] Duplicate label [DKBE] - previously defined in [PlayerAkm_SoundEffects.asm:442]
Error: [PlayerAkm_SoundEffects.asm:77] expression [(PLY_AKM_PTSOUNDEFFECTTABLE+PLY_AKM_OFFSET1B)] keyword [PLY_AKM_OFFSET1B] not found in variables, labels or aliases
Error: [PlayerAkm_SoundEffects.asm:164] expression [PLY_AKM_TRACK1_REGISTERS] keyword [PLY_AKM_TRACK1_REGISTERS] not found in variables, labels or aliases
Error: [PlayerAkm_SoundEffects.asm:168] expression [PLY_AKM_TRACK2_REGISTERS] keyword [PLY_AKM_TRACK2_REGISTERS] not found in variables, labels or aliases
...

When the song is included all is OK.

Code: [Select]
;No ORG needed.

    ;This is the music, and its config file.
    include "Grenade.asm"
    include "Grenade_playerconfig.asm" ;Optional.
 
    ;What hardware? Uncomment the right one.
    PLY_AKG_HARDWARE_CPC = 1

    ;Comment/delete this line if not using sound effects.
    PLY_AKG_MANAGE_SOUND_EFFECTS = 1

    ;This is the player.
    include "PlayerAkg.asm"

How compile only the player ?

Thanks,
Arnaud
« Last Edit: 19:38, 25 March 20 by Arnaud »

Offline Targhan

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.035
  • Country: fr
  • Liked: 983
  • Likes Given: 144
Re: Arkos Tracker 2 - Released!
« Reply #303 on: 17:25, 25 March 20 »
Mmmh, you are still doing strange thing with my player, don't you ? :)
The DKBS/DKBE is a macro, which RASM should have "erased" to generate some code. Did you try to convert the player "by hand" for SDCC?
Targhan/Arkos

Arkos Tracker 2 - alpha 8 now released! - Follow the news on Twitter!
Disark A cross-platform Z80 disassembler/source converter

Imperial Mahjong
Orion Prime

Offline Targhan

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.035
  • Country: fr
  • Liked: 983
  • Likes Given: 144
Re: Arkos Tracker 2 - Released!
« Reply #304 on: 17:33, 25 March 20 »
Or it is because of the player_config? Can you test with or without it (without the song)?
Targhan/Arkos

Arkos Tracker 2 - alpha 8 now released! - Follow the news on Twitter!
Disark A cross-platform Z80 disassembler/source converter

Imperial Mahjong
Orion Prime

Offline Arnaud

  • Supporter
  • 6128 Plus
  • *
  • Posts: 570
  • Country: fr
  • Liked: 464
  • Likes Given: 950
Re: Arkos Tracker 2 - Released!
« Reply #305 on: 19:13, 25 March 20 »
Mmmh, you are still doing strange thing with my player, don't you ? :)
The DKBS/DKBE is a macro, which RASM should have "erased" to generate some code. Did you try to convert the player "by hand" for SDCC?

I have tried, but finally it's not the good solution.

Or it is because of the player_config? Can you test with or without it (without the song)?

You are right, it's the player_config.
Is a bug or normal ?

Offline Targhan

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.035
  • Country: fr
  • Liked: 983
  • Likes Given: 144
Re: Arkos Tracker 2 - Released!
« Reply #306 on: 23:52, 25 March 20 »
>I have tried, but finally it's not the good solution.
Well, I don't think it can be done unless a very hard work is done. The AKG player is pretty complex, especially because of the player configuration. And Disark is here!

>Is a bug or normal ?
Certainly not normal! Could you send be ALL the files you used to provoke this? Thanks!
Targhan/Arkos

Arkos Tracker 2 - alpha 8 now released! - Follow the news on Twitter!
Disark A cross-platform Z80 disassembler/source converter

Imperial Mahjong
Orion Prime

Offline mr_lou

  • 6128 Plus
  • ******
  • Posts: 3.023
  • Country: dk
    • index.php?action=treasury
    • 8-bit Memoirs - a Blu-ray diskmag-like eBook about the 8-bit era
  • Liked: 1189
  • Likes Given: 2416
Re: Arkos Tracker 2 - Released!
« Reply #307 on: 11:12, 28 March 20 »
Any chance you'll ever implement a MOD export option?  :)

Doesn't have to be precise. Just something to load into e.g. Milkytracker and replace the chippy sounds with samples.
For those of us who likes to make multiple filetype versions of a track.  :)  When a game is ported to different platforms etc.

Offline Targhan

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.035
  • Country: fr
  • Liked: 983
  • Likes Given: 144
Re: Arkos Tracker 2 - Released!
« Reply #308 on: 13:15, 28 March 20 »
No, this will never happen, because it is not the purpose of AT2, I'm sorry.
However, as you are a developer, the AKS format is zipped XML on purpose. If you feel like it, you can parse the XML and generate something else. You can also use the "raw export" option, which exports a very simple binary. Once again, you can parse it and convert it.
Targhan/Arkos

Arkos Tracker 2 - alpha 8 now released! - Follow the news on Twitter!
Disark A cross-platform Z80 disassembler/source converter

Imperial Mahjong
Orion Prime

Offline reidrac

  • Supporter
  • 6128 Plus
  • *
  • Posts: 755
  • Country: gb
  • Trying to gamedev!
    • index.php?action=treasury
    • usebox.net
  • Liked: 1302
  • Likes Given: 771
Re: Arkos Tracker 2 - Released!
« Reply #309 on: 15:57, 29 March 20 »
Maybe your keyboard is not a "standard" QWERTY like the one I expect, but more exotic one? Go to File > Setup > Keyboard. At the bottom, select QWERTY and "change layout".
If not better, you can still reprogram the "virtual keyboard" keys in the list above. A bit tedious, but once it's done, it's done. Maybe I can add this "qwerty variation" to the dropdown if that was the problem.

I believe this is a bug, or at least this has changed in the latest version. The bottom keyboard row works, but the top one now has some shortcuts instead of playing the notes.
Released The Return of Traxtor, Golden Tail, Magica and The Dawn of Kernel for the CPC.

If you like my games and want to show some appreciation, you can always buy me a coffee.

Offline mr_lou

  • 6128 Plus
  • ******
  • Posts: 3.023
  • Country: dk
    • index.php?action=treasury
    • 8-bit Memoirs - a Blu-ray diskmag-like eBook about the 8-bit era
  • Liked: 1189
  • Likes Given: 2416
Re: Arkos Tracker 2 - Released!
« Reply #310 on: 15:59, 29 March 20 »
I believe this is a bug, or at least this has changed in the latest version. The bottom keyboard row works, but the top one now has some shortcuts instead of playing the notes.

Possibly a change in the config file between versions. For me it was fixed by re-saving QWERTY layout.

Offline reidrac

  • Supporter
  • 6128 Plus
  • *
  • Posts: 755
  • Country: gb
  • Trying to gamedev!
    • index.php?action=treasury
    • usebox.net
  • Liked: 1302
  • Likes Given: 771
Re: Arkos Tracker 2 - Released!
« Reply #311 on: 16:29, 29 March 20 »
Possibly a change in the config file between versions. For me it was fixed by re-saving QWERTY layout.

Yes, that fixed it! Thanks.
Released The Return of Traxtor, Golden Tail, Magica and The Dawn of Kernel for the CPC.

If you like my games and want to show some appreciation, you can always buy me a coffee.

Offline Targhan

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.035
  • Country: fr
  • Liked: 983
  • Likes Given: 144
Re: Arkos Tracker 2 - Released!
« Reply #312 on: 16:51, 29 March 20 »
@mr_lou thanks to be part of the support team :).
More seriously though, I have no idea why this problem occurred. There has been more item in the stored preferences, but nothing related to the keyboard. Oh well...
Targhan/Arkos

Arkos Tracker 2 - alpha 8 now released! - Follow the news on Twitter!
Disark A cross-platform Z80 disassembler/source converter

Imperial Mahjong
Orion Prime