Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2016-08-04 15:49:41

GabrielBedrunka123
Member
From: Germany
Registered: 2016-08-04
Post 1/13

Converting Sprites via Python and PyPng?

Hi I´m Gabriel 22 from Germany. I´m new here and i like to know some things about Pokemon Red/Blue Hacking.First of all i want to add Lugia to the game followed all Instructions from SCHATTENJÄGER step by step but now i have a  few questions.1. Do I have to convert the PNG Sprites to fit in the game? Via Python and PyPng (downloaded Pokered via Cygwin )? How can I do this what commands do i have tp type in? 2. t do i have to "make" the rom after that again? to change the game with the changes i made? Hope someone can answer soon. Help is appreciated. Thanks. And greeting from Spain ( Holydays)

Offline

#2 2016-08-04 16:55:31

Danny-E 33
Administrator
Registered: 2012-06-09
Post 970/1,026

Re: Converting Sprites via Python and PyPng?

Hi, Gabriel.

If you are using the disassembly as a starting point, then yes, after you make the changes that you want, you will type 'make' to build a new rom with the changes.

The way the disassembly is currently set up, you don't have to manually convert the new png before building the rom. When you type 'make', the png will be converted automatically.

If you want to see all the changes that need to be made to the source code to add a pokemon, refer to my guide here.


Red Hack: Pokémon Prototype

Total number of registered users: 7000+
Total number of active users: ~12

Offline

#3 2016-08-04 18:11:38

GabrielBedrunka123
Member
From: Germany
Registered: 2016-08-04
Post 2/13

Re: Converting Sprites via Python and PyPng?

Hi Danny-E 33 Thanks for answering my questions. Will read your guide first before and check up before i ask a new question. I have a few. For example how can i name the base stats asm with " in it for example INCLUDE "data/baseStatsmew.asm" I cannot save a file with " or / in it using notepad++. So i decided to pick the base Stats from Mateos Red++ Hack from Lugia and it worked.

Offline

#4 2016-08-04 22:16:15

GabrielBedrunka123
Member
From: Germany
Registered: 2016-08-04
Post 3/13

Re: Converting Sprites via Python and PyPng?

Hope you or someone else can help me with this :


Gabriel@WohnzimmerPC ~
$ cd pokered

Gabriel@WohnzimmerPC ~/pokered
$ make
rgbasm -D _RED -h -o audio_red.o audio.asm
Usage: rgbasm [-v] [-h] [-b chars] [-g chars] [-i path] [-o outfile]
              [-p pad_value] file.asm
C:\Users\Gabriel\Desktop\Pokered Project\usr\local\bin\rgbasm.exe: invalid option -- D
make: *** [Makefile:37: audio_red.o] Fehler 1

Gabriel@WohnzimmerPC ~/pokered
$

Offline

#5 2016-08-05 16:14:23

Danny-E 33
Administrator
Registered: 2012-06-09
Post 971/1,026

Re: Converting Sprites via Python and PyPng?

GabrielBedrunka123 wrote:

Hi Danny-E 33 Thanks for answering my questions. Will read your guide first before and check up before i ask a new question. I have a few. For example how can i name the base stats asm with " in it for example INCLUDE "data/baseStatsmew.asm" I cannot save a file with " or / in it using notepad++. So i decided to pick the base Stats from Mateos Red++ Hack from Lugia and it worked.

Do you understand how folder hierarchies work? 'data' is a folder. 'baseStats' is a folder inside the data folder, and mew.asm is a file inside the baseStats folder. The file itself does not have a / in the filename.

Also, when using INCLUDE, you put the name of the file in quotation marks.. but again the file does not contain " in the filename.

GabrielBedrunka123 wrote:

Hope you or someone else can help me with this :


Gabriel@WohnzimmerPC ~
$ cd pokered

Gabriel@WohnzimmerPC ~/pokered
$ make
rgbasm -D _RED -h -o audio_red.o audio.asm
Usage: rgbasm [-v] [-h] [-b chars] [-g chars] [-i path] [-o outfile]
              [-p pad_value] file.asm
C:\Users\Gabriel\Desktop\Pokered Project\usr\local\bin\rgbasm.exe: invalid option -- D
make: *** [Makefile:37: audio_red.o] Fehler 1

Gabriel@WohnzimmerPC ~/pokered
$

You need to download the newest version of rgbds


Red Hack: Pokémon Prototype

Total number of registered users: 7000+
Total number of active users: ~12

Offline

Board footer

Powered by FluxBB