Omnimaga

Calculator Community => TI Calculators => General Calculator Help => Topic started by: sammyMaX on August 10, 2011, 03:53:24 pm

Title: Nspire Emulator for Linux
Post by: sammyMaX on August 10, 2011, 03:53:24 pm
Since programs like luatotns and luna are better installed and used in Linux, and Linux is better suited for programming (gedit vs. notepad) I generally do all my coding in Linux. However, it's incredibly annoying to transfer my file over to my physical Nspire or reboot in Windows to run an emulator for testing. Hackspire's emulator page shows Xspire, which is the emulator ported over to GTK+, but the most recent version I found of it is still 0.26 was posted last year. Somehow though, it is shown running OS 3 on the TI-Bank page:
http://ti.bank.free.fr/index.php?mod=archives&ac=voir&id=1730 (http://ti.bank.free.fr/index.php?mod=archives&ac=voir&id=1730)
Does the program run OS 3? If not, can anyone help me with setting up Wine and the Windows Nspire emulator?
Title: Re: Nspire Emulator for Linux
Post by: fb39ca4 on August 10, 2011, 03:56:24 pm
I'm pretty sure nspire_emu will run in WINE, but I don't know how to set up WINE. Once you have that set up, though, I can help with setting up the emulator itself.
Title: Re: Nspire Emulator for Linux
Post by: Lionel Debroux on August 10, 2011, 03:56:37 pm
Xspire is hopelessly outdated, and it doesn't run OS 3.0 (the screenshot is showing 2.0.1188, 2.0.1.60 or 2.1.0.631). Only the very latest version of the mainline emulator (which runs well in Wine, BTW), which you can find somewhere on this forum (I don't have the link handy) can run OS 3.0.
Title: Re: Nspire Emulator for Linux
Post by: sammyMaX on August 10, 2011, 03:59:34 pm
Okay, I'll boot over in Linux and try Wine out. I'l have no problem setting up the emulator (I can just copy and paste my flash, boot2, etc. from Windows) but we'll see about Wine.
Title: Re: Nspire Emulator for Linux
Post by: Munchor on August 10, 2011, 04:07:08 pm
sammyMaX, I use nspire_emu very easily on Linux, go over at #nspire-lua in irc.efnet.net and we'll explain you. Levak made a tool that makes it much simpler ;) I can't recall the name though :S
Title: Re: Nspire Emulator for Linux
Post by: Levak on August 10, 2011, 04:42:11 pm
Well, it doesn't have a name x)
http://ti.bank.free.fr/index.php?mod=archives&ac=voir&id=2099 (and replace the nspire_emu.exe by this one (http://www.omnimaga.org/index.php?action=dlattach;topic=6763.0;attach=7833))

Under Linux, you can use a pretty Zenity GUI I've made to navigate through the menus (really simple, nspire_emu.exe remains the same)
Title: Re: Nspire Emulator for Linux
Post by: Jim Bauwens on August 10, 2011, 04:50:37 pm
Hmm, maybe I'll set it up on my computer, can be quite handy for testing (no need for an actual nspire).

@Levak, your rating is 42 :D
Title: Re: Nspire Emulator for Linux
Post by: Munchor on August 10, 2011, 05:03:02 pm
Hmm, maybe I'll set it up on my computer, can be quite handy for testing (no need for an actual nspire).

@Levak, your rating is 42 :D

Not anymore, I + him for making this program.
Title: Re: Nspire Emulator for Linux
Post by: sammyMaX on August 10, 2011, 05:05:43 pm
I am running the non-gui script, and I get an error about permissions. I am running it as "sudo bash run_en" and after giving the name of the flash, it gives an error.
Title: Re: Nspire Emulator for Linux
Post by: Munchor on August 10, 2011, 05:06:09 pm
I am running the non-gui script, and I get an error about permissions. I am running it as "sudo bash run_en" and after giving the name of the flash, it gives an error.

You need to do:

sudo chmod +x ./nspire_emu.exe

Oh wait, and concerning running the script, +x it and run it as ./run_en
Title: Re: Nspire Emulator for Linux
Post by: Jim Bauwens on August 10, 2011, 05:06:39 pm
You might have to make the script/program executable with chmod (chmod +x file).

Edit: Ninja'd/Grilled
Title: Re: Nspire Emulator for Linux
Post by: sammyMaX on August 10, 2011, 05:18:11 pm
Okay, I got this working. At first I was trying to load my saved .bin from Windows, but it turns out the script liked .roms more so I had to remake everything. It was worth it though :) Thanks!