Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Niju

The kana review application · By Rek & Devine

Installation got "complicated"…

A topic by Edmond Dantes created Sep 05, 2021 Views: 510 Replies: 5
Viewing posts 1 to 2
(3 edits)

Hello.  Sorry to bother.
I write in French but for the pleasure of everyone I translate my prose.

I had downloaded and used with great pleasure the application for learning Hiraganas and Katakanas on the phone. I was sorry that it disappeared.

So I am very happy to be able to use this one, especially since my daughter (and I sometimes) are learning Japanese and the illustrations are nice.

However, my computer navigation skills are somewhat limited. And if I have to learn how to use the Terminal before I start learning Japanese, it seems complicated to me....

But anyway, I run the SDL2 installation via Terminal under MacOs Bg Sur but I immediately get a message somewhere that tells me I need to install, GIT, then CommandLineTools (2.72 Gb 😳 ?), then multiple error messages that I fix by following the Terminal instructions but having no idea what's going on but I'm struggling...

I run "brew install git" again ... It seems to work this time...

Lots of different stuff... Arrows... And draft beer icons.

...

I go back to the SDL2 installation with "brew install sdl2 "… It downloads...

Then "./build.sh"

But new error message :

"zsh: no such file or directory: ./build.sh"

Despite searching I can't figure out how to get to that damn "/bin" folder via the terminal ... Nor do I see "The assembler(uxnasm) and emulator(uxnemu)" in those folders :/

Macintosh > bin (?) or Macintosh > usr > bin (?)

Thanks for any help :)

Developer

Hi Edmon,

Alright, so you're trying to build the OSX emulator. Try this: 
brew install sdl2 && git clone https://git.sr.ht/~rabbits/uxn && cd uxn && ./build.sh


That will install brew, clone uxn, run the test app. That will create a folder in the uxn/ folder called bin/, in there you'll see uxnemu :)

After that you can use uxnemu on a rom, like ./uxnemu ~/path/to/niju.rom

Let us know if that works for you :) Otherwise, use this: https://metasyn.github.io/learn-uxn/# and click IO/load rom , and select the Niju rom.

Okay. The first line of code was magical. It brought up a window with a piano keyboard.

I figured out to make it disappear with a " ctrl-c "

I am SO close now.

...

I moved "niju.rom" to the "bin" folder ( because "piano.rom" was there… )

and finally figured out how to copy the path to the file. 

I reworked the code phrase and ran it in Terminal:
./uxnemu ~/Users/*************/uxn/bin/niju.rom

But I get this message : " zsh: no such file or directory: ./uxnemu "

Thx again for helping me.

By persisting I managed to enter the "bin" folder itself (with the "cd" command) because I thought it would be easier to launch the application once inside... then I tried several code phrases, the last one works:

"./uxnemu niju.rom"

Two last questions as a result:

1) ... there must be a more elegant sentence that would allow me to launch the application without "going down" in each folder...

2) Can I enlarge the application window, as it is particularly small to review...

I am particularly happy. Thank you for setting me on the right path.


Developer

AAAH! Well done :D

Alright, now.

1) ... there must be a more elegant sentence that would allow me to launch the application without "going down" in each folder...

Ideally, you should put all the binaries(uxnemu, and the roms) in one folder, maybe in Documents, like ~/Documents/uxn. That way, you'd only have to do this to launch the niju rom: cd ~/Documents/uxn && ./uxnemu niju.rom

You could even put that commande into a script(niju.sh) so you can double click it to launch niju.

2) Can I enlarge the application window, as it is particularly small to review...

Press F1, enjoy!

Thank you sincerely for your help and patience.

I'll be fine-tuning this.

And we will test it out my daughter and I.

Thank you again.  ★