Fallout 2 mod Fallout 2 Restoration Project 2.2 (Unofficial Expansion)

Status
Not open for further replies.
JimTheDinosaur said:
I know you guys won't release the sources yet, but could somebody with access to the source obj_dude.ssl maybe send me the lines of sfall functions right beneath "procedure use_obj_on_p_proc"? I need those to recompile my RP-compatible script.

Not source but should be good enough.
Code:
	if ((obj_pid(obj_being_used_with) == 124) or (obj_pid(obj_being_used_with) == 125) or (obj_pid(obj_being_used_with) == 310) or (obj_pid(obj_being_used_with) == 542) or (obj_pid(obj_being_used_with) == 311)) then begin
		if (random(1, 100) <= 10) then begin
			if (alcohol_addict == 0) then begin
				display_msg(message_str(1, 500));
				set_critter_stat(dude_obj, 1, -2);
				if (not(is_iface_tag_active(4))) then begin
					show_iface_tag(4);
				end
				set_global_var(26, 1);
				alcohol_addict := 1;
			end
		end
	end
 
but then there is the minor problem of not being able to save a game. how do I go around that?
 
jirik said:
Install fallout, install RP, do not run fallout yet.
Then open terminal window, navigate by cd command to fallout root directory and run these commands from it. There should not be any output to terminal after you run them. If there is any, you are on wrong place.

Code:
chmod 444 [dD][aA][tT][aA]/[pP][rR][oO][tT][oO]/[iI][tT][eE][mM][sS]/*
Code:
chmod 444 [dD][aA][tT][aA]/[pP][rR][oO][tT][oO]/[cC][rR][iI][tT][tT][eE][rR][sS]/*

You can check that you're in good directory if you run this listing command, it will write you list of files in items/critters directory.
Code:
ls [dD][aA][tT][aA]/[pP][rR][oO][tT][oO]/[cC][rR][iI][tT][tT][eE][rR][sS]/* [dD][aA][tT][aA]/[pP][rR][oO][tT][oO]/[iI][tT][eE][mM][sS]/*

If you don't know how to navigate terminal to fallout root directory, read some basics about it, there are plenty of them.
You should be able set readonly flag to these files by some graphical program included in operating system, I don't know mac os well so I posted these terminal command which should work as well.

when I run the first command it says "file not found". I guess I am at the wrong place?
I do it in the Wine Command Promt.
 
Okey, Jirik my friend.
I have done as you asked and it all seems to work well.
I checked the map and it is there.

BUT, and it is a big but, I cannot save now!

I knew that as soon as I made those 2 files waterproof, i e read only, I would not be able to save.
so, now what do I do?
 
jasse said:
I knew that as soon as I made those 2 files waterproof, i e read only, I would not be able to save.
so, now what do I do?
Go to fallout root directory -> data directory. Create new folder called SAVEGAME with another subfolder SLOT01 in it.

Then open terminal, navigate to fallout folder and run this command.
Code:
chmod -R 755 [dD][aA][tT][aA]/[sS][aA][vV][eE][gG][aA][mM][eE]/
 
jasse said:
I did, not working

or did you mean in data/savegame folder?
The file structure should be like this:
FALLOUT2/DATA/SAVEGAME/SLOT01

Run that command from fallout2 folder, it should not do any output as before and hopefully you will be able to save at least to first slot.
 
not working...

funny thing is, i tried saving in 3 different slots. didnt work.
but when i go to my savegame file if F2 directory, there are now 3 files slot01,02,10 with proto files in them
but still no saves!
 
jasse said:
not working...
Ok, remove whole SAVEGAME folder. Create it again but in lowercase so savegame and slot01 in it.
And run that command again from fallout dir.

If it not works, try to run fallout manually from it's directory via terminal.
Code:
wine fallout2.exe
 
jasse said:
not working. cant save...
Well, I'm out of ideas, try to look trough the internet, this "unable to save game" error is pretty common. Maybe others know more.
Everytime I had this issue I solved it by setting file permission at savegame to read&write, running fallout executable from it's directory or data files were corrupted.

e.g.
http://www.nma-fallout.com/forum/viewtopic.php?t=54394&postdays=0&postorder=asc&start=0
http://appdb.winehq.org/objectManager.php?sClass=application&iId=70
http://appdb.winehq.org/objectManager.php?sClass=application&iId=194

But there is interesting remark from technical wiki for GOG mac version.

Set the files in /Applications/Fallout 2.app/Contents/Resources/drive_c/Program Files/GOG.com/Fallout 2/data/Proto/Items and /Applications/Fallout 2.app/Contents/Resources/drive_c/Program Files/GOG.com/Fallout 2/data/Proto/Critters to read only (NOTE: your filepath may vary)

IMPORTANT: There is a bug where you need to change the file permissions every time you run the program, else the permissions will be changed back to read/write, then will be deleted. Please post a fix if you find one!
 
oh man......
(but I do aprecciate you spending so much time in trying to help me fix it)

damn thing just wont work..... I cant make any sense of it...
 
I´ll be damned..... it bloody seem to work!!!
and it was so easy.... too bloody easy....
let me play for some time and test it first, okey?
 
I´ll be damned, it works!!!
let me test it for few more hours but it look stable.

man, you can still have my sister :-)
 
@ jasse

There is an edit function button - the moderators will frown upon you if you keep making multiple responses, just saying.
 
jasse said:
I´ll be damned, it works!!!
let me test it for few more hours but it look stable.
Ok, good to hear, please, could you write some info how you resolved it to technical wiki so the others will not be forced to go through the same painful way in the future?
 
Status
Not open for further replies.
Back
Top