bitmaps/ui/background.jpg is hardcoded
Moderator: Moderators
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
bitmaps/ui/background.jpg is hardcoded
And shouldn't be. It's in base content.
Re: bitmaps/ui/background.jpg is hardcoded
Clarify?
if you mean you can't drop in a bitmaps/ui/background.jpg in your own game archive, think for a second about why this is (protip: this picture is loaded before the filesystem is initialised)
if you mean you can't drop in a bitmaps/ui/background.jpg in your own game archive, think for a second about why this is (protip: this picture is loaded before the filesystem is initialised)
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: bitmaps/ui/background.jpg is hardcoded
... Wtf do you think I'm posting this thread for?
Remove file from base content, all of a sudden we can use our own (but if you do this locally, you will break sync of course). *GASP*
Additionally, it could be set to look in game archive first. << makes the most sense.
Remove file from base content, all of a sudden we can use our own (but if you do this locally, you will break sync of course). *GASP*
Additionally, it could be set to look in game archive first. << makes the most sense.
Re: bitmaps/ui/background.jpg is hardcoded
No, which game is used is not yet known when this image is needed.Forboding Angel wrote:Additionally, it could be set to look in game archive first. << makes the most sense.
(that is what FLOZi hinted at)
Have you tried creating bitmaps/ui/background.jpg in one of Spring's data directories?
AFAICS that should work, native filesystem still overrides archive content in many places.
Re: bitmaps/ui/background.jpg is hardcoded
Have you tried creating bitmaps/ui/background.jpg in one of Spring's data directories?
- Attachments
-
- custombackground.jpg
- (150.46 KiB) Downloaded 2 times
Re: bitmaps/ui/background.jpg is hardcoded
Knorke: But is it sync-compatible?
The hardcoded background is quite mod agnostic, it just depicts a tropical beach, there's no commander or any TA units, so I don't mind it that much.
The hardcoded background is quite mod agnostic, it just depicts a tropical beach, there's no commander or any TA units, so I don't mind it that much.
Re: bitmaps/ui/background.jpg is hardcoded
joined some BA game and it worked.zwzsg wrote:Knorke: But is it sync-compatible?
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: bitmaps/ui/background.jpg is hardcoded
I know, it's obvious considering that that is the screen where you tell spring what map and game to load. It was him patronizing me that was irritating.Tobi wrote:No, which game is used is not yet known when this image is needed.Forboding Angel wrote:Additionally, it could be set to look in game archive first. << makes the most sense.
(that is what FLOZi hinted at)
Anywho...
That I didn't know. I was under the impression that archive content was at the top of the pyramid. Thanks for the heads up. This way I can include it with the Desura/Buntu installs.Tobi wrote:Have you tried creating bitmaps/ui/background.jpg in one of Spring's data directories?
AFAICS that should work, native filesystem still overrides archive content in many places.
Re: bitmaps/ui/background.jpg is hardcoded
Except that your 'suggestion' makes no sense unless you were overlooking the obvious.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: bitmaps/ui/background.jpg is hardcoded
Makes perfect sense if you can tell spring where to find it beforehand.
However, including it directly solves what I wanted. Basically I wanted to be able to change it without breaking sync.
However, including it directly solves what I wanted. Basically I wanted to be able to change it without breaking sync.