![]() |
![]() +- Save-Point (https://www.save-point.org) +-- Forum: Games Development (https://www.save-point.org/forum-4.html) +--- Forum: Development Discussion (https://www.save-point.org/forum-17.html) +--- Thread: ![]() Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
|
RE: What's up, RMers? - kyonides - 04-18-2025 Dir.chdir should only be used whenever you're dealing with separate ![]() I guess that's why I was curious ![]() RE: What's up, RMers? - DerVVulfman - 04-18-2025 Your statement doesn't show much in curiosity into why the use of Dir.chdir. The bulk of it is actually a statement showing that you had learned to limit its use when you began working with Gosu and insight into Hiddenchest's file system. It appears your curiosity is an afterthought. But as towards your curiosity, I will answer. I was not the first to use Dir.Chdir. Others had in the past. When DerkJan (or MeTm at HBGames/CreationAsylum) created his initial McSendString music looping system, it came with an editor written in Ruby that allowed the user to set loop start and stop points. And as it could affect audio within the four audio subfolders (BGM, BGS, ME, SE), he used Dir.chdir to allow switching between those subfolders. In 2012, DuongCool inquired if anyone had the required Audio.dll file used by an ATOA(Victor Sant) script entitled "Não reinciar Música do mapa após uma batalha" (or "Do not restart Map Music after a battle") which used an audio module provided by Poccil. There are plenty other scripts out there that use Dir.Chdir. That is not a justification of its use. It is solely an explanation as to why I first used it within my widgets project. And I will not rebuke other scripts that put it to use. RE: What's up, RMers? - DerVVulfman - 04-18-2025 Now we're REALLY working! Clearly showing I have a lot of RM2K games filed away somewhere on Drive G Drive List box status: CHECK Folder List box status: FUNCTIONAL I only give it 'functional' because I believe I need to set up something to re-adjust the scroll bar params when switching between one list of folders and another, the quantity change and all. Meanwhile, the folder list will 'not' show folders with file extensions (RB_System.logs, AVSys.Bak, etc.) and any folder with a '$' at the start, these typically assumed to be important system directories and should be left alone. Next up? The Files Widget...... ![]() RE: What's up, RMers? - DerVVulfman - 04-22-2025 Well, I got FILES working ![]() I superimposed a closeup of the Drive, Folder and Files box to show image graphic functionality. You can see nice orange circles around the graphics to the left of the filenames, and matching file extensions. Indeed, a Zip file graphic is displayed when any file with the zip. gz and zipx formats are used. Likewise, jpg and variations have their own image format. If no file has a recognized format, a blank doc-like glyph will show. AND for the unaware, you may notice that the Glyph next to my E: Drive has a faint red dot displayed rather than the green dot for drives C: and D:. This because it is a Flash drive, and neither an internal nor external hdd/ssd. There is more work to be done of course. Creating an option to set file parameters such as having the filebox keyed only to search .rxdata files, or a list of files (.bmp, .png, .jpg).. File limters. :D And likely a dropdown just for that as well. And I do need to see about removing the condensed text appearance in the boxes. It is annoying. |