Tool Unity Glamour Images Tool [v1.4]

TCMS

Quote my posts if you want an answer
Donor
Former Staff
Aug 5, 2016
5,797
30,045
Pretty short thread. Thanks to @Oiz & @Basticular Assassin for the tests and @Zeth for the suggestion that fixed the overwriting issue.
Game thread:
Works with v2.0

What it does:
TL;DR Creates an Images folder with all of the game's images. (Works with any version, present or future)
This only works for the game Glamour.

Instructions:
Run the game, wait for the files to be downloaded (they are downloaded once you can start the game).
Go to your directory (where the .exe is) and extract the zip there
Open CoolStuff.bat and wait.

How your folder should look like:
You don't have permission to view the spoiler content. Log in or register now.

Changelog:
v1.0: 1st Release
v1.1: Fixed overwriting issue. Better folder organization. Change the move code from xcopy to copy
v1.2: Fixed the space issue for people who rename their folder.
v1.3: Updated to support Glamour 2.0 and future releases.
V1.4: Fixed problem with users putting the file in another drive than C:/
 

Chel

Active Member
Jun 1, 2017
719
1,436
So this works for any engine or is it for a specific one? Sorry if its a dumb question.
 

TCMS

Quote my posts if you want an answer
Donor
Former Staff
Aug 5, 2016
5,797
30,045
So this works for any engine or is it for a specific one? Sorry if its a dumb question.
Engine? o.0. If you mean operating system it's windows only.
 

Chel

Active Member
Jun 1, 2017
719
1,436
Engine? o.0. If you mean operating system it's windows only.
I mean like, game engine wise. Does it work for any engine (rpgmaker, renpy, etc) or a specific one? Or am i just really dumb and its for a some "Glamour" engine that i havent heard about.
 

Zeth

Newbie
Apr 21, 2017
60
159
There is an error in your program
Because there are some images with the same filename like:
backgrounds\julia-house-hall and
icons\julia-house-hall
which results in an overwrite, when you write them in the same folder
so the end result are ony 196 instead of 242 images
 

TCMS

Quote my posts if you want an answer
Donor
Former Staff
Aug 5, 2016
5,797
30,045
There is an error in your program
Because there are some images with the same filename like:
backgrounds\julia-house-hall and
icons\julia-house-hall

which results in an overwrite, when you write them in the same folder

so the end result are ony 196 instead of 242
Yeah... X_x. I saw icons overwritting but missed this one. Will change from xcopy to copy probably.
 
  • Like
Reactions: myborot

Arne18

New Member
Jun 14, 2017
4
8
Update for the ones using spaces in the directory and no overwriting:

mkdir Images
Set sOriginFolder=%cd%\Images\
cd glamour_Data\StreamingAssets
for /d %%a in (*) do (
cd %%a
for %%b in (*) do (
copy /Y "%%b" "%sOriginFolder%%%a-%%b.jpg"
)
cd..
)
 

TCMS

Quote my posts if you want an answer
Donor
Former Staff
Aug 5, 2016
5,797
30,045
Or add the foldername as prefix of the filename like
icon_julia-house-hall
backgrounds_julia-house-hall

this was my approach
Yeah I was trying to mess around with loops n'shit so I could increase the number of duplicated files... After hours of waste I took a break and saw your reply... Felt like an idiot after thinking about it:pokerFace:
 
  • Like
Reactions: Zeth

Zeth

Newbie
Apr 21, 2017
60
159
Yeah I was trying to mess around with loops n'shit so I could increase the number of duplicated files... After hours of waste I took a break and saw your reply... Felt like an idiot after thinking about it:pokerFace:
Wasted also a couple of hours decompiling the glamou dll only to find out. that each interaction is send to the server and that the response contains the next scene :'( .

so it needs a internet connection to work :confounded:
 

Arne18

New Member
Jun 14, 2017
4
8
Yeah I was trying to mess around with loops n'shit so I could increase the number of duplicated files... After hours of waste I took a break and saw your reply... Felt like an idiot after thinking about it:pokerFace:
Didn't you like my update? Could have saved you some hours.