Homebrew Making my first program, ran into a problem.

  • Thread starter Thread starter LinkMain111
  • Start date Start date
  • Views Views 3,831
  • Replies Replies 29

LinkMain111

Well-Known Member
Member
Joined
Jul 21, 2015
Messages
125
Reaction score
54
Trophies
0
Age
29
XP
239
Country
upload_2015-9-20_11-28-2.png
If anyone can help I will be thankful.
 
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.
 
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.
Hey @mashers, I am trying to port some nds homebrew.
 
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.
 
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 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:
upload_2015-9-20_11-48-20.png

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.
 
It'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.
 
It'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.
I have given up on porting the NDS Homebrew. I would like to display an image using the lua interpreter. Here is my code
upload_2015-9-20_11-56-36.png


However I get this error on Citra and on my 3DS.
upload_2015-9-20_12-0-41.png

None of the displayed options work other than exit.
 
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.
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
 
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
So is there anyway I can actually make it work.
 
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
An error, can you please point out where that is. Also you think I forgot to reupload, please explain what you mean by that.
 
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
Code:
bitmap2 = Screen.loadImage(System.currentDirectory().."/file.bmp")
then it should load the picture
 
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
I tried what you said and I got this.
upload_2015-9-20_12-25-58.png

Thanks for the help though.
 

Site & Scene News

Popular threads in this forum