Homebrew Help Building atari800 latest build for 3ds

RandomMan25XX

Well-Known Member
OP
Member
Joined
Jun 21, 2012
Messages
299
Trophies
1
Age
27
Location
On Your Hard Drive
XP
987
Country
United States
Who would've thought I'd be back asking for more help, but here I am yet again, I simply cannot figure out what I'm missing to build it and no amount of searching or installing and reinstalling all of the known tools can get me any further, I just ask if someone can build it for me and perhaps even supply some sort of walkthrough of sorts so I can avoid having to come here to ask for more assistance
Here's the link: https://github.com/asiekierka/atari800/tree/port-3ds

CIA has been built using the elf file provided by @DarkElf, enjoy
 

Attachments

  • mrg_2020-04-19_20-38-22.073.png
    mrg_2020-04-19_20-38-22.073.png
    564 KB · Views: 199
  • atari800-3ds.7z
    520.5 KB · Views: 205
Last edited by RandomMan25XX,

darkweb

Well-Known Member
Newcomer
Joined
Mar 15, 2020
Messages
45
Trophies
0
Age
39
XP
346
Country
Canada

RandomMan25XX

Well-Known Member
OP
Member
Joined
Jun 21, 2012
Messages
299
Trophies
1
Age
27
Location
On Your Hard Drive
XP
987
Country
United States
I was able to compile a .3dsx file in my dev environment using the following commands:
Code:
git clone https://github.com/asiekierka/atari800.git
cd atari800
git checkout port-3ds
make -f Makefile.3ds

If you want to set up the same kind of dev environment you can check out my blog posts here: https://darkwebcrypt.blogspot.com/2020/02/dungeons-of-daggorath-3ds-setting-up.html
It's something regarding automake missing components or something like that, I honestly don't know where to even start with finding whatever the hell is missing, that and it complains that tools I already have (makerom and what not, the usual suspects for building stuff for 3ds) are missing, despite having everything setup in PATH, I'll give it another go but I won't have my hopes up
 
Last edited by RandomMan25XX,

darkweb

Well-Known Member
Newcomer
Joined
Mar 15, 2020
Messages
45
Trophies
0
Age
39
XP
346
Country
Canada
It's something regarding automake missing components or something like that, I honestly don't know where to even start with finding whatever the hell is missing, that and it complains that tools I already have (makerom and what not, the usual suspects for building stuff for 3ds) are missing, despite having everything setup in PATH, I'll give it another go but I won't have my hopes up
You shouldn't be using automake. I don't even have it installed on my system. Just use the Makefile.3ds to build it.

I'll also clarify that I'm running this on a Linux system, not Windows. Can you post what errors you're seeing when you run "make -f Makefile.3ds"?

I've also added the file that was built. I haven't tested it though so I have no idea if it works.
 

Attachments

  • atari800.zip
    468.1 KB · Views: 149
Last edited by darkweb,

RandomMan25XX

Well-Known Member
OP
Member
Joined
Jun 21, 2012
Messages
299
Trophies
1
Age
27
Location
On Your Hard Drive
XP
987
Country
United States
You shouldn't be using automake. I don't even have it installed on my system. Just use the Makefile.3ds to build it.

I'll also clarify that I'm running this on a Linux system, not Windows. Can you post what errors you're seeing when you run "make -f Makefile.3ds"?

this is the outcome after trying to use the autogen.sh script in mingw, see next post for trying to use the makefile as suggested
 

Attachments

  • Annotation 2020-04-16 210622.png
    Annotation 2020-04-16 210622.png
    42.2 KB · Views: 156
Last edited by RandomMan25XX,

darkweb

Well-Known Member
Newcomer
Joined
Mar 15, 2020
Messages
45
Trophies
0
Age
39
XP
346
Country
Canada
this is what I get trying to build the makefile
That's interesting. When I remove that file and rebuild it using that command, my compiler generates the .d file whereas it looks like yours doesn't.

upload_2020-4-17_10-22-46.png



Maybe your devkitpro is outdated.

What version of gcc are you using?

Here's mine:
upload_2020-4-17_10-21-3.png
 

RandomMan25XX

Well-Known Member
OP
Member
Joined
Jun 21, 2012
Messages
299
Trophies
1
Age
27
Location
On Your Hard Drive
XP
987
Country
United States
That's interesting. When I remove that file and rebuild it using that command, my compiler generates the .d file whereas it looks like yours doesn't.

View attachment 205036


Maybe your devkitpro is outdated.

What version of gcc are you using?

Here's mine:
View attachment 205035
I have the latest versions of devkitpro, gcc that comes with devkitpro, and etc
 

darkweb

Well-Known Member
Newcomer
Joined
Mar 15, 2020
Messages
45
Trophies
0
Age
39
XP
346
Country
Canada
That's odd. The -MMD option is supposed to auto-generate the dependency file that it is complaining about and I see that it is in the command line output.

Can you try running the arm-none-eabi command by itself to see if it will compile the .o file?

If that doesn't work, you could try just creating dummy .d files with nothing in them to see if that will let it compile. Just do something like:
Code:
cd src
for i in *.c; do echo $i | touch `sed 's/\.c/\.d/'`; done
 

RandomMan25XX

Well-Known Member
OP
Member
Joined
Jun 21, 2012
Messages
299
Trophies
1
Age
27
Location
On Your Hard Drive
XP
987
Country
United States
That's odd. The -MMD option is supposed to auto-generate the dependency file that it is complaining about and I see that it is in the command line output.

Can you try running the arm-none-eabi command by itself to see if it will compile the .o file?

If that doesn't work, you could try just creating dummy .d files with nothing in them to see if that will let it compile. Just do something like:
Code:
cd src
for i in *.c; do echo $i | touch `sed 's/\.c/\.d/'`; done
I honestly just gave up and used that 3dsx you provided with the banner I generated to make a CIA, only downside is the lack of a banner on the home menu
 

MrHuu

Well-Known Member
Member
Joined
Sep 19, 2015
Messages
562
Trophies
0
Age
37
XP
1,617
Country
Netherlands
Code:
fatal error: opening dependency file //c/Users/mmoye/Downloads/atari800-port-3ds/src/afile.d: No such file or directory

The compiler complains about not being able to create 'afile.d' at given location.

Looking at the path, especially at:
Code:
//c/Users/

Makes me think MSYS, in a windows environment, doesn't allow a double slash in front of the drivename.
The same makefile builds fine in a unix environment.

I never bothered with MSYS after some other undefined errors i was getting, and went straight to a virtual machine running ubuntu to setup the environment.
 

darkweb

Well-Known Member
Newcomer
Joined
Mar 15, 2020
Messages
45
Trophies
0
Age
39
XP
346
Country
Canada
Well, if you've got any idea of how to add a banner to the CIA (and perhaps a sound) that's probably my next step (unless you've got the elf file if that's the result of the makefile used, then I could build a CIA with that instead)
Sure. Here's the elf file.

Ah good catch MrHuu! That double slash is definitely a problem on Windows as that is used to specify a network path whereas Linux doesn't care about that. I've been looking into the Makefile but I think it might be because it is using absolute paths for everything whereas in general, devkitpro uses relative paths so it looks more like a framework issue.
 

Attachments

  • atari800elf.zip
    1.5 MB · Views: 144

RandomMan25XX

Well-Known Member
OP
Member
Joined
Jun 21, 2012
Messages
299
Trophies
1
Age
27
Location
On Your Hard Drive
XP
987
Country
United States
Sure. Here's the elf file.

Ah good catch MrHuu! That double slash is definitely a problem on Windows as that is used to specify a network path whereas Linux doesn't care about that. I've been looking into the Makefile but I think it might be because it is using absolute paths for everything whereas in general, devkitpro uses relative paths so it looks more like a framework issue.
Well, time I get a Linux distro reinstalled, thank you for taking the time to help and @MrHuu for pointing out that the double slash is an issue
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: I'm half way at my savings for a new move