pixeltris / YgoMaster

Offline Yu-Gi-Oh! Master Duel
MIT License
872 stars 125 forks source link

How to update card, and accesories #286

Closed spitfirereza closed 11 months ago

spitfirereza commented 11 months ago

Can someone give me tutorial, how to update card, accesories, etc

SIXHUD commented 11 months ago

this is the link how to update cards,etc... https://github.com/pixeltris/YgoMaster/blob/master/Docs/Updating.md

spitfirereza commented 11 months ago

Wow, so confusing without image

ikki4 commented 11 months ago

Wow, so confusing without image

We can try to be patient and wait/hope for the dev to update the mod to the latest game version, then we update the game on Steam and can play with the new cards.

I just hope that the dev can make the new God cards (alternative arts) craftable, since Obelisk and Slifer are only obtainable as bonuses/bundles that are usually not available in the mod (more info here).

SideswipeeZ commented 11 months ago

The Instruction on the Update page do work, im still trying to understand the Shop update procedure but for now, If anyone wants to just craft the alt art Gods, try replacing the jsons with these. (I updated these when the slifer bundles came out.1.7.2). Also make sure your game is also 1.7.2 , not sure about 1.7.3 havent tested it but i dont see a reason for it to not work.

CardCraftableList.json CardList.json

pixeltris commented 11 months ago

Updating.md could definitely be improved. It's more of a checklist right now rather than proper instructions.

I just hope that the dev can make the new God cards (alternative arts) craftable

I don't modify the craftable card list from the official game but you can enable this setting which allows crafting of all cards in the game.

https://github.com/pixeltris/YgoMaster/blob/899d3695050ca54c8d4259fe585564676a5b7b5f/YgoMaster/Data/Settings.json#L40

Apayes commented 8 months ago

Wow, so confusing without image

Yeah, now I'm stuck on Run YgoMaster/YgoMasterFiddler/Build.bat step because can't find where the folder stated is, or how to make it appear somewhere.

SideswipeeZ commented 8 months ago

Wow, so confusing without image

Yeah, now I'm stuck on Run YgoMaster/YgoMasterFiddler/Build.bat step because can't find where the folder stated is, or how to make it appear somewhere.

You need to Download the Repository from here: https://github.com/pixeltris/YgoMaster, Go to Green Code Button and Download as Zip or if you're using GIt you can clone it with whatever IDE or CLI you want. The release will not have the folder you're after.

Apayes commented 8 months ago

Wow, so confusing without image

Yeah, now I'm stuck on Run YgoMaster/YgoMasterFiddler/Build.bat step because can't find where the folder stated is, or how to make it appear somewhere.

You need to Download the Repository from here: https://github.com/pixeltris/YgoMaster, Go to Green Code Button and Download as Zip or if you're using GIt you can clone it with whatever IDE or CLI you want. The release will not have the folder you're after.

OMG YOU REALLY HELPED! Now, should I rename the folder to YgoMaster (because I downloaded it as .zip, it named YgoMaster-master) and copied it to my Yu-Gi-Oh! retail folder and start from there?

SideswipeeZ commented 8 months ago

Apayes

No, you dont need to rename it, just extract the folder somewhere and attempt to run the Build.bat in the YgoMasterFiddler folder. It should build a YgoMasterFiddler.dll that you can paste into your Fiddler/Inspectors (e.g. C:\Program Files (x86)\Fiddler\Inspectors) folder for Fiddler.

Apayes commented 8 months ago

SideswipeeZ

I've done that, thanks for the reply. Now I stuck on Run Fiddler, select a game network request and click the two YgoMaster tabs (request / response). Because:

  1. I don't know which is the game network request.
  2. To get the network request, I think I should run the original YGO from Steam, correct?
  3. When I clicked on the 2 YgoMaster tabs, I got a warning saying HTTPS decryption is disabled. Click to configure.... When I clicked it, it throws me unto another window, and I don't know what I should do on that window.

Once again, thanks for replying and helping me getting through this.

SideswipeeZ commented 8 months ago

SideswipeeZ

I've done that, thanks for the reply. Now I stuck on Run Fiddler, select a game network request and click the two YgoMaster tabs (request / response). Because:

  1. I don't know which is the game network request.
  2. To get the network request, I think I should run the original YGO from Steam, correct?
  3. When I clicked on the 2 YgoMaster tabs, I got a warning saying HTTPS decryption is disabled. Click to configure.... When I clicked it, it throws me unto another window, and I don't know what I should do on that window.

Once again, thanks for replying and helping me getting through this.

  1. The Game responses URL look like /ayk/api/ eg. /ayk/api/Shop.get_list.
  2. Yes you need to run the steam version. there is no point capturing the shop from the mod.
  3. You need to install the root certificate, In fiddler go to (at the top) Tools->Options->HTTPS and enable capture https and decrypt traffic and if then somewhere under actions maybe the Trust Root Certificate. I cant quite remember what it looks like from a fresh install. Remember to RUN Fiddler as Admin or it might not create the files.
Apayes commented 8 months ago

SideswipeeZ

I've done that, thanks for the reply. Now I stuck on Run Fiddler, select a game network request and click the two YgoMaster tabs (request / response). Because:

  1. I don't know which is the game network request.
  2. To get the network request, I think I should run the original YGO from Steam, correct?
  3. When I clicked on the 2 YgoMaster tabs, I got a warning saying HTTPS decryption is disabled. Click to configure.... When I clicked it, it throws me unto another window, and I don't know what I should do on that window.

Once again, thanks for replying and helping me getting through this.

  1. The Game responses URL look like /ayk/api/ eg. /ayk/api/Shop.get_list.
  2. Yes you need to run the steam version. there is no point capturing the shop from the mod.
  3. You need to install the root certificate, In fiddler go to (at the top) Tools->Options->HTTPS and enable capture https and decrypt traffic and if then somewhere under actions maybe the Trust Root Certificate. I cant quite remember what it looks like from a fresh install. Remember to RUN Fiddler as Admin or it might not create the files.

I've done it all, and now I don't know what next step should I do after Run Fiddler, select a game network request and click the two YgoMaster tabs (request / response). I guess I should obtain the logs from Steam and dump it somewhere?

Update: I copied Regulation.json, RegulationIcon.json, RegulationInfo.json, and Shop.json to my YgoMaster folder inside YGO Steam, I guess? But after I copied it all, when I try to play through YgoMasterClient.exe, there was an error message saying Server Error and I have to press reboot numerous times to play. Is it normal? Thanks a lot for the help up until now.

SideswipeeZ commented 8 months ago

SideswipeeZ

I've done that, thanks for the reply. Now I stuck on Run Fiddler, select a game network request and click the two YgoMaster tabs (request / response). Because:

  1. I don't know which is the game network request.
  2. To get the network request, I think I should run the original YGO from Steam, correct?
  3. When I clicked on the 2 YgoMaster tabs, I got a warning saying HTTPS decryption is disabled. Click to configure.... When I clicked it, it throws me unto another window, and I don't know what I should do on that window.

Once again, thanks for replying and helping me getting through this.

  1. The Game responses URL look like /ayk/api/ eg. /ayk/api/Shop.get_list.
  2. Yes you need to run the steam version. there is no point capturing the shop from the mod.
  3. You need to install the root certificate, In fiddler go to (at the top) Tools->Options->HTTPS and enable capture https and decrypt traffic and if then somewhere under actions maybe the Trust Root Certificate. I cant quite remember what it looks like from a fresh install. Remember to RUN Fiddler as Admin or it might not create the files.

I've done it all, and now I don't know what next step should I do after Run Fiddler, select a game network request and click the two YgoMaster tabs (request / response). I guess I should obtain the logs from Steam and dump it somewhere?

When you Select the Inspectors you can then in game click on different things you want to dump e.g. if you want to dump the shops, go to the shop in game then in the fiddler, click the /ayk/api/shop.get_list and then fiddler will attempt to dump the shop to C:\Program Files (x86)\Fiddler\YgoMasterUpdate Folder. Make sure you're running as admin. The rest should be written in the Docs you are reading.

Apayes commented 8 months ago

@SideswipeeZ YOU'RE A GENIUS (or I'm just not bright enough). It works! The cards I needed are updated.

Just one more thing. After I copied the required .json files, when I tried to play the game through YgoMasterClient.exe, it shows me error message that says, "Server Error. Can't connect to server" or something like that, and I have to press the reboot button numerous times until it allows me to play. Is that normal, or are there fix to it? Because on the Docs, I didn't find anything regarding that error message. And the Docs said that I should have TitleLoop.json file, but in my case, it doesn't show.

Once again, thanks for the helps and guiding me step-by-step, really appreciate your time and effort!

SideswipeeZ commented 8 months ago

@SideswipeeZ YOU'RE A GENIUS (or I'm just not bright enough). It works! The cards I needed are updated.

Just one more thing. After I copied the required .json files, when I tried to play the game through YgoMasterClient.exe, it shows me error message that says, "Server Error. Can't connect to server" or something like that, and I have to press the reboot button numerous times until it allows me to play. Is that normal, or are there fix to it? Because on the Docs, I didn't find anything regarding that error message. And the Docs said that I should have TitleLoop.json file, but in my case, it doesn't show.

Once again, thanks for the helps and guiding me step-by-step, really appreciate your time and effort!

You might be missing some files or something may not be configured correctly in your setup, i cant say for sure about that error. TitleLoop.json will get dumped by Logging /ayk/api/System.Info #336

Apayes commented 7 months ago

@SideswipeeZ YOU'RE A GENIUS (or I'm just not bright enough). It works! The cards I needed are updated. Just one more thing. After I copied the required .json files, when I tried to play the game through YgoMasterClient.exe, it shows me error message that says, "Server Error. Can't connect to server" or something like that, and I have to press the reboot button numerous times until it allows me to play. Is that normal, or are there fix to it? Because on the Docs, I didn't find anything regarding that error message. And the Docs said that I should have TitleLoop.json file, but in my case, it doesn't show. Once again, thanks for the helps and guiding me step-by-step, really appreciate your time and effort!

You might be missing some files or something may not be configured correctly in your setup, i cant say for sure about that error. TitleLoop.json will get dumped by Logging /ayk/api/System.Info #336

Ah, I see. anyway, thanks for guiding me through. Really appreciate the effort.

Apayes commented 7 months ago

Update: the error message popped-up when I copied /Data/Solo.json, /Data/SoloDuels/, and /Data/ClientData/ from #320. When I put my back-ups back, the error message doesn't pop-up anymore. I don't know what caused this because those 3 files don't intervene the files needed to update the card list, card draftable list, and ban list.

stargust2 commented 7 months ago

hi~ when will you update ygomaster?

mdxkr commented 7 months ago

Here's a new update. Paste it into the card list in the ygomaster folder. CardList.json

MoldFire81 commented 1 week ago

Apayes

No, you dont need to rename it, just extract the folder somewhere and attempt to run the Build.bat in the YgoMasterFiddler folder. It should build a YgoMasterFiddler.dll that you can paste into your Fiddler/Inspectors (e.g. C:\Program Files (x86)\Fiddler\Inspectors) folder for Fiddler.

please help, the build.bat only show error massage and no .dll created, I was recently installing windows do I need another software or something to make it work?

SideswipeeZ commented 1 week ago

Apayes

No, you dont need to rename it, just extract the folder somewhere and attempt to run the Build.bat in the YgoMasterFiddler folder. It should build a YgoMasterFiddler.dll that you can paste into your Fiddler/Inspectors (e.g. C:\Program Files (x86)\Fiddler\Inspectors) folder for Fiddler.

please help, the build.bat only show error massage and no .dll created, I was recently installing windows do I need another software or something to make it work?

You need to have Visual Studio installed I think for the batch file to be able to Build. This is probably why you got an error and it failed to build.

MoldFire81 commented 1 week ago

please help, the build.bat only show error massage and no .dll created, I was recently installing windows do I need another software or something to make it work?

You need to have Visual Studio installed I think for the batch file to be able to Build. This is probably why you got an error and it failed to build.

Thank you!! I installed visual studio and updated .net and it works. Now I'm stuck in this section: Run the YgoMaster.exe --mergeshops command to merge YgoMaster/Data/ShopDumps/ into YgoMaster/Data/AllShopsMerged.json. Copy out what is needed

is Ygomaster.exe the game itself or else? and where the mergeshops is?

SideswipeeZ commented 1 week ago

please help, the build.bat only show error massage and no .dll created, I was recently installing windows do I need another software or something to make it work?

You need to have Visual Studio installed I think for the batch file to be able to Build. This is probably why you got an error and it failed to build.

Thank you!! I installed visual studio and updated .net and it works. Now I'm stuck in this section: Run the YgoMaster.exe --mergeshops command to merge YgoMaster/Data/ShopDumps/ into YgoMaster/Data/AllShopsMerged.json. Copy out what is needed

is Ygomaster.exe the game itself or else? and where the mergeshops is?

If I recall correctly, The mergeshop is a argument so you can type that whole line into a command prompt window (inside the directory the ygomaster.exe is in) and it should run. I haven't used the mod in a while.

MoldFire81 commented 1 week ago

If I recall correctly, The mergeshop is a argument so you can type that whole line into a command prompt window (inside the directory the ygomaster.exe is in) and it should run. I haven't used the mod in a while.

I'm sort of could get the grasp of it now, So I open both the shop and the updated shop and copy all new edit from it correspond to the existing format in shop . is that correct? and are there any quick ways? cause it's taking a lot of time checking manually

Edit: Now I have successfully updated the accessories. But for card packs still a long way to go. I believe I need to update the pack images etc. Nonetheless I could make sense the tutorial doc now. Thanks

MoldFire81 commented 1 week ago

please help, the build.bat only show error massage and no .dll created, I was recently installing windows do I need another software or something to make it work?

You need to have Visual Studio installed I think for the batch file to be able to Build. This is probably why you got an error and it failed to build.

Thank you!! I installed visual studio and updated .net and it works. Now I'm stuck in this section: Run the YgoMaster.exe --mergeshops command to merge YgoMaster/Data/ShopDumps/ into YgoMaster/Data/AllShopsMerged.json. Copy out what is needed is Ygomaster.exe the game itself or else? and where the mergeshops is?

If I recall correctly, The mergeshop is a argument so you can type that whole line into a command prompt window (inside the directory the ygomaster.exe is in) and it should run. I haven't used the mod in a while.

how exactly to run ygomaster.exe cause when I'm running it I can't type any command. I try to update it manually by checking and comparing it with a lot of trials and errors but then sort of lost track of it and give up.