SRB2 Message Board  

Go Back   SRB2 Message Board > Archived > SRB2 Forum Archives > Bug Reports (2.1.X)

 
 
Thread Tools Search this Thread
Old 01-15-2017   #1
Rapidgame7
pressure pressure pressure
 
Rapidgame7's Avatar
Default [2.1.18] Addfile has trouble loading a file

I wasn't sure what to write on the title.
I have SRB2 set to use a different folder as the home (-home files), so every WAD I have is located in "[SRB2 folder]/files/srb2".

The problem resides in that addfile works in a weird way when this command line argument is used.



When addfile is being used at the titlescreen, the files load correctly as expected.



But when addfile is being used in-game, it doesn't load the WAD unless it is located in the home folder.



Also, when addfile is used for a file that actually doesn't exist, the error message is different. This error is the same in-game and in the title screen.
__________________
Quote:
<Steel Titanium> so many eggman laughs
<Rapidgame7> hehehe HEHE HEhEhe
<Rapidgame7> AAAAAUUUUGGGGH

Last edited by Monster Iestyn; 04-25-2017 at 12:51 AM.
Rapidgame7 is offline  
Old 01-16-2017   #2
Monster Iestyn
Friendly Neighbour-Hood
Moderator
 
Monster Iestyn's Avatar
Default

I vaguely remember encountering something similar with files in the DOWNLOAD subfolder recently-ish, even without changing the home directory. IIRC sometimes I had to explicitly use "DOWNLOAD/filename.wad" and sometimes I was able to just use "filename.wad" even if it existed only in that folder. Haven't looked into that much since but it could be the same issue.
Monster Iestyn is offline  
Old 01-16-2017   #3
choalover
チャオノコイビト
Default

I had the same issue before in SRB2 before it was even reported, and I never really mentioned this issue cause it isn't like anything too major.
__________________
I love the new SRB2 2.1.17 update so far.
choalover is offline  
Old 01-16-2017   #4
Sky The Destroyer
 
Sky The Destroyer's Avatar
Default

Are you in a netgame when you're adding it in-game? If so, you need to specify the subdirectory like Monster Iestyn said. SRB2 will not look inside subdirectories unless specified during netgames.
__________________
<SkyTheDestroyer> Why does the Master Server delist my server once it hits 32/32?
<SpiritCrusher> Your server has attained GOD STATUS
<SpiritCrusher> The MS can't display it anymore
Sky The Destroyer is offline  
Old 04-25-2017   #5
Monster Iestyn
Friendly Neighbour-Hood
Moderator
 
Monster Iestyn's Avatar
Default

Apparently I forgot to mention here before, but I made a fix for this bug which has just been merged in: http://git.magicalgirl.moe/STJr/SRB2/merge_requests/166
Monster Iestyn is offline  
Old 04-25-2017   #6
Lach
what the thok mate??
 
Lach's Avatar
Default

I believe the issue actually only applied to netgames in the first place. Adding files from subfolders in single player always worked fine for me.
Lach is offline  
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:18 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.