Hacking Yu-Gi-Oh! GX Tag Force 3 - Changing main character sprite

krystalkris

New Member
OP
Newbie
Joined
Jan 10, 2023
Messages
1
Trophies
0
Age
31
XP
46
Country
United Kingdom
Hiya everyone!

So I'm not a particularly talented modder, I've dipped my toes into it in the past, but I decided to replay some of my favourite Yu-Gi-Oh! games I used to play way back when, which are the tag force games. One thing that really annoyed me about these games though is that you can't change the gender (or anything, really) of the character you play as, you just gotta be this red hat wearing dingus among a cast of colourful characters. So I decided to see if I could do a simple sprite swap, couldn't be that hard, surely, it's just a 2D game!

So I used UMDGen to browse the files of the ISO, and for Tag Force 4 I successfully found the players sprite, exported one of the sprites from a different character, renamed it to the file name of the player and overwritten it, rebuild the ISO, and it all worked flawlessly. So I know it can work that way - but the 5D's games are my least favourite, the GX ones are the games I prefer to play, so i set out to do the same in Yu-Gi-Oh! GX Tag Force 3.

If I hadnt had such simple success in Tag Force 4 I would have just given up easily, but this has become a many, many hours worth of a project that I just can't seem to get working, and it seemed a shame to just put it to rest given everything I'd done so far.

So I found the player's sprite in the UMD for Tag Force 3, it's in PSP_GAME/USRDIR/field/sdchr/sd_play_sla.gim (and sd_play_ver.gim - every character has two sprites for up/down/left/right and diagonal movement). For EVERY other character, changing their file to another changes their sprite accordingly, so I know it's the right place.

But changing the players file does nothing!
Theres a seperate folder for the sprites used in the minigames (PSP_GAME/USRDIR/minigame/) and changes those sprites that the player uses works fine, but I have no idea why the field sprite doesnt change when I change it. Maybe the game uses another version of the sprite that's located somewhere else?
Sadly, this is where my knowledge sort of ends - I've checked through every single characters sprite in the field folder to make sure there isn't another player sprite and there isn't one there. I've changed all the bust up sprites to check to see if the player sprite is stored in there, and theres nothing. I used GimConv to convert all the .gim files in that folder to png's and checked them all myself. There are other compressed files containing .gims that I used TextER or a program called ehppack to look through, but no dice.

I don't know what I'm missing, but it seemed a shame not to record my findings thus far, hence this thread! I don't know how memory viewers really work but I imagine there may be a way to find the origin of the player sprite used in game via emulator and a memory viewer?

I dunno. If anyone is interested in helping, I can share anything else I might have missed. Seems like a bit of a dumb project, but I'm too curious at this point in finding out exactly whats going on, lol.
 

CyberRoby

New Member
Newbie
Joined
Mar 22, 2024
Messages
1
Trophies
0
Age
24
XP
16
Country
Italy
Hiya everyone!

So I'm not a particularly talented modder, I've dipped my toes into it in the past, but I decided to replay some of my favourite Yu-Gi-Oh! games I used to play way back when, which are the tag force games. One thing that really annoyed me about these games though is that you can't change the gender (or anything, really) of the character you play as, you just gotta be this red hat wearing dingus among a cast of colourful characters. So I decided to see if I could do a simple sprite swap, couldn't be that hard, surely, it's just a 2D game!

So I used UMDGen to browse the files of the ISO, and for Tag Force 4 I successfully found the players sprite, exported one of the sprites from a different character, renamed it to the file name of the player and overwritten it, rebuild the ISO, and it all worked flawlessly. So I know it can work that way - but the 5D's games are my least favourite, the GX ones are the games I prefer to play, so i set out to do the same in Yu-Gi-Oh! GX Tag Force 3.

If I hadnt had such simple success in Tag Force 4 I would have just given up easily, but this has become a many, many hours worth of a project that I just can't seem to get working, and it seemed a shame to just put it to rest given everything I'd done so far.

So I found the player's sprite in the UMD for Tag Force 3, it's in PSP_GAME/USRDIR/field/sdchr/sd_play_sla.gim (and sd_play_ver.gim - every character has two sprites for up/down/left/right and diagonal movement). For EVERY other character, changing their file to another changes their sprite accordingly, so I know it's the right place.

But changing the players file does nothing!
Theres a seperate folder for the sprites used in the minigames (PSP_GAME/USRDIR/minigame/) and changes those sprites that the player uses works fine, but I have no idea why the field sprite doesnt change when I change it. Maybe the game uses another version of the sprite that's located somewhere else?
Sadly, this is where my knowledge sort of ends - I've checked through every single characters sprite in the field folder to make sure there isn't another player sprite and there isn't one there. I've changed all the bust up sprites to check to see if the player sprite is stored in there, and theres nothing. I used GimConv to convert all the .gim files in that folder to png's and checked them all myself. There are other compressed files containing .gims that I used TextER or a program called ehppack to look through, but no dice.

I don't know what I'm missing, but it seemed a shame not to record my findings thus far, hence this thread! I don't know how memory viewers really work but I imagine there may be a way to find the origin of the player sprite used in game via emulator and a memory viewer?

I dunno. If anyone is interested in helping, I can share anything else I might have missed. Seems like a bit of a dumb project, but I'm too curious at this point in finding out exactly whats going on, lol.
Hi! I'm trying to do the same thing. I'd like to change the appearance of the main character in the first 3 games. I've seen that someone made a female character mod that apparently works (haven't tested yet, but it is shown in the yt video). So I know that this is possible. The creator (Fem Protag Mods on YouTube) doesn't remember how she/he did this, but posted in the comments the GitHub page of a person who made the tools she used. Since I'm not expert I'd like your help understanding these tools.

What I've been able to do so far is extract e .gim file, convert it to png, change the clothes colors on Photoshop, convert it again in .gim using gimconv and rebuild the iso file.

I have 2 problems:
1) I can't preview the gim in noesis (the program I used to extract it);
2) in game the character is invisible.
So I guess the two file that you found in the field folder are the one we are looking for, but I don't know how to make a .gim readable by the game again.
Would you like to talk about this little project on discord? Let me know ;)
 

hiyuusha

New Member
Newbie
Joined
May 10, 2024
Messages
1
Trophies
0
Age
32
XP
17
Country
United States
Hi! I'm trying to do the same thing. I'd like to change the appearance of the main character in the first 3 games. I've seen that someone made a female character mod that apparently works (haven't tested yet, but it is shown in the yt video). So I know that this is possible. The creator (Fem Protag Mods on YouTube) doesn't remember how she/he did this, but posted in the comments the GitHub page of a person who made the tools she used. Since I'm not expert I'd like your help understanding these tools.

What I've been able to do so far is extract e .gim file, convert it to png, change the clothes colors on Photoshop, convert it again in .gim using gimconv and rebuild the iso file.

I have 2 problems:
1) I can't preview the gim in noesis (the program I used to extract it);
2) in game the character is invisible.
So I guess the two file that you found in the field folder are the one we are looking for, but I don't know how to make a .gim readable by the game again.
Would you like to talk about this little project on discord? Let me know ;)
I have some limited experience with this if you wanna hit me up on discord
 

YamatoNag

Well-Known Member
Newcomer
Joined
Feb 6, 2022
Messages
54
Trophies
0
Location
cheese
XP
385
Country
Philippines
Hello, PSP modder here.. kind of haha.
i have experience on modifying GIM images atleast on one game but this can be useful on the rest.
from what i can understand, probably some of you people didnt dig deeper in the game itself. (no offense)
but anyways here's the answer to probably an old thread.

player texture location:
- sdchr - faceicon - `always_` prefix on `.ehp` files

~ each always has a `usa` or ``spa`, and some have `eng` prefixes, its a country/language prefix, if the PSP is in english system language, then that ehp packed with texture
will be used. so my only theory is if the system language is non english, the character texture changes. but hey, its just a theory.
~ overall i suggest you guys snoop around the `ehp` or `cip` or whatever files you can unpack/repack and convert all images that you've wanted into gim with DXT1 compression.
and always double check, okay?
~ and *DO NOT MISS*, like, *DO NOT MISS* what files you've edited. i suggest to have a checklist.

Tools i've used:
- Noesis
- Most of YGOTF tools i use: https://github.com/xan1242 (very useful for real)
- GimConv and GimView (confidential file so nuh uh for me here)

and feel free to credit me onto your stuff if you in case actually find this part useful or whatever and made a mod or something haha.
~ Yamato_GE

GIF below is a sample of the image modified. Recorded through PSP's Remotejoylite plugin.

output.gif
 
  • Like
Reactions: BRACKKUSama

BRACKKUSama

New Member
Newbie
Joined
Sep 6, 2024
Messages
4
Trophies
0
Age
21
XP
11
Country
United States
Holy Moly! What did you use to edit the pngs? Could you run me through the process? Would me using the European version change anything?

3:05 Pm : Ok I restarted with tag force 1 ( wanted to play chronologically) . Edited the files in the field folder and the ones in the pda. Start game , walking sprite unchanged but the pda one stuck. I'm using the rom from cdromance that has the jp voice acting. Does that change anything?
 
Last edited by BRACKKUSama,

YamatoNag

Well-Known Member
Newcomer
Joined
Feb 6, 2022
Messages
54
Trophies
0
Location
cheese
XP
385
Country
Philippines
Hmm, I use the EUR + JP Voice unlocked ISO, so I would suggest editing the files one by one.

I use GIMP as my photoshop since I can convert my 32 bit integers image into 8 bit then, I can set my images into RGB or Indexed (which I believe indexed is what the YGOTF uses)
Post automatically merged:

Problem is that there's multiple player sprites so you need to edit them all
 
Last edited by YamatoNag,

BRACKKUSama

New Member
Newbie
Joined
Sep 6, 2024
Messages
4
Trophies
0
Age
21
XP
11
Country
United States
For future peeps there is a way easier way to do this. Look up ppsspp texture replacement. Particularly the thread by
by

Farmiyu​

 

YamatoNag

Well-Known Member
Newcomer
Joined
Feb 6, 2022
Messages
54
Trophies
0
Location
cheese
XP
385
Country
Philippines
texture replacement through PPSSPP is cool and all but people will mostly have interest on implementing actual textures within the ISO itself so it can support the emulator + PSP itself without issues. since its permanent
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: https://www.youtube.com/watch?v=B8dmqy1zFYQ