Unit Questions (AW2)

Discussion of hacking, editing and developments in Advance Wars games.
Remember, no Rom Requests
User avatar
MysteriousLad
Rank: Mysterious God
Location: At the edge of sanity

Unit Questions (AW2)

Postby MysteriousLad » Sat Jun 21, 2014 4:58 am

Ok I have added in 5 units (working) to my game, how do I edit what their shop/R screen says, their name and their graphics?
Thanks to anyone who helps.

Note:
I have Graphics Gale if this helps though I also want to find exsisting graphics and edit them.
"i put on my robe and wizard hat" ~Pkdragon
"rocks fall everyone dies" ~HPD
Welcome to the optimistic world of WWN :D

And logic doesn't work on MysteriousLad... ~Kireato
Wait, wait, wait.

Organized crime is selling bagels on television? Since when? ~Dragon Fogel

Taelith

Re: Unit Questions (AW2)

Postby Taelith » Tue Jun 24, 2014 2:38 am

There are a couple of threads to look through for this
http://forums.warsworldnews.com/viewtopic.php?f=11&t=6548
http://forums.warsworldnews.com/viewtopic.php?f=11&t=11736

For the text part
This involves modifying text pointers and text data for the new units

For the graphics part:

Shop Graphics - Compressed Graphics
Spoiler: show
Shop graphics compressed images index 0-71 and 319-337 (using GBA Graphics Editor)

Shop Graphics - Palette Pointers
Spoiler: show
offset=8555D1C
table size=25x20 bytes

Each Data Row
4 4 4 4 4

each 4 bytes is a palette pointer (OS, BM, GE, YC, BH)

Shop Graphics - Graphics Pointers
Spoiler: show
offset=849DC18
table size=25x60 bytes

Each Data Row
4 4 4 4 4 4 4 4 4 4 4 4 4 4 4

first 20 bytes of data is how the shop graphics is put together (5 pointers each 4 bytes long, one for each army)
next 20 bytes of data is pointer to the shop graphics (5 pointers each 4 bytes long, one for each army)
last 20 bytes of data (don't think it does anything - 5 pointers each 4 bytes long, one for each army)
Modify or place new graphics in free space, then change the shop graphics pointer for your unit along with the pointer to how to put the graphics together.


Minipanel - Uncompressed Unit Name Graphics
Spoiler: show
Use GBA Graphics Editor with offset=108264, Width=4, Height=38, Palette=239E44
save, edit and resave to same or different location.

Minipanel - Unit Name Graphics Offset
Spoiler: show
offset=802A850
size=4 bytes

this is the base offset to look for the uncompressed unit name graphics (Default: 8108264)
change this if you move the uncompressed unit name graphics

Minipanel - Unit Name Graphics Index
Spoiler: show
offset=849A354
table size=25x4 bytes

Each Data Row
4

each 4 bytes is a index value in the uncompressed unit name graphics


Unit List
Spoiler: show
25 rows of data
None
Infantry
Mech
Md Tank
Dummy 1
Tank
Recon
APC
Megatank
Dummy 2
Artillery
Rockets
Dummy 3
Dummy 4
Anti-Air
Missiles
Fighter
Bomber
Dummy 5
B Copter
T Copter
Battleship
Cruiser
Lander
Sub

User avatar
MysteriousLad
Rank: Mysterious God
Location: At the edge of sanity

Re: Unit Questions (AW2)

Postby MysteriousLad » Tue Jun 24, 2014 2:44 am

Wow, thanks alot this will help me amazingnly :D
"i put on my robe and wizard hat" ~Pkdragon
"rocks fall everyone dies" ~HPD
Welcome to the optimistic world of WWN :D

And logic doesn't work on MysteriousLad... ~Kireato
Wait, wait, wait.

Organized crime is selling bagels on television? Since when? ~Dragon Fogel

User avatar
MysteriousLad
Rank: Mysterious God
Location: At the edge of sanity

Re: Unit Questions (AW2)

Postby MysteriousLad » Tue Jun 24, 2014 3:00 am

So for the names I type the text into empty data, then I add a pointer into a list (where?) and then change some data in the dummy units data (what?)

Im sorry for all these question I have only been modding AW2 for 5 months or so.
"i put on my robe and wizard hat" ~Pkdragon
"rocks fall everyone dies" ~HPD
Welcome to the optimistic world of WWN :D

And logic doesn't work on MysteriousLad... ~Kireato
Wait, wait, wait.

Organized crime is selling bagels on television? Since when? ~Dragon Fogel

User avatar
MysteriousLad
Rank: Mysterious God
Location: At the edge of sanity

Re: Unit Questions (AW2)

Postby MysteriousLad » Fri Jul 04, 2014 7:11 pm

Ok I am now able to locate the images yet the colours are all messed up, I know this is to do with the pallets but how do I find the correct one for the correct image?
for instance at the offset 0x10BE60 I find the sprites of what seems to be the map image of units yet the colours are horribly wrong, how could I for instance find the correct pallet for this?
"i put on my robe and wizard hat" ~Pkdragon
"rocks fall everyone dies" ~HPD
Welcome to the optimistic world of WWN :D

And logic doesn't work on MysteriousLad... ~Kireato
Wait, wait, wait.

Organized crime is selling bagels on television? Since when? ~Dragon Fogel


Return to “Syogun Change”

Who is online

Users browsing this forum: No registered users and 1 guest