Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > AAR

Reply
 
Thread Tools Display Modes
Old October 31, 2018, 16:45   #161
EpicMan
Swordsman
 
Join Date: Dec 2009
Location: Dallas, Texas, USA
Posts: 344
EpicMan is on a distinguished road
Quote:
Originally Posted by wobbly View Post
Ouch. Will take a look. I compile with MINGW & for me it just works. I'll have a try with Visual Studio when I get some time & try to work it out. Trouble is my knowledge of compiling is, ... I only started self-compiling Angband a few months ago.

Edit: A possibility is that it's the SDL 2.0 stuff?? I forked after that was added but I still compile it as SDL 1.0, I'm not sure which Visual Studios is trying to use
I am trying to use the windows stuff instead of SDL, so that could be the issue. The program is crashing when png_read_info(png_ptr, info_ptr); is called in readpng.c line 103, when the program is trying to load shockbolt's tiles.

I'm going to find how to default to ASCII so I can at least get it started.

EDIT: The failure on the png_read_info call may be a project/environment problem on my instead of a problem with Wobbly's code, based on some internet searches.

Last edited by EpicMan; November 1, 2018 at 03:57.
EpicMan is offline   Reply With Quote
Old November 2, 2018, 06:39   #162
wobbly
Veteran
 
Join Date: May 2012
Location: Adelaide, Australia
Posts: 1,659
wobbly is on a distinguished road
Quote:
Originally Posted by EpicMan View Post
I'm going to find how to default to ASCII so I can at least get it started.
Not sure it'll work for you but if I go into \lib\tiles\list.txt

Change pref: to pref:none.prf

Code:
name:5:Shockbolt's tiles
directory:shockbolt
size:64:64:64x64.png
pref:none.prf
extra:1:29:31
I get cannot open \lib\tiles\shockbolt\none.prf & it just defaults to ascii. I'll disable them in the code in the next couple of days.
wobbly is offline   Reply With Quote
Old November 2, 2018, 22:13   #163
wobbly
Veteran
 
Join Date: May 2012
Location: Adelaide, Australia
Posts: 1,659
wobbly is on a distinguished road
A few minor tweaks including adding back in dunadan (easy mode) & high-elf (easier mode). Haven't found where to change the code to default to no tiles yet, still looking. If anyone knows where that is it'd be appreciated. Mostly still struggling with github. It seems to be currently setup so I have to push local -> my/angband:master then merge -> my/angband:coffeeband. Where as I was hoping to keep my/angband:master identical to rephial/angband:master. Not sure how to fix that.
wobbly is offline   Reply With Quote
Old November 3, 2018, 03:50   #164
wobbly
Veteran
 
Join Date: May 2012
Location: Adelaide, Australia
Posts: 1,659
wobbly is on a distinguished road
Quote:
Originally Posted by EpicMan View Post
I'm going to find how to default to ASCII so I can at least get it started.
I've got an alpha v0.2 up but I haven't worked out tiles yet.

Do you have an angband.ini file? Graphics=5 for shockbolt, Graphics=0 for ascii. The top of mine looks like this:

[Angband]
Graphics=0
Graphics_Nice=0
TileWidth=1
TileHeight=1
wobbly is offline   Reply With Quote
Old November 5, 2018, 19:46   #165
EpicMan
Swordsman
 
Join Date: Dec 2009
Location: Dallas, Texas, USA
Posts: 344
EpicMan is on a distinguished road
Quote:
Originally Posted by wobbly View Post
I've got an alpha v0.2 up but I haven't worked out tiles yet.

Do you have an angband.ini file? Graphics=5 for shockbolt, Graphics=0 for ascii. The top of mine looks like this:

[Angband]
Graphics=0
Graphics_Nice=0
TileWidth=1
TileHeight=1
I did not, and adding it doesn't change the behavior. However, I downloaded and compiled vanilla 4.1.3 and ran into all of the same problems compiling it (adding save and scores directories, etc), including the crash in the exact same place. So it looks like my problems are not related to your variant, but to my environment.
EpicMan is offline   Reply With Quote
Old November 5, 2018, 21:05   #166
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 4,971
Donated: $40
Pete Mack is on a distinguished road
Yikes. That will be very hard to debug. Good luck! Simply deleting the .ini file should be enough, and in any case the Shockbolt tiles are known to work for other users.
Pete Mack is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
a Band of & Band~ calvinasleep Vanilla 10 December 10, 2017 03:28
Underdark - band Zireael Variants 62 June 26, 2013 12:57
Angelband not a 'band cowgod Variants 20 June 17, 2011 21:42
*band variant Feature Suggestion Poll/Feedback thread PaulBlay Variants 0 February 28, 2009 11:24
Which Band has the most stuff? Larvitz Vanilla 5 January 24, 2009 18:43


All times are GMT +1. The time now is 11:58.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.