@kane159
Here is a preview of what you asked, but there is a lot of work to do yet.
View attachment 96517
Wow! Holy s**t u r so fast bro!
Hope it can support not only english but gbk,big5 and Shift-JIS in the end!
從我的iPhone使用Tapatalk Pro 發送
@kane159
Here is a preview of what you asked, but there is a lot of work to do yet.
View attachment 96517
I compiled both onscripter and onscripter-en. When finished, porting onscripter-cn (for chinese language) will be easy. Don't know if these programs support other languages or if there are specific forks.Wow! Holy s**t u r so fast bro!
Hope it can support not only english but gbk,big5 and Shift-JIS in the end!
從我的iPhone使用Tapatalk Pro 發送
Probably the max value isn't correct.Utilizing SDL_Joystick, it seems i'm getting wrong values returned.
for example:
SDL_JoystickGetAxis(joy1, 0);
SDL_JoystickGetAxis(joy1, 1);
Both, when the positive value reaches about 31000, they invert. They become negative.
Resulting in a value translated to the wrong direction.
Is this intended behaviour?
Is starbound open source?Wasn't starbound made with SDL? It'd be super cool to see that be ported.
@MrHuu joystick should be fixed now. Just updated the sources on github
The cause was that the range value for the PAD isfrom -156 to 156. The driver multiplies it for 210 to be about in the range for SDL Joystick that is is that of a s16 value ( -32768 to 32767).
But probably some PAD can give a slight greater max value (they are analogic devices) so the final value becomes greater than 32767 and is interpreted as a negative value.
To fix the problem I limited the PAD output values before converting them to the SDL Joy values.
sadly, no. although the developers talked about doing it, nothing ever happened.Is starbound open source?
pedro4@pedroSystem ~/Repositories/SDL-3DS $ make
/bin/sh: 2: ./autogen.sh: Permission denied
Makefile:86: fallo en las instrucciones para el objetivo 'SDL'
make: *** [SDL] Error 126
pedro4@pedroSystem ~/Repositories/SDL-3DS $ make install
make[1]: se entra en el directorio '/home/pedro4/Repositories/SDL-3DS/SDL-1.2.15'
make[1]: *** No hay ninguna regla para construir el objetivo 'install'. Alto.
make[1]: se sale del directorio '/home/pedro4/Repositories/SDL-3DS/SDL-1.2.15'
Makefile:139: fallo en las instrucciones para el objetivo 'install'
make: *** [install] Error 2
Hello! I've been trying to install SDL for 3DS and I keep getting those errors:
Code:pedro4@pedroSystem ~/Repositories/SDL-3DS $ make /bin/sh: 2: ./autogen.sh: Permission denied Makefile:86: fallo en las instrucciones para el objetivo 'SDL' make: *** [SDL] Error 126 pedro4@pedroSystem ~/Repositories/SDL-3DS $ make install make[1]: se entra en el directorio '/home/pedro4/Repositories/SDL-3DS/SDL-1.2.15' make[1]: *** No hay ninguna regla para construir el objetivo 'install'. Alto. make[1]: se sale del directorio '/home/pedro4/Repositories/SDL-3DS/SDL-1.2.15' Makefile:139: fallo en las instrucciones para el objetivo 'install' make: *** [install] Error 2
What could be causing this?
Shouldn't have to do that since he's using his home directory as the build environment. One should never call on su when doing this anyway. He's missing build dependencies from the looks of it.Do you have admin rights? Try 'sudo make'.
Do you have admin rights? Try 'sudo make'.
Shouldn't have to do that since he's using his home directory as the build environment. One should never call on su when doing this anyway. He's missing build dependencies from the looks of it.
Try "sudo -s make all" instead. You need devkitARM set up first, though.Which dependencies?
It didn't make any difference:Try "sudo -s make all" instead. You need devkitARM set up first, though.
pedro4@pedroSystem ~/Repositories/SDL-3DS $ sudo -s make all
[sudo] password for pedro4:
/bin/sh: 2: ./autogen.sh: Permission denied
Makefile:86: fallo en las instrucciones para el objetivo 'SDL'
make: *** [SDL] Error 126
Hello! I've been trying to install SDL for 3DS and I keep getting those errors:
Code:pedro4@pedroSystem ~/Repositories/SDL-3DS $ make /bin/sh: 2: ./autogen.sh: Permission denied Makefile:86: fallo en las instrucciones para el objetivo 'SDL' make: *** [SDL] Error 126 pedro4@pedroSystem ~/Repositories/SDL-3DS $ make install make[1]: se entra en el directorio '/home/pedro4/Repositories/SDL-3DS/SDL-1.2.15' make[1]: *** No hay ninguna regla para construir el objetivo 'install'. Alto. make[1]: se sale del directorio '/home/pedro4/Repositories/SDL-3DS/SDL-1.2.15' Makefile:139: fallo en las instrucciones para el objetivo 'install' make: *** [install] Error 2
What could be causing this?
That certainly worked! How did I not come up with that before? Thank you!Set execution permission on autogen.sh.
I have a windows machine with msys, so the files I uploaded miss the unix permissions.
I should merge this port to the SDL main repository, but at the moment I don't have time for this.
checking for arm-none-eabi-gcc... no
checking for gcc... gcc
checking whether the C compiler works... no
arm-none-eabi-gcc
arm-none-eabi-gcc: fatal error: no input files
compilation terminated.
Post the output of 'echo $PATH' please.That certainly worked! How did I not come up with that before? Thank you!
Now I'm getting this new error:
Code:checking for arm-none-eabi-gcc... no checking for gcc... gcc checking whether the C compiler works... no
I wonder what's wrong with it, I added myself /opt/devkitpro/devkitARM/bin:/opt/devkitpro/portlibs/3ds/bin:/opt/devkitpro/portlibs/armv6k/bin to the PATH (env var) and if I type
Code:arm-none-eabi-gcc
I get this:
Code:arm-none-eabi-gcc: fatal error: no input files compilation terminated.
So that confirms there's nothing wrong with the PATH.