Home » MODDING HQ 1.13 » v1.13 Coding Talk » RII - Resolution Independent Interface [UPDATE :RII v4f]
Re: RII - Resolution Independent Interface[message #210634] Thu, 19 March 2009 22:13 Go to previous messageGo to next message
BirdFlu is currently offline BirdFlu

 
Messages:438
Registered:September 2007
Location: Lampukistan
First, here is a new version. This build fixes a bug, that in some cases when an error occurred, the game simply crashed to desktop instead of showing the error screen.

Anyway, has someone actually tried the new (v3) version. There are over 50 downloads, but no comments on how it works or whether it works at all. I'm curious, are there any problems, something that you [don't] like, something you want to see in future releases?

Report message to a moderator

Master Sergeant
Re: RII - Resolution Independent Interface[message #210657] Fri, 20 March 2009 00:15 Go to previous messageGo to next message
Marlboro Man

 
Messages:1159
Registered:October 2005
Location: USA
I was hoping to witness some feed back too. Be glad when I have some time to play with everything again. I am sure someone will be testing soon. Smile

Report message to a moderator

Sergeant Major

Re: RII - Resolution Independent Interface[message #210698] Fri, 20 March 2009 15:24 Go to previous messageGo to next message
lockie is currently offline lockie

 
Messages:3721
Registered:February 2006
Location: Scotland
I just plain got lost after the initial posts , the topic 'elevated' ! Very Happy Anyway , did Birdflu get the UB source code ?

Report message to a moderator

Captain

Re: RII - Resolution Independent Interface[message #210725] Fri, 20 March 2009 20:53 Go to previous messageGo to next message
BirdFlu is currently offline BirdFlu

 
Messages:438
Registered:September 2007
Location: Lampukistan
Yes, BirdFlu did get the UB source code. What now?

---

This mod doesn't have flashy graphics or big explosions. Instead it brings features that could/should be useful to modders. And these features were requested often enough. Now you have them. And i'm asking again, what now?

Report message to a moderator

Master Sergeant
Re: RII - Resolution Independent Interface[message #210728] Fri, 20 March 2009 21:03 Go to previous messageGo to next message
KEN C

 
Messages:244
Registered:May 2007
Location: Aberdeen Washington USA
Please read my feature request today.

Report message to a moderator

Sergeant 1st Class
Re: RII - Resolution Independent Interface[message #210729] Fri, 20 March 2009 21:31 Go to previous messageGo to next message
lockie is currently offline lockie

 
Messages:3721
Registered:February 2006
Location: Scotland
I'd like to see UB mods in 1024 res , is all , without having to be a computer whizzzz :redracer:

Report message to a moderator

Captain

Re: RII - Resolution Independent Interface[message #210730] Fri, 20 March 2009 21:35 Go to previous messageGo to next message
Marlboro Man

 
Messages:1159
Registered:October 2005
Location: USA
Well, it said to wait 45 seconds for the download to start. I waited about 15 mins, and it never started. Do I need to register to get downloads? Or what?

Report message to a moderator

Sergeant Major

Re: RII - Resolution Independent Interface[message #210733] Fri, 20 March 2009 21:47 Go to previous messageGo to next message
BirdFlu is currently offline BirdFlu

 
Messages:438
Registered:September 2007
Location: Lampukistan
you need to enable JavaScript for the counter to ... count

Report message to a moderator

Master Sergeant
Re: RII - Resolution Independent Interface[message #210735] Fri, 20 March 2009 22:11 Go to previous messageGo to next message
Marlboro Man

 
Messages:1159
Registered:October 2005
Location: USA
JavaScript? Where is that located exactly? I looked through all the Java settings I have and don't see anything about JavaScript.

Report message to a moderator

Sergeant Major

Re: RII - Resolution Independent Interface[message #210736] Fri, 20 March 2009 22:18 Go to previous messageGo to next message
SpaceViking is currently offline SpaceViking

 
Messages:751
Registered:January 2004
Location: Rochester, Minnesota, USA
FireFox: Tools->Options->Content
IE: Tools->Internet options->Security->Custom level->Scripting->Active Scripting->Enable

[Updated on: Fri, 20 March 2009 22:18] by Moderator

Report message to a moderator

First Sergeant

Re: RII - Resolution Independent Interface[message #210737] Fri, 20 March 2009 22:21 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
@birdflu: Are there any additional files I need except the EXE? Any config or INI files??

EDIT: Can you provide some files that are configured already or do I have to copy/paste the config entries from this thread.

EDIT 2: I get the following error when I start the EXE. A message box pops up "Cannot init FONT file FONTS\LARGEFONT1.sti".

[Updated on: Fri, 20 March 2009 22:26] by Moderator

Report message to a moderator

Sergeant Major

Re: RII - Resolution Independent Interface[message #210739] Fri, 20 March 2009 23:02 Go to previous messageGo to next message
BirdFlu is currently offline BirdFlu

 
Messages:438
Registered:September 2007
Location: Lampukistan
Well, i should have told that when you take the alpha v3.1 exe, you still need the data files from the v3 release. And you have to rename one of the vfs_config_*.ini file to vfs_config.ini (for the *_JDC_*.ini files you first have to convert the SLF archives of course).
RoWa21
"Cannot init FONT file FONTS\LARGEFONT1.sti".
This happens when fonts cannot be initialized, which happens mostly then when the archives aren't initialized, which happens when the archives aren't there or the vfs_config.ini wasn't properly configured.

[Updated on: Fri, 20 March 2009 23:08] by Moderator

Report message to a moderator

Master Sergeant
Re: RII - Resolution Independent Interface[message #210741] Fri, 20 March 2009 23:10 Go to previous messageGo to next message
Marlboro Man

 
Messages:1159
Registered:October 2005
Location: USA
SpaceViking
FireFox: Tools->Options->Content
IE: Tools->Internet options->Security->Custom level->Scripting->Active Scripting->Enable


Thanks, but I have that "enabled" already.


Very strange. Oh well, I will figure it out eventually.

Report message to a moderator

Sergeant Major

Re: RII - Resolution Independent Interface[message #210744] Fri, 20 March 2009 23:17 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
@birdflue: The download link for V3 is not valid anymore. I cannot download the file.

Report message to a moderator

Sergeant Major

Re: RII - Resolution Independent Interface[message #210746] Fri, 20 March 2009 23:26 Go to previous messageGo to next message
KEN C

 
Messages:244
Registered:May 2007
Location: Aberdeen Washington USA
@Birdflue, will you help update any of the old JA2 modding tools?

Report message to a moderator

Sergeant 1st Class
Re: RII - Resolution Independent Interface[message #210749] Fri, 20 March 2009 23:59 Go to previous messageGo to next message
Marlboro Man

 
Messages:1159
Registered:October 2005
Location: USA
OLDNOOOB
@Birdflue, will you help update any of the old JA2 modding tools?


That would be nice. Smile



@ Birdflu

Esnips is a much better uploading place. Wink Plus your files you upload don't time out after 30 days or whatever. Smile Just a suggestion.

Report message to a moderator

Sergeant Major

Re: RII - Resolution Independent Interface[message #210751] Sat, 21 March 2009 00:10 Go to previous messageGo to next message
BirdFlu is currently offline BirdFlu

 
Messages:438
Registered:September 2007
Location: Lampukistan
RoWa21
@birdflue: The download link for V3 is not valid anymore. I cannot download the file.
I will merge my stuff with current head soon and will upload that instead.

Report message to a moderator

Master Sergeant
Re: RII - Resolution Independent Interface[message #210754] Sat, 21 March 2009 02:07 Go to previous messageGo to next message
BirdFlu is currently offline BirdFlu

 
Messages:438
Registered:September 2007
Location: Lampukistan
My links seem to be working again. It was probably just a glitch on the server side.

Can you upload to Esnips without having to register first? I don't think Turboupload has an expiration date, as my older files (e.g. alpha v1) are still working.

As with the modding tools. That, of course, depends on the tools. There is, for example, no need to rewrite an slf brower/extractor/whatever when there is a better solution possible. Rewriting other tools may still be a reasonable idea, although you have to ask yourself, whether dealing with root of this problem would not be a more effective solution in the long run.

Report message to a moderator

Master Sergeant
Re: RII - Resolution Independent Interface[message #210755] Sat, 21 March 2009 02:14 Go to previous messageGo to next message
Marlboro Man

 
Messages:1159
Registered:October 2005
Location: USA
Ok. I will try downloading again.

No, you have to register esnips to upload. But it works pretty good. No need to change if your happy with Turboupload. Smile


We don't need a .slf extractor, as Dragon Unpacker works very good for any of that. Just need some of the older "tools" brought up to date. Like StiEdit, NPC editor, stuff along those lines. Smile Actually Stiedit works ok, it's mainly some of the other "tools" that need updating.

Report message to a moderator

Sergeant Major

Re: RII - Resolution Independent Interface[message #210757] Sat, 21 March 2009 03:29 Go to previous messageGo to next message
BirdFlu is currently offline BirdFlu

 
Messages:438
Registered:September 2007
Location: Lampukistan
OK, here is a new version (Alpha V4). It is now based on SVN revision 2628. Other than that there is only one visible change.
In the properties of the ja2 exe in the Version tab, there is a new entry (Special Build Description - Ja2 v1.13.2628).

This release contains all the files you need, so you don't have to download any previous versions.

-----------

Can someone try to replicate a bug.

In "Tactical/Interface Items.cpp" in function "RenderItemDescriptionBox" there is this line
	INT8			showBox=DetermineShowBox(); 

It determines which image is taken to draw the Description box background image. In my case i have EDB disabled, resolution is 1024x768 (=2),
NIV is on, item is a simple gun, and i am in MAP_SCREEN. The image "INTERFACE\\iteminfoc.STI" is selected earlier in function
"InternalInitItemDescriptionBox" and it has only one image inside. But the function "DetermineShowBox" gives "1" as a
result, and as a consequence i get a crash. In the function "DetermineShowBox"
	else if(UsingNewInventorySystem() == true)	//NIV
	{
		if(gpItemDescObject->IsActiveLBE(gubItemDescStatusIndex))
			return (gpItemDescObject->GetLBEPointer(gubItemDescStatusIndex)->lbeClass + (guiCurrentItemDescriptionScreen == MAP_SCREEN ? 1 : 0));
		else if(Item[gpItemDescObject->usItem].usItemClass == IC_LBEGEAR)
			return (LoadBearingEquipment[Item[gpItemDescObject->usItem].ubClassIndex].lbeClass + (guiCurrentItemDescriptionScreen == MAP_SCREEN ? 1 : 0));
		else if (Item[gpItemDescObject->usItem].usItemClass & (IC_WEAPON|IC_EXPLOSV|IC_AMMO|IC_ARMOUR|IC_PUNCH) && UsingEDBSystem() > 0 )
			return (guiCurrentItemDescriptionScreen == MAP_SCREEN ? 6 : 5);
		else
			return (guiCurrentItemDescriptionScreen == MAP_SCREEN ? 1 : 0);
	}
i end up in the last statement
return (guiCurrentItemDescriptionScreen == MAP_SCREEN ? 1 : 0);


Can someone who is familiar with this code verify that this is either correct or wrong.

Report message to a moderator

Master Sergeant
Re: RII - Resolution Independent Interface[message #210783] Sat, 21 March 2009 20:47 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
@birdflu: I downloaded V4 and put that in my JA2 root folder. Then I renamed "vfs_config_JDC_STI.ini" to "vfs_config.ini".
I also put the following lines in my ja2.ini:

[RII]
#WIDTH = your preferred window width
#HEIGHT = your preferred window height
#for example
WIDTH = 800
HEIGHT = 600

Now when I start the EXE in windowed mode, I see the boarder of the window a few seconds, but then the EXE terminates. Is there anything missing what I have done?

EDIT: If I just want to play 1.13 (Data-1.13) do I have to create a folder called "v113" in the "Profiles" folder? What files should I put in that "v113" folder?

[Updated on: Sat, 21 March 2009 20:57] by Moderator

Report message to a moderator

Sergeant Major

Re: RII - Resolution Independent Interface[message #210784] Sat, 21 March 2009 21:13 Go to previous messageGo to next message
BirdFlu is currently offline BirdFlu

 
Messages:438
Registered:September 2007
Location: Lampukistan
Can you look if you have a new file "exception_init.log" either in the executables directory or in exedir/Profiles/UserProfile.

First I expect the normal configuration, that is the directories Data and Data-1.13 have to be in the executables directory. For any other configuration you would have to modify vfs_config.ini.

If you want to use vfs_config_JDC_STI.ini you need to have the converted archives. To convert the slf archives you have to start the batch file convert_nopng.bat. This "script" will create a new directory batdir/Profiles/libs and put the new archives in this directory. Convert.bat would create the directory batdir/Profiles/libs_png, convert the slf archives and while doing this also convert the sti files. Once you have the archives, the game should start.

If you don't want to convert the archives, use the file vfs_config_SLF.ini

Report message to a moderator

Master Sergeant
Re: RII - Resolution Independent Interface[message #210791] Sun, 22 March 2009 00:24 Go to previous messageGo to next message
KEN C

 
Messages:244
Registered:May 2007
Location: Aberdeen Washington USA
BirdFlu, if you have time would you please take a quick look at the ja2tileset editor? it was created in 1999 and the instructions are cryptic at best. i believe you could modernize this utility in just a few minutes an many people would use it as this is another roadblock for modding. Thanks very much if you can help.

Report message to a moderator

Sergeant 1st Class
Re: RII - Resolution Independent Interface[message #210801] Sun, 22 March 2009 12:22 Go to previous messageGo to next message
BirdFlu is currently offline BirdFlu

 
Messages:438
Registered:September 2007
Location: Lampukistan
Where can i find this ja2tileset editor and what is wrong with it? W

Report message to a moderator

Master Sergeant
Re: RII - Resolution Independent Interface[message #210806] Sun, 22 March 2009 14:00 Go to previous messageGo to next message
Khor1255 is currently offline Khor1255

 
Messages:1817
Registered:August 2003
Location: Pleasantville, NJ
Actually the way the tilesets themselves are arranged is very restricting and needlessly complex. If someone could make one directory for all tilesets instead of having them grouped into several folders mdders could use any tile in any map and we could really start to see some interesting maps. This is likely a huge amount of work since the game would also have to be told how to assemble the default maps but the payoff would be immense.

But this isn't what OLDNOOB was asking. The tileset editor is located at Kermi's site (just look for any post he made and there is a link in his tag). It is a way to assemble new tilesets using the existing flawed structure. I am sure there is a good reason for why they did it the way they did (reducing the resources used to run the program is maybe why?) but I am pretty sure those reasons only apply to systems circa 1998. Reorganizing the tiles into one all encompassing set would make mapping so much better while increasing the modding potential and making life a little easier for mod makers.

But at the very least a better tileset editor and .jsd tool would be very cool.

There is a very good jsd tool called Blackdragon's JSD Editor I believe is also on Kermi's site but this is written in Russian and could really stand an English version if not complete overhaul.

Report message to a moderator

Sergeant Major
Re: RII - Resolution Independent Interface[message #210808] Sun, 22 March 2009 14:41 Go to previous messageGo to next message
Marlboro Man

 
Messages:1159
Registered:October 2005
Location: USA
Quote:
There is a very good jsd tool called Blackdragon's JSD Editor I believe is also on Kermi's site but this is written in Russian and could really stand an English version if not complete overhaul.


The version I have is in english. It's called JSDedit_1beta3. By Blackdragon.



Here is the link to Kermi's site. Look in the tools section. EDIT: In the editors section.
http://kermi.pp.fi/ja2/

[Updated on: Sun, 22 March 2009 14:43] by Moderator

Report message to a moderator

Sergeant Major

Re: RII - Resolution Independent Interface[message #210810] Sun, 22 March 2009 15:17 Go to previous messageGo to next message
Khor1255 is currently offline Khor1255

 
Messages:1817
Registered:August 2003
Location: Pleasantville, NJ
You are right. Very cool!

I remember now the issue I had with it. In the old editor it was quite easy to visualize the '3d' aspect of the jsd but this editor uses layers that I just can't get my head around. I asked one of the guys (mAN I think) who recommended this program to explain it but he didn't have much luck making it sink into my dense skull.

If someone could explain how the layers of that program correspond to the actual 'structure I'd sure like to know.

Also, in the old editor you had to match the shadow sti to the image. I have not seen such an application with Blackdragon's editor. But the fact you can do so much more with this editor makes it a lot better.

I believe it still lacks the ability to make roof tiles, ground tiles and maybe a few other things but it is way better than the old editor.

Report message to a moderator

Sergeant Major
Re: RII - Resolution Independent Interface[message #210813] Sun, 22 March 2009 16:20 Go to previous messageGo to next message
KEN C

 
Messages:244
Registered:May 2007
Location: Aberdeen Washington USA
Do I hear the Calvary coming over the hill?

Report message to a moderator

Sergeant 1st Class
Re: RII - Resolution Independent Interface[message #210815] Sun, 22 March 2009 16:59 Go to previous messageGo to next message
Khor1255 is currently offline Khor1255

 
Messages:1817
Registered:August 2003
Location: Pleasantville, NJ
Me?

No my 'horse' has too many bugs and assertion failures these days. I'm edging towards retirement.

Report message to a moderator

Sergeant Major
Re: RII - Resolution Independent Interface[message #210817] Sun, 22 March 2009 17:10 Go to previous messageGo to next message
BirdFlu is currently offline BirdFlu

 
Messages:438
Registered:September 2007
Location: Lampukistan
OK, i'm off for a couple of days. But before i do that, i will ask for one thing.
In Multiplayer code (Multiplayer\client.cpp and Multiplayer\server.cpp) there are some WinAPI calls (GetPrivateProfileString()). These calls are the main reason why my mod doesn't support multiplayer. This is because i have an own ini Parser, as the WinAPI can't read from my generic VFS files, but requires a real file(name) instead. So, what i'm asking for is that the WinAPI calls are replaced with IniReader::Read* methods, as i already modified it to work with my VFS. I think it is the logical thing to do and the changes also should be checked in into the main repository.

As for the tileset editor, i can look into it, but don't expect it too soon, as i plan not to be dragged away to another project leaving the previous one in an unfinished state (again). I want my mod (for now only VFS and PNG stuff) to be properly implemented and tested and eventually being included in the main branch. But, until now, i haven't seen many reports or about it, being them good or bad. Questions are also welcome.

I mean, the VFS and PNG stuff is mostly finished so there is probably not that much to do anymore, but i still need some feedback to see, whether it works on other computers at least. I would like people to look into the configuration files and modify them, play with them. I want to know if the concept is even understandable by other people than me, and whether they can achieve what they want to achieve. And if you think that something should be done in a different way, i would also want to know that.

Report message to a moderator

Master Sergeant
Re: RII - Resolution Independent Interface[message #210819] Sun, 22 March 2009 17:20 Go to previous messageGo to next message
Khor1255 is currently offline Khor1255

 
Messages:1817
Registered:August 2003
Location: Pleasantville, NJ
Frankly, I don't even really know what you are trying to do.

I heard mention of changing file types and that really seemed more an unnecessary complication than anything that would help a modder so - I'm sorry - but I really have not been following this at all.

I really wish you could have got something done with the prof.dat externalization and they wouldn't have got so fancy with the sprites project.

I mean, at least that one could have been in pre beta by now if they just used the exiting graphics structure instead of getting all fancy with it.

But what do I know? I'm on the outside looking in these days and that is where I want to be.

Report message to a moderator

Sergeant Major
Re: RII - Resolution Independent Interface[message #210820] Sun, 22 March 2009 17:31 Go to previous messageGo to next message
BirdFlu is currently offline BirdFlu

 
Messages:438
Registered:September 2007
Location: Lampukistan
Khor1255
I heard mention of changing file types and that really seemed more an unnecessary complication than anything that would help a modder so - I'm sorry - but I really have not been following this at all.
What might have seemed overcomplicated was the discussion about giving a "meaningful" extension name to converted files. The conversion itself was simple, slf -> 7z and STI -> png@7z. So, no need anymore for slf and sti tools.

Report message to a moderator

Master Sergeant
Re: RII - Resolution Independent Interface[message #210822] Sun, 22 March 2009 17:41 Go to previous messageGo to next message
KEN C

 
Messages:244
Registered:May 2007
Location: Aberdeen Washington USA
@BirdFlu, so you are saying that all we have to do is change the file name from STI to png@7z and then we can move them wherever we like?

Report message to a moderator

Sergeant 1st Class
Re: RII - Resolution Independent Interface[message #210824] Sun, 22 March 2009 17:51 Go to previous messageGo to next message
BirdFlu is currently offline BirdFlu

 
Messages:438
Registered:September 2007
Location: Lampukistan
There is a program with my release, Ja2Convert.exe

Call
Ja2Convert.exe slf Data/archivename.slf out/archivename.jdc.7z
to convert a slf archive into an 7z archive, that you can open with your regular archiving program (as long it supports 7z archives).

Call
Ja2Convert.exe slf -sti2png Data/archivename.slf out/archivename.jdc.7z
to convert a slf archive into an 7z archive AND additionally convert sti files to 7z archives that contain a series of png images.

Call
Ja2Convert sti Data/imagename.sti out/imagename.jpc.7z
to convert a sti image into an 7z archive that contains a series of png images (and in some cases an additional xml file).

You can replace ALL sti images with such uncompressed archives right now, no need to wait for other releases. The batch files convert.bat and convert_nopng.bat do just that (well, .. they convert only the slf archives).

OLDNOOOB
and then we can move them wherever we like?
I'm not sure what you mean by that. The new files have to be in the same place as the old files, unless you want to play with vfs_config.ini.

[Updated on: Sun, 22 March 2009 17:53] by Moderator

Report message to a moderator

Master Sergeant
Re: RII - Resolution Independent Interface[message #210826] Sun, 22 March 2009 18:01 Go to previous messageGo to next message
Khor1255 is currently offline Khor1255

 
Messages:1817
Registered:August 2003
Location: Pleasantville, NJ
Does this batch file work on multi paged sti's?

I mean will it extract all images from a multipage automatically instead of the mind numbing manual method?

Report message to a moderator

Sergeant Major
Re: RII - Resolution Independent Interface[message #210829] Sun, 22 March 2009 18:14 Go to previous messageGo to next message
BirdFlu is currently offline BirdFlu

 
Messages:438
Registered:September 2007
Location: Lampukistan
The batch files (for now) convert only slf archives and sti files INSIDE these archives. If you want to convert sti files in the Data and Data-1.13 directories you have to call Ja2Convert.exe for every file separately. It is theoretically possible to convert all sti files in a directory automatically as the program contains the complete VFS code, but it is not fully implemented yet.

Oh, and yes it does convert a multipaged sti image into a 7z archive with a series of png images inside it.

Just try it out for yourself. All you have to know it how to work with the command prompt.

[Updated on: Sun, 22 March 2009 18:17] by Moderator

Report message to a moderator

Master Sergeant
Re: RII - Resolution Independent Interface[message #210847] Sun, 22 March 2009 19:48 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
@birdflu: When I start the exe (I use the *.SLF.ini and renamed it to vfs_config.ini. I did not change any other things) the following 2 error files are generated in the JA2 directory: exception_init.log, exception_init2.log

exception_init.log:
==============================================================
File : .\vfs_debug.cpp
Line : 73
Location : [CBasicException::WriteFile]

Writing exception to disc failed : is there no writeable profile?

==============================================================
File : .\vfs_init.cpp
Line : 207
Location : [InitVirtualFileSystem]

Profile is supposed to be writeable!


exception_init2.log:
==============================================================
File : .\vfs_debug.cpp
Line : 73
Location : [CBasicException::WriteFile]

Writing exception to disc failed : is there no writeable profile?

==============================================================
File : .\sgp.cpp
Line : 952
Location : [WinMain]

Print exception on screen failed

==============================================================
File : .\Font.cpp
Line : 919
Location : [::SetFont]

font is NULL

Report message to a moderator

Sergeant Major

Re: RII - Resolution Independent Interface[message #211128] Wed, 25 March 2009 21:43 Go to previous messageGo to next message
BirdFlu is currently offline BirdFlu

 
Messages:438
Registered:September 2007
Location: Lampukistan
@RoWa21
Are you sure that your Data directory is "exedir/Data", because the file exception_init2.log says "font is NULL", which is usually an indicator that the fonts weren't initialized. The other message "Profile is supposed to be writeable!" is a little strange, but it is probably a problem with the vfs_config.ini. Could you give me the location of the Data directories relative to the exe.

Could you try this new version (only exe, requires all other files from alpha v4).

Has anyone succeeded to start the v4 release at all???

Report message to a moderator

Master Sergeant
Re: RII - Resolution Independent Interface[message #211137] Wed, 25 March 2009 23:36 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
@birdflu:

The location looks the following:

JA2 (root folder)
- Data
- Data-1.13
- Profiles
-- RII
-- UserProfile
* ja2_riivfs_alpha_v4_en.exe
* vfs_config.ini
* convert.bat
* ....

The vfs_config.ini looks the following (I only copied just the beginning of the file content)

[vfs_config]
PROFILES = SlfLibs, Vanilla, v113, RII, UserProf

[PROFILE_SlfLibs]
NAME = SLF Libs
LOCATIONS = Ambient, Anims, BattleSNDS, BigItems, Binarydata, Cursors, Data, Faces, Fonts, Interface, Intro, Laptop, Loadscreens, Maps, Mercedt, Music, Npc_speech, Npcdata, Radarmaps, Sounds, Speech, Tilesets
PROFILE_ROOT =

[PROFILE_Vanilla]
NAME = Vanilla Dirs
LOCATIONS = data_dir
PROFILE_ROOT =

[PROFILE_v113]
NAME = v1.13
LOCATIONS = datav113_dir
PROFILE_ROOT =

[PROFILE_RII]
NAME = RII Mod
LOCATIONS = RII_dirs
PROFILE_ROOT = Profiles\RII

[PROFILE_UserProf]
NAME = Player Profile
LOCATIONS = datav113_dir
PROFILE_ROOT = Profiles\UserProfile
WRITE = true

#############################################################
## DATA PATHs ##
#############################################################
[LOC_data_dir]
TYPE = DIRECTORY
PATH = Data
MOUNT_POINT =

[LOC_datav113_dir]
TYPE = DIRECTORY
PATH = Data-1.13
MOUNT_POINT =

[LOC_RII_dirs]
TYPE = DIRECTORY
PATH =
MOUNT_POINT =

#############################################################
## LIBRARIEs ##
#############################################################

EDIT: With the latest EXE the game goes a little bit further until the SIR-TECH splash screen occures. Then an assertion is shown:

RUNTIME ERROR

File: Init.cpp
Line: 592
Location: [InitializeJA2]
* Loading external data failed *

[Updated on: Wed, 25 March 2009 23:42] by Moderator

Report message to a moderator

Sergeant Major

Re: RII - Resolution Independent Interface[message #211144] Thu, 26 March 2009 01:00 Go to previous messageGo to previous message
BirdFlu is currently offline BirdFlu

 
Messages:438
Registered:September 2007
Location: Lampukistan
The locations look OK. But the game still fails in the function
BOOLEAN LoadExternalGameplayData(STR directoryName).
Unfortunately it does a lot, but when it fails, it doesn't say where. Can you try this new version. It should print a useful error message, i hope.

Report message to a moderator

Master Sergeant
Previous Topic: Learning how the tactical AI works
Next Topic: Folding Stock Revamp
Goto Forum:
  


Current Time: Thu Apr 18 22:55:23 GMT+3 2024

Total time taken to generate the page: 0.03583 seconds