#that solves all your problems

1 messages · Page 1 of 1 (latest)

mighty bane
#

indeed that sounds like the solution. Might be the only thing to do. Is there a fast way to download all my cards image at once or something similar to that? because dowloading all individual cards will take me multiple hours as dextrous is slower from the project size.

neon flare
#

You already have all files in your cache

#

Documents\My Games\Tabletop Simulator\Mods\Images

#

(assuming mod caching is enabled and you have "encountered" each card in TTS to make it save it)

sweet creek
#

the alternative is to spawn card objects, disable their collider, and position them in the world (rather than using the player's ui)

#

this means you would not need to split your cads up

#

FINALLY (and I hate this option) you can mask and offset each card in each position in each deckseet

#

if you only use 10x7 decksheets then that's 70 mask images and 70 position offsets you need (the latter can be calculated if the dimensions of your source images are the same)

#

have one decksheet which is 9x7 instead? well now you need a fresh batch of masks and position offsets

neon flare
#

I think you probably only need 1 mask that you move around, right?

mighty bane
neon flare
#

not as last file ofc, because it's cached when you first load it

mighty bane
#

Thanks for the help, but I'm not sure I follow yet. they are no in my image folder, but mod caching is enabled and they are all in the game world (not in a deck). Do I need to reupload them from dextrous? I guess that would be it.

sweet creek
#

are these assetbundle decksheets?

neon flare
sweet creek
#

also you may have moved your cached folder

mighty bane
#

yes its the whole folder

sweet creek
#

click the yellow folder icon in the config menu ingame to go to the active location

mighty bane
#

it leads into the mod folder, not into the image folder, good catch. But that seems wrong that it would lead to the mod folder

#

the images are also not there

mighty bane
sweet creek
#

clone a card on top of itself so it becomes a deck of the same 2 cards, right click the deck -> custom, post the dialog as a screenshot

mighty bane
#

Sorry, not sure what you mean when you say the dialogue, this is what I get

neon flare
#

Can you post one of the URLs?

sweet creek
#

I wonder if verifycache prevents caching 🤔

neon flare
#

HAHAHHAA

#

@mighty bane can you search your TTS folder (in Documents) for ELIrmuuAD0EtsRl0?

#

that should point you to this file if it exists

neon flare
mighty bane
#

not found sadly :/

neon flare
#

Then actually try removing the verify cache prefix

#

just for science

sweet creek
#

i am now trying to sort my tts cached folder by date modified... i might be here a while

neon flare
#

It's been some time since I last cleared it

#

Sitting at 168 GB right now

mighty bane
sweet creek
#

remember when 1Gb was huge? 🥲

neon flare
#

Yes, and then save and reload the game to cache it

mighty bane
#

This is the result in TTS (used to be Mesprit's card) and I still cannot find it in Mods folder (or Mods/image folder)

neon flare
#

TTS probably doesn't like that the same URL is now used in two different ways

mighty bane
#

ok so I shoukd maybe do it for all cards that share that face URL?

sweet creek
#

this file is not caching for me either, which confuses me to no end

neon flare
#

huh maybe TTS can't handle the URL and fails to generate a file name?

sweet creek
#

perhaps, if you throw us another url SAMPAI i'll try without verifycache first (in case that is the issue)

mighty bane
#

Ok I'll do that. Though I did succeed to take out the verify cache of all the pokémnon of that spreadsheet (from rotom to arceus) import, save, and reload, they all appear properly in game and don't have the verify cache in their face URL, including Mesprit that was previously white

sweet creek
#

do you know why you are doing that?

#

and what the consequences of doing it are?

mighty bane
#

Not fully no, the consequences, no idea, the reason is because I'm trying to see if they can appear as single image inside of my folders so I can have single image face URL to give to my TTS pokemonFaceData code

sweet creek
#

If you want to get anywhere with modding in general, you shouldnt "try this and assume it works"

#

{verifycache} means it checks that url for updates to the image, and uses a newer image if available

#

by removing that, you are now relying on the image you have cached the first time you loaded the image

mighty bane
#

I see, so if I ever update the card in dextrous, it won't update anymore in TTS, is that right?

sweet creek
#

correct

mighty bane
#

ok that is indeed very important

sweet creek
#

which is why you want a solution to your problem, not a guessed workaround

mighty bane
#

indeed, thanks for the tip

sweet creek
#

what is confusing us is your folder should be full of these cached images

#

(both to use, and to have something to compare with for {verifycache})

#

oh wait

#

Do you have mod caching turned off?

mighty bane
#

If it helps, I unabled Mod caching earlier when you guys asked me to, it was disabled before that

sweet creek
#

that's the same as I, I'm getting the same issue

mighty bane
#

but its been enabled since we,ve been talking here

sweet creek
#

(still waiting for you to post a second url)

sweet creek
#

ok I'm going to go with what Chr1Z alluded to earlier

#

Something in this url is peventing it from writing a cached file on the system

#

So it downloads the file into application-reserved memory and uses that, but you have no locally stored (cached) file

#

this is effectively resulting in mod caching being turned off for this file (which is actually a useful thing to have if we could control it rather than being a bug)

#

so now I've decided on that (don't bother asking TTS to fix it, TTS is basically not updated), you have two options

#

use a piece of 3rd party software to download the assets for you outside of TTS

#

scrape your save file for the urls

#

(well I guess the third option is simply to do what I showed you to copy them out)

mighty bane
#

ok I see, thanks for the analysis. Any recommendation? The thirtd party software souns like that could work fine. Scraping the save file might work too but I guess could get pretty tedious? The thirs option is not exactly the system I'm looking to make right? as it is not in a UI window, unless I misunderstood your proposal.

sweet creek
#

I never recommend any third party software

#

I can link the one(s) I know abou to you. I have never used them and do not condone using them

#

that's the three I know of

neon flare
mighty bane
#

Great thank you! I found a card card in my TTS save file, this is Golduck's card. Even those URL leed back to a spread sheet, not a single card image
"GUID": "b300c1",
"Name": "Card",
"Transform": {
"posX": 15.3687305,
"posY": 1.04846406,
"posZ": 4.13616562,
"rotX": 0.00313153141,
"rotY": 180.027985,
"rotZ": 3.38116884,
"scaleX": 1.13636363,
"scaleY": 1.0,
"scaleZ": 1.13636363
},
"Nickname": "Golduck",
"Description": "SHIFT, 4️⃣–6️⃣: This ability effects depends on the weather. ⛅: deal 1 💥. ⛈️ Rain: Deal 2 💥 and +4 Speed. ☀️ Sun: Deal 2 💥 and +1 🌟. ❄️ Snow: Deal 1 💥and +2 Defense. 🌪️ Sandstorm: Deal 2 💥 and -2️⃣ BP to a fielded Pokémon. 🍃 Wind: Deal 2 💥 and +2 Attack",
"GMNotes": "",
"AltLookAngle": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"ColorDiffuse": {
"r": 0.713235259,
"g": 0.713235259,
"b": 0.713235259
},
"LayoutGroupSortIndex": 0,
"Value": 0,
"Locked": false,
"Grid": true,
"Snap": true,
"IgnoreFoW": false,
"MeasureMovement": false,
"DragSelectable": true,
"Autoraise": true,
"Sticky": true,
"Tooltip": true,
"GridProjection": false,
"HideWhenFaceDown": true,
"Hands": true,
"CardID": 2511,
"SidewaysCard": false,
"CustomDeck": {
"25": {
"FaceURL": "{verifycache}https://firebasestorage.googleapis.com/v0/b/card-maker-74ec3.appspot.com/o/images%2FQdZvVPx5vSS7kBuiCsV09COKqPA2%2FTTSFiles%2F8mlJVTfBovraNVT3mFUD_7ELIrmuuAD0EtsRl0si3_1.png?alt=media&token=208284dc-9e8c-42d1-b95c-9077f48be7a1",
"BackURL": "{verifycache}https://firebasestorage.googleapis.com/v0/b/card-maker-74ec3.appspot.com/o/images%2FQdZvVPx5vSS7kBuiCsV09COKqPA2%2FTTSFiles%2F8mlJVTfBovraNVT3mFUD_back_7ELIrmuuAD0EtsRl0si3_1.png?alt=media&token=3a380adb-feaf-400a-a894-74c6fdbaee70",
"NumWidth": 8,
"NumHeight": 6,
"BackIsHidden": true,
"UniqueBack": false,
"Type": 0
}
},
"LuaScript": "",
"LuaScriptState": "",
"XmlUI": ""
},