RagnarΦkkr Java Edition

I recoded the RagnarΦkkr to Java language from assembler source code written more than 60,000 lines. :D

Ragna.jar (JP Only)
Download (≈7.8MB)

This program runs on Java. Required to download and install of Java.
(See ORACLE Java Download)


Differences between retail and Java edition

Bugs and Bugfixes
  • SE (used PSG) not avairable.
  • BGM used MIDI API on Java sometimes run away....
  • Some of script bugs was fixed.
Tunings
  • Damages of battle mode was modified to softer.
Additional
  • The open and close of the option menu by right click.
  • Click at the army places area on world map, open the select menu of formations.
  • If select to "B/W Monitor" at the option menu, it works as Night-Vision mode(??).
  • Press 'PAGE-UP' key accelarates the game speed to 1/500s from 1/60s.
  • Press 'SPACE' key pause the game.
Night-Vision mode(??)
In Night-Vision mode shows as box-line that any scripts assigned. And cross-boxes mean to required to use items.
  • If script conditions not true, it return immediately. So not necessarily the event does not occur.
  • If any character walks on the area assigned scripts, the Night-Vision mode is automatically released.

Sample Source of Java Edition

Ragna.java Main Entry
Main.java Game Main
Vram.java Vram Emuration

Sample
  //Main Loop contains precess and wait sync.
  main_loop()
  {
    do {
       calc();
       draw();
       vsync_wait();

       if ( menu button ? ) {
         menu_loop();
       }
    } while (1);
  }

  //Sub Loop contains precess and wait sync too.
  menu_loop()    
  {
    do {
       calc();
       draw();
       vsync_wait();

       if ( cancel button ? ) {
         return;
       }
    } while (1);
  }

  //Wait _notify() signal of Java Main Entry.
  synchronized  void  vsync_wait()
  {
    try {
      wait();
    } catch( InterruptedException e ) {}
  }

  The "main_loop" of retro program replaced to Java thread program.

Gallery

16 colors only used.