News: 11 March 2016 - Forum Rules

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - fhrans

Pages: [1] 2
1
In MAME Debugger the colors of the palette change but, I understand that there is no way to export the ROM saving the edited changes in the Memory window.
https://we.tl/t-JcLnHmjpnA
You commented that you only found a snippet of the palette's code chain and didn't change anything by modifying it.
I don't know where to look to find out how this process happens, I've looked on Google but I can't find anything.

February 15, 2022, 04:12:34 pm - (Auto Merged - Double Posts are not allowed before 7 days.)
Can this website help to find the palette in the ROM?
https://web.archive.org/web/20161106154933/http://letshackarcadegames.com/?p=407

2
Ok, as you advised me, a good start would be with BlitzPlus.

I have contacted the person who has the channel arcade-cabinets.com and he told me that this video can help me:
https://www.youtube.com/watch?v=Rmd-tjT7Qvw

3
Download a 68000 assembly language manual. Due to my lack of programming knowledge, I see it as somewhat complicated.
https://ruidera.uclm.es/xmlui/bitstream/handle/10578/42/A_%20hardware_software_68000.pdf?sequence=1&isAllowed=y

To rule out alternatives, is it possible to modify the palette from Tile Molester and have it be modified in the ROM once you save it, or does the Tile Molester palette only serve to see the sprites with the correct colors and thus facilitate the location of the sprites?

4
My idea is to learn but I wanted to motivate myself by getting something simple first, like changing the color of her clothes but apparently it's not as simple as changing a code and that's it.
You are right, I already named the file gaiden.cpp. I wrote in many forums and I no longer remember if I had named it in this one.
The truth is that only in this forum I found interesting answers.
So, what steps do you advise me to follow?
How can I get to hack the game?
Learn C++
Learn how the MAME Debugger works
Learn 68000 assembly language
Correct?

February 08, 2022, 05:37:18 pm - (Auto Merged - Double Posts are not allowed before 7 days.)
I found these videos:
https://www.youtube.com/watch?v=NGibh6uPKRA&t=186s
https://www.youtube.com/watch?v=jP-j4F-X9RM
https://www.youtube.com/watch?v=h6PiYtlv7qA
https://www.youtube.com/watch?v=yasHR7F9oBU&t=22s
https://www.youtube.com/watch?v=qbsJI2F1fjs&t=20s
https://www.youtube.com/watch?v=bIl5hgVB4JE&t=569s
https://www.youtube.com/watch?v=p-Wa8TMd2jI&t=392s
https://www.youtube.com/watch?v=5kYBgawhXJA&t=184s
https://www.youtube.com/watch?v=RPEKtR9xeCo&t=21s

5
Wow, I know it's hard and I really appreciate your help and patience, but I'm really looking forward to hacking this game, even if it's just changing the color of Ryu's clothes.  :)
Could you guide me in the process even if it is complicated to achieve it?
I will follow the steps you tell me.

February 08, 2022, 09:22:45 am - (Auto Merged - Double Posts are not allowed before 7 days.)
Can the information in this file be of any use to us?
https://we.tl/t-FkLFuTpF0s
I downloaded it from this website:
http://adb.arcadeitalia.net/dettaglio_mame.php?game_name=gaiden

6
I don't know how to look at the exact values of his 16 palette colors in RAM in MAME Debugger to find Ryu's palette.
For example, one of the hexadecimal color codes for Ryu's clothing is bbbbee but I don't know how it is expressed in the MAME memory window.
https://ibb.co/YLbFRVT

I also downloaded the HxD program and opened the gaidenprg.bin file that I exported in MAME Debugger earlier but when searching for the value 78000 for example, it doesn't find it.
https://ibb.co/RHgJdBs

7
Yes, I know how to run MAME in debugger mode.
So for example if I wanted to change Ryu Hayabusa's clothes to yellow, would I just change that code and save?
I also knew the way to see the tiles and the palettes with F4, in fact, I have saved the palettes, but how can I apply them to make changes in the code according to the way you tell me?

February 05, 2022, 04:39:33 pm - (Auto Merged - Double Posts are not allowed before 7 days.)
Ok, now I opened MAME in debugger mode and exported gaidenprg.bin.

https://ibb.co/gTZQYjF

What hex editor do you advise me to edit it?
Until I start the C++ classes, could you create the program or code for me to de-interleave the files? You would do me a great favor.
I have already opened the memory window and found the value 078000 but it is not clear to me if it can be edited from the MAME Debugger itself or if I have to do it from the exported gaidenprg.bin file. Because then, what is the point of finding that value in MAME Debugger if we then edit it from a hex editor?

8
How can I see that the palette is already loaded in Palette RAM?
Where is it and how can I use the MAME memory viewer?
Which hex editor is better?
I found a C++ teacher but I haven't started classes yet.

9
I have one more query. To change the color palette, for example, the colors of Ryu Hayabusa's clothes, you would have to do it from Tile Molester or by modifying the code in another way. In the event that it was with another program, with which one would it be and how could it be done?
Thanks!

10
I'm going to try to modify the code you posted to do what I want.
I really appreciate the patience and help you offer me, it is a pleasure to deal with such wise people.

11
Good!
Do you know any book or website that stands out to learn C/C++?

I've already got the right palette for Ryu hayabusa.
https://ibb.co/K78t5Gw


12
So, there are sprites that are cut, for example, the trunk and on the other hand the legs. I don't see a way to edit an entire sequence. Sequences such as walking, running, jumping...

I wonder how they edited Dragon Bowl? In it, they replaced all the graphics except the sound.
https://www.youtube.com/watch?v=BcVqSL5rGCA

I already have Ryu Hayabusa's palette. I'm going to try editing the palette in Tile Molester and show you the results.

I don't really understand how to do it:
Here is the code you posted. What should I modify?
#include <stdio.h>
#include <stdlib.h>

FILE *fEven;
FILE *fOdd;
FILE *fOut;

int main()
{

fEven = fopen("EvenGFX.bin","rb");
fOdd = fopen("OddGFX.bin","rb");
fOut = fopen("OutGFX.bin","wb");

if(fEven == NULL || fOdd == NULL || fOut == NULL)
{
   printf("Error");
   return 0;
}

for(int n=0;n<0x80000;n++)
{
  fputc(fgetc(fEven),fOut);
  fputc(fgetc(fOdd),fOut);
}

fclose(fEven);
fclose(fOdd);
fclose(fOut);

printf("Done");

}

What command should I use if MAME won't run the modified game?

I know I ask a lot of questions but many doubts arise as I go along.

13
Wow, that greatly reduces the possibilities for editing the sprite graphics.

So just to be clear, can I set the correct palette in Tile Molester? I already extracted the palette with MameDebug.

Once I have made the modifications in the OutGFX.bin file, how do I unmerge the OutGFX.bin file to be able to have the loose files of the rom again and later compress them to a zip?

14
Working with the unmodified files, have you been able to get the same image that was posted on the previous page?
Yeah I got the same sprite but I only got to see that one.

I opened the resulting OutGFX.Bin that the interleave program I showed you produced and I can see the Ninja's sprites at the beginning. On the arcade hardware sprites can be 8x8, 16x16, 32x32, or 64x64 pixels in size. Depending on the size of the sprite being displayed it will determine which areas in ROM are fetched. There may be settings in Tile Molester to rearrange the viewer to make them appear arranged like the hardware would do so for a 16x16 or larger sprite, or it might not.
What settings did you use other than 4 linear bpp?

January 26, 2022, 07:09:27 am - (Auto Merged - Double Posts are not allowed before 7 days.)
Good!! I have managed to see the sprites in OutGFX.bin.

Is there a way to see them larger? They look cut off.

How can I see the colors of the sprites palette correctly?

https://ibb.co/hccbRwW

15
You're right, I read it quickly from the mobile.

Yes, I have tried that way and also in other ways but I can't see any sprite.

16
It does exactly what was said: each line combines four different files into one larger file. (What did you think it did?)
Okay, I had not read the second part well, that once the odd and even files were combined, the resulting files had to be interleaved.

Look at the picture that was posted earlier. It has vertical lines running through it because half the bytes have to come from a different file. That's what interleaving fixes.
After interleaving the EvenGFX.Bin and OddGFX.Bin files, I have obtained OutGFX.bin and when editing it with Tile Molester, I still cannot see any sprites.


Well, maybe you're going to have to learn..? In your first post you were going to go ahead and disassemble the entire ROM; did you not expect programming would be involved?
I want to learn and I really appreciate you sharing your knowledge with me.

17
I used this code you told me:
copy /b 6.3m + 8.3n + 10.3r + 12.3s EvenGFX.Bin
copy /b 7.1m + 9.1n + 11.1r + 13.1s OddGFX.Bin
And I got the EvenGFX.Bin and OddGFX.Bin files.

To clarify, the steps should be the following:
1. Mix odd and even graphics roms.
2. Edit the graphics with Tile Molester.
3. Uncombine the EvenGFX.Bin and OddGFX.Bin files with the already edited sprites. With what code do I decombine them?
4. Recompress the uncombined files in a .zip file (Gaiden.zip) to be able to play in MAME.
Is the process correct?

What this code does:
copy /b 6.3m + 8.3n + 10.3r + 12.3s EvenGFX.Bin
copy /b 7.1m + 9.1n + 11.1r + 13.1s OddGFX.Bin

Isn't it the same as what this other one does?
#include <stdio.h>
#include <stdlib.h>

FILE *fEven;
FILE *fOdd;
FILE *fOut;

int main()
{

fEven = fopen("EvenGFX.bin","rb");
fOdd = fopen("OddGFX.bin","rb");
fOut = fopen("OutGFX.bin","wb");

if(fEven == NULL || fOdd == NULL || fOut == NULL)
{
   printf("Error");
   return 0;
}

for(int n=0;n<0x80000;n++)
{
  fputc(fgetc(fEven),fOut);
  fputc(fgetc(fOdd),fOut);
}

fclose(fEven);
fclose(fOdd);
fclose(fOut);

printf("Done");

}

Sorry for my clumsiness, I have no idea of programming.

18
What configuration do I have to give to Tile Molester, codec, mode... etc?
I can't see sprites.
I have combined the files you told me, EvenGFX.Bin and OddGFX.Bin.
Once I am able to modify the sprites, with what code in cmd do I separate the files again?
I am attaching Tile Molester and the files I have obtained (EvenGFX.Bin and OddGFX.Bin) to see if you can do any tests:
https://we.tl/t-vldvC6nz55
I really appreciate your help!

19
Can you advise me a good program to edit Sega Genesis sprites?

20
Hello,
Forgive my inexperience on the matter.
I don't know how or with what programs to do what you tell me.
Could you explain it to me in more detail and also with names of programs to do what you tell me?
Thanks a lot!

Pages: [1] 2