New to Pokemon Mini

The main forum, all general PM related threads go in here.
VirtualChris
Posts: 153
Joined: February 21st, 2015, 22:53
Location: United States
Contact:

Re: New to Pokemon Mini

Post by VirtualChris »

I already have a program called msys for something else. How would I make it work to open this file? Or am I just plain too dumb to make these games? :(
zoranc
Posts: 298
Joined: August 13th, 2010, 18:13
Contact:

Re: New to Pokemon Mini

Post by zoranc »

VirtualChris wrote:I already have a program called msys for something else. How would I make it work to open this file? Or am I just plain too dumb to make these games? :(
If you never used command line tools in linux or similar then the first time it's rough I guess. I would still suggest that you install the latest version as they get improved. Also maybe the main installation package is in fact MinGW which will in turn install msys too. Haven't used those in a while...

When you open msys you type cd, and that will bring you to home directory. With command ls you will see the contents of the directory. Assuming you have copied the file there type in sequence:

Code: Select all

tar xzvf pmdev.tar.gz
cd pmdev
./build_all.sh
cd prj/petals
make
ls
At this point if you see petals.min among the files you have successfully compiled your firs PM rom.

In closing, probably some basic knowledge of bash would be useful here.
VirtualChris
Posts: 153
Joined: February 21st, 2015, 22:53
Location: United States
Contact:

Re: New to Pokemon Mini

Post by VirtualChris »

I typed the first line in and it wouldn't let me enter a second one without error messages. Perhaps I'm using a wrong version of Msys?
zoranc
Posts: 298
Joined: August 13th, 2010, 18:13
Contact:

Re: New to Pokemon Mini

Post by zoranc »

I suggest you first remove any old msys and mingw you have.

OK, So pulled out my virtual Win7 machine and tested it, so do the following:
1. Install latest MinGW. There I chose:
- dev-toolkit
- g++
- base
2. Install the msys telling it that my mingw is in c:/MinGW . Observe the proper slash I gave here, pls.
3. Open msys and type:

Code: Select all

cat > .profile
PATH="$HOME/bin:$PATH"
^D
The last line is Control + d. It is on a new line.
4. Close MSYS.
5. Start it again.
6. Run all the steps from my previous post.
7. Download the PokeMini and put it in the $HOME/bin directory.
8. Type make run
9. Enjoy your first successful PM build + emulation. ;-)
User avatar
YasaSheep
Posts: 205
Joined: November 20th, 2005, 04:04
Location: Portland (Also the discord)
Contact:

Re: New to Pokemon Mini

Post by YasaSheep »

Code: Select all

echo 'PATH="$HOME/bin:$PATH"' > .profile
is a lot simpler and also generally tar (and everything) works with a dash for flags ie.

Code: Select all

tar -xvf pmdev.tar.gz
the z is redundant but you can use it if you like.
VirtualChris
Posts: 153
Joined: February 21st, 2015, 22:53
Location: United States
Contact:

Re: New to Pokemon Mini

Post by VirtualChris »

I give up. This is too hard and dumb.
Image
User avatar
YasaSheep
Posts: 205
Joined: November 20th, 2005, 04:04
Location: Portland (Also the discord)
Contact:

Re: New to Pokemon Mini

Post by YasaSheep »

So there's nothing in your home directory. Where did you put the archive?
JustBurn
Team Pokémé
Posts: 90
Joined: April 14th, 2011, 19:07

Re: New to Pokemon Mini

Post by JustBurn »

This whole situation...
Image
Image

I'm not blaming you VirtualChris, being shoved with all this cryptic Linux commands isn't easy for a Windows user that never tried any Linux distro in his life.

I personally use the PokeMini Dev Package and only need to run \pn\pn.exe (Programmer's Notepad) for everything... but that package only have support for ASM (the code generated from the C compiler conflicts with the libs and impose limitations such as 32KB code). So you have a double-edge sword situation.
zoranc
Posts: 298
Joined: August 13th, 2010, 18:13
Contact:

Re: New to Pokemon Mini

Post by zoranc »

VirtualChris wrote:I give up. This is too hard and dumb.
There are 3 good solutions to your problem:
1. Execute all steps as we explained them.
2. Go to some Linux or our irc channel and ask for interactive help.
3. Or finally try here.
User avatar
YasaSheep
Posts: 205
Joined: November 20th, 2005, 04:04
Location: Portland (Also the discord)
Contact:

Re: New to Pokemon Mini

Post by YasaSheep »

It's sort of ironic how much more effort it's taking to use the easier programming language. lol

I really would suggest going with JB's suggestion and biting the bullet with regards to using ASM. It's fully functional that way after all, and with such a small system it's really not so bad to manage.
Post Reply