Jump to content
xxl

Hi Score Cafe with support for FujiNET

Recommended Posts

or FujiNET with support for HSC?

 

it happened...

 

I am glad to announce that HSC (Hi Score Cafe) has been extended with the possibility to send scores via FujiNET. Bocianu created a program which allows you to log into the HSC and a short procedure which allows the game to send scores (and if needed also to download the scoreboard from the HSC).

 

And what is the HSC?

 

HI SCORE CAFÉ is a place where you can meet the cream of pro-gaming, the top players of Atari 8bit eSports. The HSC system keeps the rankings, scoreboards, and provides constantly generated USERBARS (to be placed e.g. in the footer on forums or FB).

Make the first step and stop hiding! Your wife will accept it if she loves you or at least respects you or just tolerates you - become a member of the elite players and turn your life into a fairy tale.

 

For devlopers - there are many ways to send scores (it doesn't have to be just scores) - besides the well known datamatrix code (x0F), B: device (Montezuma) now FujiNET (Bocianu) has joined.


Do not hesitate to put short code into the game and turn your players into loyal acolytes. It doesn't matter if you write in Assembler, MadPascal or Basic :)

 

examples (will display if the forum supports generated images).

 

TOP5 BANNERS:

 

hsc.php?i=1.107

 

hsc.php?i=1.104

 

hsc.php?i=1.102

 

hsc.php?i=1.200

 

hsc.php?i=1.4

 

more: https://xxl.atari.pl/hsc/

 

USERBAR:

 

ad.php?i=1.100

 

ad.php?i=1.102

 

 

-------------

 

or maybe you want to contribute to the project?

 

For a standalone application for FN we need a design of the TOP10 table displayed as ascii-art and a USERBAR project (also ascii-art) 
 

image.thumb.png.7cbe68adb536bfc858b7ed204de90e13.png

Edited by xxl
  • Like 13
  • Thanks 2

Share this post


Link to post
Share on other sites

@bocianu has been hard at work writing a #FujiNet client for the High Score Club, both in terms of a #Atari8bit client to view them, and example code to integrate into games. It's awesome! :)

 

 

Edited by tschak909
  • Like 2
  • Thanks 1

Share this post


Link to post
Share on other sites
38 minutes ago, tschak909 said:

add HSC support for ALL THE GAMES?

Unfortunately the current system capacity is limited to 4096 games - that's how many we can add - but if we get close to that value I think we can increase it tenfold in about 2 man-hours.
Remember also that not all games are suitable for competition - some after finishing always show the same score 🙂

 

Share this post


Link to post
Share on other sites

Sorry if this is answered somewhere else.  Does Altirra have fujinet emulation to allow running of HSC enabled games?

 

Regardless this could get me to order a Fujinet

Share this post


Link to post
Share on other sites

Not fujinet related..(or maybe yes). How HSC works when dealing with those "2D barcodes" you get when you finish the game? like Bosconian... and how that would interact/complement with this Fujinet implementation?   I guess I still don't get the HSC system functionality and features (probably I am overcomplicating and overthinking this)

Share this post


Link to post
Share on other sites

for games that don't have score uploading implemented, the option of manual completion has been added in HSCTool:

 

image511.thumb.png.e900b99ac617c2e3cb82904ac9f51254.png

 

image5112.thumb.png.70b01c0d17fb1b48488309725f1a49ce.png

  • Like 1

Share this post


Link to post
Share on other sites

Ok, it's official now ;)


There is a tool for FujiNet that supports Hi Score Cafe.

 

Tool and sources to download from here: https://gitlab.com/bocianu/fujinet_hsc

 

And of course on tnfs at fujinet.pl server in networking/hsc_conf.xex directory

 

hsc1.thumb.png.26563f47f5dea1d0bdd017862546b81c.png

 

What the tool can do:
- it can browse the results on the network

- it allows you to log on to the server
after logging in:
- allows you to add your scores manualy
- allows you to delete your last result
- automatically saves your "authorizaton token" on fujinet SD card

 

hsc2.thumb.png.33fec7adfdd05a47b0e7506504f873df.png

 

What does such a token give us?

 

Along with the above tool, there are routines in assembler and a library for MadPascal, which allows games to automatically save
result on the server for the user currently logged on the device.


So in simple terms - we log in as a 'bocianu' in my tool, and token is saved. 
Now when we play the game that will allow us to save the score on the network, our score will be automatically sent to the HSC server in the background - if the authorization token will be found. If you want to send the result as another player, you have to fire up my tool and the other player has to log in (for this particular Fujinet device) and launch the game again. 


An example of saving the game from the assembler level is here: https://gitlab.com/bocianu/fujinet_hsc/-/blob/main/hsc_send.asm

 

There is a dedicated library for Mad-Pascal in my blibs package: https://gitlab.com/bocianu/blibs
documentation can be found here: https://bocianu.gitlab.io/blibs/hsc_util.html
and usage examples are in blibs/examples directory 

 

Just one call from your game and the score will be sent to the server... :) No more excuses!

 

Edited by bocianu
  • Like 5
  • Thanks 2

Share this post


Link to post
Share on other sites

Thank you very much @bocianu, tomorrow I will try it!

 

Would it be possible for a game to fetch high scores online and display them?

 

It would be nice if old games could be patched, like on Atari VCS with PlusCart(+): https://highscore.firmaplus.de/

 

 

  • Like 1

Share this post


Link to post
Share on other sites

I'll just add that each game besides getting a predefined look for the scoreboard can get a dedicated one at the programmer's request - for example only the score or the highest score or with abbreviations, in ATASCII or ANTIC encoding.

  • Like 3
  • Thanks 1

Share this post


Link to post
Share on other sites

What if you've written a game and it's on CAR with no way to save data?

It's simple - you can use the HSC API to save any data on the server for a player, like settings or game progress, and download that data when needed.

How many slots does one player have on the server? And how many do you need?

🙂

  • Like 1

Share this post


Link to post
Share on other sites

PeBe has joined the team, he designed a very convenient data presentation system, thanks to him the implementation of HSC in games will be even easier (templates) - is also the author of an automatic text generator using ascii characters - several different typefaces - with FujiNET it's already no more than one page of memory on Atari - thanks to Bocianu.


On Saturday PeBe will give a presentation, the meeting will be broadcasted on the Internet - those interested should look for it on AtariOnline in the news about "KWAS".

 

An example generated on the fly displayed on Atari as AsciiArt or as a graphic on WWW:

 

jboard.php?f=2&x=4

 

jboard.php?f=2&x=8

 

If you are interested in adding HSC to your games feel free to contact me on PM (I won't write back here)

 

  • Like 4

Share this post


Link to post
Share on other sites
20 hours ago, OmaOhneBH said:

 

And after loading the game via Fujinet and playing it, how do I transmit my score to HiScoreCafe?

If you have fujinet the game saves score by itself. You have to do nothing.

 

Share this post


Link to post
Share on other sites
59 minutes ago, bocianu said:

If you have fujinet the game saves score by itself. You have to do nothing.

 

I did, nothing happened. I have to register at HiScoreCafe first, right? Can't find any registration button or something on the website, the whole process seems nebulous to me, website says: "Jeśli chcesz brać udział w zabawie musisz mieć konto gracza. Aby założyć konto zarejestruj się się na xxl.atari.pl." - but where to click?

Share this post


Link to post
Share on other sites
2 hours ago, OmaOhneBH said:

I did, nothing happened. I have to register at HiScoreCafe first, right? Can't find any registration button or something on the website, the whole process seems nebulous to me, website says: "Jeśli chcesz brać udział w zabawie musisz mieć konto gracza. Aby założyć konto zarejestruj się się na xxl.atari.pl." - but where to click?

Alright, thanks for the hint xxl, registration can be done now, by hitting 'zarejestruj się'! Still don't know, how all this works, how the game knows my username from HiScoreCafe. Isn't there an english version of the website? Google translate from polish to german language is somewhat clumsy

Ok, after registration, what to do next?

Share this post


Link to post
Share on other sites

Ok, if you registered on HSC website, now you have to run HSC_conf from here:

 

https://fujinet.pl/tnfs/HiScoreCafe/

 

And provide you credentials in this app. (you must have SD card inserted in your fujinet)

Then connection token will be stored on your Fujinet device. 

Later on, when you will start the game (from the folder above) you will get recognized and your hiscore will be sent.

I hope :D

 

regards!

 

 

 

 

 

  • Like 1
  • Thanks 2

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...