Hey @mashers, I am trying to port some nds homebrew.You either haven't defined the variables you are using or haven't included the header in which they are defined. Is this code you copied and pasted from an example? If so then it seems that you haven't copied everything.
I think I will just remake Space Invaders. There is a problem with my lua interpreter. When I try to display an image i get this screen:Ok, so it seems that you are either copying individual source files so some necessary headers are missing, or copying and pasting bits of code meaning that the declarations for the methods or variables mentioned in the errors are missing. You need to look at the errors and see what it is telling you is missing (I.e. which variable or method is it telling you has not been declared), then find out where those things are defined in the original source code and ensure it is included in the same way in your port. Also ensure that any libraries which are used in the original version are included and linked in your port otherwise you will be missing some needed declarations of methods and variables.
I have given up on porting the NDS Homebrew. I would like to display an image using the lua interpreter. Here is my codeIt's impossible to help you with any of these problems without a lot more information on what you are actually trying to do and how you are doing it.
A restarts the homebrew which will result in the same error, this goes so quick that you dont see any different, but it did happen.I think I will just remake Space Invaders. There is a problem with my lua interpreter. When I try to display an image i get this screen:View attachment 25584
And on the 3ds even when I press the Y or A button it doesn't do anything. However the B button does allow me to exit.
So is there anyway I can actually make it work.A restarts the homebrew which will result in the same error, this goes so quick that you dont see any different, but it did happen.
Y tries to start an ftp server which fails due to a bug in ironhax and tubehax
The ftp? Only with the older exploits.So is there anyway I can actually make it work.
An error, can you please point out where that is. Also you think I forgot to reupload, please explain what you mean by that.The ftp? Only with the older exploits.
But your there is just an error in your script. I think you forgot to reupload t to be honest
bitmap2 = Screen.loadImage(System.currentDirectory().."/file.bmp")
I tried what you said and I got this.You have the variable for the picture leading in the wrong folder. it tries to go to SD:/file.bmp and not to SD:/3ds/example/file.bmp
replace Line 4 with
bitmap2 = Screen.loadImage(System.currentDirectory().."/file.bmp")
then it should load the picture
It continues to show thisi thinl you forgotten to upload the picture what citra/the 3ds shows
can it even load bmps? Shouldn't you be using pngs?I tried what you said and I got this.View attachment 25588
Thanks for the help though.
Did what you said and now it comes up with thiscan it even load bmps? Shouldn't you be using pngs?
And doesn't Citra have a folder to use as SD card?
INDENT YOUR CODE PLSI got images to show doing this. I I hope it helps!
--------------------- MERGED ---------------------------
.png's will also work