Comments (8)
I checked on gta3, it's working both ways for me there. Could you provide your files so I'd be able to reproduce?
Also set output log to file and see what paths it processes there.
from modupdater.
I have not tested this on gta3, but it seems like there is custom code in this module for gta games, so it might be best to test with a non-gta game. I am using Silent Hill 2 for my tests. The OutputLogToFile
and AlwaysUpdate
are enabled for all my tests.
If you copy the six files from the zip file below into the Silent Hill 2 folder then modupdater is not able to find any updates:
The log looks like this:
Current directory: D:\Games\Silent Hill 2\
If I simply move the 'modupdater.asi' and 'modupdater.ini' file into the 'scripts' folder then the log looks like this:
Current directory: D:\Games\Silent Hill 2\scripts\
d3d8.dll found.
Update URL: https://github.com/elishacloud/Silent-Hill-2-Enhancements
Connecting to GitHub: https://api.github.com/repos/elishacloud/Silent-Hill-2-Enhancements/releases?per_page=100
GitHub's response parsed successfully. Page 1.
Nothing is found on GitHub.
sh2-enhce.asi found.
Update URL: https://github.com/elishacloud/Silent-Hill-2-Enhancements/releases
Connecting to GitHub: https://api.github.com/repos/elishacloud/Silent-Hill-2-Enhancements/releases?per_page=100
GitHub's response parsed successfully. Page 1.
Found sh2-enhce.zip on GitHub.
Download link: https://github.com/elishacloud/Silent-Hill-2-Enhancements/releases/download/v1.0.255.0/sh2-enhce.zip
Remote file updated 215 days ago.
Local file updated 262 days ago.
File size: 19111KB.
Update cancelled.
If I enable ScanFromRootFolder
then no log is generated while 'modupdater.asi' and 'modupdater.ini' files are in the 'scripts' folder.
No matter how ScanFromRootFolder
is set the log file looks the same as long as the 'modupdater.asi' and 'modupdater.ini' files are in the game's process folder.
In other words, the only way I can get modupdater to detect anything is to have ScanFromRootFolder
disabled and to put it in the 'scripts' folder.
from modupdater.
Thanks, I'll check that out.
from modupdater.
So, apparently when you use scan from root folder in SH2, the process looks through all 3000+ files which simply takes a long time, that's why it seems like nothing is happening.
I suppose you want to also update d3d8.dll with that archive and currently it's indeed not possible for files hosted on github. I use this for external files:
https://github.com/ThirteenAG/WidescreenFixesPack/blob/master/data/SplinterCellPandoraTomorrow.WidescreenFix/offline/system/scripts/modupdater.ini#L6
I'll make an update to fix this and let you know when it's ready.
from modupdater.
Ok, that makes sense. I guess I need to be more patient. Thanks for working on this!
from modupdater.
You should be able to update files in root dir just fine now, with PlaceToRoot parameter at least.
from modupdater.
Thanks @ThirteenAG!
from modupdater.
Let me know if there's any issues still, I only updated a few files and downloaded some mods with sample inis for gta, but hopefully everything works properly now.
from modupdater.
Related Issues (9)
- Self updating probably shouldn't require extra ini settings
- Vice City Widescreen forced update bug HOT 2
- Update deletes Ultimate ASI Loader HOT 13
- Wanna contribute HOT 3
- Updater issues
- SkyGfx doesn't work anymore HOT 3
- 'SelfUpdate' option does not appear to work right HOT 28
- This Mod Crashes game at start
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modupdater.