News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

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.


Topics - hackfleisch

Pages: [1]
1
Hello,

it may be placed wrong, but i'm looking for a way to extract the graphics in a Flash-Dump of my cars instrument cluster.

I found some repeatings inside, but still have no clue what image format this may be. All i know is that images are stored have 256 indexed colors, so 8 bit per pixel.

Don't know how to attach files here to post binary dump data, but here is my interpreted example:

Code: [Select]
0x0000 - 0x00F7 (Len 0xF8)
00 00 FF 00 00 01 00 00 00 00 00 00
0x000C: 00 0D
49 01 00 1B 49 01 00 1B 49 01 00 1B 49 01 00 1B 49 01 00 1B 02 00 52 49 00 1A 02 00 49 50 00 29 49 1C 00 1F 0F 00 00 49 00 00 49 49 00 00 49 00 00 49 00 00 0C 49 00 00 49 10 00 49 49 00 00 00 00 49 00 49 49 00 00 00 0D 49 00 00 49 13 00 00 00 49 49 00 49 00 00 00 00 49 49 00 00 00 00 49 49 04 00 05 18 00 00 49 49 00 00 00 00 49 00 49 49 00 00 00 00 49 00 49 49 00 49 00 49 00 00 04 18 00 00 49 49 00 00 00 00 49 00 49 49 00 00 00 49 49 00 00 49 00 49 00 49 00 00 04 35 00 00 49 49 00 00 00 00 49 00 49 49 00 00 00 00 49 00 49 49 00 49 00 49 00 00 00 49 00 49 49 00 00 49 49 00 00 49 00 00 49 00 00 00 49 49 00 49 00 49 00
49 00 00 00 00 00 1C 00 11 00 1C
00 00 00
00 30 0C 00
00 30 00 00
00 00 38 56

0x00F8 - 0x12BF (Len 0x11C8)
00 00 FF 00 00 01 00 00 00 00 00 00
0x0104: 00 C2
06 00 9C 98 A8 A6 AA AA AB 05 06 00 AA AA A6 A8 98 9C 00 27 09 00 A8 9D AF AC AD AF AB AC 05 AB 00 AA AB 09 AC AB AF AD AC AC 9B A8 00 22 06 00 AC A2 AE AF AA AB A9 08 0D 00 A9 A8 A9 A8 A9 A8 A9 A8 AD AA AC AC 1E A2 00 00 9C 0D B0 AC AA AB AA A9 A9 A9 A8 A8 A7 A7
...
04 8A 00 90 8D 04 00 90 1E 90 00 00 8D 05 8D 00 8D 90 90 13 03 00 00 8D 23 8D 00 00 8D 15 8D 00 8D 00 8D 00 8D 00 8D 00 00 00 00 90 8D 00 8D 00 8D 00 00 29 0D 00 00 8D 00 8D 00 00 00 8D 90 00 00 00 FE 8D 42 00 00 00 00 00 3B 00 73 00 3B
00 00 00
00 30 04 01
00 30 F8 00
00 00 38 56

0x27AC - 0x28AB (Len 0x100)
00 00 FF 00 00 01 00 00 00 00 00 00
0x27B8: 00 36
33 0D 00 0B 33 01 00 0B 33 01 00 08 33 04 00 0B 33 01 00 08 04 00 00 33 33 00 00 0B 33 01 00 08 04 00 00 33 33 00 00 0B 33 01 00 08 06 00 00 33 33 00 38 34 00 09 33 01 00 08 07 00 00 33 38 00 33 35 08 34 01 00 08 33 01 00 05 33 00 00 34 02 07 35 01 00 08 33 01 00 05 33 00 00 38 03 38 33 00 06 33 01 00 08 33 01 00 06 02 00 38 33 00 06 33 01 00 08 33 01 00 05 03 00 33 38 06 38 01 00 08 33 01 00 05 33 00 00 34 02 07 35 01 00 08 33 00 00 33 07 00 00 35 38 34 33 00 08 33 01 00 08 06 00 00 33 33 00 38 34 00 09 33 01 00 08 04 00 00 33 33 00 00 0B 33 01 00 08 04 00 00 33 33 00 00 0B 33 01 00 08 33 04 00 0B 33 01 00 0B 33 01 00 0B 33 01 00 0B
33 0D 00 35 00 00 00 00 18 00 17 00 18
00 00 00
00 30 B8 27
00 30 AC 27
00 00 38 56

0x28AC - 0x29AB (Len 0x100)
00 00 FF 00 00 01 00 00 00 00 00 00
0x28B8: 00 36
36 0D 00 0B 36 01 00 0B 36 01 00 08 36 04 00 0B 36 01 00 08 04 00 00 36 36 00 00 0B 36 01 00 08 04 00 00 36 36 00 00 0B 36 01 00 08 06 00 00 36 36 00 32 37 00 09 36 01 00 08 07 00 00 36 32 00 36 39 08 37 01 00 08 36 01 00 05 36 00 00 37 02 07 39 01 00 08 36 01 00 05 36 00 00 32 03 32 36 00 06 36 01 00 08 36 01 00 06 02 00 32 36 00 06 36 01 00 08 36 01 00 05 03 00 36 32 06 32 01 00 08 36 01 00 05 36 00 00 37 02 07 39 01 00 08 36 00 00 36 07 00 00 39 32 37 36 00 08 36 01 00 08 06 00 00 36 36 00 32 37 00 09 36 01 00 08 04 00 00 36 36 00 00 0B 36 01 00 08 04 00 00 36 36 00 00 0B 36 01 00 08 36 04 00 0B 36 01 00 0B 36 01 00 0B 36 01 00 0B
36 0D 00 35 00 00 00 00 18 00 17 00 18
00 00 00
00 30 B8 28
00 30 AC 28
00 00 38 56

0x29AC - 0x2AAB (Len 0x100)
0x29AC: 00 00 FF 00 00 01 00 00 00 00 00 00
0x29B8: 00 36
01 0D 00 0B 01 01 00 0B 01 01 00 08 01 04 00 0B 01 01 00 08 04 00 00 01 01 00 00 0B 01 01 00 08 04 00 00 01 01 00 00 0B 01 01 00 08 06 00 00 01 01 00 42 40 00 09 01 01 00 08 07 00 00 01 42 00 01 41 08 40 01 00 08 01 01 00 05 01 00 00 40 02 07 41 01 00 08 01 01 00 05 01 00 00 42 03 42 01 00 06 01 01 00 08 01 01 00 06 02 00 42 01 00 06 01 01 00 08 01 01 00 05 03 00 01 42 06 42 01 00 08 01 01 00 05 01 00 00 40 02 07 41 01 00 08 01 00 00 01 07 00 00 41 42 40 01 00 08 01 01 00 08 06 00 00 01 01 00 42 40 00 09 01 01 00 08 04 00 00 01 01 00 00 0B 01 01 00 08 04 00 00 01 01 00 00 0B 01 01 00 08 01 04 00 0B 01 01 00 0B 01 01 00 0B 01 01 00 0B
01 0D 00 35 00 00 00 00 18 00 17 00 18
00 00 00
00 30 B8 29
00 30 AC 29
00 00 38 56

0x2AAC - 0x2F7C (Len 0x4D1)
0x2AAC: 00 00 FF 00 00 01 00 00 00 00 00 00
0x2AB8: 00 04
09 01 1A EE 02 00 16 18 00 07 03 00 1A 09 F0 17 00 03 15 02 04 15 00 00 09 02 F5 17 03 03 01 00 F6 1A 00 03 10 04 09 00 F6 17 00 03 13 03 1A 00 03 F8 02 00 1A 10 03 F8 02 00 1A 10 03 F8 02 00 1A 10 03 F8 02 00 1A 10 03 F8 02 00 1A 10 03 F8 02 00 1A 10 03 F8 02 00 1A 10 03 F8 02 00 1A 10 03 F8 02 00 1A 10 03 F8 02 00 1A 10 03 F8 02 00 1A 10 03 F8 02 00 1A 10 03 F8 02 00 1A 10 03 F8 02 00 1A 10
...
1A 10 03 F8 02 00 1A 10 03 F8 02 00 1A 10 03 F8 02 00 18 10 03 F8 02 00 16 10 03 F8 03 00 00 10 F6 15 00 03 10 04 00 00 F6 15 00 03 10 04 00 00 F5 00 01 03 05 10 00 00 10 02 F0 13 00 03 10 02 08 10 F0 00 05 10 00 00 FA 00 C3 00 FA
00 00 00
00 30 B8 2A
00 30 AC 2A
00 00 38 56

0x604D0 - 0x606D7 (Len 0x208)
0x604D0: 00 00 FF 00 00 01 00 00 00 00 00 00
0x604DC: 00 FE 00 FE 00 FE 00 FE 00 5E 02 00 03 03 00 37 03 00 85 03 36 03 00 00 03 04 85 85 05 03 01 00 1A 86 01 85 14 86 00 00 03 09 85 85 03 85 00 00 87 00 85 1E 87 01 00 11 03 01 85 04 04 00 00 03 00 00 85 20 00 10 03 01 85 05 04 00 00 03 86 00 85 20 86 01 00 0E 03 01 85 2B 00 0D 03 01 85 2C 00 0C 03 01 85 2D 00 0C 85 2E 00 0C 85 14 86 01 00 10 86 01 85 08 00 0C 03 01 85 13 00 12 85 08 00 0D 03 01 85 12 00 12 85 08 00 0E 03 01 85 10 87 01 00 12 85 08 00 0F 03 01 85 05 03 01 00 1C 85 08 00 10 03 01 85 04 04 00 00 03 00 00 86 06 00 13 85 08 00 11 08 00 85 03 85 85 00 03 00 00 86 06 00 13 85 08 00 12 07 00 85 03 03 85 00 00 06 00 13 86 08 00 13 85 00 00 03 06 03 85 00 00 06 00 13 86 08 00 14 85 00 00 03 05 00 03 00 00 86 06 00 13 85 08 00 19 86 06 00 13 85 08 00 19 86 06 00 13 85 08 00 19 86 06 00 13 85 08 00 19 86 06 00 13 85 08 00 19 86 06 00 13 85 08 00 19 86 06 00 13 85 08 00 19 86 06 00 13 85 08 00 19 86 06 00 12 86 01 85 08 00 19 86 07 00 05 87 01 85 14 00 19 86 0B 00 01 85 15 00 19 86 0B 00 01 85 15 00 19 86 0B 00 01 85 15 00 19 86 0B 00 01 85 14 86 01 00 1A 86 0A 00 01 85 14 00 1C 86 09 00 01 85 13 87 01 00 26 85 11 86 01 00 28 85 08 86 01 00 31 85 08 00 32 85 08 00 32 85 08 00 32 85 08 00 32 85 08 00 32 85 08 00 32 85 08 00 32 85 08 00 32 85 08 00 32 85 08 00 32 85 08 00 32 85 08 00 32 85 08 00 32 85 08 00 32 85 08 00 32 85 08 00 32 85 08 00 32 85 08 00 32 85 08 00 32 85 08 00 32 85 08 00 32 85 08 00 32 85 08 00 32 85 08 00 19 00 00 00 00 3A 00 50 00 3A 00 00 00
06 30 DC 04
06 30 D0 04
00 00 38 56


2
Programming / Looking for basic and reusable ASM code
« on: March 28, 2016, 03:40:02 pm »
I'd like to learn more on GB programming in Assembler. So looking for tutorials or some simple examples for common tasks, i.e. storing background or spirte data and wirte it to screen, get button events, a simple statemachine for program logic, playing musik or soundeffects and such.
Any hints or good howto's?

3
Programming / [DMG] How to disassemble a ROM?
« on: March 25, 2016, 02:58:18 pm »
Hello,

as i'm getting familar with Z80 Opcodes and using BGB disassembler, i'd like to document the subs and loops found in the game-ROM. It would be a great help, if some experienced user may give me some advice on "how to do it right". I'm sure there are some best-practice rules to follow.

My goal is to compile the generated sourcecode to a new binary ROM file and get this executed. My starting point is address 0x0100, of course ;-)

4
ROM Hacking Discussion / [DMG] How to build a FLASH-Cartridge
« on: March 25, 2016, 11:05:00 am »
Hi,

i'd like to create a cartridge which can get programmed from PC via USB. I've read about http://www.reinerziegler.de/readplus.htm but did not find my preferred solution there. Besides it's a GREAT site with many usefull informations!

What i try to do is, to buy a ROM with greates functionality (should have MBC5, Battery, SRAM), then remove the ROM-Chip and place a 4 meg Flash-memory onto it (biggest possible, i think). Then add some extra hardware to program the flash via USB. Also need a programmer for that.

For the flash-chip i think a AM29F032B should do it. The USB-Connection could be made by an FTDI-Shield, which is low-cost and alread contains an USB-connector. Now comes the tricky part. How to program the flash with the serial-out of the FTDI? I could think of an Atmega (Arduino) which is connected through USB, getting the ROM data and write it to the flash. Also i have no idea which programmer may be used for this.

Maybe someone knows an easier solution?
I want to void an extra programmer, or swapable chip-sockets for the flash. I should be programmed easily via USB.

5
Hello,

after getting so much help from this board in understanding the principles of ROM hacking and architecture of the Nintendo Gameboy (DMG) i would like to give something back. Therefore i start this project.

My goals are:
  • Learn a lot of console arch, game development and such...
  • Disassemble the whole game
  • Translate the gametext to German language
  • Change graphics inside game to some custom pictures
  • Looking for cheats inside the code
  • Generate patches for endless life/fire and such

Tools:
  • Gameboy-Emulator: http://bgb.bircd.org/ - In my optinion the BEST Gameboy-Emulator for Windows PC (runs even under Win 10)
  • Debugger: BGB also contains a powerfull debugger. It can modify code in-place, on-the-fly. Has memory and VRAM viewer and many more.
  • Compiler toolchain: -STILL LOOKING-
  • Tile-Editor: -STILL LOOKING-
  • Sound-Composer: -STILL LOOKING-

Step 1: Getting familar with the ROM
The cart-info tells it's card type "MBC1", no additional RAM, no battery and ROM-Size is 131.072 bytes.

6
Newcomer's Board / Learn about ROM file formats
« on: March 18, 2016, 12:16:10 pm »
Hi, i am looking for information about the binary format of PSP and GB rom images and how to decode/unpack them.
Where should i start my research?

Pages: [1]