How to use WLA DX, how does it work?

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
How to use WLA DX, how does it work?
by on (#100594)
I'm very new to homebrewing, and I just wanted to make sure things work before learning to code SNES games.

I downloaded WLA DX as everybody likes that one.

I tried to test things out, but I'm not sure how the whole process works.

I don't know HOW to use the little compilers to compile codes,
everytime I click on it (wla-65816, and the other of these kind of files in it), it displays a command prompt for only a milisecond, I even tried to
drag the files of code onto it, and the same thing happens.
So I guess I don't understand how to use this or the other stuff.

If somebody could tell me how Snes homebrew with WLA DX works step by step, that would help alot.
It would especially help if there were videos showing how to use it step by step, or if someone was nice enough or had time to make videos of it, that would help me very much, but thats optional. Or if theres just something I'm doing wrong, or if theres a way that it has to be set up let me know please.

I'm just completely new to this, Help is very much appreciated!!
Re: How to use WLA DX, how does it work?
by on (#100597)
That's how every compiler works, they all are command line tools without GUI. You have to specify a number of parameters, input and output files and so on. This usually done through bat or make files to avoid typing these parameters every time. The parameters are all explained in the docs and depends on a certain situation. If you want to have GUI, you will have to setup one, an IDE, by your own - there are many universal IDEs, but that is way more difficult if you don't have such experience and no one hooked it up to WLA yet.

I don't think there is a step by step guide for SNES homebrew. There are barely any such guides for any platform, actually. That's because every situation is unique, and you just have to have a lot of general knowledge to be able to handle a situation.

However, if you know C by a chance, I can recommend easier way to get started with SNES homebrew, PVSnesLib. It uses WLA too, so you will be able to use assembly code.
Re: How to use WLA DX, how does it work?
by on (#100599)
Shiru wrote:
However, if you know C by a chance, I can recommend easier way to get started with SNES homebrew, PVSnesLib. It uses WLA too, so you will be able to use assembly code.


I acctually have been in the middle of studying c++, no other language. Will that do?
Re: How to use WLA DX, how does it work?
by on (#100600)
C++ knowledge includes C knowledge.
Re: How to use WLA DX, how does it work?
by on (#100605)
Alright, Thanks for handing me this! It looks alot better and easier!
Re: How to use WLA DX, how does it work?
by on (#100633)
Shiru wrote:
C++ knowledge includes C knowledge.

But you're taught to do things in a completely different way than in C, so only the most basic structures (if, while, etc.) really carry over. Syntax will keep looking familiar at least.