Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#226 2016-09-30 16:58:42

MechanicalPen
Member
Registered: 2016-06-22
Post 20/28

Re: Simple Questions & Answers

I'm sure I must just be looking in the wrong places but;

How do I change the SGB pallete on the 'six pokeballs' battle UI from green to red?

Offline

#227 2016-09-30 17:42:51

Mateo
Member
From: The Sims 4
Registered: 2009-11-25
Post 3,407/3,456

Offline

#228 2016-10-09 07:43:33

value chain
Member
Registered: 2016-09-25
Post 5/29

Re: Simple Questions & Answers

Hello guys!

Sorry to bother you again but i have a quick question: how can i convert a png file to a 2bpp file?

I've looked all over the disassembly and the only thing i found was this: https://github.com/pret/pokemon-reverse … ols/gfx.py starting in line 551

The problem is, when i type the instruction in cygwin it doesn't recognize the conversion command there! Here's the command:

user@user ~/pokered/extras/pokemontools
$ python gfx.py export_png_to_2bpp
Traceback (most recent call last):
  File "gfx.py", line 941, in <module>
    main()
  File "gfx.py", line 936, in main
    raise Exception, "Unknown conversion method!"
Exception: Unknown conversion method!

Can you tell me what i'm doing wrong?

Thanks :D

Offline

#229 2016-10-09 07:52:08

Tauwasser
Member
Registered: 2010-10-16
Post 447/447

Re: Simple Questions & Answers

You need to call the script with a valid conversion method. Methods are:

method = {
        '2bpp': convert_to_2bpp,
        '1bpp': convert_to_1bpp,
        'png':  convert_to_png,
        'lz':   compress,
        'unlz': decompress,
}.get(args.mode, None)

cYa,

Tauwasser

Offline

#230 2016-10-09 08:45:09

value chain
Member
Registered: 2016-09-25
Post 6/29

Re: Simple Questions & Answers

Tauwasser wrote:

You need to call the script with a valid conversion method. Methods are:

method = {
        '2bpp': convert_to_2bpp,
        '1bpp': convert_to_1bpp,
        'png':  convert_to_png,
        'lz':   compress,
        'unlz': decompress,
}.get(args.mode, None)

cYa,

Tauwasser

Success!

Thank you sir :D

Offline

#231 2016-10-13 21:23:47

value chain
Member
Registered: 2016-09-25
Post 7/29

Re: Simple Questions & Answers

Hey guys!

Sorry to bother you yet again, but i come with an unrelated issue this time.

I'm trying to make a Pokemon learn 2 moves at the same level, one after another, in pokered. The most obvious (for me) thing to do was editing data/evos_moves.asm and just add both moves at the same level, but when playing the rom the pokemon just learns whatever move is listed first.

So i then searched the disassembly for the learning move routine... and i think i found it:

https://github.com/pret/pokered/blob/ma … s.asm#L320

I think i need to call the subroutine(?) on line 338 a number of times equal to the number of attacks should a pokemon learn at a certain level, but i have no idea on how to do that.

Also, if i just change it to 2, i fear the routine just would try to learn the first attack listed twice, in case you choose not to learn it.

Any advice on what should i do?

Thanks :)

Offline

#232 2016-10-13 22:19:16

Mateo
Member
From: The Sims 4
Registered: 2009-11-25
Post 3,414/3,456

Re: Simple Questions & Answers

There was an oversight in Gen 1, where they assumed a Pokemon would only be assigned to learn one move per level. Related to this, if you skip over a level (ie gaining enough experience to grow from Lv5 to Lv12 due to switch training or something) you would miss the chance to learn any moves assigned to the levels you skipped over. It was pretty simple to fix though, by just porting the relevant changes from Gen 2 over.

Take a look here and here for info on fixing both of those issues.

Last edited by Mateo (2016-10-13 22:19:55)

Offline

#233 2016-10-13 22:54:57

MechanicalPen
Member
Registered: 2016-06-22
Post 27/28

Re: Simple Questions & Answers

Maybe try copying this? https://github.com/TheFakeMateo/RedPlus … 8edea031c4

Edit: Whoops! Mateo is on it.

Last edited by MechanicalPen (2016-10-13 22:57:08)

Offline

#234 2016-10-13 23:10:37

value chain
Member
Registered: 2016-09-25
Post 8/29

Re: Simple Questions & Answers

Thank you guys, it worked perfectly!

Sorry for the trouble and thanks for being so kind :D

See you later

Offline

#235 2016-10-13 23:34:32

Mateo
Member
From: The Sims 4
Registered: 2009-11-25
Post 3,415/3,456

Re: Simple Questions & Answers

No problem, glad to help.

Offline

#236 2016-10-26 20:27:25

Lost_SoulSilver
New member
Registered: 2016-10-25
Post 1/2

Re: Simple Questions & Answers

Hello there!

Does anyone knows something like GoldMap or JohtoMap but working into Pokemon Crystal?

Last edited by Lost_SoulSilver (2016-10-26 21:03:37)

Offline

#237 2016-10-26 23:35:39

value chain
Member
Registered: 2016-09-25
Post 16/29

Re: Simple Questions & Answers

Hey!

I think G2Map works with English Crystal...  Have you tried it out yet?

Offline

#238 2016-10-27 11:44:23

Crystal_
Member
From: Spain
Registered: 2012-09-16
Post 405/411
Website

Offline

#239 2016-10-30 16:27:55

y0r124
Member
From: Anywhere.
Registered: 2012-09-12
Post 328/331
Website

Re: Simple Questions & Answers

Need help repointing type effectiveness table

I want to add new type effectiveness
The pointer to type effectiveness was 0x34934 (0D:4934) in gold

the pointer is

.0D:4934
ld hl, 4D01 ;21 01 D4
ldi a,(hl) ;followed by some code, which i don't quite understand
cp a,FF
jr z,497F
...

load the type weak/strong to a, compare a with ff ??

the pointer lead to table at 0x34d01
there's not enough space in this bank to put the whole old table + new table

I move my table to another bank, but i can't seem properly called the table.

I tried to change the pointer with a jump to the end of bank for calling the table from different bank, but it's not as simple as that

.0D:4934
jp .7ff0

.7ff0
ld a,0e 
ld hl,8076 ; my new table located at 0x3B680 (0E:7680)
rst 08

then after rst 08, i should make a jump to the script after that pointer or simply put ret or this is totally wrong?

the worst result i got was ordinary crash, the not so worst result was something like "Sandstorm brewed.." looping endlessly

actually I'm still learn 'a little tiny bit' of asm, but I'm trying to mess with this to add new type.. but, yeah. Any help is apreciated ._.

thanks in advance~



edit : nvm, don't reply to this. I better expand my knowledge about ASM before get confused with things like this.

Last edited by y0r124 (2016-11-13 16:14:23)


my FB

Lurking somewhere here...

Offline

#240 2017-01-20 19:23:31

value chain
Member
Registered: 2016-09-25
Post 28/29

Re: Simple Questions & Answers

Hey guys!

Does someone know what causes the nicknames in the current box to shorten by deleting letters? What causes that glitch? Does it happen in vanilla red/blue?

Offline

#241 2017-01-24 23:44:39

Heger
New member
Registered: 2017-01-24
Post 2/5

Re: Simple Questions & Answers

I'm a total Linux noob, but I still want to take a stab at the disassembly. I have an issue regarding installation of the disassembly. If this is not the place to post such question (suggested IRC not very active lately), please let me know and I'll try an Ubuntu-specific forum.

Basically, when following https://github.com/pret/pokecrystal/blo … INSTALL.md
when Im in
'cd rgbds'
'sudo make install'

I get this error, referencing that I might be missing some libraries:

Package libpng was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpng.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libpng' found
In file included from src/gfx/gb.c:20:0:
include/gfx/main.h:20:17: fatal error: png.h: No such file or directory
#include <png.h>
                 ^
compilation terminated.
Makefile:90: recipe for target 'src/gfx/gb.o' failed
make: *** [src/gfx/gb.o] Error 1

Now, a normal person would attempt to find a way to install the library, but I have no clue. I've tried a couple ways but I haven't had a stroke of luck yet. I'm hoping one of you has been through a similar situation and have some insight.

Thanks, I look forward to being able to have fun with my favourite generation!

Offline

#242 2017-01-25 05:12:27

700/700

Re: Simple Questions & Answers

Heger wrote:

Now, a normal person would attempt to find a way to install the library, but I have no clue. I've tried a couple ways but I haven't had a stroke of luck yet. I'm hoping one of you has been through a similar situation and have some insight.

sudo apt-get install libpng-dev

IRC works fine as a place to ask questions, but some days if people are busy you might have to wait a bit for someone to answer.

#243 2017-01-25 08:24:18

Heger
New member
Registered: 2017-01-24
Post 3/5

Re: Simple Questions & Answers

IIMarckus wrote:
Heger wrote:

Now, a normal person would attempt to find a way to install the library, but I have no clue. I've tried a couple ways but I haven't had a stroke of luck yet. I'm hoping one of you has been through a similar situation and have some insight.

sudo apt-get install libpng-dev

IRC works fine as a place to ask questions, but some days if people are busy you might have to wait a bit for someone to answer.

No, I apologize. It was my fault. It's understandable if the time I get on is a very bad one.

Thank you very much. That worked wonders. I could successfully compile the .gbc now.

Offline

#244 2017-01-31 15:24:59

Maniac379
Member
Registered: 2015-01-15
Post 35/38

Re: Simple Questions & Answers

As I'm getting my feet wet with Pokecrystal I'm wondering if anyone knows how to change the starting location...just if someone has done it before?  I am thinking of making a game where you start in Gen 1 and mostly play normal and then you travel to Gen II after E4.  Has that been done before?

Also in Pokecrystal I noticed that I think the moon ball glitch was fixed, were the other capture glitches fixed?  I know the fast ball, love ball we're glitched as well as the status increasing capture rates.

Another question if changing TMs...since the TM comparability is spread out into 251 files, is there a simpler way to change TMs?

Offline

#245 2017-01-31 15:34:15

Rangi
Member
Registered: 2016-05-09
Post 502/554

Re: Simple Questions & Answers

Maniac379 wrote:

As I'm getting my feet wet with Pokecrystal I'm wondering if anyone knows how to change the starting location...just if someone has done it before?  I am thinking of making a game where you start in Gen 1 and mostly play normal and then you travel to Gen II after E4.  Has that been done before?

Also in Pokecrystal I noticed that I think the moon ball glitch was fixed, were the other capture glitches fixed?  I know the fast ball, love ball we're glitched as well as the status increasing capture rates.

Another question if changing TMs...since the TM comparability is spread out into 251 files, is there a simpler way to change TMs?

TPP Anniversary Crystal starts in Kanto, moves to Johto halfway through exploring Kanto, then goes back to Kanto after beating Johto. And Red++ 3.0 might have Johto post-game.

To change the starting location, edit the first entry in engine/spawn_points.asm ("spawn KRISS_HOUSE_2F, 3, 3").

pokecrystal does not fix any glitches. It reproduces a 100% accurate official ROM. There are comments explaining how to fix the Moon Ball glitch and others; search through the code for "bug:", "buggy", "BUG".


ROM hack: Pokémon Polished Crystal — version 2.2.0 released!

Offline

#246 2017-02-01 03:13:18

Maniac379
Member
Registered: 2015-01-15
Post 37/38

Re: Simple Questions & Answers

Rangi wrote:
Maniac379 wrote:

As I'm getting my feet wet with Pokecrystal I'm wondering if anyone knows how to change the starting location...just if someone has done it before?  I am thinking of making a game where you start in Gen 1 and mostly play normal and then you travel to Gen II after E4.  Has that been done before?

Also in Pokecrystal I noticed that I think the moon ball glitch was fixed, were the other capture glitches fixed?  I know the fast ball, love ball we're glitched as well as the status increasing capture rates.

Another question if changing TMs...since the TM comparability is spread out into 251 files, is there a simpler way to change TMs?

TPP Anniversary Crystal starts in Kanto, moves to Johto halfway through exploring Kanto, then goes back to Kanto after beating Johto. And Red++ 3.0 might have Johto post-game.

To change the starting location, edit the first entry in engine/spawn_points.asm ("spawn KRISS_HOUSE_2F, 3, 3").

pokecrystal does not fix any glitches. It reproduces a 100% accurate official ROM. There are comments explaining how to fix the Moon Ball glitch and others; search through the code for "bug:", "buggy", "BUG".

I'll have to give those hacks a play then, thanks!

Offline

#247 2017-02-07 20:58:02

value chain
Member
Registered: 2016-09-25
Post 29/29

Re: Simple Questions & Answers

It's gotten worse.
Now when I check the changed nickname pokemon's stats in the PC, it changes my trainer name to a blank space, after I do that, every pokemon acts like it's traded. When I check the stats in my party, it just locks up the game. If I release it without checking it, it appears to have no harmful side effects, but I want to know what causes this in the first place.

Offline

Board footer

Powered by FluxBB